/illumos-gate/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 58 #define CPR_BF_IDX 0 /* index for boot-file */ 59 #define CPR_BD_IDX 1 /* index for boot-device */ 60 #define CPR_AB_IDX 2 /* index for auto-boot? */ 61 #define CPR_DF_IDX 3 /* index for diag-file */ 62 #define CPR_DD_IDX 4 /* index for diag-device */ 169 * then copy the arg str into a new property value at index 172 cpr_prop_update(int index, char *str) argument 176 prop = CPR_PROP_PTR(&orig_def_info, index); 179 prop = CPR_PROP_PTR(new_def_info, index);
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout.c | 521 uint16_t index; local 539 (error = devconfig_get_slice_index(dev, &index)) || 544 diskname, index, &slicename)); 932 uint16_t index; local 955 (error = devconfig_get_slice_index(slice, &index)) || 957 moddisk->accessname, index, &sname)) ||
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cpr_impl.c | 183 long index = (long)arg; local 187 wc_cpu_t *wc_cpu = wc_other_cpus + index; 189 PMD(PMD_SX, ("i_cpr_save_context() index = %ld\n", index)) 191 ASSERT(index < NCPU); 1034 int index; local 1038 for (index = 0; index < max_ncpus; index++) { 1039 wc_cpu = wc_other_cpus + index; [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_logon.c | 217 * Setup the groups starting at index 1 (the last arg) 754 int index; local 762 index = *iterator; 764 if (index < 0 || index >= token->tkn_win_grps.i_cnt) 768 return (token->tkn_win_grps.i_ids[index].i_sid);
|
H A D | winreg_svc.c | 566 winreg_enum_subkey(ndr_xa_t *mxa, const char *subkey, uint32_t index) argument 597 if (count < index) { 652 subkey = winreg_enum_subkey(mxa, name, param->index);
|
/illumos-gate/usr/src/common/crypto/sha2/ |
H A D | sha2.c | 918 uint32_t index; local 922 index = (ctx->count.c32[1] >> 3) & 0x3f; 924 SHA2Update(ctx, PADDING, ((index < 56) ? 56 : 120) - index); 928 index = (ctx->count.c64[1] >> 3) & 0x7f; 931 SHA2Update(ctx, PADDING, ((index < 112) ? 112 : 240) - index);
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_gld.c | 630 * are 1 to 1 mapped with group index directly. The other slots are 635 if (igb->unicst_addr[rx_group->index].mac.set == 1) { 647 slot = rx_group->index; 656 e1000_rar_set_vmdq(hw, mac_addr, slot, igb->vmdq_mode, rx_group->index); 659 igb->unicst_addr[slot].mac.group_index = rx_group->index; 716 uint32_t index = rx_ring->index; local 720 igb->eims_mask |= (E1000_EICR_RX_QUEUE0 << index); 724 ASSERT(index == 0); 744 uint32_t index local 800 igb_fill_ring(void *arg, mac_ring_type_t rtype, const int rg_index, const int index, mac_ring_info_t *infop, mac_ring_handle_t rh) argument 860 igb_fill_group(void *arg, mac_ring_type_t rtype, const int index, mac_group_info_t *infop, mac_group_handle_t gh) argument [all...] |
H A D | igb_tx.c | 861 uint32_t index, tcb_index, desc_num; local 878 * Get the index of the first tx descriptor that will be filled, 879 * and the index of the first work list item that will be attached 883 index = tx_ring->tbd_tail; 894 tbd = &tx_ring->tbd_ring[index]; 902 ctx, tx_ring->index); 904 index = NEXT_INDEX(index, 1, tx_ring->ring_size); 915 first_tbd = &tx_ring->tbd_ring[index]; 934 tbd = &tx_ring->tbd_ring[index]; 1075 uint32_t index, last_index, next_index; local 1230 uint32_t index; local 1448 uint32_t index; local [all...] |
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.c | 45 static void remove_slice_from_list(dmgt_slice_t **slices, int index); 319 remove_slice_from_list(dmgt_slice_t **slices, int index) argument 322 for (i = index; slices[i] != NULL; i++) { 384 * Slice at this index could be NULL if
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_ani.c | 498 int index; local 506 index = ath9k_hw_get_ani_channel_idx(ah, chan); 507 aniState = &ahp->ah_ani[index];
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_gld.c | 490 * Note the group index here is expected to be -1 due to the fact that 523 * We assert the group number and ring index to help sanity check 552 i40e_fill_rx_group(void *arg, mac_ring_type_t rtype, const int index, argument
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_ev.c | 244 __in unsigned int index, 263 if (index >= encp->enc_evq_limit) { 279 irq = index; /* INIT_EVQ expects function-relative vector number */ 280 if ((rc = efx_mcdi_init_evq(enp, index, esmp, n, irq, NULL)) != 0) 552 /* Calculate the index of the the last descriptor consumed */ 242 ef10_ev_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep) argument
|
H A D | ef10_rx.c | 736 __in unsigned int index, 762 if (index >= encp->enc_rxq_limit) { 775 if ((rc = efx_mcdi_init_rxq(enp, n, eep->ee_index, label, index, 734 ef10_rx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efx_rxq_type_t type, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep, __in efx_rxq_t *erp) argument
|
H A D | ef10_tx.c | 182 __in unsigned int index, 197 if ((rc = efx_mcdi_init_txq(enp, n, eep->ee_index, label, index, flags, 180 ef10_tx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in uint16_t flags, __in efx_evq_t *eep, __in efx_txq_t *etp, __out unsigned int *addedp) argument
|
H A D | efx_ev.c | 66 __in unsigned int index, 222 __in unsigned int index, 247 eep->ee_index = index; 251 if ((rc = eevop->eevo_qcreate(enp, index, esmp, n, id, eep)) != 0) 1049 unsigned int index; local 1084 for (index = 0; index < total; ++index) { 1091 index + EFSYS_OPT_EV_PREFETCH_PERIOD == total) { 1101 code = EFX_QWORD_FIELD(ev[index], FSF_AZ_EV_COD 220 efx_ev_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __deref_out efx_evq_t **eepp) argument 1240 siena_ev_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep) argument [all...] |
H A D | efx_mac.c | 748 uint32_t crc, index; variable 760 index = crc % EFX_MAC_HASH_BITS; 761 if (index < 128) { 762 EFX_SET_OWORD_BIT(*hash_low, index); 764 EFX_SET_OWORD_BIT(*hash_high, index - 128);
|
H A D | efx_rx.c | 112 __in unsigned int index, 478 __in unsigned int index, 504 erp->er_index = index; 508 if ((rc = erxop->erxo_qcreate(enp, index, label, type, esmp, n, id, 571 unsigned int index; local 584 for (index = 0; index < FR_BZ_RX_INDIRECTION_TBL_ROWS; 585 index++) { 588 index, &oword, B_TRUE); 888 int index; local 476 efx_rx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efx_rxq_type_t type, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep, __deref_out efx_rxq_t **erpp) argument 1108 siena_rx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efx_rxq_type_t type, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep, __in efx_rxq_t *erp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge.c | 519 int index; local 527 index = EFX_ARRAY_SIZE(sp->s_stp); 528 while (--index >= 0) { 529 sfxge_txq_t *stp = sp->s_stp[index];
|
H A D | sfxge_gld_v3.c | 78 sfxge_gld_rx_post(sfxge_t *sp, unsigned int index, mblk_t *mp) argument 80 _NOTE(ARGUNUSED(index))
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_vf.c | 338 * @index: Receive address register to write 340 * @vmdq: VMDq "set" or "pool" index 343 s32 ixgbe_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, argument 350 UNREFERENCED_3PARAMETER(vmdq, enable_addr, index); 485 s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) argument 494 * If index is one then this is the start of a new list and needs 499 msgbuf[0] |= index << IXGBE_VT_MSGINFO_SHIFT;
|
H A D | ixgbe_x540.c | 275 /* Save the SAN MAC RAR index */ 947 * ixgbe_blink_led_start_X540 - Blink LED based on index. 949 * @index: led number to blink 954 s32 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index) argument 976 ledctl_reg &= ~IXGBE_LED_MODE_MASK(index); 977 ledctl_reg |= IXGBE_LED_BLINK(index); 985 * ixgbe_blink_led_stop_X540 - Stop blinking LED based on index. 987 * @index: led number to stop blinking 992 s32 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index) argument 1001 ledctl_reg &= ~IXGBE_LED_MODE_MASK(index); [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_tx.c | 976 uint32_t index, tcb_index, desc_num; local 992 * Get the index of the first tx descriptor that will be filled, 993 * and the index of the first work list item that will be attached 997 index = tx_ring->tbd_tail; 1009 tbd = &tx_ring->tbd_ring[index]; 1018 index = NEXT_INDEX(index, 1, tx_ring->ring_size); 1029 first_tbd = &tx_ring->tbd_ring[index]; 1048 tbd = &tx_ring->tbd_ring[index]; 1058 index 1207 uint32_t index, last_index, prev_index; local 1369 uint32_t index; local 1593 uint32_t index; local [all...] |
/illumos-gate/usr/src/uts/intel/io/drm/ |
H A D | i915_drv.c | 212 uint16_t index_port, uint16_t data_port, uint8_t index, uint8_t val) 214 vga_reg_put8(regmap, index_port, index); 220 uint16_t index_port, uint16_t data_port, uint8_t index) 222 vga_reg_put8(regmap, index_port, index); 237 uint8_t index, uint8_t palette_enable) 240 vga_reg_put8(regmap, VGA_AR_INDEX, index | palette_enable); 311 /* Read 3 bytes of color data from each index */ 423 (void) vga_reg_get8(®map, st01); /* switch back to index mode */ 426 (void) vga_reg_get8(®map, st01); /* switch back to index mode */ 428 (void) vga_reg_get8(®map, st01); /* switch back to index mod 211 i915_write_indexed(struct vgaregmap *regmap, uint16_t index_port, uint16_t data_port, uint8_t index, uint8_t val) argument 219 i915_read_indexed(struct vgaregmap *regmap, uint16_t index_port, uint16_t data_port, uint8_t index) argument 236 i915_read_ar(struct vgaregmap *regmap, uint16_t st01, uint8_t index, uint8_t palette_enable) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | biospci.c | 324 biospci_find_devclass(uint32_t class, int index, uint32_t *locator) argument 330 v86.esi = index; 342 biospci_find_device(uint32_t devid, int index, uint32_t *locator) argument 349 v86.esi = index;
|
/illumos-gate/usr/src/lib/scsi/libsmp/common/ |
H A D | smp_engine.c | 678 size_t index; local 686 index = lrand48() % len; 687 buf[index] = (lrand48() % 256); 692 index = lrand48() % len; 693 buf[index] = (lrand48() % 256);
|