Home
last modified time | relevance | path

Searched refs:hvalue (Results 1 – 3 of 3) sorted by relevance

/security/selinux/ss/
A Dhashtab.h65 u32 hvalue; in hashtab_insert() local
73 hvalue = key_params.hash(key) & (h->size - 1); in hashtab_insert()
75 cur = h->htable[hvalue]; in hashtab_insert()
87 return __hashtab_insert(h, prev ? &prev->next : &h->htable[hvalue], key, in hashtab_insert()
100 u32 hvalue; in hashtab_search() local
106 hvalue = key_params.hash(key) & (h->size - 1); in hashtab_search()
107 cur = h->htable[hvalue]; in hashtab_search()
A Davtab.c123 u32 hvalue; in avtab_insert() local
130 hvalue = avtab_hash(key, h->mask); in avtab_insert()
131 for (prev = NULL, cur = h->htable[hvalue]; cur; in avtab_insert()
141 newnode = avtab_insert_node(h, prev ? &prev->next : &h->htable[hvalue], in avtab_insert()
157 u32 hvalue; in avtab_insert_nonunique() local
163 hvalue = avtab_hash(key, h->mask); in avtab_insert_nonunique()
164 for (prev = NULL, cur = h->htable[hvalue]; cur; in avtab_insert_nonunique()
170 return avtab_insert_node(h, prev ? &prev->next : &h->htable[hvalue], in avtab_insert_nonunique()
180 u32 hvalue; in avtab_search_node() local
187 hvalue = avtab_hash(key, h->mask); in avtab_search_node()
[all …]
/security/selinux/
A Davc.c462 int hvalue, try, ecx; in avc_reclaim_node() local
470 head = &selinux_avc.avc_cache.slots[hvalue]; in avc_reclaim_node()
524 u32 hvalue; in avc_search_node() local
527 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
528 head = &selinux_avc.avc_cache.slots[hvalue]; in avc_search_node()
610 u32 hvalue; in avc_insert() local
628 hvalue = avc_hash(ssid, tsid, tclass); in avc_insert()
629 head = &selinux_avc.avc_cache.slots[hvalue]; in avc_insert()
834 u32 hvalue; in avc_update_node() local
848 hvalue = avc_hash(ssid, tsid, tclass); in avc_update_node()
[all …]

Completed in 7 milliseconds