Home
last modified time | relevance | path

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

/include/linux/
Drhashtable.h113 static inline void *rht_obj(const struct rhashtable *ht, in rht_obj() argument
116 return (char *)he - ht->p.head_offset; in rht_obj()
125 static inline unsigned int rht_key_get_hash(struct rhashtable *ht, in rht_key_get_hash() argument
133 hash = ht->p.hashfn(key, ht->key_len, hash_rnd); in rht_key_get_hash()
144 unsigned int key_len = ht->p.key_len; in rht_key_get_hash()
156 struct rhashtable *ht, const struct bucket_table *tbl, in rht_key_hashfn() argument
159 unsigned int hash = rht_key_get_hash(ht, key, params, tbl->hash_rnd); in rht_key_hashfn()
165 struct rhashtable *ht, const struct bucket_table *tbl, in rht_head_hashfn() argument
168 const char *ptr = rht_obj(ht, he); in rht_head_hashfn()
172 ht->p.key_len, in rht_head_hashfn()
[all …]
Drhashtable-types.h34 struct rhashtable *ht; member
98 struct rhashtable ht; member
121 struct rhashtable *ht; member
130 int rhashtable_init(struct rhashtable *ht,
Dhashtable.h34 static inline void __hash_init(struct hlist_head *ht, unsigned int sz) in __hash_init() argument
39 INIT_HLIST_HEAD(&ht[i]); in __hash_init()
81 static inline bool __hash_empty(struct hlist_head *ht, unsigned int sz) in __hash_empty() argument
86 if (!hlist_empty(&ht[i])) in __hash_empty()
/include/drm/
Ddrm_hashtab.h52 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);
Ddrm_modes.h134 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \ argument
137 .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \
/include/net/
Draw.h37 struct hlist_head ht[RAW_HTABLE_SIZE]; member
Dsmc.h18 struct hlist_head ht; member