Searched refs:hvalue (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/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 | avtab.c | 69 avtab_insert_node(struct avtab *h, int hvalue, in avtab_insert_node() argument 96 struct avtab_node **n = &h->htable[hvalue]; in avtab_insert_node() 108 int hvalue; in avtab_insert() local 115 hvalue = avtab_hash(key, h->mask); in avtab_insert() 116 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert() 139 newnode = avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert() 153 int hvalue; in avtab_insert_nonunique() local 159 hvalue = avtab_hash(key, h->mask); in avtab_insert_nonunique() 160 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert_nonunique() 178 return avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert_nonunique() [all …]
|
/Linux-v5.4/security/selinux/ |
D | avc.c | 464 int hvalue, try, ecx; in avc_reclaim_node() local 470 hvalue = atomic_inc_return(&avc->avc_cache.lru_hint) & in avc_reclaim_node() 472 head = &avc->avc_cache.slots[hvalue]; in avc_reclaim_node() 473 lock = &avc->avc_cache.slots_lock[hvalue]; in avc_reclaim_node() 527 int hvalue; in avc_search_node() local 530 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node() 531 head = &avc->avc_cache.slots[hvalue]; in avc_search_node() 618 int hvalue; in avc_insert() local 630 hvalue = avc_hash(ssid, tsid, tclass); in avc_insert() 637 head = &avc->avc_cache.slots[hvalue]; in avc_insert() [all …]
|
/Linux-v5.4/drivers/hid/ |
D | hid-logitech-hidpp.c | 2781 s8 value, hvalue; in hidpp10_wheel_raw_event() local 2793 hvalue = data[4]; in hidpp10_wheel_raw_event() 2797 input_report_rel(hidpp->input, REL_HWHEEL, hvalue); in hidpp10_wheel_raw_event() 2798 input_report_rel(hidpp->input, REL_HWHEEL_HI_RES, hvalue * 120); in hidpp10_wheel_raw_event()
|