/illumos-gate/usr/src/uts/sun/io/ |
H A D | socal.c | 163 static int socal_cqalloc_init(socal_state_t *socalp, uint32_t index); 164 static void socal_cqinit(socal_state_t *socalp, uint32_t index); 1883 socal_cqalloc_init(socal_state_t *socalp, uint32_t index) argument 1895 mutex_init(&socalp->request[index].skc_mtx, NULL, MUTEX_DRIVER, 1897 mutex_init(&socalp->response[index].skc_mtx, NULL, MUTEX_DRIVER, 1899 cv_init(&socalp->request[index].skc_cv, NULL, CV_DRIVER, NULL); 1900 cv_init(&socalp->response[index].skc_cv, NULL, CV_DRIVER, NULL); 1903 cq_size = socal_req_entries[index] * sizeof (cqe_t); 1905 cqp = &socalp->request[index]; 1951 socalp->request[index] 2055 socal_cqinit(socal_state_t *socalp, uint32_t index) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 1054 uint32_t index; local 1063 * be set explicitly in the 512 bit hash table. Hence the index into 1079 index = hashindex((uint8_t *)dnet_broadcastaddr); 1080 hashp[ index / 16 ] |= 1 << (index % 16); 1082 index = hashindex((uint8_t *)dnetp->curr_macaddr); 1083 hashp[ index / 16 ] |= 1 << (index % 16); 1095 uint32_t index; local 1100 index 1135 uint32_t index; local 1326 int index, end_index, start_index; local 1584 int packet_length, index; local 1821 update_rx_stats(struct dnetinstance *dnetp, int index) argument 1866 update_tx_stats(struct dnetinstance *dnetp, int index) argument 2433 int index; local 2495 int index; local [all...] |
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | g_adm.c | 1507 * Calculate the index to each element. 1650 * Calculate the index to each element. 4704 * Calculate the index to each element. 4849 mb_messages(struct l_state_struct *l_state, int index, int elem_index) argument 4854 if (l_state->ib_tbl.config.type_hdr[index].text_len != 0) { 4856 l_state->ib_tbl.config.text[index]); 4858 for (j = 0; j < (int)l_state->ib_tbl.config.type_hdr[index].num; 4914 back_plane_messages(struct l_state_struct *l_state, int index, int elem_index) argument 4920 if (l_state->ib_tbl.config.type_hdr[index].text_len != 0) { 4922 l_state->ib_tbl.config.text[index]); 4976 dpm_SSC100_messages(struct l_state_struct *l_state, int index, int elem_index) argument 5033 loop_messages(struct l_state_struct *l_state, int index, int elem_index) argument 5089 ctlr_messages(struct l_state_struct *l_state, int index, int elem_index) argument 5271 revision_msg(struct l_state_struct *l_state, int index) argument 5289 ps_messages(struct l_state_struct *l_state, int index, int elem_index) argument [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dfc.c | 2109 uint32_t index; local 2118 index = *(uint32_t *)fcio->fcio_ibuf; 2121 if (index > hba->vpi_max) { 2141 uint32_t index; local 2161 index = *(uint32_t *)fcio->fcio_ibuf; 2162 ndlp = emlxs_node_find_index(port, index, 1); 2293 index = *(uint32_t *)fcio->fcio_ibuf; 2294 ndlp = emlxs_node_find_index(port, index, 1); 5527 uint32_t index; local 5531 index 10839 uint16_t index; local [all...] |
H A D | emlxs_sli4.c | 1253 * Set port number and port index to zero 1265 /* Make final attempt to set a port index */ 2206 vpip->index = i; 5764 /* Verify WQ index */ 6006 /* Verify RQ index */ 6018 "CQ ENTRY: Unsol Rcv:%x rqid=%d,%d index=%d status=%x " 6025 /* Update host index */ 6957 /* Verify CQ index */ 7048 /* The eq[] index == the MSI vector number */ 9368 emlxs_sli4_index_to_rpi(emlxs_hba_t *hba, uint32_t index) argument 9389 uint32_t index = hba->sli.sli4.RPICount; local 9407 emlxs_sli4_index_to_xri(emlxs_hba_t *hba, uint32_t index) argument 9425 emlxs_sli4_index_to_vpi(emlxs_hba_t *hba, uint32_t index) argument 9446 uint32_t index = hba->sli.sli4.VPICount; local 9466 emlxs_sli4_index_to_vfi(emlxs_hba_t *hba, uint32_t index) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_vfsops.c | 1621 int orig_pathlen = 0, ret = -1, index; local 1635 index = nfs4_process_referral(mi, sfh, nm, cr, 1639 if (index < 0) { 1641 return (index); 1644 fsp = &garp.n4g_ext_res->n4g_fslocations.locations_val[index]; 2002 * In either of these cases, the index of the GETFH is 1. 2006 * In this case, the index is llndx (last lookup index) - 2.
|
H A D | nfs_server.c | 2677 "nfs_server: invalid security index %d, " 2818 * Do a lookup for the index file. We know the index option doesn't 2820 * be the parent for the index file vnode, if its present. Use 2822 * original directory in case there's no index file. Note that the 2823 * index file is a native path, and should not be interpreted by 2847 * Found a valid vp for index "filename". Sanity check 2848 * for odd case where a directory is provided as index 3101 unsigned index = dss_path->index; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 1908 uint_t index; local 1981 index = mdb_strtoull(member); 2000 pap->pa_addr += index * size; 2003 if (index == 0 && non_array) 2010 if (index >= ar.mta_nelems) { 2011 mdb_warn("index %r is outside of " 2013 index, ar.mta_nelems - 1); 2026 pap->pa_addr += index * size; 2031 mdb_warn("cannot index into non-array, " 2535 "array indexing operator \"[index]\", structur [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlstat.c | 944 uint_t index = idlist[i]; local 947 index); 957 curr->dc_statentry = fn(kcp, ksp, index); 1659 uint_t index = idlist[i]; local 1662 prefix, index); 1680 curr_stats->fe_index = index;
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_main.c | 2635 ASSERT((rhp->index >= 0) && (rhp->index < HXGE_MAX_TDCS)); 2642 ring = hxgep->tx_rings->rings[rhp->index]; 2663 ASSERT((rhp->index >= 0) && (rhp->index < HXGE_MAX_TDCS)); 2666 ring = hxgep->tx_rings->rings[rhp->index]; 2683 ASSERT((rhp->index >= 0) && (rhp->index < HXGE_MAX_TDCS)); 2690 ring = hxgep->rx_rcr_rings->rcr_rings[rhp->index]; 2705 (hxgep->ldgvp->ldvp[i].channel == rhp->index)) { 2983 hxge_fill_ring(void *arg, mac_ring_type_t type, const int rg_index, const int index, mac_ring_info_t *infop, mac_ring_handle_t rh) argument [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_io.c | 128 void rdc_kstat_create(int index); 129 void rdc_kstat_delete(int index); 350 krdc->index = i; 371 const int index = (int)(urdc - &rdc_u_info[0]); local 380 urdc->index = index; 394 int index; local 397 for (index = 0; index < rdc_max_sets; index 429 int index; local 612 int index; local 743 int index; local 1120 check_filesize(int index, spcs_s_info_t kstatus) argument 1162 int index; local 1338 int index; local 1376 int index; local 1426 int index; local 1468 int index; local 1509 int index; local 1558 int index; local 1602 int index; local 1655 int index; local 1745 int index; local 1995 int index; local 2462 int index = krdc->index; local 2631 int index; local 3504 int index; local 3960 int index = krdc->index; local 4113 int index; local 4146 int index; local 4887 int index; local 4926 int index; local 5007 int index; local 5064 int index; local 5431 int index; local 5514 int index; local 5650 int index; local 5736 int index; local 5889 rdc_checkforbitmap(int index, nsc_off_t limit) argument 5935 int index; local 6313 mirror_getsize(int index) argument 6338 rdc_net_add_set(int index) argument 6404 rdc_net_get_set(int index, int id) argument 6433 rdc_net_put_set(int index, rdc_net_dataset_t *dset) argument 6458 rdc_net_del_set(int index, rdc_net_dataset_t *dset) argument 6549 rdc_aio_tbuf_get(void *n, void *h, int pos, int len, int flag, int index, int s) argument 6578 rdc_aio_buf_get(rdc_buf_t *h, int index) argument 6628 rdc_aio_buf_add(int index, rdc_buf_t *h) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | rmclomv.c | 100 const char *name, int *index); 102 int index); 714 * its index within the section is written to *index. 720 const char *name, int *index) 726 *index = i; 731 *index = 0; 1296 * validate_section_entry checks that the entry at the specified index 1301 validate_section_entry(rmclomv_cache_section_t *section, int index) argument 1306 for (i = index; 719 get_sensor_by_name(const rmclomv_cache_section_t *section, const char *name, int *index) argument 1362 int index; local 1408 int index; local 1613 int index; local 1831 int index; local 1984 int index; local 3448 int index; local 3514 int index; local [all...] |
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_boot.c | 292 * of the "index value" of the PCI root-bus and the value is 295 * The "index value" is simply the zero-based index of the PCI 304 long index; local 311 /* name of nvpair is index value */ 312 if (ddi_strtol(nvpair_name(np), NULL, 10, &index) != 0) 319 node->pua_index = index; 403 pci_bus_unitaddr(int index) argument 415 if (pua->pua_index == index) { 428 int i, index; local 1294 int index = 0; local 2311 pciIdeAdjustBAR(uchar_t progcl, int index, uint_t *basep, uint_t *lenp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 1045 rx_ring->index = i; 1051 tx_ring->index = i; 1726 E1000_WRITE_REG(&igb->hw, E1000_TDH(tx_ring->index), 0); 1727 E1000_WRITE_REG(&igb->hw, E1000_TDT(tx_ring->index), 0); 2124 E1000_WRITE_REG(hw, E1000_RDBAH(rx_ring->index), buf_high); 2125 E1000_WRITE_REG(hw, E1000_RDBAL(rx_ring->index), buf_low); 2131 E1000_WRITE_REG(hw, E1000_RDLEN(rx_ring->index), size); 2136 E1000_WRITE_REG(hw, E1000_SRRCTL(rx_ring->index), 2143 rxdctl = E1000_READ_REG(hw, E1000_RXDCTL(rx_ring->index)); 2149 E1000_WRITE_REG(hw, E1000_RXDCTL(rx_ring->index), rxdct 4772 uint32_t ivar, index, vector; local 4863 uint32_t ivar, index, vector; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSPosix.c | 208 errno, strerror(errno), dst, &thisIntf->coreIntf.ip, thisIntf->intfName, thisIntf->index); 270 // We do this match by name or by index, depending on which 272 // to "" if the name isn't available, or the index to -1 273 // if the index is available. This accomodates the various 285 else if (packetInfo.ipi_ifindex != -1) reject = (packetInfo.ipi_ifindex != intf->index); 291 &intf->coreIntf.ip, intf->intfName, intf->index, skt); 306 &senderAddr, &destAddr, &intf->coreIntf.ip, intf->intfName, intf->index, skt); 546 mDNSexport mDNSInterfaceID mDNSPlatformInterfaceIDfromInterfaceIndex(mDNS *const m, mDNSu32 index) argument 552 if (index == kDNSServiceInterfaceIndexLocalOnly) return(mDNSInterface_LocalOnly); 553 if (index 1185 int index = pRSMsg->ifam_type == RTM_IFINFO ? ((struct if_msghdr*) pRSMsg)->ifm_index : pRSMsg->ifam_index; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca.c | 88 dca_fma_eclass_t index, uint64_t, int, char *, ...); 426 static char *dca_fma_eclass_string(char *model, dca_fma_eclass_t index); 2452 dca_failure(dca_t *dca, ddi_fault_location_t loc, dca_fma_eclass_t index, argument 2465 eclass = dca_fma_eclass_string(dca->dca_model, index); 2468 index != DCA_FM_ECLASS_NONE) { 4951 dca_fma_eclass_string(char *model, dca_fma_eclass_t index) argument 4954 return (dca_fma_eclass_sca500[index]); 4956 return (dca_fma_eclass_sca1000[index]);
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_common.c | 1107 * @index: led number to turn on 1109 s32 ixgbe_led_on_generic(struct ixgbe_hw *hw, u32 index) argument 1116 led_reg &= ~IXGBE_LED_MODE_MASK(index); 1117 led_reg |= IXGBE_LED_ON << IXGBE_LED_MODE_SHIFT(index); 1127 * @index: led number to turn off 1129 s32 ixgbe_led_off_generic(struct ixgbe_hw *hw, u32 index) argument 1136 led_reg &= ~IXGBE_LED_MODE_MASK(index); 1137 led_reg |= IXGBE_LED_OFF << IXGBE_LED_MODE_SHIFT(index); 2281 * @index: Receive address register to write 2283 * @vmdq: VMDq "set" or "pool" index 2288 ixgbe_set_rar_generic(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, u32 enable_addr) argument 2339 ixgbe_clear_rar_generic(struct ixgbe_hw *hw, u32 index) argument 3362 ixgbe_blink_led_start_generic(struct ixgbe_hw *hw, u32 index) argument 3409 ixgbe_blink_led_stop_generic(struct ixgbe_hw *hw, u32 index) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 1140 rx_ring->index = i; 1148 rx_group->index = i; 1154 tx_ring->index = i; 1706 IXGBE_TDH(tx_ring->index), 0); 1708 IXGBE_TDT(tx_ring->index), 0); 2390 uint32_t i, index; local 2500 index = ixgbe->rx_rings[i].hw_index; 2501 ring_mapping = IXGBE_READ_REG(hw, IXGBE_RQSMR(index >> 2)); 2502 ring_mapping |= (i & 0xF) << (8 * (index & 0x3)); 2503 IXGBE_WRITE_REG(hw, IXGBE_RQSMR(index >> 5279 u32 ivar, index; local 5336 u32 ivar, index; local 5388 u32 ivar, index; local 6106 ixgbe_fill_group(void *arg, mac_ring_type_t rtype, const int index, mac_group_info_t *infop, mac_group_handle_t gh) argument [all...] |
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem.c | 577 * the list, the int is the index into the roots array for this buffer. 2131 size_t index = (size - 1) >> UMEM_ALIGN_SHIFT; local 2135 if (index < UMEM_MAXBUF >> UMEM_ALIGN_SHIFT) { 2136 umem_cache_t *cp = umem_alloc_table[index]; 2159 size_t index = (size - 1) >> UMEM_ALIGN_SHIFT; local 2162 if (index < UMEM_MAXBUF >> UMEM_ALIGN_SHIFT) { 2163 umem_cache_t *cp = umem_alloc_table[index]; 2225 size_t index = (size - 1) >> UMEM_ALIGN_SHIFT; local 2227 if (index < UMEM_MAXBUF >> UMEM_ALIGN_SHIFT) { 2228 umem_cache_t *cp = umem_alloc_table[index]; [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | tpmtok_int.h | 338 CK_ULONG index; member in struct:_OBJECT
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_internal.h | 454 ParamIndexType index; /* config file enum index */ member in struct:ns_default_config 665 unsigned long index; member in struct:ns_ldap_cookie
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | lemon.c | 122 int index; /* Index number for this symbol */ member in struct:symbol 160 int index; /* An index number for this rule */ member in struct:rule 212 int index; /* Sequencial number for this state */ member in struct:state 358 rc = ap1->sp->index - ap2->sp->index; 363 rc = ap1->x.rp->index - ap2->x.rp->index; 510 ** i is the index in p->aAction[] where p->mnLookahead is inserted. 545 /* Insert transaction set at index [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 385 static void add_op_status(envmon_hpu_t *hpu, int *index); 567 int index; local 573 index = find_picl_handle(proph); 575 if (index < 0) { 599 data.id = idprop->idp[index].envhandle; 833 int index; local 838 for (index = 0; index < idprop->num; index++) { 839 if (idprop->idp[index] 849 int index; local 1482 int index; local 2145 int index = 0; local 2938 add_op_status(envmon_hpu_t *hpu, int *index) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 212 /* A Pos is an index in the character window. We use short instead of int to 250 /* Link to older string with same hash index. To limit the size of this 252 * An index in this array is thus a window index modulo 32K. 257 uInt ins_h; /* hash index of string to be inserted */ 357 uInt last_lit; /* running index in l_buf */ 951 * we prevent matches with the string of window index 0. 1260 * of window index 0 (in particular we have to avoid a match 1358 * of window index 0 (in particular we have to avoid a match 1551 int extra_base; /* base index fo 3069 uInt index; /* index into blens (or border) */ member in struct:inflate_blocks_state::__anon136::__anon137 [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/ |
H A D | wificonfig.c | 205 static void print_gbuf(config_item_t index); 412 config_item_t index; member in struct:gs_ops 3657 print_gbuf(config_item_t index) argument 3679 PRTDBG(("print_gbuf(%d)\n", index)); 3682 switch (index) { 4127 if (value_is_valid(do_gs_func[j].index, pequal) == 4572 print_gbuf(do_gs_func[i].index); 4607 print_gbuf(do_gs_func[j].index);
|