Searched refs:htable (Results 1 – 10 of 10) sorted by relevance
| /linux/security/selinux/ss/ |
| A D | hashtab.c | 39 h->htable = NULL; in hashtab_init() 42 h->htable = kcalloc(size, sizeof(*h->htable), GFP_KERNEL); in hashtab_init() 43 if (!h->htable) in hashtab_init() 73 cur = h->htable[i]; in hashtab_destroy() 79 h->htable[i] = NULL; in hashtab_destroy() 82 kfree(h->htable); in hashtab_destroy() 83 h->htable = NULL; in hashtab_destroy() 95 cur = h->htable[i]; in hashtab_map() 115 cur = h->htable[i]; in hashtab_stat() 144 new->htable = kcalloc(orig->size, sizeof(*new->htable), GFP_KERNEL); in hashtab_duplicate() [all …]
|
| A D | hashtab.h | 33 struct hashtab_node **htable; /* hash table */ member 74 cur = h->htable[hvalue]; in hashtab_insert() 86 return __hashtab_insert(h, prev ? &prev->next : &h->htable[hvalue], in hashtab_insert() 106 cur = h->htable[hvalue]; in hashtab_search()
|
| A D | avtab.c | 117 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert() 162 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert_nonunique() 193 for (cur = h->htable[hvalue]; cur; in avtab_search() 229 for (cur = h->htable[hvalue]; cur; in avtab_search_node() 288 cur = h->htable[i]; in avtab_destroy() 298 kvfree(h->htable); in avtab_destroy() 299 h->htable = NULL; in avtab_destroy() 307 h->htable = NULL; in avtab_init() 319 if (!h->htable) in avtab_alloc_common() 367 cur = h->htable[i]; in avtab_hash_eval() [all …]
|
| A D | avtab.h | 84 struct avtab_node **htable; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| A D | vxlan.c | 44 DECLARE_HASHTABLE(htable, 4); 82 hash_for_each_possible_rcu(vxlan->htable, vxlanp, hlist, port) in mlx5_vxlan_lookup_port() 96 hash_for_each_possible(vxlan->htable, vxlanp, hlist, port) in vxlan_lookup_port() 119 hash_add_rcu(vxlan->htable, &vxlanp->hlist, port); in mlx5_vxlan_add_port() 161 hash_init(vxlan->htable); in mlx5_vxlan_create() 175 WARN_ON(!hash_empty(vxlan->htable)); in mlx5_vxlan_destroy() 189 hash_for_each_safe(vxlan->htable, bkt, tmp, vxlanp, hlist) { in mlx5_vxlan_reset_to_default()
|
| /linux/drivers/crypto/vmx/ |
| A D | ghash.c | 27 void gcm_init_p8(u128 htable[16], const u64 Xi[2]); 28 void gcm_gmult_p8(u64 Xi[2], const u128 htable[16]); 29 void gcm_ghash_p8(u64 Xi[2], const u128 htable[16], 34 u128 htable[16]; member 65 gcm_init_p8(ctx->htable, (const u64 *) key); in p8_ghash_setkey() 82 gcm_ghash_p8(dctx->shash, ctx->htable, in __ghash_block() 101 gcm_ghash_p8(dctx->shash, ctx->htable, in __ghash_blocks()
|
| /linux/net/netfilter/ |
| A D | xt_hashlimit.c | 1053 __acquires(htable->lock) in dl_seq_start() 1058 spin_lock_bh(&htable->lock); in dl_seq_start() 1059 if (*pos >= htable->cfg.size) in dl_seq_start() 1076 if (*pos >= htable->cfg.size) { in dl_seq_next() 1084 __releases(htable->lock) in dl_seq_stop() 1091 spin_unlock_bh(&htable->lock); in dl_seq_stop() 1176 if (!hlist_empty(&htable->hash[*bucket])) { in dl_seq_show_v2() 1178 if (dl_seq_real_show_v2(ent, htable->family, s)) in dl_seq_show_v2() 1190 if (!hlist_empty(&htable->hash[*bucket])) { in dl_seq_show_v1() 1204 if (!hlist_empty(&htable->hash[*bucket])) { in dl_seq_show() [all …]
|
| /linux/net/netfilter/ipset/ |
| A D | ip_set_hash_gen.h | 104 struct htable { struct 408 struct htable *t; in mtype_flush() 573 struct htable *t; in mtype_gc() 813 const struct htable *t; in mtype_ext_size() 845 struct htable *t; in mtype_add() 1035 struct htable *t; in mtype_del() 1216 struct htable *t; in mtype_test() 1264 const struct htable *t; in mtype_head() 1317 struct htable *t; in mtype_uref() 1341 const struct htable *t; in mtype_list() [all …]
|
| /linux/lib/842/ |
| A D | 842_compress.c | 114 hash_init((p)->htable##b); \ 125 hash_for_each_possible(p->htable##b, _n, node, p->data##b[n]) { \ 147 hash_add((p)->htable##b, &_n->node, _n->data); \
|
| /linux/security/integrity/ima/ |
| A D | Kconfig | 338 bool "Disable htable to allow measurement of duplicate records" 342 This option disables htable to allow measurement of duplicate records.
|
Completed in 18 milliseconds