Searched refs:hvalue (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/security/selinux/ss/ |
H A D | hashtab.h | 64 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()
|
H A D | avtab.c | 69 avtab_insert_node(struct avtab *h, u32 hvalue, in avtab_insert_node() argument 96 struct avtab_node **n = &h->htable[hvalue]; in avtab_insert_node() 109 u32 hvalue; in avtab_insert() local 116 hvalue = avtab_hash(key, h->mask); in avtab_insert() 117 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert() 140 newnode = avtab_insert_node(h, hvalue, prev, key, datum); in avtab_insert() 155 u32 hvalue; in avtab_insert_nonunique() local 161 hvalue = avtab_hash(key, h->mask); in avtab_insert_nonunique() 162 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert_nonunique() 180 return avtab_insert_node(h, hvalue, prev, key, datum); in avtab_insert_nonunique() [all …]
|
/openbmc/linux/security/selinux/ |
H A D | avc.c | 464 int hvalue, try, ecx; in avc_reclaim_node() local 470 hvalue = atomic_inc_return(&selinux_avc.avc_cache.lru_hint) & in avc_reclaim_node() 472 head = &selinux_avc.avc_cache.slots[hvalue]; in avc_reclaim_node() 473 lock = &selinux_avc.avc_cache.slots_lock[hvalue]; in avc_reclaim_node() 526 u32 hvalue; in avc_search_node() local 529 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node() 530 head = &selinux_avc.avc_cache.slots[hvalue]; in avc_search_node() 612 u32 hvalue; in avc_insert() local 630 hvalue = avc_hash(ssid, tsid, tclass); in avc_insert() 631 head = &selinux_avc.avc_cache.slots[hvalue]; in avc_insert() [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-logitech-hidpp.c | 3539 s8 value, hvalue; in hidpp10_wheel_raw_event() local 3551 hvalue = data[4]; in hidpp10_wheel_raw_event() 3555 input_report_rel(hidpp->input, REL_HWHEEL, hvalue); in hidpp10_wheel_raw_event() 3556 input_report_rel(hidpp->input, REL_HWHEEL_HI_RES, hvalue * 120); in hidpp10_wheel_raw_event()
|