Searched refs:hvalue (Results 1 – 4 of 4) sorted by relevance
/security/selinux/ss/ |
D | hashtab.c | 40 u32 hvalue; in hashtab_insert() local 46 hvalue = h->hash_value(h, key); in hashtab_insert() 48 cur = h->htable[hvalue]; in hashtab_insert() 66 newnode->next = h->htable[hvalue]; in hashtab_insert() 67 h->htable[hvalue] = newnode; in hashtab_insert() 76 u32 hvalue; in hashtab_search() local 82 hvalue = h->hash_value(h, key); in hashtab_search() 83 cur = h->htable[hvalue]; in hashtab_search()
|
D | sidtab.c | 35 int hvalue, rc = 0; in sidtab_insert() local 43 hvalue = SIDTAB_HASH(sid); in sidtab_insert() 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() 87 int hvalue; in sidtab_search_core() local 93 hvalue = SIDTAB_HASH(sid); in sidtab_search_core() 94 cur = s->htable[hvalue]; in sidtab_search_core() 104 hvalue = SIDTAB_HASH(sid); in sidtab_search_core() 105 cur = s->htable[hvalue]; in sidtab_search_core()
|
D | avtab.c | 36 avtab_insert_node(struct avtab *h, int hvalue, in avtab_insert_node() argument 63 newnode->next = h->htable[hvalue]; in avtab_insert_node() 64 h->htable[hvalue] = newnode; in avtab_insert_node() 73 int hvalue; in avtab_insert() local 80 hvalue = avtab_hash(key, h->mask); in avtab_insert() 81 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert() 104 newnode = avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert() 118 int hvalue; in avtab_insert_nonunique() local 124 hvalue = avtab_hash(key, h->mask); in avtab_insert_nonunique() 125 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert_nonunique() [all …]
|
/security/selinux/ |
D | avc.c | 517 int hvalue, try, ecx; in avc_reclaim_node() local 523 hvalue = atomic_inc_return(&avc_cache.lru_hint) & (AVC_CACHE_SLOTS - 1); in avc_reclaim_node() 524 head = &avc_cache.slots[hvalue]; in avc_reclaim_node() 525 lock = &avc_cache.slots_lock[hvalue]; in avc_reclaim_node() 577 int hvalue; in avc_search_node() local 580 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node() 581 head = &avc_cache.slots[hvalue]; in avc_search_node() 665 int hvalue; in avc_insert() local 677 hvalue = avc_hash(ssid, tsid, tclass); in avc_insert() 684 head = &avc_cache.slots[hvalue]; in avc_insert() [all …]
|