Home
last modified time | relevance | path

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

/linux/security/selinux/ss/
H 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()
H 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 …]
/linux/security/selinux/
H A Davc.c456 int hvalue, try, ecx; in avc_reclaim_node() local
462 hvalue = atomic_inc_return(&selinux_avc.avc_cache.lru_hint) & in avc_reclaim_node()
464 head = &selinux_avc.avc_cache.slots[hvalue]; in avc_reclaim_node()
465 lock = &selinux_avc.avc_cache.slots_lock[hvalue]; in avc_reclaim_node()
518 u32 hvalue; in avc_search_node() local
521 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
522 head = &selinux_avc.avc_cache.slots[hvalue]; in avc_search_node()
604 u32 hvalue; in avc_insert() local
622 hvalue = avc_hash(ssid, tsid, tclass); in avc_insert()
623 head = &selinux_avc.avc_cache.slots[hvalue]; in avc_insert()
[all …]
/linux/drivers/hid/
H A Dhid-logitech-hidpp.c3536 s8 value, hvalue; in hidpp10_wheel_raw_event()
3548 hvalue = data[4]; in hidpp10_wheel_raw_event()
3552 input_report_rel(hidpp->input, REL_HWHEEL, hvalue); in hidpp10_wheel_raw_event()
3553 input_report_rel(hidpp->input, REL_HWHEEL_HI_RES, hvalue * 120); in hidpp10_wheel_raw_event()
3535 s8 value, hvalue; hidpp10_wheel_raw_event() local