Home
last modified time | relevance | path

Searched refs:ht (Results 1 – 25 of 45) sorted by relevance

12

/titanic_41/usr/src/uts/i86pc/vm/
H A Dhtable.c111 static void htable_free(htable_t *ht);
112 static x86pte_t *x86pte_access_pagetable(htable_t *ht, uint_t index);
113 static void x86pte_release_pagetable(htable_t *ht);
114 static x86pte_t x86pte_cas(htable_t *ht, uint_t entry, x86pte_t old,
357 htable_put_reserve(htable_t *ht) in htable_put_reserve() argument
359 ht->ht_hat = NULL; /* no longer tied to a hat */ in htable_put_reserve()
360 ASSERT(ht->ht_pfn == PFN_INVALID); in htable_put_reserve()
363 ht->ht_next = htable_reserve_pool; in htable_put_reserve()
364 htable_reserve_pool = ht; in htable_put_reserve()
375 htable_t *ht = NULL; in htable_get_reserve() local
[all …]
H A Dhtable.h130 #define HTABLE_NUM_PTES(ht) (((ht)->ht_flags & HTABLE_VLP) ? 4 : 512) argument
132 #define HTABLE_LAST_PAGE(ht) \ argument
133 ((ht)->ht_level == mmu.max_level ? ((uintptr_t)0UL - MMU_PAGESIZE) :\
134 ((ht)->ht_vaddr - MMU_PAGESIZE + \
135 ((uintptr_t)HTABLE_NUM_PTES(ht) << LEVEL_SHIFT((ht)->ht_level))))
143 #define HTABLE_NUM_PTES(ht) \ argument
144 (!mmu.pae_hat ? 1024 : ((ht)->ht_level == 2 ? 4 : 512))
146 #define HTABLE_LAST_PAGE(ht) ((ht)->ht_vaddr - MMU_PAGESIZE + \ argument
147 ((uintptr_t)HTABLE_NUM_PTES(ht) << LEVEL_SHIFT((ht)->ht_level)))
179 extern void htable_release(htable_t *ht);
[all …]
H A Dhat_i86.c111 static x86pte_t hati_update_pte(htable_t *ht, uint_t entry, x86pte_t expected,
246 htable_t *ht; /* top level htable */ in hat_alloc() local
308 ht = htable_create(hat, (uintptr_t)0, TOP_LEVEL(hat), NULL); in hat_alloc()
309 hat->hat_htable = ht; in hat_alloc()
322 ht = hat->hat_htable; in hat_alloc()
324 ht = htable_create(hat, va, rp->hkr_level, in hat_alloc()
327 start = htable_va2entry(va, ht); in hat_alloc()
328 cnt = HTABLE_NUM_PTES(ht) - start; in hat_alloc()
333 cnt = htable_va2entry(rp->hkr_end_va, ht) - in hat_alloc()
337 if (ht->ht_flags & HTABLE_VLP) { in hat_alloc()
[all …]
H A Dhment.c491 hment_walk(page_t *pp, htable_t **ht, uint_t *entry, hment_t *prev) in hment_walk() argument
499 *ht = (htable_t *)pp->p_mapping; in hment_walk()
515 *ht = hm->hm_htable; in hment_walk()
529 hment_remove(page_t *pp, htable_t *ht, uint_t entry) in hment_remove() argument
542 ASSERT(ht == (htable_t *)pp->p_mapping); in hment_remove()
556 dummy.hm_htable = ht; in hment_remove()
559 idx = HMENT_HASH(ht->ht_pfn, entry); in hment_remove()
564 "entry=0x%x hash index=0x%x", (uintptr_t)pp, (uintptr_t)ht, in hment_remove()
727 htable_t *ht; in hment_steal() local
758 ht = hm->hm_htable; in hment_steal()
[all …]
H A Dhment.h47 extern hment_t *hment_remove(page_t *, htable_t *ht, uint_t entry);
58 extern hment_t *hment_prepare(htable_t *ht, uint_t entry, page_t *);
63 extern void hment_assign(htable_t *ht, uint_t entry, page_t *, hment_t *);
H A Dhat_kdi.c82 htable_t *ht; in hat_kdi_init() local
90 ht = htable_create(kas.a_hat, hat_kdi_page, 0, NULL); in hat_kdi_init()
99 hat_devload(kas.a_hat, (caddr_t)hat_kdi_pte, MMU_PAGESIZE, ht->ht_pfn, in hat_kdi_init()
103 PT_INDEX_PTR(hat_kdi_pte, htable_va2entry(hat_kdi_page, ht)); in hat_kdi_init()
105 HTABLE_INC(ht->ht_valid_cnt); in hat_kdi_init()
106 htable_release(ht); in hat_kdi_init()
H A Di86_mmu.c198 htable_t *ht; in hat_kmap_init() local
227 ht = htable_create(kas.a_hat, va, 0, NULL); in hat_kmap_init()
228 if (ht == NULL) in hat_kmap_init()
230 mmu.kmap_htables[i] = ht; in hat_kmap_init()
233 MMU_PAGESIZE, ht->ht_pfn, in hat_kmap_init()
H A Dhat_i86.h232 extern void hat_pte_unmap(htable_t *ht, uint_t entry, uint_t flags,
241 extern hment_t *hati_page_unmap(page_t *pp, htable_t *ht, uint_t entry);
/titanic_41/usr/src/lib/libsqlite/src/
H A Dhash.c44 new->ht = 0; in sqliteHashInit()
57 if( pH->ht ) sqliteFree(pH->ht); in sqliteHashClear()
58 pH->ht = 0; in sqliteHashClear()
177 if( pH->ht ) sqliteFree(pH->ht); in rehash()
178 pH->ht = new_ht; in rehash()
216 if( pH->ht ){ in findElementGivenHash()
217 elem = pH->ht[h].chain; in findElementGivenHash()
218 count = pH->ht[h].count; in findElementGivenHash()
246 if( pH->ht[h].chain==elem ){ in removeElementGivenHash()
247 pH->ht[h].chain = elem->next; in removeElementGivenHash()
[all …]
H A Dhash.h44 } *ht; member
/titanic_41/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_hash.c110 did_hash_destroy(did_hash_t *ht) in did_hash_destroy() argument
115 if (ht == NULL) in did_hash_destroy()
117 for (idx = 0; idx < ht->dph_hashlen; idx++) { in did_hash_destroy()
118 for (e = ht->dph_hash[idx]; e != NULL; ) { in did_hash_destroy()
124 topo_mod_free(ht->dph_mod, in did_hash_destroy()
125 ht->dph_hash, ht->dph_hashlen * sizeof (did_t *)); in did_hash_destroy()
126 topo_mod_free(ht->dph_mod, ht, sizeof (did_hash_t)); in did_hash_destroy()
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_ht.c91 HT_HANDLE *ht; in ht_create_table() local
103 if ((ht = (HT_HANDLE *)malloc(msize)) == 0) in ht_create_table()
107 ht->ht_table = (HT_TABLE_ENTRY *)((char *)ht + sizeof (HT_HANDLE)); in ht_create_table()
108 ht->ht_table_size = table_size; in ht_create_table()
109 ht->ht_table_mask = table_size - 1; in ht_create_table()
110 ht->ht_key_size = key_size; in ht_create_table()
111 ht->ht_total_items = 0; in ht_create_table()
112 ht->ht_flags = flags; in ht_create_table()
113 ht->ht_hash = ht_default_hash; in ht_create_table()
114 ht->ht_callback = 0; in ht_create_table()
[all …]
/titanic_41/usr/src/cmd/mdb/i86pc/modules/unix/
H A Di86mmu.c568 htable_t *ht; in do_va2pa() local
605 if (mdb_vread(&ht, sizeof (htable_t *), in do_va2pa()
610 for (; ht != NULL; ht = htable.ht_next) { in do_va2pa()
612 (uintptr_t)ht) == -1) { in do_va2pa()
625 "pte=%llr\n", level, ht, pte); in do_va2pa()
721 htable_t *ht; in do_report_maps() local
750 if (mdb_vread(&ht, sizeof (htable_t *), in do_report_maps()
755 for (; ht != NULL; ht = htable.ht_next) { in do_report_maps()
757 (uintptr_t)ht) == -1) { in do_report_maps()
774 "hat=%p htable=%p\n", hatp, ht); in do_report_maps()
[all …]
/titanic_41/usr/src/lib/libshell/common/features/
H A Dmath.sh103 ht=' '
129 tab="$tab$nl#ifdef $v$nl$ht\"\\0${R}${a}${name}\",$ht(Math_f)${L},${nl}#endif"
175 do tab="$tab$nl$ht\"\\0${R}${a}${x}\",$ht(Math_f)$f,"
178 tab="$tab$nl$ht\"\",$ht$ht(Math_f)0"
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSSrvDereg.java80 Hashtable ht = new Hashtable(); in initialize() local
84 ht, in initialize()
87 URLSignature = (Hashtable)ht.get(URL); in initialize()
H A DServiceStoreInMemory.java132 private Hashtable ht = new Hashtable(); // for collecting attributes. field in ServiceStoreInMemory.AttributeBVCollector
149 findMatchingAttributes(rec, attrTags, ht, ret); in setReturn()
922 InMemoryEvaluator(Hashtable ht, in InMemoryEvaluator() argument
925 attrLevel = ht; in InMemoryEvaluator()
1782 Hashtable ht = new Hashtable(); in deleteAttributes() local
1811 if (ht.get(rec) != null) { in deleteAttributes()
1816 ht.put(rec, rec); in deleteAttributes()
2051 Hashtable ht = new Hashtable(); in findServices() local
2055 ht.put(ServiceStore.FS_SERVICES, services); in findServices()
2060 ht.put(ServiceStore.FS_SIGTABLE, signatures); in findServices()
[all …]
H A DDATable.java375 Hashtable ht = new Hashtable(); in validateScopes() local
426 if (ht.get(str) == null) { in validateScopes()
427 ht.put(str, str); in validateScopes()
H A DServiceTable.java1100 Hashtable ht = in findAttributes() local
1105 attributes = (Vector)ht.get(ServiceStore.FA_ATTRIBUTES); in findAttributes()
1107 sig = (Hashtable)ht.get(ServiceStore.FA_SIG); in findAttributes()
1539 Hashtable ht = in makeSAAdvert() local
1545 Vector attrs = (Vector)ht.get(ServiceStore.FA_ATTRIBUTES); in makeSAAdvert()
H A DServiceStoreFactory.java329 Hashtable ht = new Hashtable(); in deserialize() local
370 ht, in deserialize()
/titanic_41/usr/src/lib/libsqlite/tool/
H A Dlemon.c3752 struct s_x1node **ht; /* Hash table for lookups */ member
3781 x1a->ht = (x1node**)&(x1a->tbl[1024]); in Strsafe_init()
3782 for(i=0; i<1024; i++) x1a->ht[i] = 0; in Strsafe_init()
3798 np = x1a->ht[h];
3816 array.ht = (x1node**)&(array.tbl[size]);
3817 for(i=0; i<size; i++) array.ht[i] = 0;
3823 if( array.ht[h] ) array.ht[h]->from = &(newnp->next);
3824 newnp->next = array.ht[h];
3826 newnp->from = &(array.ht[h]);
3827 array.ht[h] = newnp;
[all …]
/titanic_41/usr/src/lib/nsswitch/files/common/
H A Dfiles_common.c390 int fd, retries, ht, stat; in _nss_files_XY_hash() local
566 for (ht = 0; ht < fhp->fh_nhtab; ht++) {
567 hp = &fhp->fh_table[ht * fhp->fh_size + line];
568 hp->h_hash = fhp->fh_hash_func[ht](&xargs, 0, first,
583 for (ht = 0; ht < fhp->fh_nhtab; ht++) {
584 htab = &fhp->fh_table[ht * fhp->fh_size];
/titanic_41/usr/src/cmd/cpc/common/
H A Dcpustat.c414 hrtime_t ht, htdelta, restdelta; in gtick() local
425 ht = gethrtime(); in gtick()
473 ht += htdelta; in gtick()
475 if (ht <= htnow) in gtick()
477 ts.tv_sec = (time_t)((ht - htnow) / NSECS_PER_SEC); in gtick()
478 ts.tv_nsec = (suseconds_t)((ht - htnow) % NSECS_PER_SEC); in gtick()
545 ht += restdelta; in gtick()
546 ts.tv_sec = (time_t)((ht - htnow) / in gtick()
548 ts.tv_nsec = (suseconds_t)((ht - htnow) % in gtick()
/titanic_41/usr/src/cmd/eqn/eqnchar.d/
H A Dascii2 |010 bs |011 ht |012 nl |013 vt |014 np |015 cr |016 so |017 si |
20 | 08 bs | 09 ht | 0a nl | 0b vt | 0c np | 0d cr | 0e so | 0f si |
/titanic_41/usr/src/cmd/ssh/doc/
H A Dnchan2.ms24 ellipse wid .9*ellipsewid ht .9*ellipseht at S4
42 ellipse wid .9*ellipsewid ht .9*ellipseht at S4
/titanic_41/usr/src/uts/common/io/net80211/
H A Dnet80211_ht.c1713 struct ieee80211_ie_htinfo *ht = in ieee80211_ht_update_beacon() local
1717 ht->hi_ctrlchannel = ieee80211_chan2ieee(ic, ic->ic_curchan); in ieee80211_ht_update_beacon()
1718 ht->hi_byte1 = IEEE80211_HTINFO_RIFSMODE_PROH; in ieee80211_ht_update_beacon()
1720 ht->hi_byte1 |= IEEE80211_HTINFO_2NDCHAN_ABOVE; in ieee80211_ht_update_beacon()
1722 ht->hi_byte1 |= IEEE80211_HTINFO_2NDCHAN_BELOW; in ieee80211_ht_update_beacon()
1724 ht->hi_byte1 |= IEEE80211_HTINFO_2NDCHAN_NONE; in ieee80211_ht_update_beacon()
1726 ht->hi_byte1 |= IEEE80211_HTINFO_TXWIDTH_2040; in ieee80211_ht_update_beacon()
1729 ht->hi_byte2 = (ht->hi_byte2 &~ PROTMODE) | ic->ic_curhtprotmode; in ieee80211_ht_update_beacon()

12