Home
last modified time | relevance | path

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

/linux-4.4.14/arch/m32r/kernel/
Dmodule.c84 unsigned short hvalue; in apply_relocate_add() local
126 hvalue = relocation; in apply_relocate_add()
127 COPY_UNALIGNED_WORD (hvalue, *hlocation, align); in apply_relocate_add()
167 COPY_UNALIGNED_HWORD (*hlocation, hvalue, align); in apply_relocate_add()
168 svalue = (int)hvalue; in apply_relocate_add()
172 hvalue = hvalue & 0xff00; in apply_relocate_add()
173 hvalue += relocation; in apply_relocate_add()
174 COPY_UNALIGNED_HWORD (hvalue, *hlocation, align); in apply_relocate_add()
/linux-4.4.14/security/selinux/ss/
Dhashtab.c41 u32 hvalue; in hashtab_insert() local
49 hvalue = h->hash_value(h, key); in hashtab_insert()
51 cur = h->htable[hvalue]; in hashtab_insert()
69 newnode->next = h->htable[hvalue]; in hashtab_insert()
70 h->htable[hvalue] = newnode; in hashtab_insert()
79 u32 hvalue; in hashtab_search() local
85 hvalue = h->hash_value(h, key); in hashtab_search()
86 cur = h->htable[hvalue]; in hashtab_search()
Dsidtab.c35 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()
Davtab.c69 avtab_insert_node(struct avtab *h, int hvalue, in avtab_insert_node() argument
96 newnode->next = flex_array_get_ptr(h->htable, hvalue); in avtab_insert_node()
97 if (flex_array_put_ptr(h->htable, hvalue, newnode, in avtab_insert_node()
110 int hvalue; in avtab_insert() local
117 hvalue = avtab_hash(key, h->mask); in avtab_insert()
118 for (prev = NULL, cur = flex_array_get_ptr(h->htable, hvalue); in avtab_insert()
141 newnode = avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert()
155 int hvalue; in avtab_insert_nonunique() local
161 hvalue = avtab_hash(key, h->mask); in avtab_insert_nonunique()
162 for (prev = NULL, cur = flex_array_get_ptr(h->htable, hvalue); in avtab_insert_nonunique()
[all …]
/linux-4.4.14/security/selinux/
Davc.c518 int hvalue, try, ecx; in avc_reclaim_node() local
524 hvalue = atomic_inc_return(&avc_cache.lru_hint) & (AVC_CACHE_SLOTS - 1); in avc_reclaim_node()
525 head = &avc_cache.slots[hvalue]; in avc_reclaim_node()
526 lock = &avc_cache.slots_lock[hvalue]; in avc_reclaim_node()
578 int hvalue; in avc_search_node() local
581 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
582 head = &avc_cache.slots[hvalue]; in avc_search_node()
666 int hvalue; in avc_insert() local
678 hvalue = avc_hash(ssid, tsid, tclass); in avc_insert()
685 head = &avc_cache.slots[hvalue]; in avc_insert()
[all …]