/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | option.h | 73 int index; /* argv index */ member in struct:Opt_s 76 int offset; /* char offset in argv[index] */
|
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_sfmmu.c | 227 uint_t index; local 231 index = cpunode->itlb_size; 240 (void) prom_itlb_load(index - 1, *(uint64_t *)&ktext_tte, textva); 241 index = cpunode->dtlb_size; 242 (void) prom_dtlb_load(index - 1, *(uint64_t *)&kdata_tte, datava); 243 (void) prom_dtlb_load(index - 2, *(uint64_t *)&ktext_tte, textva); 244 index -= 3; 247 utsb_dtlb_ttenum = index--; 248 utsb4m_dtlb_ttenum = index--; 260 (void) prom_dtlb_load(index, tt [all...] |
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vio_util.h | 65 * Allocation requests result in the head index being incremented, mblks 117 uint_t index; /* index in the pool */ member in struct:vio_mblk
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_fdvma.c | 49 px_fdvma_load(ddi_dma_handle_t h, caddr_t a, uint_t len, uint_t index, argument 68 DBG(DBG_FAST_DVMA, dip, "load index=%x: %p+%x ", index, a, len); 69 if (index + npages > mp->dmai_ndvmapages) { 71 "%s%d: kaddr_load index(%x)+pgs(%lx) exceeds limit\n", 73 index, npages); 76 fdvma_p->pagecnt[index] = npages; 78 dvma_addr = mp->dmai_mapping + MMU_PTOB(index); 100 px_fdvma_unload(ddi_dma_handle_t h, uint_t index, uint_t sync_flag) argument 105 size_t npages = fdvma_p->pagecnt[index]; 118 px_fdvma_sync(ddi_dma_handle_t h, uint_t index, uint_t sync_flag) argument [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | dvma.c | 118 dvma_kaddr_load(ddi_dma_handle_t h, caddr_t a, uint_t len, uint_t index, argument 130 (void) (*nexus_funcptr->dvma_kaddr_load)(h, a, len, index, cp); 152 ((ddi_dma_handle_t *)mp->dmai_minfo)[index] = handle;
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_fdvma.c | 49 pci_fdvma_load(ddi_dma_handle_t h, caddr_t a, uint_t len, uint_t index, argument 71 DEBUG3(DBG_FAST_DVMA, dip, "load index=%x: %p+%x ", index, a, len); 72 if (index + npages > mp->dmai_ndvmapages) { 74 "%s%d: kaddr_load index(%x)+pgs(%lx) exceeds limit\n", 76 index, npages); 81 ASSERT(fdvma_p->kvbase[index] == NULL); 82 ASSERT(fdvma_p->pagecnt[index] == 0); 84 dvma_addr = mp->dmai_mapping + IOMMU_PTOB(index); 99 &fdvma_p->cbcookie[index 128 pci_fdvma_unload(ddi_dma_handle_t h, uint_t index, uint_t sync_flags) argument 163 pci_fdvma_sync(ddi_dma_handle_t h, uint_t index, uint_t sync_flags) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hat_kdi.c | 158 int index; local 185 index = (va >> LEVEL_SHIFT(level)) & (mmu.ptes_per_table - 1); 186 *pap += index << mmu.pte_size_shift;
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82542.c | 50 static int e1000_rar_set_82542(struct e1000_hw *hw, u8 *addr, u32 index); 409 * @index: receive address array register 411 * Sets the receive address array register at index to the address passed 414 static int e1000_rar_set_82542(struct e1000_hw *hw, u8 *addr, u32 index) argument 433 E1000_WRITE_REG_ARRAY(hw, E1000_RA, (index << 1), rar_low); 434 E1000_WRITE_REG_ARRAY(hw, E1000_RA, ((index << 1) + 1), rar_high);
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_rx.c | 138 igb_rx_copy(igb_rx_data_t *rx_data, uint32_t index, uint32_t pkt_len) argument 144 current_rcb = rx_data->work_list[index]; 182 igb_rx_bind(igb_rx_data_t *rx_data, uint32_t index, uint32_t pkt_len) argument 198 current_rcb = rx_data->work_list[index]; 250 rx_data->work_list[index] = free_rcb; 452 E1000_WRITE_REG(&igb->hw, E1000_RDT(rx_ring->index), rx_tail);
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_sram.c | 210 unsigned int index; local 214 for (index = 0; index < sizeof (efx_qword_t); index++) 215 eqp->eq_u8[index] = offset + index; 265 unsigned int index; local 267 for (index = 0; index < sizeof (efx_qword_t); index [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_intr.c | 75 unsigned int index; local 106 for (index = 0; index < EFX_INTR_NEVQS; index++) { 107 if (qmask & (1 << index)) 108 (void) sfxge_ev_qpoll(sp, index); 124 for (index = 0; index < EFX_INTR_NEVQS; index++) { 125 if (sp->s_sep[index] ! 149 unsigned int index = (unsigned int)(uintptr_t)arg2; local 345 int index; local 398 unsigned int index; local 506 int index; local 773 int index; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootiic/ |
H A D | loader_prompt.c | 276 // s <index> <new boot command> 277 // set the boot command at index (0-based) 278 unsigned index; local 282 index = p_ASCIIToHex(argv[1]); 283 SetBootCommand(index, argv[2]);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | part.h | 73 int index; member in struct:ptable_entry 88 int index);
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getservent.c | 51 int index; /* index of ipserviceprotocol */ member in struct:_nss_services_cookie 75 _nss_services_cookie_new(ns_ldap_result_t *result, int index, char *cname) { argument 88 cookie->index = index; 191 * Get current value then increment index 193 protoval = protocol->attrvalue[cookie->index++]; 262 * so it starts with index 1. Also save the canonical name. 286 cookie->index >= protocol->value_count) {
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaMechManager.c | 221 unsigned long index, num_found = 0; local 232 found = find_mech_index(mech_support_info->mech, &index); 239 if (!mechlist[index].slots[i].initialized || 240 !mechlist[index].slots[i].supported) 244 info = mechlist[index].slots[i].mechanism_info; 252 = &mechlist[index].slots[i]; 286 unsigned long index = 0; local 290 rv = meta_mechManager_allocmechs(&mech, 1, &index); 298 * index as a hint to quickly find the mechanism. 300 found = find_mech_index(mech, &index); 337 unsigned long index = 0; local 445 update_slotmech(CK_MECHANISM_TYPE mech, CK_ULONG slotnum, unsigned long index) argument 506 unsigned long i, index = 0; local 605 find_mech_index(CK_MECHANISM_TYPE mechanism, unsigned long *index) argument 653 unsigned long index; local [all...] |
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | ipp-listener.c | 181 int index; local 196 index = ipp_operation_id_to_index(id); 198 if (index == -1) 202 handlers[index].name); 206 if ((index == -1) || (handlers[index].function == NULL)) { 224 handlers[index].name, &configured); 228 handlers[index].name, id); 232 return (handlers[index].function);
|
/illumos-gate/usr/src/lib/scsi/libscsi/common/ |
H A D | scsi_engine.c | 572 size_t index; local 580 index = lrand48() % len; 581 buf[index] = (lrand48() % 256); 586 index = lrand48() % len; 587 buf[index] = (lrand48() % 256);
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4400/common/ |
H A D | riverwalk.c | 80 uint64_t type, index; local 118 &index) == 0); 123 switch (index) { 143 switch (index) { 169 switch (index) {
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_pages.c | 62 uint64_t index, type; local 69 &index) == 0); 106 dep->sadei_element_index != index) { 108 * The element index field from AES descriptor is 109 * element only index which doesn't include the OVERALL 115 } else if (dep->sadei_eip || i == index) { 129 uint64_t index; local 135 &index) == 0); 138 tp = &tpip->stipi_thresholds[index]; 143 return (&tpip->stipi_thresholds[index]); 151 uint64_t index; local 199 uint64_t index; local 230 uint64_t index; local 284 uint64_t index; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_ht.c | 35 * |handle|---> |index 0|--->|item|--->|item|---> 37 * | ... | |index 1|---> 39 * |index 2|--->|item|--->|item|--->|item|---> 45 * |index n|---> 169 * Default hash function to compute the table index (hash value) based 174 * Returns the table index location for the item. 219 * handle and the key is used to generate a hashed index. The data 593 size_t index; local 626 for (index = iterator->hti_index + 1; index < tota [all...] |
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | prims64.c | 201 * xa+ ( addr1 index -- addr2 ) 206 fstack_t index; local 209 index = POP(DS); 210 TOS += index * sizeof (xforth_t);
|
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | module.c | 51 * Update types. Single-index and all are mutually exclusive. 91 key_build(const char *name, const ulong_t index) argument 95 key.d_index = index; 120 * If index corresponds to a module we have previously seen and indexed, return 126 module_lookup_index_exact(const ulong_t index) argument 130 key = key_build(NULL, index); 135 * If index corresponds to a valid (that is, extant as of latest information 137 * Otherwise, return the data for the valid module whose index is as close as 138 * possible to index but not lower. This preserves the lexicographical 142 module_lookup_index_nextvalid(const ulong_t index) argument 468 ulong_t index; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | cpu.c | 254 uint32_t index; local 283 * Cache index, way and type are optional elements 287 &index); 305 FM_FMRI_CPU_CACHE_INDEX, index, 321 FM_FMRI_CPU_CACHE_INDEX, index, 374 uint32_t index = 0; local 415 index = strtoul(s, &end, 0); 465 index);
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_bboard.c | 199 x86pi_bb_getchips(topo_mod_t *mod, int index, int nboards) argument 212 cid = stypes[SMB_TYPE_BASEBOARD].ids[index].con_ids; 213 count = stypes[SMB_TYPE_BASEBOARD].ids[index].con_cnt; 240 " enumerate chips\n", index); 249 x86pi_bb_topparent(topo_mod_t *mod, int index, tnode_t **pnode, id_t *psmbid) argument 262 smb_id = stypes[SMB_TYPE_BASEBOARD].ids[index].con_by_id; 266 top_bb_smbid = stypes[SMB_TYPE_BASEBOARD].ids[index].id; 283 ids[index].id;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | oid_ops.c | 312 int index; local 414 index = -1; 416 op[index] = (unsigned char) numbuf & 0x7f; 417 if (index != -1) 418 op[index] |= 0x80; 419 index--; 554 OM_uint32 index; local 580 for (index = 0; index < copy->count; index [all...] |