/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_api.c | 738 s32 ixgbe_led_on(struct ixgbe_hw *hw, u32 index) in ixgbe_led_on() argument 740 return ixgbe_call_func(hw, hw->mac.ops.led_on, (hw, index), in ixgbe_led_on() 751 s32 ixgbe_led_off(struct ixgbe_hw *hw, u32 index) in ixgbe_led_off() argument 753 return ixgbe_call_func(hw, hw->mac.ops.led_off, (hw, index), in ixgbe_led_off() 764 s32 ixgbe_blink_led_start(struct ixgbe_hw *hw, u32 index) in ixgbe_blink_led_start() argument 766 return ixgbe_call_func(hw, hw->mac.ops.blink_led_start, (hw, index), in ixgbe_blink_led_start() 777 s32 ixgbe_blink_led_stop(struct ixgbe_hw *hw, u32 index) in ixgbe_blink_led_stop() argument 779 return ixgbe_call_func(hw, hw->mac.ops.blink_led_stop, (hw, index), in ixgbe_blink_led_stop() 912 s32 ixgbe_set_rar(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, in ixgbe_set_rar() argument 926 s32 ixgbe_clear_rar(struct ixgbe_hw *hw, u32 index) in ixgbe_clear_rar() argument [all …]
|
H A D | ixgbe_x540.c | 1004 s32 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index) in ixgbe_blink_led_start_X540() argument 1013 if (index > 3) in ixgbe_blink_led_start_X540() 1029 ledctl_reg &= ~IXGBE_LED_MODE_MASK(index); in ixgbe_blink_led_start_X540() 1030 ledctl_reg |= IXGBE_LED_BLINK(index); in ixgbe_blink_led_start_X540() 1045 s32 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index) in ixgbe_blink_led_stop_X540() argument 1050 if (index > 3) in ixgbe_blink_led_stop_X540() 1057 ledctl_reg &= ~IXGBE_LED_MODE_MASK(index); in ixgbe_blink_led_stop_X540() 1058 ledctl_reg |= IXGBE_LED_LINK_ACTIVE << IXGBE_LED_MODE_SHIFT(index); in ixgbe_blink_led_stop_X540() 1059 ledctl_reg &= ~IXGBE_LED_BLINK(index); in ixgbe_blink_led_stop_X540()
|
H A D | ixgbe_api.h | 95 s32 ixgbe_led_on(struct ixgbe_hw *hw, u32 index); 96 s32 ixgbe_led_off(struct ixgbe_hw *hw, u32 index); 97 s32 ixgbe_blink_led_start(struct ixgbe_hw *hw, u32 index); 98 s32 ixgbe_blink_led_stop(struct ixgbe_hw *hw, u32 index); 112 s32 ixgbe_set_rar(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, 114 s32 ixgbe_clear_rar(struct ixgbe_hw *hw, u32 index);
|
H A D | ixgbe_x540.h | 66 s32 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index); 67 s32 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index);
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_impl.h | 113 #define DMA_COMMON_VPTR_INDEX(area, index) \ argument 115 (index * RBR_SIZE)) 119 #define DMA_COMMON_IOADDR_INDEX(area, index) \ argument 121 (index * RBR_SIZE)) 133 #define DMA_COMMON_SYNC_RBR_DESC(area, index, flag) \ argument 135 (index * RBR_SIZE), RBR_SIZE, \ 138 #define DMA_COMMON_SYNC_RBR_DESC_MULTI(area, index, count, flag) \ argument 140 (index * RBR_SIZE), count * RBR_SIZE, \ 142 #define DMA_COMMON_SYNC_ENTRY(area, index, flag) \ argument 144 (index * (area).block_size), \ [all …]
|
/illumos-gate/usr/src/uts/i86pc/cpu/genuineintel/ |
H A D | gintel_main.c | 445 int index; in nehalem_ep_ereport_add_memory_error_counter() local 447 for (index = 0; index < N_MC_COR_ECC_CNT; index ++) in nehalem_ep_ereport_add_memory_error_counter() 448 this_err_counter_array[index] = MC_COR_ECC_CNT(chipid, index); in nehalem_ep_ereport_add_memory_error_counter()
|
/illumos-gate/usr/src/common/crypto/arcfour/sun4v/ |
H A D | arcfour_crypt.c | 69 int index; in arcfour_crypt() local 73 index = (((uintptr_t)in) & 0x7); in arcfour_crypt() 76 if (index > 0) { in arcfour_crypt() 80 for (index = 8 - index; (index-- > 0) && len > 0; in arcfour_crypt()
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | readelf.c | 301 int index; in remove_dup_syms() local 313 for (i = 0, index = 0, nextsym = 1; nextsym < *sym_count; nextsym++) { in remove_dup_syms() 323 *(nl + index++) = *(orig_list +i); in remove_dup_syms() 376 if ((orig_list + i)->value > (nl + index - 1)->value) in remove_dup_syms() 377 *(nl + index++) = *(orig_list + i); in remove_dup_syms() 380 *sym_count = index; in remove_dup_syms()
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetSASPhyAttributes.c | 65 if (hba_port_ptr->index == port) { in Sun_sasGetSASPhyAttributes() 85 if (phy == phy_ptr->index) { in Sun_sasGetSASPhyAttributes()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | dirname.c | 128 argv += opt_info.index; in b_dirname() 129 argc -= opt_info.index; in b_dirname()
|
H A D | basename.c | 129 argv += opt_info.index; in b_basename() 130 argc -= opt_info.index; in b_basename()
|
/illumos-gate/usr/src/tools/smatch/src/Documentation/sphinx/ |
H A D | ir.py | 47 index = '.. index:: pair: %s; IR instruction' % name 49 content.append(index, source, lineno)
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | svc-zones | 54 egrep -vs '^#|^global:' /etc/zones/index || exit 0 # no local zones 92 egrep -vs '^#|^global:' /etc/zones/index || exit 0 # no local zones
|
/illumos-gate/usr/src/uts/common/ipp/ |
H A D | ippconf.c | 2421 int index; in get_mid() local 2438 index = start; in get_mid() 2440 index++; in get_mid() 2441 if (index > limit) in get_mid() 2452 index++; in get_mid() 3112 int index; in get_aid() local 3129 index = start; in get_aid() 3131 index++; in get_aid() 3132 if (index > limit) in get_aid() 3143 index++; in get_aid() [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 228 int index, sum; in ds_volsum() local 233 &index, tmpvol) >= 1) { in ds_volsum() 236 sum += index; in ds_volsum() 239 ds_volpart = index; in ds_volsum() 666 int nparts, n, index; in ds_next() local 674 (void) sscanf(ds_volnos, "%d %[ 0-9]", &index, tmpvol); in ds_next() 676 ds_curpartcnt += index; in ds_next()
|
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_talk2ctlr.c | 170 ++replyq_ptr->index; in cpqary3_retrieve() 171 if (replyq_ptr->index == replyq_ptr->max_index) { in cpqary3_retrieve() 172 replyq_ptr->index = 0; in cpqary3_retrieve() 254 ++replyq_ptr->index; in cpqary3_poll_retrieve() 255 if (replyq_ptr->index == replyq_ptr->max_index) { in cpqary3_poll_retrieve() 256 replyq_ptr->index = 0; in cpqary3_poll_retrieve() 697 cpqary3p->drvr_replyq->index = 0; in cpqary3_init_ctlr()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | ast-model.h | 48 int index; member 67 AstNode* ast_new(AstNode *parent, int index, const char *prefix, void *ptr, void (*expand)(AstNode*…
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_target.c | 135 int *index = data; in tgt_scn_init() local 137 *index += 1; in tgt_scn_init() 139 tgt->dt_shnmap[*index].dm_name = scn->ds_name; in tgt_scn_init() 140 tgt->dt_shnmap[*index].dm_start = scn->ds_shdr.sh_addr; in tgt_scn_init() 141 tgt->dt_shnmap[*index].dm_length = scn->ds_shdr.sh_size; in tgt_scn_init() 142 tgt->dt_shnmap[*index].dm_mapped = B_FALSE; in tgt_scn_init() 148 tgt->dt_symidx = *index; in tgt_scn_init() 150 tgt->dt_symidx = *index; in tgt_scn_init()
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xpvtap.c | 1409 uint_t index; in xpvtap_rs_init() local 1439 for (index = 0; index < array_size; index++) { in xpvtap_rs_init() 1440 rstruct->rs_free[index] = (uint64_t)0xFFFFFFFFFFFFFFFF; in xpvtap_rs_init() 1483 uint_t index; in xpvtap_rs_alloc() local 1503 for (index = min; index <= max; index++) { in xpvtap_rs_alloc() 1593 uint_t index; in xpvtap_rs_flush() local 1613 for (index = min; index <= max; index++) { in xpvtap_rs_flush()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | bash.c | 234 argc -= opt_info.index; in b_shopt() 251 n=sh_lookopt(argv[opt_info.index],&f); in b_shopt() 260 errormsg(SH_DICT,ERROR_ERROR, e_option, argv[opt_info.index]); in b_shopt() 268 opt_info.index++; in b_shopt()
|
/illumos-gate/usr/src/uts/common/io/xge/drv/ |
H A D | xgell.c | 1236 slot_start = ring->index * 32; in xgell_rx_ring_maddr_init() 1273 slot_start = ring->index * 32; in xgell_addmac() 1317 slot_start = ring->index * 32; in xgell_remmac() 1480 xge_assert((index >= 0) && (index < lldev->init_tx_rings)); in xgell_fill_ring() 1482 tx_ring = lldev->tx_ring + index; in xgell_fill_ring() 1599 rx_ring->index); in xgell_rx_ring_open() 1604 attr.post_qid = rx_ring->index; in xgell_rx_ring_open() 1634 rx_ring->index); in xgell_rx_ring_open() 1675 rx_ring->index = i; in xgell_rx_open() 1760 attr.post_qid = tx_ring->index; in xgell_tx_ring_open() [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ldc_shm.c | 353 uint64_t index, prev_index = 0; in i_ldc_mem_bind_handle() local 518 index = mtbl->next_entry; in i_ldc_mem_bind_handle() 547 while (mtbl->table[index].entry.ll != 0) { in i_ldc_mem_bind_handle() 549 index = (index + 1) % mtbl->num_entries; in i_ldc_mem_bind_handle() 551 if (index == mtbl->next_entry) { in i_ldc_mem_bind_handle() 577 mtbl->table[index].entry = tmp_mte; in i_ldc_mem_bind_handle() 603 memseg->pages[i].index = index; in i_ldc_mem_bind_handle() 608 if (i == 0 || (index != prev_index + 1)) { in i_ldc_mem_bind_handle() 631 prev_index = index; in i_ldc_mem_bind_handle() 632 index = (index + 1) % mtbl->num_entries; in i_ldc_mem_bind_handle() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 677 int index; in do_enable_if() local 683 status = ipadm_enable_if(iph, argv[index], flags); in do_enable_if() 718 int index; in do_disable_if() local 724 status = ipadm_disable_if(iph, argv[index], flags); in do_disable_if() 1645 *index = optind; in process_misc_addrargs() 1687 int index; in do_enable_addr() local 1706 int index; in do_up_addr() local 1710 status = ipadm_up_addr(iph, argv[index], flags); in do_up_addr() 1724 int index; in do_disable_addr() local 1745 int index; in do_down_addr() local [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | usb_link.c | 226 driver_defs_t index; member 262 driver_defs_t index; in usb_process() local 307 index = driver_name_table[i].index; in usb_process() 328 switch (index) { in usb_process()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_util.c | 275 free(mapping->index.name); in free_table_mapping() 276 mapping->index.name = NULL; in free_table_mapping() 279 free(mapping->index.value); in free_table_mapping() 471 free(index->name[i]); in free_index() 474 index->numIndexes = 0; in free_index() 475 if (index->name != NULL) in free_index() 476 free(index->name); in free_index() 477 index->name = NULL; in free_index() 478 if (index->value != NULL) in free_index() 479 free(index->value); in free_index() [all …]
|