Home
last modified time | relevance | path

Searched refs:cfi_hash (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/objtool/
H A Dcheck.c288 static struct hlist_head *cfi_hash; variable
305 struct hlist_head *head = &cfi_hash[hash_min(cfi_key(cfi), cfi_bits)]; in cfi_hash_find_or_add()
324 struct hlist_head *head = &cfi_hash[hash_min(cfi_key(cfi), cfi_bits)]; in cfi_hash_add()
332 cfi_hash = mmap(NULL, sizeof(struct hlist_head) << cfi_bits, in cfi_hash_alloc()
335 if (cfi_hash == (void *)-1L) { in cfi_hash_alloc()
336 WARN("mmap fail cfi_hash"); in cfi_hash_alloc()
337 cfi_hash = NULL; in cfi_hash_alloc()
342 return cfi_hash; in cfi_hash_alloc()
/kernel/linux/linux-6.6/tools/objtool/
H A Dcheck.c304 static struct hlist_head *cfi_hash; variable
321 struct hlist_head *head = &cfi_hash[hash_min(cfi_key(cfi), cfi_bits)]; in cfi_hash_find_or_add()
340 struct hlist_head *head = &cfi_hash[hash_min(cfi_key(cfi), cfi_bits)]; in cfi_hash_add()
348 cfi_hash = mmap(NULL, sizeof(struct hlist_head) << cfi_bits, in cfi_hash_alloc()
351 if (cfi_hash == (void *)-1L) { in cfi_hash_alloc()
352 WARN("mmap fail cfi_hash"); in cfi_hash_alloc()
353 cfi_hash = NULL; in cfi_hash_alloc()
358 return cfi_hash; in cfi_hash_alloc()

Completed in 9 milliseconds