Searched refs:htable (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/security/selinux/ss/ |
D | hashtab.c | 27 p->htable = kmalloc(sizeof(*(p->htable)) * size, GFP_KERNEL); in hashtab_create() 28 if (p->htable == NULL) { in hashtab_create() 34 p->htable[i] = NULL; in hashtab_create() 51 cur = h->htable[hvalue]; in hashtab_insert() 69 newnode->next = h->htable[hvalue]; in hashtab_insert() 70 h->htable[hvalue] = newnode; in hashtab_insert() 86 cur = h->htable[hvalue]; in hashtab_search() 105 cur = h->htable[i]; in hashtab_destroy() 111 h->htable[i] = NULL; in hashtab_destroy() 114 kfree(h->htable); in hashtab_destroy() [all …]
|
D | sidtab.c | 21 s->htable = kmalloc(sizeof(*(s->htable)) * SIDTAB_SIZE, GFP_ATOMIC); in sidtab_init() 22 if (!s->htable) in sidtab_init() 25 s->htable[i] = NULL; in sidtab_init() 45 cur = s->htable[hvalue]; in sidtab_insert() 73 newnode->next = s->htable[hvalue]; in sidtab_insert() 75 s->htable[hvalue] = newnode; in sidtab_insert() 94 cur = s->htable[hvalue]; in sidtab_search_core() 105 cur = s->htable[hvalue]; in sidtab_search_core() 138 cur = s->htable[i]; in sidtab_map() 168 cur = s->htable[i]; in sidtab_search_context() [all …]
|
D | avtab.c | 96 newnode->next = flex_array_get_ptr(h->htable, hvalue); in avtab_insert_node() 97 if (flex_array_put_ptr(h->htable, hvalue, newnode, in avtab_insert_node() 114 if (!h || !h->htable) in avtab_insert() 118 for (prev = NULL, cur = flex_array_get_ptr(h->htable, hvalue); in avtab_insert() 159 if (!h || !h->htable) in avtab_insert_nonunique() 162 for (prev = NULL, cur = flex_array_get_ptr(h->htable, hvalue); in avtab_insert_nonunique() 189 if (!h || !h->htable) in avtab_search() 193 for (cur = flex_array_get_ptr(h->htable, hvalue); cur; in avtab_search() 225 if (!h || !h->htable) in avtab_search_node() 229 for (cur = flex_array_get_ptr(h->htable, hvalue); cur; in avtab_search_node() [all …]
|
D | hashtab.h | 22 struct hashtab_node **htable; /* hash table */ member
|
D | sidtab.h | 25 struct sidtab_node **htable; member
|
D | avtab.h | 87 struct flex_array *htable; member
|
/linux-4.4.14/drivers/crypto/vmx/ |
D | ghash.c | 39 void gcm_init_p8(u128 htable[16], const u64 Xi[2]); 40 void gcm_gmult_p8(u64 Xi[2], const u128 htable[16]); 41 void gcm_ghash_p8(u64 Xi[2], const u128 htable[16], 45 u128 htable[16]; member 124 gcm_init_p8(ctx->htable, (const u64 *) key); in p8_ghash_setkey() 155 gcm_ghash_p8(dctx->shash, ctx->htable, in p8_ghash_update() 170 gcm_ghash_p8(dctx->shash, ctx->htable, src, len); in p8_ghash_update() 201 gcm_ghash_p8(dctx->shash, ctx->htable, in p8_ghash_final()
|
/linux-4.4.14/net/netfilter/ |
D | xt_hashlimit.c | 748 __acquires(htable->lock) in dl_seq_start() 750 struct xt_hashlimit_htable *htable = s->private; in dl_seq_start() local 753 spin_lock_bh(&htable->lock); in dl_seq_start() 754 if (*pos >= htable->cfg.size) in dl_seq_start() 767 struct xt_hashlimit_htable *htable = s->private; in dl_seq_next() local 771 if (*pos >= htable->cfg.size) { in dl_seq_next() 779 __releases(htable->lock) in dl_seq_stop() 781 struct xt_hashlimit_htable *htable = s->private; in dl_seq_stop() local 786 spin_unlock_bh(&htable->lock); in dl_seq_stop() 830 struct xt_hashlimit_htable *htable = s->private; in dl_seq_show() local [all …]
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_hash_gen.h | 80 struct htable { struct 109 if ((((size_t)-1) - sizeof(struct htable)) / sizeof(struct hbucket *) in htable_size() 113 return hsize * sizeof(struct hbucket *) + sizeof(struct htable); in htable_size() 276 struct htable __rcu *table; /* the hash table */ 346 mtype_ahash_memsize(const struct htype *h, const struct htable *t, in mtype_ahash_memsize() 385 struct htable *t; in mtype_flush() 408 mtype_ahash_destroy(struct ip_set *set, struct htable *t, bool ext_destroy) in mtype_ahash_destroy() 478 struct htable *t; in mtype_expire() 564 struct htable *t, *orig; in mtype_resize() 709 struct htable *t; in mtype_add() [all …]
|
/linux-4.4.14/lib/842/ |
D | 842_compress.c | 123 hash_init((p)->htable##b); \ 134 hash_for_each_possible(p->htable##b, _n, node, p->data##b[n]) { \ 156 hash_add((p)->htable##b, &_n->node, _n->data); \
|