Searched refs:ht (Results 1 - 25 of 109) sorted by relevance

12345

/freebsd-11-stable/sys/dev/drm/
H A Ddrm_hashtab.c44 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) argument
46 ht->size = 1 << order;
47 ht->order = order;
48 ht->table = NULL;
49 ht->table = hashinit_flags(ht->size, DRM_MEM_HASHTAB, &ht->mask,
51 if (!ht->table) {
58 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) argument
65 hashed_key = hash32_buf(&key, sizeof(key), ht
73 drm_ht_find_key(struct drm_open_hash *ht, unsigned long key) argument
91 drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item) argument
120 drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, unsigned long seed, int bits, int shift, unsigned long add) argument
144 drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item) argument
157 drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) argument
169 drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item) argument
175 drm_ht_remove(struct drm_open_hash *ht) argument
[all...]
H A Ddrm_hashtab.h56 extern int drm_ht_create(struct drm_open_hash *ht, unsigned int order);
57 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item);
58 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
61 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item);
63 extern void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key);
64 extern int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key);
65 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
66 extern void drm_ht_remove(struct drm_open_hash *ht);
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_hashtab.c44 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) argument
46 ht->size = 1 << order;
47 ht->order = order;
48 ht->table = NULL;
49 ht->table = hashinit_flags(ht->size, DRM_MEM_HASHTAB, &ht->mask,
51 if (!ht->table) {
59 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) argument
66 hashed_key = hash32_buf(&key, sizeof(key), ht
73 drm_ht_find_key(struct drm_open_hash *ht, unsigned long key) argument
92 drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item) argument
122 drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, unsigned long seed, int bits, int shift, unsigned long add) argument
147 drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item) argument
161 drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) argument
173 drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item) argument
180 drm_ht_remove(struct drm_open_hash *ht) argument
[all...]
H A Ddrm_hashtab.h56 extern int drm_ht_create(struct drm_open_hash *ht, unsigned int order);
57 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item);
58 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
61 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item);
63 extern void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key);
64 extern int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key);
65 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
66 extern void drm_ht_remove(struct drm_open_hash *ht);
/freebsd-11-stable/sys/netpfil/ipfw/
H A Ddn_heap.c327 void **ht; /* bucket heads */ member in struct:dn_ht
336 dn_ht_init(struct dn_ht *ht, int buckets, int ofs, argument
357 * The ht->buckets variable store the bucket size - 1 to simply
358 * do an AND between the index returned by hash function and ht->bucket
389 if (ht) { /* see if we can reuse */
390 if (buckets <= ht->buckets) {
391 ht->buckets = buckets;
394 if (ht->ht != (void *)(ht
428 dn_ht_free(struct dn_ht *ht, int flags) argument
442 dn_ht_entries(struct dn_ht *ht) argument
449 dn_ht_find(struct dn_ht *ht, uintptr_t key, int flags, void *arg) argument
492 dn_ht_scan(struct dn_ht *ht, int (*fn)(void *, void *), void *arg) argument
527 dn_ht_scan_bucket(struct dn_ht *ht, int *bucket, int (*fn)(void *, void *), void *arg) argument
[all...]
/freebsd-11-stable/contrib/ofed/libibnetdisc/
H A Dg_hash_table.cpp72 HashTable *ht = (HashTable *)ght; local
73 ht->map[key] = value;
79 HashTable *ht = (HashTable *)ght; local
81 if (ht->map.find(key) == ht->map.end())
83 return (ht->map[key]);
/freebsd-11-stable/contrib/subversion/subversion/include/
H A Dsvn_hash.h257 svn_hash__gets_debug(apr_hash_t *ht, const char *key);
259 #define svn_hash_gets(ht, key) \
260 svn_hash__gets_debug(ht, key)
266 #define svn_hash_gets(ht, key) \
267 apr_hash_get(ht, key, APR_HASH_KEY_STRING)
272 svn_hash__sets_debug(apr_hash_t *ht, const char *key, const void *value);
274 #define svn_hash_sets(ht, key, val) \
275 svn_hash__sets_debug(ht, key, val)
281 #define svn_hash_sets(ht, key, val) \
282 apr_hash_set(ht, ke
[all...]
/freebsd-11-stable/contrib/apr/tables/
H A Dapr_hash.c63 apr_hash_t *ht; member in struct:apr_hash_index_t
91 static apr_hash_entry_t **alloc_array(apr_hash_t *ht, unsigned int max) argument
93 return apr_pcalloc(ht->pool, sizeof(*ht->array) * (max + 1));
98 apr_hash_t *ht; local
101 ht = apr_palloc(pool, sizeof(apr_hash_t));
102 ht->pool = pool;
103 ht->free = NULL;
104 ht->count = 0;
105 ht
117 apr_hash_t *ht = apr_hash_make(pool); local
140 apr_hash_first(apr_pool_t *p, apr_hash_t *ht) argument
193 expand_array(apr_hash_t *ht) argument
285 find_entry(apr_hash_t *ht, const void *key, apr_ssize_t klen, const void *val) argument
327 apr_hash_t *ht; local
362 apr_hash_get(apr_hash_t *ht, const void *key, apr_ssize_t klen) argument
374 apr_hash_set(apr_hash_t *ht, const void *key, apr_ssize_t klen, const void *val) argument
402 apr_hash_count(apr_hash_t *ht) argument
407 apr_hash_clear(apr_hash_t *ht) argument
527 apr_hash_do(apr_hash_do_callback_fn_t *comp, void *rec, const apr_hash_t *ht) argument
[all...]
/freebsd-11-stable/contrib/apr/include/
H A Dapr_hash.h101 * @param ht The hash table
108 APR_DECLARE(void) apr_hash_set(apr_hash_t *ht, const void *key,
113 * @param ht The hash table
118 APR_DECLARE(void *) apr_hash_get(apr_hash_t *ht, const void *key,
125 * @param ht The hash table
135 * int sum_values(apr_pool_t *p, apr_hash_t *ht)
140 * for (hi = apr_hash_first(p, ht); hi; hi = apr_hash_next(hi)) {
148 APR_DECLARE(apr_hash_index_t *) apr_hash_first(apr_pool_t *p, apr_hash_t *ht);
193 * @param ht The hash table
196 APR_DECLARE(unsigned int) apr_hash_count(apr_hash_t *ht); variable
202 APR_DECLARE(void) apr_hash_clear(apr_hash_t *ht); variable
[all...]
/freebsd-11-stable/contrib/subversion/subversion/include/private/
H A Dsvn_element.h46 svn_eid__hash_get(apr_hash_t *ht,
51 svn_eid__hash_set(apr_hash_t *ht,
82 apr_hash_t *ht,
96 #define SVN_EID__HASH_ITER_SORTED(i, ht, comparison_func, pool) \
97 i = (void *)svn_eid__hash_sorted_first(pool, ht, comparison_func); \
101 #define SVN_EID__HASH_ITER_SORTED_BY_EID(i, ht, pool) \
102 SVN_EID__HASH_ITER_SORTED(i, ht, svn_eid__hash_sort_compare_items_by_eid, pool)
H A Dsvn_sorts_private.h54 /** Sort @a ht according to its keys, return an @c apr_array_header_t
71 svn_sort__hash(apr_hash_t *ht,
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dxml.c607 apr_hash_t *ht,
623 if (preserve && ((apr_hash_get(ht, key, keylen)) != NULL))
626 apr_hash_set(ht, apr_pstrndup(pool, key, keylen), keylen,
635 apr_hash_t *ht = apr_hash_make(pool);
641 svn_hash_sets(ht, key, val);
644 return ht;
651 apr_hash_t *ht = apr_hash_make(pool);
652 amalgamate(atts, ht, 0, pool); /* third arg irrelevant in this case */
653 return ht;
659 apr_hash_t *ht, argument
598 amalgamate(const char **atts, apr_hash_t *ht, svn_boolean_t preserve, apr_pool_t *pool) argument
627 apr_hash_t *ht = apr_hash_make(pool); local
643 apr_hash_t *ht = apr_hash_make(pool); local
650 svn_xml_hash_atts_overlaying(const char **atts, apr_hash_t *ht, apr_pool_t *pool) argument
718 apr_hash_t *ht = svn_xml_ap_to_hash(ap, subpool); local
[all...]
/freebsd-11-stable/crypto/openssh/regress/
H A Dkeytype.sh38 for ht in $htypes; do
39 case $ht in
47 trace "ssh connect, userkey $ut, hostkey $ht"
50 echo HostKey $OBJ/key.$ht
62 cat $OBJ/key.$ht.pub
66 printf "userkey $ut, hostkey ${ht}:\t"
69 fail "ssh userkey $ut, hostkey $ht failed"
/freebsd-11-stable/contrib/gcclibs/libcpp/include/
H A Dsymtab.h37 typedef struct ht hash_table;
43 struct ht struct
90 extern void ht_load (hash_table *ht, hashnode *entries,
/freebsd-11-stable/tools/tools/iwn/iwnstats/
H A Dmain.c194 iwn_stats_ht_phy_print(struct iwnstats *is, struct iwn_rx_ht_phy_stats *ht) argument
199 le32toh(ht->bad_plcp),
200 le32toh(ht->overrun),
201 le32toh(ht->eoverrun),
202 le32toh(ht->good_crc32),
203 le32toh(ht->bad_crc32));
207 le32toh(ht->bad_plcp),
208 le32toh(ht->good_ampdu_crc32),
209 le32toh(ht->ampdu),
210 le32toh(ht
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dsparc-stub.c468 struct hard_trap_info *ht; local
470 for (ht = hard_trap_info; ht->tt && ht->signo; ht++)
471 exceptionHandler(ht->tt, trap_low);
509 struct hard_trap_info *ht; local
511 for (ht = hard_trap_info; ht->tt && ht
[all...]
/freebsd-11-stable/crypto/openssl/crypto/bn/asm/
H A Dpa-risc2.s165 FLDD 0(a_ptr),t_float_0 ; load up 64-bit value (fr8L) ht(L)/lt(R)
166 FLDD 8(a_ptr),t_float_1 ; load up 64-bit value (fr8L) ht(L)/lt(R)
195 LDD -24(%sp),ht_0 ; ht[0]
196 LDD -56(%sp),ht_1 ; ht[1]
203 ADD,L ht_0,top_overflow,ht_0 ; ht[0] += (1<<32)
206 ADD,L ht_1,top_overflow,ht_1 ; ht[1] += (1<<32)
212 ADD,L ht_0,m_0,ht_0 ; ht[0]+= (m[0]>>32)
213 ADD,L ht_1,m_1,ht_1 ; ht[1]+= (m[1]>>32)
216 ADD,DC ht_0,%r0,ht_0 ; ht[0]++
218 ADD,DC ht_1,%r0,ht_1 ; ht[
1015 ht .reg %r6 label
[all...]
H A Dpa-risc2W.s157 FLDD 0(a_ptr),t_float_0 ; load up 64-bit value (fr8L) ht(L)/lt(R)
158 FLDD 8(a_ptr),t_float_1 ; load up 64-bit value (fr8L) ht(L)/lt(R)
187 LDD -24(%sp),ht_0 ; ht[0]
188 LDD -56(%sp),ht_1 ; ht[1]
195 ADD,L ht_0,top_overflow,ht_0 ; ht[0] += (1<<32)
198 ADD,L ht_1,top_overflow,ht_1 ; ht[1] += (1<<32)
204 ADD,L ht_0,m_0,ht_0 ; ht[0]+= (m[0]>>32)
205 ADD,L ht_1,m_1,ht_1 ; ht[1]+= (m[1]>>32)
208 ADD,DC ht_0,%r0,ht_0 ; ht[0]++
210 ADD,DC ht_1,%r0,ht_1 ; ht[
1002 ht .reg %r6 label
[all...]
/freebsd-11-stable/lib/libc/tests/nss/
H A Dgethostby_test.c192 free_hostent(struct hostent *ht) argument
196 ATF_REQUIRE(ht != NULL);
198 free(ht->h_name);
200 if (ht->h_aliases != NULL) {
201 for (cp = ht->h_aliases; *cp; ++cp)
203 free(ht->h_aliases);
206 if (ht->h_addr_list != NULL) {
207 for (cp = ht->h_addr_list; *cp; ++cp)
209 free(ht->h_addr_list);
404 sdump_hostent(struct hostent *ht, cha argument
550 hostent_read_snapshot_func(struct hostent *ht, char *line) argument
678 hostent_test_correctness(struct hostent *ht, void *mdata __unused) argument
[all...]
/freebsd-11-stable/lib/libc/net/
H A Dgethostnamadr.c263 struct hostent *ht; local
283 ht = va_arg(ap, struct hostent *);
286 if (ht->h_name != NULL)
287 desired_size += strlen(ht->h_name) + 1;
289 if (ht->h_aliases != NULL) {
291 for (iter = ht->h_aliases; *iter; ++iter) {
300 if (ht->h_addr_list != NULL) {
302 for (iter = ht->h_addr_list; *iter; ++iter)
305 desired_size += addr_size * _ALIGN(ht->h_length);
315 memcpy(&new_ht, ht, sizeo
369 struct hostent *ht; local
[all...]
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dsymtab.c238 ht_load (hash_table *ht, hashnode *entries, argument
242 if (ht->entries_owned)
243 free (ht->entries);
244 ht->entries = entries;
245 ht->nslots = nslots;
246 ht->nelements = nelements;
247 ht->entries_owned = own;
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dneighbor_db.c142 int ht, int vht, int he)
146 if (!ht && !vht && !he)
167 int ht = hapd->iconf->ieee80211n && !hapd->conf->disable_11n; local
198 if (ht) {
215 width = hostapd_get_nr_chan_width(hapd, ht, vht, he);
223 } else if (ht) {
244 wpabuf_put_u8(nr, ieee80211_get_phy_type(hapd->iface->freq, ht, vht));
141 hostapd_get_nr_chan_width(struct hostapd_data *hapd, int ht, int vht, int he) argument
/freebsd-11-stable/tools/tools/net80211/scripts/
H A Dsetup.simple221 ifconfig $WLAN ssid $SSID-2 mtu 1500 -ht
/freebsd-11-stable/sys/dev/drm2/ttm/
H A Dttm_object.c261 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; local
272 ret = drm_ht_find_item(ht, base->hash.key, &hash);
299 ret = drm_ht_insert_item(ht, &ref->hash);
324 struct drm_open_hash *ht; local
327 ht = &tfile->ref_hash[ref->ref_type];
328 (void)drm_ht_remove_item(ht, &ref->hash);
344 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; local
350 ret = drm_ht_find_item(ht, key, &hash);
/freebsd-11-stable/crypto/openssl/crypto/bn/
H A Dbn_lcl.h441 BN_ULONG m,m1,lt,ht; \
444 ht=h; \
447 m1=(bl)*(ht); \
448 ht =(bh)*(ht); \
449 m=(m+m1)&BN_MASK2; if (m < m1) ht+=L2HBITS((BN_ULONG)1); \
450 ht+=HBITS(m); \
452 lt=(lt+m1)&BN_MASK2; if (lt < m1) ht++; \
454 (h)=ht; \

Completed in 292 milliseconds

12345