Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/selinux/ss/
Dhashtab.h64 u32 hvalue; in hashtab_insert() local
72 hvalue = key_params.hash(key) & (h->size - 1); in hashtab_insert()
74 cur = h->htable[hvalue]; in hashtab_insert()
86 return __hashtab_insert(h, prev ? &prev->next : &h->htable[hvalue], in hashtab_insert()
99 u32 hvalue; in hashtab_search() local
105 hvalue = key_params.hash(key) & (h->size - 1); in hashtab_search()
106 cur = h->htable[hvalue]; in hashtab_search()
Davtab.c69 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 …]
/kernel/linux/linux-5.10/security/selinux/
Davc.c468 int hvalue, try, ecx; in avc_reclaim_node() local
474 hvalue = atomic_inc_return(&avc->avc_cache.lru_hint) & in avc_reclaim_node()
476 head = &avc->avc_cache.slots[hvalue]; in avc_reclaim_node()
477 lock = &avc->avc_cache.slots_lock[hvalue]; in avc_reclaim_node()
531 int hvalue; in avc_search_node() local
534 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
535 head = &avc->avc_cache.slots[hvalue]; in avc_search_node()
622 int hvalue; in avc_insert() local
640 hvalue = avc_hash(ssid, tsid, tclass); in avc_insert()
641 head = &avc->avc_cache.slots[hvalue]; in avc_insert()
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-logitech-hidpp.c2989 s8 value, hvalue; in hidpp10_wheel_raw_event() local
3001 hvalue = data[4]; in hidpp10_wheel_raw_event()
3005 input_report_rel(hidpp->input, REL_HWHEEL, hvalue); in hidpp10_wheel_raw_event()
3006 input_report_rel(hidpp->input, REL_HWHEEL_HI_RES, hvalue * 120); in hidpp10_wheel_raw_event()