Searched defs:index (Results 576 - 600 of 945) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregnexec.c170 vecseek(Vector_t** p, int index) argument
174 if (index >= v->max)
176 while ((v->max += v->inc) <= index);
182 return v->vec + index * v->siz;
1425 memset(catcher.re.neg_catch.index = p, 0, n);
1458 bitset(rex->re.neg_catch.index, s - rex->re.neg_catch.beg);
1907 register size_t index = e->re.bm.left + e->re.bm.size; local
1915 DEBUG_TEST(0x0080,(sfprintf(sfstdout, "AHA#%04d REX_BM len=%d right=%d left=%d size=%d %d %d\n", __LINE__, len, e->re.bm.right, e->re.bm.left, e->re.bm.size, index, mid)),(0));
1918 while ((index += skip[buf[index]]) < mi
[all...]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_stat.c876 int index; local
881 for (index = 0; mac_srs->srs_tcp_soft_rings[index] != NULL; index++) {
882 if (mac_srs->srs_tcp_soft_rings[index] == tcp_ringp) {
883 udp_ringp = mac_srs->srs_udp_soft_rings[index];
884 oth_ringp = mac_srs->srs_oth_soft_rings[index];
1114 int index; local
1117 for (index = 0, softring = mac_srs->srs_soft_ring_head;
1119 index
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Denvctrl_gen.h178 uchar_t index; /* chip index */ member in struct:envctrl_chip
/illumos-gate/usr/src/uts/sun4v/io/
H A Dldc_shm.c353 uint64_t index, prev_index = 0; local
506 * i.e. tbl index, during export, unexport and copy operation.
517 /* index to start searching from */
518 index = mtbl->next_entry;
547 while (mtbl->table[index].entry.ll != 0) {
549 index = (index + 1) % mtbl->num_entries;
551 if (index == mtbl->next_entry) {
577 mtbl->table[index].entry = tmp_mte;
580 " into loc 0x%llx\n", ldcp->id, tmp_mte.ll, index);
[all...]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_dma.c818 DBG(DBG_DMA_MAP, dip, "fallback dvma_pages: dvma_pg=%x index=%x\n",
863 px_iopfn_t index = dvma_pg - mmu_p->dvma_base_pg; local
864 ASSERT(index % px_dvma_page_cache_clustsz == 0);
865 index /= px_dvma_page_cache_clustsz;
866 ASSERT(index < px_dvma_page_cache_entries);
867 mmu_p->mmu_dvma_cache_locks[index] = 0;
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalppm.c768 int index, level, oldlevel; local
859 index = level - 1;
860 spm_change_schizo_speed(index);
866 data32 = XCPPM_BBC_DELAY(index);
872 data32 = XCPPM_BBC_DELAY(index);
878 data16 = bbc_estar_control_masks[index];
/illumos-gate/usr/src/uts/sun4u/io/
H A Diommu.c530 DPRINTF(IOMMU_TTE, ("vaddr mapping: tte index %p pfn %lx "
641 DPRINTF(IOMMU_TTE, ("pp mapping TTE index %p pfn %lx "
1023 DPRINTF(IOMMU_TTE, ("speed loading: TTE index %p "
1398 /* Allocate a streaming cache sync flag for each index */
1402 /* Allocate a physical sync flag for each index */
1494 iommu_dvma_kaddr_load(ddi_dma_handle_t h, caddr_t a, uint_t len, uint_t index, argument
1519 ioaddr = (ioaddr_t)(mp->dmai_mapping + iommu_ptob(index));
1521 iommu_fast_dvma->pagecnt[index] = iommu_btopr(len + offset);
1549 "size %x offset %x index %x kaddr %lx\n",
1550 ioaddr, len, offset, index, add
1587 iommu_dvma_unload(ddi_dma_handle_t h, uint_t index, uint_t view) argument
1639 iommu_dvma_sync(ddi_dma_handle_t h, uint_t index, uint_t view) argument
[all...]
H A Dmc-us3i.c937 * Returns the address bit number (row index) that controls the logical/external
1552 int pos_cacheline, position, index, idx4dimm; local
1575 * address. Then compute the index to look up dimm and pin tables
1617 index = position / 8;
1631 data = pinp->dimmtable[index];
1695 * address. Then compute the index to look up dimm and pin tables
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c1023 DEBUG2(DBG_DMA_MAP, dip, "fallback dvma_pages: dvma_pg=%x index=%x\n",
1060 iopfn_t index = dvma_pg - iommu_p->dvma_base_pg; local
1061 ASSERT(index % pci_dvma_page_cache_clustsz == 0);
1062 index /= pci_dvma_page_cache_clustsz;
1063 ASSERT(index < pci_dvma_page_cache_entries);
1064 iommu_p->iommu_dvma_cache_locks[index] = 0;
/illumos-gate/usr/src/uts/intel/os/
H A Dfmsmb.c49 uint16_t index[MAX_PAIRS]; member in struct:bbindex
699 tmp_idx.index[i] = 0;
707 tmp_idx.index[i] = nb;
717 bb_idx->index[j] = tmp_idx.index[i];
777 int id, index; local
788 bb_idx.index[n] = 0;
795 index = bb_idx.index[0];
796 bbid = bbstypes->ids[index]
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c268 * Return the index corresponding to a virt address at a given page table level.
288 int index, l; local
294 index = fastboot_vatoindex(nk, vstart, l);
305 uint_t index = fastboot_vatoindex(nk, vaddr, l); local
312 table[index] = pteval;
314 } else if (table[index] & PT_VALID) {
317 ((uintptr_t)(((paddr_t)table[index] & MMU_PAGEMASK)
327 table[index] = nk->fi_next_table_pa | ptp_bits;
329 table[index] = nk->fi_next_table_pa | PT_VALID;
332 table[index]
[all...]
/illumos-gate/usr/src/uts/i86xpv/os/
H A Devtchn.c366 alloc_irq_evtchn(int irq, int index, int evtchn, int cpu) argument
372 ipi_info[index].mi_evtchns[cpu] = evtchn;
373 irqp->ii_u.index = index;
376 virq_info[index].mi_evtchns[cpu] = evtchn;
377 irqp->ii_u.index = index;
398 alloc_irq(int type, int index, int evtchn, int cpu) argument
422 alloc_irq_evtchn(irq, index, evtchn, cpu);
435 ASSERT(irqp->ii_u.index !
[all...]
/illumos-gate/usr/src/uts/intel/dtrace/
H A Dfasttrap_isa.c392 uint_t index = FASTTRAP_SIB_INDEX(sib); local
397 tp->ftt_index = (index == 4) ?
399 regmap[index | (FASTTRAP_REX_X(rex) << 3)];
/illumos-gate/usr/src/uts/intel/io/amd8111s/
H A Damd8111s_hw.c1057 int count, StartIndex, index = 0; local
1085 StartIndex = pMdl->PMR_PtrList[index];
1087 if (pMdl->PatternLength[index] != PatternSize) {
1088 index++;
1122 while (index < (int)pMdl->TotalPatterns) {
1123 pMdl->PMR_PtrList[index] =
1124 pMdl->PMR_PtrList[index+1] - ReqSize;
1126 pMdl->PatternLength[index] =
1127 pMdl->PatternLength[index+1];
1129 index
[all...]
/illumos-gate/usr/src/cmd/luxadm/
H A Dfchba.c449 * Returns the index of the first match, or -1 if no match
2109 * Returns non-zero if we should skip the HBA at index "i"
2133 int index; local
2143 for (index = 4; (index <= inq00.len+3)&&
2144 (data[index] <= page_num); index ++) {
2145 if (data[index] == page_num) {
H A Dqlgcupdate.c399 q_findversion(int verbose, int index, uchar_t *version, uint16_t *chip_id) argument
408 if (strstr(&pcibus_list[index][0], fc_trans)) {
410 if ((fd = open(&pcibus_list[index][0], O_RDWR)) < 0) {
413 &pcibus_list[index][0]);
444 index+1, *chip_id);
450 } else if (strstr(&pcibus_list[index][0], fp_trans)) {
459 if ((fd = open(&pcibus_list[index][0], O_RDWR)) < 0) {
462 &pcibus_list[index][0]);
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_discovery.c687 uint32_t index = 0; local
692 ((error = slice_get_index(slice, &index)) != 0) ||
760 dname, index, &sname)) == 0) {
778 dalias, index, &salias)) == 0) {
1557 uint32_t index = UINT32_MAX; local
1558 error = disk_get_available_slice_index(disk, &index);
1559 if ((error == 0) && (index != UINT32_MAX)) {
1566 (void) snprintf(buf, MAXNAMELEN-1, "%ss%d", dname, index);
1567 error = add_virtual_slice(buf, index, 0, 0, disk);
1622 uint32_t index local
1937 uint32_t index = 0; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c1021 int32_t index = 0; local
1036 index = block_index;
1037 index += 1;
1038 lenlo = vpd_buf[index];
1039 index += 1;
1040 lenhi = vpd_buf[index];
1041 index += 1;
1042 block_index = index;
1054 bcopy(&vpd_buf[index], buffer,
1064 index
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Digmp.c2031 int index, mvsize; local
2033 index = sl->sl_numsrc;
2035 (void) memmove(&sl->sl_addr[0], &sl->sl_addr[index],
2683 int index, mvsize; local
2685 index = sl->sl_numsrc;
2687 (void) memmove(&sl->sl_addr[0], &sl->sl_addr[index],
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_map.c772 int index; member in struct:__anon81
967 dni->index = idx + n;
1080 * In nis+2ldap, check if the query 'q' matches the selector index 'x->index'.
1083 * matches the selector index. If 'name' is NULL, then check if rule-value 'rv'
1084 * matches the index.
1085 * To match the selector index, all fieldspecs in the indexlist should match
1107 * index matches. This saves us from having matches in a
1117 if (x->index.numIndexes <= 0 || (!yp2ldap && q == 0))
1121 if (!(pass = am(myself, x->index
[all...]
H A Dnis_parse_ldap_map.c273 &t_mapping->index);
1816 &item->searchSpec.obj.index);
2501 * Returns a string containing the index
2504 * a string containing the index
2506 * INPUT: attribute containing the index
2519 char *index = NULL; local
2538 index = s_strndup(s, s1 - s);
2539 if (index != NULL) {
2540 s_index_end = index + (s1 - s);
2541 s_index1 = index;
2580 parse_index(const char *s, const char *end_s, __nis_index_t *index) argument
[all...]
H A Dnis_parse_ldap_util.c269 for (i = 0; i < mapping->index.numIndexes; i++) {
270 free(mapping->index.name[i]);
271 free_mapping_format(mapping->index.value[i]);
274 if (mapping->index.name != NULL)
275 free(mapping->index.name);
276 mapping->index.name = NULL;
278 if (mapping->index.value != NULL)
279 free(mapping->index.value);
280 mapping->index.value = NULL;
282 mapping->index
467 free_index(__nis_index_t *index) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhtable.c112 static x86pte_t *x86pte_access_pagetable(htable_t *ht, uint_t index);
1621 * Compute the starting index and ending virtual address
1770 * Find the htable and page table entry index of the given virtual address
1804 * Find the htable and page table entry index of the given virtual address.
1852 * get the pte index for the virtual address in the given htable's pagetable
1865 * Given an htable and the index of a pte in it, return the virtual address
1943 x86pte_access_pagetable(htable_t *ht, uint_t index) argument
1949 return (PT_INDEX_PTR(ht->ht_hat->hat_vlp_ptes, index));
1950 return (x86pte_mapin(ht->ht_pfn, index, ht));
1958 x86pte_mapin(pfn_t pfn, uint_t index, htable_ argument
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dflock_impl.h80 int pvertex; /* index to proc vertex */
99 int index; /* index of this graph into the hash table */ member in struct:graph
452 int index; /* index into the array of proc_graph vertices */ member in struct:proc_vertex
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c342 get_pteval(paddr_t table, uint_t index) argument
345 return (((x86pte_t *)(uintptr_t)table)[index]);
346 return (((x86pte32_t *)(uintptr_t)table)[index]);
351 set_pteval(paddr_t table, uint_t index, uint_t level, x86pte_t pteval) argument
358 t.ptr = (mtable + index * pte_size) | MMU_NORMAL_PT_UPDATE;
366 ((x86pte_t *)tab_addr)[index] = pteval;
368 ((x86pte32_t *)tab_addr)[index] = (x86pte32_t)pteval;
398 map_pte(paddr_t table, uint_t index) argument
400 return ((x86pte_t *)(uintptr_t)(table + index * pte_size));
414 int index; local
[all...]

Completed in 443 milliseconds

<<21222324252627282930>>