| /dragonfly/sys/dev/drm/ |
| HD | drm_hashtab.c | 41 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) in drm_ht_create() argument 45 ht->order = order; in drm_ht_create() 46 ht->table = NULL; in drm_ht_create() 47 if (size <= PAGE_SIZE / sizeof(*ht->table)) in drm_ht_create() 48 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); in drm_ht_create() 50 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); in drm_ht_create() 51 if (!ht->table) { in drm_ht_create() 59 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) in drm_ht_verbose_list() argument 66 hashed_key = hash_long(key, ht->order); in drm_ht_verbose_list() 68 h_list = &ht->table[hashed_key]; in drm_ht_verbose_list() [all …]
|
| /dragonfly/usr.bin/top/ |
| HD | hash.h | 77 void hash_sizeinfo(unsigned int *sizes, int max, hash_table *ht); 87 void *hash_add_uint(hash_table *ht, unsigned int key, void *value); 88 void *hash_replace_uint(hash_table *ht, unsigned int key, void *value); 89 void *hash_lookup_uint(hash_table *ht, unsigned int key); 90 void *hash_remove_uint(hash_table *ht, unsigned int key); 91 hash_item_uint *hash_first_uint(hash_table *ht, hash_pos *pos); 101 void *hash_add_pid(hash_table *ht, pid_t key, void *value); 102 void *hash_replace_pid(hash_table *ht, pid_t key, void *value); 103 void *hash_lookup_pid(hash_table *ht, pid_t key); 104 void *hash_remove_pid(hash_table *ht, pid_t key); [all …]
|
| HD | hash.c | 124 string_hash(hash_table *ht, char *key) in string_hash() argument 145 return (s % ht->num_buckets); in string_hash() 262 hash_count(hash_table *ht) in hash_count() argument 269 bucket = ht->buckets; in hash_count() 270 while (i++ < ht->num_buckets) in hash_count() 287 hash_sizeinfo(unsigned int *sizes, int max, hash_table *ht) in hash_sizeinfo() argument 296 bucket = ht->buckets; in hash_sizeinfo() 298 while (i++ < ht->num_buckets) in hash_sizeinfo() 323 hash_add_uint(hash_table *ht, unsigned int key, void *value) in hash_add_uint() argument 343 bucket = &(ht->buckets[(key % ht->num_buckets)]); in hash_add_uint() [all …]
|
| /dragonfly/sys/dev/drm/include/drm/ |
| HD | drm_hashtab.h | 52 int drm_ht_create(struct drm_open_hash *ht, unsigned int order); 53 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); 54 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, 57 int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item); 59 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key); 60 int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key); 61 int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item); 62 void drm_ht_remove(struct drm_open_hash *ht);
|
| /dragonfly/contrib/gdb-7/gdb/stubs/ |
| HD | sparc-stub.c | 468 struct hard_trap_info *ht; in set_debug_traps() local 470 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in set_debug_traps() 471 exceptionHandler(ht->tt, trap_low); in set_debug_traps() 509 struct hard_trap_info *ht; in computeSignal() local 511 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in computeSignal() 512 if (ht->tt == tt) in computeSignal() 513 return ht->signo; in computeSignal()
|
| /dragonfly/lib/libc/net/ |
| HD | gethostnamadr.c | 262 struct hostent *ht; in host_marshal_func() local 282 ht = va_arg(ap, struct hostent *); in host_marshal_func() 285 if (ht->h_name != NULL) in host_marshal_func() 286 desired_size += strlen(ht->h_name) + 1; in host_marshal_func() 288 if (ht->h_aliases != NULL) { in host_marshal_func() 290 for (iter = ht->h_aliases; *iter; ++iter) { in host_marshal_func() 299 if (ht->h_addr_list != NULL) { in host_marshal_func() 301 for (iter = ht->h_addr_list; *iter; ++iter) in host_marshal_func() 304 desired_size += addr_size * _ALIGN(ht->h_length); in host_marshal_func() 314 memcpy(&new_ht, ht, sizeof(struct hostent)); in host_marshal_func() [all …]
|
| /dragonfly/contrib/grep/lib/ |
| HD | fts-cycle.c | 55 fts->fts_cycle.ht = hash_initialize (HT_INITIAL_SIZE, NULL, AD_hash, in setup_dir() 57 if (! fts->fts_cycle.ht) in setup_dir() 92 ad_from_table = hash_insert (fts->fts_cycle.ht, ad); in enter_dir() 134 found = hash_delete (fts->fts_cycle.ht, &obj); in leave_dir() 155 if (sp->fts_cycle.ht) in free_dir() 156 hash_free (sp->fts_cycle.ht); in free_dir()
|
| /dragonfly/sys/dev/drm/ttm/ |
| HD | ttm_object.c | 235 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_base_object_lookup() local 239 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_lookup() 257 struct drm_open_hash *ht = &tdev->object_hash; in ttm_base_object_lookup_for_ref() local 261 ret = drm_ht_find_item_rcu(ht, key, &hash); in ttm_base_object_lookup_for_ref() 287 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; in ttm_ref_object_exists() local 292 if (unlikely(drm_ht_find_item_rcu(ht, base->hash.key, &hash) != 0)) in ttm_ref_object_exists() 325 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; in ttm_ref_object_add() local 343 ret = drm_ht_find_item_rcu(ht, base->hash.key, &hash); in ttm_ref_object_add() 374 ret = drm_ht_insert_item_rcu(ht, &ref->hash); in ttm_ref_object_add() 402 struct drm_open_hash *ht; in ttm_ref_object_release() local [all …]
|
| /dragonfly/contrib/wpa_supplicant/src/ap/ |
| HD | neighbor_db.c | 142 int ht, int vht, int he) in hostapd_get_nr_chan_width() argument 146 if (!ht && !vht && !he) in hostapd_get_nr_chan_width() 167 int ht = hapd->iconf->ieee80211n && !hapd->conf->disable_11n; in hostapd_neighbor_set_own_report() local 198 if (ht) { in hostapd_neighbor_set_own_report() 215 width = hostapd_get_nr_chan_width(hapd, ht, vht, he); in hostapd_neighbor_set_own_report() 223 } else if (ht) { in hostapd_neighbor_set_own_report() 244 wpabuf_put_u8(nr, ieee80211_get_phy_type(hapd->iface->freq, ht, vht)); in hostapd_neighbor_set_own_report()
|
| /dragonfly/contrib/gcc-4.7/libcpp/ |
| HD | symtab.c | 262 ht_load (hash_table *ht, hashnode *entries, in ht_load() argument 266 if (ht->entries_owned) in ht_load() 267 free (ht->entries); in ht_load() 268 ht->entries = entries; in ht_load() 269 ht->nslots = nslots; in ht_load() 270 ht->nelements = nelements; in ht_load() 271 ht->entries_owned = own; in ht_load()
|
| /dragonfly/contrib/gcc-8.0/libcpp/ |
| HD | symtab.c | 259 ht_load (cpp_hash_table *ht, hashnode *entries, in ht_load() argument 263 if (ht->entries_owned) in ht_load() 264 free (ht->entries); in ht_load() 265 ht->entries = entries; in ht_load() 266 ht->nslots = nslots; in ht_load() 267 ht->nelements = nelements; in ht_load() 268 ht->entries_owned = own; in ht_load()
|
| /dragonfly/contrib/gcc-8.0/libcpp/include/ |
| HD | symtab.h | 40 typedef struct ht cpp_hash_table; 46 struct ht struct 97 extern void ht_load (cpp_hash_table *ht, hashnode *entries,
|
| /dragonfly/contrib/gcc-4.7/libcpp/include/ |
| HD | symtab.h | 41 typedef struct ht hash_table; 47 struct ht struct 98 extern void ht_load (hash_table *ht, hashnode *entries,
|
| /dragonfly/share/syscons/keymaps/ |
| HD | us.emacs.kbd | 22 015 ht ht ht ht 137 137 137 137 O 30 023 'i' 'I' ht ht 233 201 137 137 C
|
| HD | by.iso5.kbd | 22 015 ht btab nop nop ht btab nop nop O 30 023 'i' 'I' ht ht 'i' 'I' ht ht C 132 143 ht btab nop nop ht btab nop nop O 140 151 '�' '�' ht ht 'i' 'I' ht ht C
|
| HD | by.cp1131.kbd | 22 015 ht btab nop nop ht btab nop nop O 30 023 'i' 'I' ht ht 'i' 'I' ht ht C 132 143 ht btab nop nop ht btab nop nop O 140 151 '�' '�' ht ht 'i' 'I' ht ht C
|
| HD | el.iso07.kbd | 68 015 ht btab nop nop ht btab nop nop O 76 023 'i' 'I' ht ht 'i' 'I' ht ht C 181 143 ht btab nop nop ht btab nop nop O 189 151 233 201 ht ht 233 201 ht ht C
|
| HD | by.cp1251.kbd | 22 015 ht btab nop nop ht btab nop nop O 30 023 'i' 'I' ht ht 'i' 'I' ht ht C 132 143 ht btab nop nop ht btab nop nop O 140 151 '�' '�' ht ht 'i' 'I' ht ht C
|
| HD | gr.us101.acc.kbd | 25 015 ht btab nop nop ht btab nop nop O 33 023 'i' 'I' ht ht 233 201 ht ht C 155 143 ht btab nop nop ht btab nop nop O 163 151 233 201 ht ht 'i' 'I' ht ht C
|
| HD | bg.bds.ctrlcaps.kbd | 22 015 ht btab nop nop ht btab nop nop O 30 023 'i' 'I' ht ht 'i' 'I' ht ht C 150 143 ht btab nop nop ht btab nop nop O 158 151 241 209 ht ht 'i' 'I' ht ht C
|
| HD | lt.iso4.kbd | 22 015 ht btab nop nop ht btab nop nop O 30 023 'i' 'I' ht ht 'i' 'I' ht ht C 150 143 ht btab nop nop ht btab nop nop O 158 151 'i' 'I' ht ht 'i' 'I' ht ht C
|
| HD | gr.elot.acc.kbd | 25 015 ht btab nop nop ht btab nop nop O 33 023 'i' 'I' ht ht 233 201 ht ht C 155 143 ht btab nop nop ht btab nop nop O 163 151 233 201 ht ht 'i' 'I' ht ht C
|
| /dragonfly/libexec/bootpd/ |
| HD | bootptab.cmu | 19 # ht -- hardware type 70 carnegie:tc=.subnet13:ht=ieee802:ha=7FF8100000AF: 77 gastonville:tc=.subnet232:ht=ieee802:ha=7FFF81000A47: 78 hahntown:tc=.subnet13:ht=ieee802:ha=7FFF81000434: 79 hickman:tc=.subnet19:ht=ieee802:ha=7FFF810001BA: 94 hollidaysburg: tc=.subnet19:ht=ieee802:ha=7FFF810002C8:
|
| /dragonfly/crypto/libressl/crypto/bn/ |
| HD | bn_lcl.h | 432 BN_ULONG m,m1,lt,ht; \ 435 ht=h; \ 438 m1=(bl)*(ht); \ 439 ht =(bh)*(ht); \ 440 m=(m+m1)&BN_MASK2; if (m < m1) ht+=L2HBITS((BN_ULONG)1); \ 441 ht+=HBITS(m); \ 443 lt=(lt+m1)&BN_MASK2; if (lt < m1) ht++; \ 445 (h)=ht; \
|
| /dragonfly/contrib/libarchive/libarchive/ |
| HD | archive_read_support_format_lha.c | 2766 struct htree_t *ht; in lzh_make_huffman_table() local 2828 ht = &(hf->tree[hf->tree_used++]); in lzh_make_huffman_table() 2831 ht->left = 0; in lzh_make_huffman_table() 2832 ht->right = 0; in lzh_make_huffman_table() 2837 ht = &(hf->tree[*p - len_avail]); in lzh_make_huffman_table() 2841 if (ht->left < len_avail) { in lzh_make_huffman_table() 2842 ht->left = len_avail + hf->tree_used; in lzh_make_huffman_table() 2843 ht = &(hf->tree[hf->tree_used++]); in lzh_make_huffman_table() 2846 ht->left = 0; in lzh_make_huffman_table() 2847 ht->right = 0; in lzh_make_huffman_table() [all …]
|