/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | vsc7326.c | 47 u32 index; member 409 int port = mac->instance->index; in mac_set_address() 432 int port = mac->instance->index; in mac_get_address() 449 int index = mac->instance->index; in mac_reset() local 452 DIMOF(vsc7326_portinit[index])); in mac_reset() 460 int port = mac->instance->index; in mac_set_rx_mode() 476 int port = mac->instance->index; in mac_set_mtu() 558 int port = mac->instance->index; in mac_enable() 612 int port = mac->instance->index; in port_stats_update() 665 int port = mac->instance->index; in mac_update_statistics() [all …]
|
/illumos-gate/usr/src/common/crypto/md4/ |
H A D | md4.c | 125 unsigned int i, index, partLen; in MD4Update() local 129 index = (unsigned int)((context->count[0] >> 3) & 0x3F); in MD4Update() 136 partLen = 64 - index; in MD4Update() 142 bcopy(input, &context->buffer[index], partLen); in MD4Update() 149 index = 0; in MD4Update() 155 bcopy(&input[i], &context->buffer[index], inputLen - i); in MD4Update() 166 unsigned int index, padLen; in MD4Final() local 174 index = (unsigned int)((context->count[0] >> 3) & 0x3f); in MD4Final() 175 padLen = (index < 56) ? (56 - index) : (120 - index); in MD4Final()
|
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil.c | 1464 int index; in skip_to_next_valid_path() local 1466 for (index = starting_index; index < cmds->count; ++index) { in skip_to_next_valid_path() 1494 int index; in process_commands() local 1499 for (index = starting_index; index < cmds->count; ++index) { in process_commands() 1500 switch (commands[index].type) { in process_commands() 1505 index++; in process_commands() 1507 &rooth, &index); in process_commands() 1514 index++; in process_commands() 1516 &index); in process_commands() 1542 cmds->current_tbl = index; in process_commands() [all …]
|
/illumos-gate/usr/src/common/vga/ |
H A D | vgasubr.c | 178 unsigned char index, in vga_set_indexed() argument 181 PUTB(reg, indexreg, index); in vga_set_indexed() 190 unsigned char index) in vga_get_indexed() argument 192 PUTB(reg, indexreg, index); in vga_get_indexed() 204 int index, in vga_put_cmap() argument 210 PUTB(reg, VGA_DAC_WR_AD, index); in vga_put_cmap() 219 int index, in vga_get_cmap() argument 224 PUTB(reg, VGA_DAC_RD_AD, index); in vga_get_cmap()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | cudbg.c | 58 int index = type / 8; in set_dbg_bitmap() local 61 bitmap[index] |= (1 << bit); in set_dbg_bitmap() 67 int index = type / 8; in reset_dbg_bitmap() local 70 bitmap[index] &= ~(1 << bit); in reset_dbg_bitmap()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/ |
H A D | piclenvmon.c | 856 int index; in find_picl_handle() local 858 for (index = 0; index < handle_arr.num; index++) { in find_picl_handle() 860 return (index); in find_picl_handle() 910 int index; in read_vol_data() local 925 if (index < 0) in read_vol_data() 1041 int index; in write_led_data() local 1049 if (index < 0) in write_led_data() 1341 index++; in add_env_nodes() 1345 handle_arr.num = index; in add_env_nodes() 1504 int index; in free_vol_prop() local [all …]
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_anon.c | 258 int index; in anon_addhash() local 423 i = *index; in anon_get_next_ptr() 436 *index = i; in anon_get_next_ptr() 1426 index = P2ALIGN(index, pgcnt); in anon_dup_fill_holes() 1534 index = P2ALIGN(index, pgcnt); in anon_fill_cow_holes() 1613 index++; in anon_free() 1653 index = P2ALIGN(index, pgcnt); in anon_free_pages() 1690 for (; npages > 0; index = (pgcnt == 1) ? index + 1 : in anon_disclaim() 2923 index++; in anon_map_createpages() 3002 index++; in anon_map_createpages() [all …]
|
/illumos-gate/usr/src/cmd/lastcomm/ |
H A D | lc_pacct.c | 25 ok(int argc, char *argv[], int index, struct acct *acp) in ok() argument 29 for (j = index; j < argc; j++) in ok() 38 lc_pacct(char *name, int argc, char *argv[], int index) in lc_pacct() argument 87 if (argc > index && !ok(argc, argv, index, acp)) in lc_pacct()
|
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/ |
H A D | dcam.c | 722 index = 0; in dcam_read() 739 uio_p, sizeof (uint_t), index, &index)) { in dcam_read() 745 uio_p, sizeof (unsigned int), index, &index)) { in dcam_read() 751 uio_p, sizeof (hrtime_t), index, &index)) { in dcam_read() 763 softc_p->usr_model, index, &index)) { in dcam_read() 1139 int index; in byte_copy_to_user_buff() local 1143 index = start_index; in byte_copy_to_user_buff() 1154 index++; in byte_copy_to_user_buff() 1172 int index; in byte_copy_from_user_buff() local 1176 index = start_index; in byte_copy_from_user_buff() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | config.c | 33 dev->index = -1; in pci_probe() 38 dev->index = -1; in pci_probe() 61 state->advance = (dev->index == -1); in pci_probe() 83 dev->index = -1; in isa_probe() 89 dev->index = -1; in isa_probe() 107 state->advance = (dev->index == -1); in isa_probe()
|
/illumos-gate/usr/src/uts/sun4v/io/fpc/ |
H A D | fpc-impl-4v.c | 124 int index; in fpc_platform_node_init() local 188 fpc_common_node_setup(dip, &index); in fpc_platform_node_init() 191 ((index == 0) ? PCIE_A_REGS_AVAIL : PCIE_B_REGS_AVAIL); in fpc_platform_node_init() 194 if (index != 0) in fpc_platform_node_init() 197 index); in fpc_platform_node_init() 200 (void) fpc_set_platform_data_by_number(index, (void *)dev_hdl); in fpc_platform_node_init()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_alloc.c | 536 for (index = 0; index < count; index++, sad++) { in ud_alloc_space_stbl() 546 larg_index = index; in ud_alloc_space_stbl() 572 larg_index = index; in ud_alloc_space_stbl() 588 for (index = larg_index; index < count; in ud_alloc_space_stbl() 589 index++, sad++) { in ud_alloc_space_stbl() 610 for (index = 0; index < count; index++, lad++) { in ud_alloc_space_stbl() 620 larg_index = index; in ud_alloc_space_stbl() 662 for (index = larg_index; index < count; in ud_alloc_space_stbl() 881 for (index = 0; index < count; index++, sad++) { in ud_free_space_stbl() 927 for (index = 0; index < count; index++, lad++) { in ud_free_space_stbl() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_tx.c | 2607 int index; in sfxge_tx_init() local 2707 int index; in sfxge_tx_start() local 2714 for (index = 0; index < EFX_ARRAY_SIZE(sp->s_stp); index++) { in sfxge_tx_start() 2756 int index; in sfxge_tx_packet_add() local 2871 index; in sfxge_tx_packet_add() 2875 index = 0; in sfxge_tx_packet_add() 2877 index; in sfxge_tx_packet_add() 2882 index = 0; in sfxge_tx_packet_add() 2928 index = 0; in sfxge_tx_packet_add() 3020 int index; in sfxge_tx_stop() local [all …]
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/ |
H A D | prom_tlb.c | 38 prom_itlb_load(int index, unsigned long long tte_data, caddr_t virt) in prom_itlb_load() argument 54 ci[7] = p1275_int2cell(index); /* Arg5: SA3: index */ in prom_itlb_load() 68 prom_dtlb_load(int index, unsigned long long tte_data, caddr_t virt) in prom_dtlb_load() argument 84 ci[7] = p1275_int2cell(index); /* Arg5: SA3: index */ in prom_dtlb_load()
|
/illumos-gate/usr/src/lib/libc/amd64/unwind/ |
H A D | call_frame_inst.c | 191 switch (rs[index].rule) { in fix_reg() 193 ctx->entry_regs[index] = ctx->current_regs[index]; in fix_reg() 196 ctx->entry_regs[index] = *(uint64_t *) in fix_reg() 197 (ctx->cfa + rs[index].offset); in fix_reg() 200 ctx->entry_regs[index] = ctx->cfa + rs[index].offset; in fix_reg() 203 ctx->entry_regs[index] = in fix_reg() 204 ctx->current_regs[rs[index].source_reg] + in fix_reg() 205 rs[index].offset; in fix_reg() 208 ctx->entry_regs[index] = rs[index].offset; in fix_reg() 211 ctx->entry_regs[index] = *(uint64_t *) in fix_reg() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_ev.c | 66 __in unsigned int index, 222 __in unsigned int index, in efx_ev_qcreate() argument 247 eep->ee_index = index; in efx_ev_qcreate() 1049 unsigned int index; in siena_ev_qpoll() local 1084 for (index = 0; index < total; ++index) { in siena_ev_qpoll() 1105 &(ev[index]), eecp, arg); in siena_ev_qpoll() 1109 &(ev[index]), eecp, arg); in siena_ev_qpoll() 1113 &(ev[index]), eecp, arg); in siena_ev_qpoll() 1147 total = index + 1; in siena_ev_qpoll() 1159 for (index = 0; index < total; ++index) { in siena_ev_qpoll() [all …]
|
H A D | efx_rx.c | 112 __in unsigned int index, 478 __in unsigned int index, in efx_rx_qcreate() argument 504 erp->er_index = index; in efx_rx_qcreate() 571 unsigned int index; in siena_rx_init() local 584 for (index = 0; index < FR_BZ_RX_INDIRECTION_TBL_ROWS; in siena_rx_init() 585 index++) { in siena_rx_init() 588 index, &oword, B_TRUE); in siena_rx_init() 888 int index; in siena_rx_scale_tbl_set() local 899 for (index = 0; index < FR_BZ_RX_INDIRECTION_TBL_ROWS; index++) { in siena_rx_scale_tbl_set() 914 for (index = FR_BZ_RX_INDIRECTION_TBL_ROWS - 1; index >= 0; --index) { in siena_rx_scale_tbl_set() [all …]
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_osdep.c | 113 e1000_rar_clear(struct e1000_hw *hw, uint32_t index) in e1000_rar_clear() argument 121 E1000_WRITE_REG_ARRAY(hw, E1000_RA, ((index << 1) + 1), rar_high); in e1000_rar_clear() 129 e1000_rar_set_vmdq(struct e1000_hw *hw, const uint8_t *addr, uint32_t index, in e1000_rar_set_vmdq() argument 162 E1000_WRITE_REG_ARRAY(hw, E1000_RA, (index << 1), rar_low); in e1000_rar_set_vmdq() 163 E1000_WRITE_REG_ARRAY(hw, E1000_RA, ((index << 1) + 1), rar_high); in e1000_rar_set_vmdq()
|
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4500/ |
H A D | Sun-Fire-X4500-disk-hc-topology.xmlgen | 156 $index = (($bay >> 2) % 3); 157 $p0 = $pci0[$index]; 158 $index = (($bay >> 1) % 6); 159 $p1 = $pci1[$index];
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sysfs.c | 112 sysfstyp(int index, char *cbuf) in sysfstyp() argument 122 if (index <= 0 || index >= nfstype) in sysfstyp() 125 vswp = &vfssw[index]; in sysfstyp()
|
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | table.c | 70 int index; local 73 index = tablekey(key); 74 cur = table[index]; 80 table[index] = new;
|
/illumos-gate/usr/src/common/acpica/utilities/ |
H A D | utclib.c | 810 UINT32 index; in strtoul() local 902 index = (UINT32) ((UINT8) *String - '0'); in strtoul() 906 index = (UINT32) toupper (*String); in strtoul() 907 if (isupper (index)) in strtoul() 909 index = index - 'A' + 10; in strtoul() 917 if (index >= Base) in strtoul() 926 if (ReturnValue > ((ACPI_UINT32_MAX - (UINT32) index) / in strtoul() 935 ReturnValue += index; in strtoul()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | physmem.c | 127 int index; in physmem_remove_hash_proc() local 133 walker = &pph[index]; in physmem_remove_hash_proc() 159 int index; in physmem_add_hash() local 169 iterator = pph[index]; in physmem_add_hash() 206 pph[index] = newp; in physmem_add_hash() 225 int index; in physmem_get_hash() local 232 proc_hp = pph[index]; in physmem_get_hash() 253 int index; in physmem_validate_cookie() local 260 proc_hp = pph[index]; in physmem_validate_cookie() 286 int index; in physmem_remove_vnode_hash() local [all …]
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_fm.c | 284 uint8_t index; in hxge_fm_get_ereport_attr() local 288 index = (ereport_id & EREPORT_INDEX_MASK); in hxge_fm_get_ereport_attr() 293 attr = &hxge_fm_ereport_sw[index]; in hxge_fm_get_ereport_attr() 296 attr = &hxge_fm_ereport_vmac[index]; in hxge_fm_get_ereport_attr() 299 attr = &hxge_fm_ereport_pfc[index]; in hxge_fm_get_ereport_attr() 302 attr = &hxge_fm_ereport_rdmc[index]; in hxge_fm_get_ereport_attr() 305 attr = &hxge_fm_ereport_tdmc[index]; in hxge_fm_get_ereport_attr() 308 attr = &hxge_fm_ereport_peu[index]; in hxge_fm_get_ereport_attr() 333 switch (ereport->index) { in hxge_fm_ereport() 383 if (ereport->index == HXGE_FM_EREPORT_RDMC_RBR_PRE_PAR) in hxge_fm_ereport()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | regress.c | 136 void sh_regress(unsigned int index, const char* intercept, const char* info, unsigned int line, con… in sh_regress() argument 141 if (index >= 1 && index <= elementsof(regress_options)) in sh_regress() 142 name = (char*)regress_options[index]; in sh_regress() 144 sfsprintf(name = buf, sizeof(buf), "%u", index); in sh_regress() 334 if (error_info.errors || *(argv + opt_info.index)) in b___regress__()
|