Home
last modified time | relevance | path

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

/linux-3.4.99/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-3.4.99/security/selinux/ss/
Dhashtab.c40 u32 hvalue; in hashtab_insert() local
46 hvalue = h->hash_value(h, key); in hashtab_insert()
48 cur = h->htable[hvalue]; in hashtab_insert()
66 newnode->next = h->htable[hvalue]; in hashtab_insert()
67 h->htable[hvalue] = newnode; in hashtab_insert()
76 u32 hvalue; in hashtab_search() local
82 hvalue = h->hash_value(h, key); in hashtab_search()
83 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.c35 avtab_insert_node(struct avtab *h, int hvalue, in avtab_insert_node() argument
49 newnode->next = h->htable[hvalue]; in avtab_insert_node()
50 h->htable[hvalue] = newnode; in avtab_insert_node()
59 int hvalue; in avtab_insert() local
66 hvalue = avtab_hash(key, h->mask); in avtab_insert()
67 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert()
86 newnode = avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert()
100 int hvalue; in avtab_insert_nonunique() local
106 hvalue = avtab_hash(key, h->mask); in avtab_insert_nonunique()
107 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert_nonunique()
[all …]
/linux-3.4.99/security/selinux/
Davc.c247 int hvalue, try, ecx; in avc_reclaim_node() local
254 hvalue = atomic_inc_return(&avc_cache.lru_hint) & (AVC_CACHE_SLOTS - 1); in avc_reclaim_node()
255 head = &avc_cache.slots[hvalue]; in avc_reclaim_node()
256 lock = &avc_cache.slots_lock[hvalue]; in avc_reclaim_node()
308 int hvalue; in avc_search_node() local
312 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
313 head = &avc_cache.slots[hvalue]; in avc_search_node()
394 int hvalue; in avc_insert() local
406 hvalue = avc_hash(ssid, tsid, tclass); in avc_insert()
409 head = &avc_cache.slots[hvalue]; in avc_insert()
[all …]