Searched refs:hvalue (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/security/selinux/ss/ |
D | hashtab.c | 44 u32 hvalue; in hashtab_insert() local 52 hvalue = h->hash_value(h, key); in hashtab_insert() 54 cur = h->htable[hvalue]; in hashtab_insert() 72 newnode->next = h->htable[hvalue]; in hashtab_insert() 73 h->htable[hvalue] = newnode; in hashtab_insert() 82 u32 hvalue; in hashtab_search() local 88 hvalue = h->hash_value(h, key); in hashtab_search() 89 cur = h->htable[hvalue]; in hashtab_search()
|
D | sidtab.c | 36 int hvalue; in sidtab_insert() local 42 hvalue = SIDTAB_HASH(sid); in sidtab_insert() 44 cur = s->htable[hvalue]; in sidtab_insert() 68 newnode->next = s->htable[hvalue]; in sidtab_insert() 70 s->htable[hvalue] = newnode; in sidtab_insert() 81 int hvalue; in sidtab_search_core() local 87 hvalue = SIDTAB_HASH(sid); in sidtab_search_core() 88 cur = s->htable[hvalue]; in sidtab_search_core() 98 hvalue = SIDTAB_HASH(sid); in sidtab_search_core() 99 cur = s->htable[hvalue]; in sidtab_search_core()
|
D | avtab.c | 69 avtab_insert_node(struct avtab *h, int hvalue, in avtab_insert_node() argument 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() 110 int hvalue; in avtab_insert() local 117 hvalue = avtab_hash(key, h->mask); in avtab_insert() 118 for (prev = NULL, cur = flex_array_get_ptr(h->htable, hvalue); in avtab_insert() 141 newnode = avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert() 155 int hvalue; in avtab_insert_nonunique() local 161 hvalue = avtab_hash(key, h->mask); in avtab_insert_nonunique() 162 for (prev = NULL, cur = flex_array_get_ptr(h->htable, hvalue); in avtab_insert_nonunique() [all …]
|
/Linux-v4.19/security/selinux/ |
D | avc.c | 536 int hvalue, try, ecx; in avc_reclaim_node() local 542 hvalue = atomic_inc_return(&avc->avc_cache.lru_hint) & in avc_reclaim_node() 544 head = &avc->avc_cache.slots[hvalue]; in avc_reclaim_node() 545 lock = &avc->avc_cache.slots_lock[hvalue]; in avc_reclaim_node() 599 int hvalue; in avc_search_node() local 602 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node() 603 head = &avc->avc_cache.slots[hvalue]; in avc_search_node() 690 int hvalue; in avc_insert() local 702 hvalue = avc_hash(ssid, tsid, tclass); in avc_insert() 709 head = &avc->avc_cache.slots[hvalue]; in avc_insert() [all …]
|