/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_main2.c | 315 hw_rbd_p->index = (uint16_t)slot; 1307 * Compute the index of the required bit in the multicast hash map. 1329 uint32_t index; local 1341 index = hash % BGE_HASH_TABLE_SIZE; 1342 word = index/32u; 1343 bit = 1 << (index % 32u); 1344 refp = &bgep->mcast_refs[index]; 1346 BGE_DEBUG(("bge_m_multicst: hash 0x%x index %d (%d:0x%x) = %d", 1347 hash, index, word, bit, *refp)); 1718 const int index, mac_ring_info_ 1717 bge_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 [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_ich8lan.c | 80 static int e1000_rar_set_pch2lan(struct e1000_hw *hw, u8 *addr, u32 index); 81 static int e1000_rar_set_pch_lpt(struct e1000_hw *hw, u8 *addr, u32 index); 2004 * @index: receive address array register 2006 * Sets the receive address array register at index to the address passed 2011 static int e1000_rar_set_pch2lan(struct e1000_hw *hw, u8 *addr, u32 index) argument 2030 if (index == 0) { 2031 E1000_WRITE_REG(hw, E1000_RAL(index), rar_low); 2033 E1000_WRITE_REG(hw, E1000_RAH(index), rar_high); 2041 if (index < (u32) (hw->mac.rar_entry_count)) { 2048 E1000_WRITE_REG(hw, E1000_SHRAL(index 2080 e1000_rar_set_pch_lpt(struct e1000_hw *hw, u8 *addr, u32 index) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_io.c | 893 int index = 0; local 918 index++; 921 u = " KMGTPE"[index]; 924 if (index == 0) { 927 } else if ((orig & ((1ULL << 10 * index) - 1)) == 0) { 955 double val = (double)orig / (1ULL << 10 * index);
|
/illumos-gate/usr/src/cmd/sgs/dump/common/ |
H A D | dump.c | 509 * an index which is the number of the 511 * the range, and the index are set in 516 long range, int index) 534 (void) gelf_getsym(sym_data, index, &sym); 566 shndx = symshndx[index]; 578 (void) printf("[%d]\t ", index++); 640 * the number of sections, an index which is the number of the 642 * structure, the number of sections, and the index are set in 646 print_shdr(Elf *elf_file, SCNTAB *s, int num_scns, int index) argument 662 (void) printf("[%d]\t", index 515 print_symtab(Elf *elf_file, SCNTAB *p_symtab, Elf_Data *sym_data, long range, int index) argument 980 int index = 1; local 1079 int index = 1; local [all...] |
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | corenote.c | 368 * element an index, in the format: 454 * the index string, which is right justified, and don't 461 char index[(MAXNDXSIZE * 2) + 1]; local 563 (void) snprintf(index, sizeof (index), 566 (void) snprintf(index, sizeof (index), 572 dbg_print(0, MSG_ORIG(MSG_CNOTE_FMT_AUXVLINE), INDENT, index,
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cred.c | 1329 /* index should be in range for a ksidindex_t */ 1331 crsetsid(cred_t *cr, ksid_t *ksp, int index) argument 1334 ASSERT(index >= 0 && index < KSID_COUNT); 1337 cr->cr_ksid = kcrsid_setsid(cr->cr_ksid, ksp, index);
|
H A D | flock.c | 114 * 1. index i of rep.states is between 0 and n - 1 where n is number 117 * 2. map nlmid to index i of rep.states 123 * from forgetting to subtract 1 from the index. 124 * 4. The reason we keep the 0th index is the following. A legitimate 131 * are zero for UFS. Since the nodeid is used to index into the 132 * registry, we can record the NLM server state information at index 1348 int index; local 1356 index = HASH_INDEX(request->l_vnode); 1360 if (fg->lockmgr_status[index] != FLK_LOCKMGR_UP) { 1435 if (fg->lockmgr_status[index] ! 2430 int index = HASH_INDEX(vp); local [all...] |
H A D | mmapobj.c | 256 #define LIB_VA_HASH_MUTEX(index) \ 257 (&lib_va_hash_mutex[index >> LIB_VA_MUTEX_SHIFT]) 334 uint_t index; local 335 index = LIB_VA_HASH(vap->va_nodeid); 337 mutex_enter(LIB_VA_HASH_MUTEX(index)); 338 tmp = &lib_va_hash[index]; 364 mutex_exit(LIB_VA_HASH_MUTEX(index)); 374 mutex_exit(LIB_VA_HASH_MUTEX(index)); 396 uint_t index; local 402 index 502 uint_t index; local [all...] |
/illumos-gate/usr/src/lib/hbaapi/common/ |
H A D | HBAAPILIB.c | 54 * The top 16 bits of handle are the library index 195 HBA_UINT32 index; member in struct:hba_library_info 220 HBA_UINT32 index; member in struct:hba_adapter_info 343 if(lib_infop->index == libraryIndex) { 587 lib_infop->index = _hbaapi_total_library_count; 743 lib_infop->index = _hbaapi_total_library_count; 981 * on a linked list. There is a unique "index" foreach each adapter. 982 * Adapters always keep their index, even if they are removed from the 1080 adapt_infop->index = _hbaapi_total_adapter_count; 1101 * The adapter index i [all...] |
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 1569 #define ifaf(index) (localinfo->addresses[index].af) 1570 #define ifaddr4(index) (localinfo->addresses[index].addr.in4) 1571 #define ifaddr6(index) (localinfo->addresses[index].addr.in6) 1572 #define ifmask4(index) (localinfo->addresses[index].mask.in4) 1573 #define ifmask6(index) (localinfo->addresses[index] 2040 int index, result; local [all...] |
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 172 int index = 0; local 176 index++; 180 u = " KMGTPE"[index]; 182 if (index == 0) { 189 (double)num / (1ULL << index * 10), u) >= buflen) 1326 return (dgettext(TEXT_DOMAIN, "invalid rule index"));
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | tulip.c | 336 int index; member in struct:mediainfo 407 int chip_id; /* index into tulip_tbl[] */ 408 int pci_id_idx; /* index into pci_id_tbl[] */ 430 int cur_index; /* Current media index. */
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/ |
H A D | psvcobj.c | 529 i_psvc_get_table_value(EHdl_t *hdlp, char *table_id, uint32_t index, argument 557 if (index >= tblp->size) 562 *(int8_t *)value = *((int8_t *)tblp->table + index); 565 *(uint8_t *)value = *((uint8_t *)tblp->table + index); 568 *(int16_t *)value = *((int16_t *)tblp->table + index); 571 *(uint16_t *)value = *((uint16_t *)tblp->table + index); 574 *(int32_t *)value = *((int32_t *)tblp->table + index); 577 *(uint32_t *)value = *((uint32_t *)tblp->table + index); 580 *(int64_t *)value = *((int64_t *)tblp->table + index); 583 *(uint64_t *)value = *((uint64_t *)tblp->table + index); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_filter.c | 499 * Returns the index of dport in the table if found, otherwise -1. 1399 generate_check(match_type_t match_types[], int index, int type) argument 1401 match_type_t *mtp = &match_types[index];
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 2428 int index = 0; local 2433 index++; 2436 u = " KMGTPE"[index]; 2438 if (index == 0) { 2442 (double)num / (1ULL << 10 * index), u); 2445 (double)num / (1ULL << 10 * index), u);
|
/illumos-gate/usr/src/cmd/dlstat/ |
H A D | dlstat.c | 832 int index; local 834 for (index = 0; (int)(num/1000) != 0; index++, num /= 1000) 837 switch (index) { 1832 "link,type,index,pkts,bytes"; 1834 "link,type,index,ipkts,rbytes"; 1836 "link,type,index,opkts,obytes"; 2012 "link,type,id,index,pkts,bytes"; 2014 "link,type,id,index,ipkts,rbytes,intrs,polls,ch<10,ch10-50,ch>50"; 2016 "link,type,id,index,opkt [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uucp.h | 550 #define index strchr macro 553 #define strchr index
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | uucp.h | 486 #define index strchr macro 492 #define strchr index 508 extern char *index(), *rindex(), *getlogin(), *ttyname(); /*, *malloc();
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | spdsock.c | 984 tmprule_t **rp, uint64_t *index, spd_stack_t *spds) 992 index, spds->spds_netstack); 1010 tmprule_t **rp, uint64_t *index, spd_stack_t *spds) 1016 index, spds); 1022 index, spds); 1041 uint64_t *index = (itp == NULL) ? NULL : &itp->itp_next_policy_index; local 1136 IPSEC_TYPE_OUTBOUND, afs, &rulep, index, spds); 1143 IPSEC_TYPE_INBOUND, afs, &rulep, index, spds); 982 mkrule(ipsec_policy_head_t *iph, struct spd_rule *rule, ipsec_selkey_t *sel, ipsec_act_t *actp, int nact, uint_t dir, uint_t af, tmprule_t **rp, uint64_t *index, spd_stack_t *spds) argument 1008 mkrulepair(ipsec_policy_head_t *iph, struct spd_rule *rule, ipsec_selkey_t *sel, ipsec_act_t *actp, int nact, uint_t dir, uint_t afs, tmprule_t **rp, uint64_t *index, spd_stack_t *spds) argument
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_subr.c | 2280 int index; local 2288 index = rtablehash(&nfh); 2289 rw_enter(&rtable[index].r_lock, RW_READER); 2291 vp = make_rnode(&nfh, &rtable[index], vfsp, nfs_vnodeops, 2296 rw_exit(&rtable[index].r_lock); 2317 rw_exit(&rtable[index].r_lock); 2323 rw_exit(&rtable[index].r_lock); 2342 int index; local 2345 index = rtablehash((nfs_fhandle *)fh); 2346 rw_enter(&rtable[index] 2384 int index; local 2927 int index; local 2960 int index; local 3048 int index; local 4043 int index; local 4251 int index; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ |
H A D | kstatcom.h | 189 kstat_named_t index; member in struct:ipv6RouteEntry_named_kstat
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.h | 218 int index; /* index of this slot */ member in struct:aac_slot 367 int card; /* index to aac_cards */
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/ |
H A D | audiohd.c | 588 codec->index, 597 codec->index, 621 codec->index, 624 statep->port[PORT_DAC]->index << 628 codec->index, 655 codec->index, 658 statep->port[PORT_DAC]->index << 663 codec->index, 692 codec->index, 701 codec->index, 5482 audiohd_select_mic(audiohd_state_t *statep, uint8_t index, uint8_t id, int select) argument 5633 uint8_t index; local [all...] |
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 4058 int index; local 4074 for (index = 4; (index <= inq00.len+3)&& 4075 (data[index] <= page_num); index ++) { 4076 if (data[index] == page_num) {
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/ |
H A D | dapl.h | 290 DAPL_ATOMIC head; /* head pointer index */ 291 DAPL_ATOMIC tail; /* tail pointer index */ 643 DAT_COUNT index; member in struct:dapl_cookie
|