/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 4502 int index = startd_failure_index++ % NSTARTD_FAILURE_TIMES; local 4504 startd_failure_time[index] = gethrtime();
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 5308 * It hashes the ipaddress gets the index and walks thru the 5313 * Hashes the ipaddress finds the index and puts current entry to the list. 5362 int index; local 5375 *hindex = index = addr_hash(nbp); 5377 for (hpp = &hnc_cache[index]; (hp = *hpp) != NULL; ) { 5395 if (hp != hnc_cache[index]) { 5399 hp->next = hnc_cache[index]; 5400 hnc_cache[index] = hp; 5566 * an index into the hnc_cache hashtable.
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_dcbx.c | 2335 u8_t index = 0 ; local 2339 for(index = 0; index < MAX_PFC_PRIORITIES ; index++) 2341 pri_mask = 1 <<(index); 2344 pri = index ; 2419 u8_t index = 0; local 2421 for(index = 0 ;(index < app_tbl_size); index 2498 u8_t index = 0; local [all...] |
H A D | lm_hw_init_reset.c | 4028 u32_t index = 0; local 4036 for (index = 0; index < sizeof(struct event_ring_data) / sizeof(u32_t); index++) 4038 LM_INTMEM_WRITE32(pdev, addr + (sizeof(u32_t) * index), *((u32 *)&eq_data + index), BAR_CSTRORM_INTMEM);
|
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt.c | 171 /* Array to quickly calculate next free buf index to use */ 1356 uint32_t index; local 1364 index = sizeof (qlt_ext_icb_81xx_t); 1386 while (index--) { 2838 uint32_t index, addr, chksum; local 2863 for (index = 0; index < sizeof (qlt_nvram_t) / 4; index++) {
|
/illumos-gate/usr/src/lib/smhba/common/ |
H A D | SMHBAAPILIB.c | 90 * The top 16 bits of handle are the library index 243 HBA_UINT32 index; member in struct:hba_library_info 299 HBA_UINT32 index; member in struct:hba_adapter_info 444 if (lib_infop->index == libraryIndex) { 751 lib_infop->index = _hbaapi_total_library_count; 956 lib_infop->index = _hbaapi_total_library_count; 1287 * on a linked list. There is a unique "index" foreach each adapter. 1288 * Adapters always keep their index, even if they are removed from the 1388 adapt_infop->index = _hbaapi_total_adapter_count; 1412 * The adapter index i [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge.c | 158 * Outbound queues have a consumer index that is maintained by the chip. 159 * Inbound queues have a producer index that is maintained by the chip. 163 * update the relevant index register and then copy the value to the 165 * Currently, ql_read_sh_reg only read Inbound queues'producer index. 173 /* re-synchronize shadow prod index dma buffer before reading */ 921 * Update small buffer queue producer index 926 /* Update the buffer producer index */ 934 * Update large buffer queue producer index 939 /* Update the buffer producer index */ 1193 " sbq_desc index 4596 ql_add_multicast_address(qlge_t *qlge, int index) argument 4637 ql_remove_multicast_address(qlge_t *qlge, int index) argument 4682 uint32_t index = qlge->multicast_list_count; local 6685 ql_set_mac_addr_reg(qlge_t *qlge, uint8_t *addr, uint32_t type, uint16_t index) argument 6770 ql_set_routing_reg(qlge_t *qlge, uint32_t index, uint32_t mask, int enable) argument [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 2294 fctl_set_npiv_portindex(dev_info_t *dip, int index) argument 2305 port->fp_npiv_portindex[index - 1] = 1; 2328 "Cann't find valid port index, fail to create devnode"); 3287 int index; local 3302 index = HASH_FUNC(WWN_HASH_KEY(rnodep->fd_node_name.raw_wwn), 3306 head = &fctl_nwwn_hash_table[index]; 3325 int index; local 3333 index = HASH_FUNC(WWN_HASH_KEY(rnodep->fd_node_name.raw_wwn), 3336 head = &fctl_nwwn_hash_table[index]; 3378 int index; local 3418 int index; local 3635 int index; local 3733 int index; local 3748 int index; local 3802 int index; local 3951 int index; local 3986 int index; local 4024 int index; local 4117 int index; local 4814 int index; local 5803 int index; local 5867 int index; local 5964 int index; local 5982 int index; local 6200 fctl_lookup_pd_by_index(fc_local_port_t *port, uint32_t index) argument 6231 int index; local 6378 int index, phyPortNum = 0; local [all...] |
H A D | fp.c | 1803 int index; local 1839 for (index = 0; index < pwwn_table_size; index++) { 1840 head = &port->fp_pwwn_table[index]; 3610 int index; local 3668 for (count = index = 0; index < pwwn_table_size; index++) { 3669 head = &port->fp_pwwn_table[index]; 4291 int index; local 7290 int index; local 7376 uint32_t index; local 7964 uint32_t index = 0; local 10046 int index; local 10122 int index; local 10475 int index; local 14034 int index; local [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge.h | 268 int index; member in struct:_hxge_rx_ring_group_t 277 int index; /* port-wise */ member in struct:_hxge_ring_handle_t
|
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 1106 * index = rnum / RESOURCE_BLKSZ; 1107 * ASSERT(index < resource_block.len); 1108 * ASSERT(index < resource_block.sz); 1110 * ASSERT(offset >= resource_block.root[index]->base); 1111 * ASSERT(offset < resource_block.root[index]->base + RESOURCE_BLKSZ); 1112 * return resource_block.root[index]->blks[offset]; 1762 int index; local 1774 index = rsmhash(key); 1778 head = importer_list.bucket[index]; 1779 importer_list.bucket[index] 1791 int index; local 2427 uint_t index; local 3448 int index; local 3653 uint_t index; local 5693 int index; local 7029 int index; local [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 6543 int index; local 6574 for (index = 0; index < num_paths; index++, src++, pi++) { 6617 for (index = 0, pi = *kpibuf; index < num_paths; index++, pi++) { 6618 bufsize = (*upibuf)[index].ret_prop.buf_size; 6630 if ((*upibuf)[index].ret_prop.ret_buf_size != NULL) { 6653 int index; local 6681 int retval = 0, index; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 300 uint32_t index, 3226 * Figure out whether or not this interval may be supported. Return the index 3340 * Find the index into the lattice given the 3687 * Given a node in the lattice, find the index for the hcca interrupt table 3708 * Given a node in the bottom leaf array of the lattice, find the index 4056 /* Get the hcca interrupt table index */ 4516 /* Get the hcca interrupt table index */ 6004 * and the index into the isoc TD list for an isoc TD. 6162 uint32_t index, 6183 bufp = &tw->tw_isoc_bufs[index]; 6158 ohci_init_itd( ohci_state_t *ohcip, ohci_trans_wrapper_t *tw, uint_t hctd_ctrl, uint32_t index, ohci_td_t *td) argument [all...] |
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 208 ushort_t lmi_ba_index; /* index into bootaux vector */ 3369 sym_insert(struct module *mp, char *name, symid_t index) argument 3387 index * mp->symhdr->sh_entsize); 3388 _kobj_printf(ops, "krtld:\t[%3d]", index); 3398 *ip = index;
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge.h | 390 offset_t index; member in struct:__anon7800 401 uint16_t index; member in struct:bq_desc 435 uint32_t index; member in struct:tx_ring_desc
|
/illumos-gate/usr/src/uts/common/io/iwi/ |
H A D | ipw2200_impl.h | 220 int index; member in struct:statistic
|
/illumos-gate/usr/src/uts/common/io/iwk/ |
H A D | iwk2.c | 2349 uint32_t index; local 2361 * firmware has moved the index of the rx queue, driver get it, 2364 index = sc->sc_shared->val0 & 0xfff; 2366 while (sc->sc_rxq.cur != index) { 2370 IWK_DBG((IWK_DEBUG_INTR, "rx notification index = %d" 2372 index, sc->sc_rxq.cur, desc->hdr.qid, desc->hdr.idx, 2459 index = (index == 0) ? RX_QUEUE_SIZE - 1 : index - 1; 2460 IWK_WRITE(sc, FH_RSCSR_CHNL0_RBDCB_WPTR_REG, index 2649 uint8_t index, index1, index2; local 6450 uint8_t index; local [all...] |
/illumos-gate/usr/src/uts/common/io/mwl/ |
H A D | mwl_reg.h | 436 uint8_t index; member in struct:__anon6174 633 /* legacy rate(not index) or an MCS code */ 838 uint32_t KeyIndex; /* For WEP only - actual key index */
|
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/ |
H A D | fhc.h | 308 /* definition of the clock board index */ 387 uint_t index; /* index of current temperature */ member in struct:temp_stats
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vdc.c | 229 static vdc_io_t *vdc_eio_queue(vdc_t *vdc, int index); 2446 * We use the first channel found (index 0), irrespective of how 2754 /* Initialize the starting index */ 2864 * idx - descriptor ring index 6748 vdc_eio_queue(vdc_t *vdc, int index) argument 6756 vio->vio_index = index; 6777 int index, op; local 6814 index = vio->vio_index; 6815 op = vdc->local_dring[index].operation; 6816 buf = vdc->local_dring[index] [all...] |
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ |
H A D | scsb.c | 2080 * Check SCB register index boundries and requested len of read/write 2456 int index; local 2489 /* discover the register and index we need to operate on */ 2492 index = SCSB_REG_INDEX(reg); 2494 if (scsb->scsb_data_reg[index] & (1 << unit_number)) { 2500 index = SCSB_REG_INDEX(reg); 2501 if (scsb->scsb_data_reg[index] & 2519 int code, index; local 2577 * discover the register and index we need to access 2581 index 2865 int index, p06; local 2913 int i, t, index, unit, is_tonga = 0; local 3730 int index; local 3763 int index; local 3813 int index, slotnum, reset_state; local 4166 int index; local 4373 int intr_idx, index, offset_base, retval, slotnum, val; local 5167 int index; local 5252 int index; local 5285 int index, error = 0; local 5363 int i, rlen, wlen, index, error = 0; local 5635 int i, numregs, index, error = DDI_SUCCESS; local 6126 int index; local 6747 int index, condition_exists = 0, ac_val; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 1544 int index, ntypes; local 1556 for (index = 0; index < ntypes; index++) { 1557 if (strcmp(drmach_name2type[index].name, name) == 0) 1559 return (index);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_fcf.c | 2030 fcfp->index = i; 2043 vfip->index = i; 2054 vpip->index = i; 2063 rpip->index = 0xffff; 2079 rpip->index = i; 2649 uint32_t index; local 2653 /* Convert event to action table index */ 2656 index = 0; 2659 index = 1; 2662 index 4625 uint32_t index; local 5734 uint16_t index; local 5886 uint16_t index = (uint16_t)((unsigned long)arg1); local 7378 uint32_t index; local 7612 uint32_t index; local 9220 uint32_t index; local 11111 uint32_t index; local 13860 uint32_t index; local 14188 uint32_t index; local [all...] |
H A D | emlxs_solaris.c | 7668 emlxs_check_parm(emlxs_hba_t *hba, uint32_t index, uint32_t new_value) argument 7675 if (index >= NUM_CFG_PARAM) { 7677 "check_parm failed. Invalid index = %d", index); 7682 cfg = &hba->config[index]; 7691 switch (index) { 7947 emlxs_set_parm(emlxs_hba_t *hba, uint32_t index, uint32_t new_value) argument 7955 if (index >= NUM_CFG_PARAM) { 7957 "set_parm failed. Invalid index = %d", index); [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 318 static void index(); 3290 index(base); 3540 index(base); 3657 index(base); 4221 index(base); 4234 index(base); 4407 * print_check - check if the index needs to be printed and delete 4455 index(tbase); 4459 index(tbase); 4470 * index 4474 index(int b) function [all...] |