Home
last modified time | relevance | path

Searched refs:nbucket (Results 1 – 12 of 12) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/vDSO/
Dparse_vdso.c73 ELF(Word) nbucket, nchain;
178 vdso_info.nbucket = hash[0]; in vdso_init_from_sysinfo_ehdr()
181 vdso_info.chain = &hash[vdso_info.nbucket + 2]; in vdso_init_from_sysinfo_ehdr()
232 ELF(Word) chain = vdso_info.bucket[elf_hash(name) % vdso_info.nbucket]; in vdso_sym()
/external/llvm/include/llvm/Object/
DELFTypes.h526 Elf_Word nbucket;
530 return ArrayRef<Elf_Word>(&nbucket + 2, &nbucket + 2 + nbucket);
534 return ArrayRef<Elf_Word>(&nbucket + 2 + nbucket,
535 &nbucket + 2 + nbucket + nchain);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DELFTypes.h508 Elf_Word nbucket;
512 return ArrayRef<Elf_Word>(&nbucket + 2, &nbucket + 2 + nbucket);
516 return ArrayRef<Elf_Word>(&nbucket + 2 + nbucket,
517 &nbucket + 2 + nbucket + nchain);
/external/f2fs-tools/fsck/
Ddir.c112 unsigned int nbucket, nblock; in find_in_level() local
125 nbucket = dir_buckets(level, dir_level); in find_in_level()
128 bidx = dir_block_index(level, dir_level, le32_to_cpu(namehash) % nbucket); in find_in_level()
224 int nbucket, nblock, bidx, block; in f2fs_add_link() local
257 nbucket = dir_buckets(level, dir_level); in f2fs_add_link()
259 bidx = dir_block_index(level, dir_level, le32_to_cpu(dentry_hash) % nbucket); in f2fs_add_link()
Dfsck.c1297 unsigned int nbucket, nblock; in f2fs_check_dirent_position() local
1303 nbucket = dir_buckets(level, dir_level); in f2fs_check_dirent_position()
1307 le32_to_cpu(namehash) % nbucket); in f2fs_check_dirent_position()
/external/elfutils/src/
Delfcmp.c843 const size_t nbucket = hash1[0]; \ in hash_content_equivalent()
845 if (data1->d_size != (2 + nbucket + nchain) * sizeof hash1[0] \ in hash_content_equivalent()
846 || hash2[0] != nbucket || hash2[1] != nchain) \ in hash_content_equivalent()
850 const Hash_Word *const chain1 = &bucket1[nbucket]; \ in hash_content_equivalent()
852 const Hash_Word *const chain2 = &bucket2[nbucket]; \ in hash_content_equivalent()
858 for (size_t i = 0; i < nbucket; ++i) \ in hash_content_equivalent()
Dstrip.c2259 Elf32_Word nbucket = bucket[0]; in handle_elf() local
2260 uint64_t used_buf = ((2ULL + nchain + nbucket) in handle_elf()
2268 Elf32_Word *chain = bucket + nbucket; in handle_elf()
2271 size_t n_size = ((2 + symd->d_size / elsize + nbucket) in handle_elf()
2279 (symd->d_size / elsize + nbucket) in handle_elf()
2291 elf_assert (name != NULL && nbucket != 0); in handle_elf()
2292 size_t hidx = elf_hash (name) % nbucket; in handle_elf()
2319 Elf64_Xword nbucket = bucket[0]; in handle_elf() local
2323 && maxwords - 2 >= nbucket in handle_elf()
2324 && maxwords - 2 - nbucket >= nchain); in handle_elf()
[all …]
Delflint.c2023 Elf32_Word nbucket = ((Elf32_Word *) data->d_buf)[0]; in check_sysv_hash() local
2026 if (shdr->sh_size < (2ULL + nbucket + nchain) * sizeof (Elf32_Word)) in check_sysv_hash()
2031 (long int) ((2 + nbucket + nchain) * sizeof (Elf32_Word))); in check_sysv_hash()
2051 for (cnt = 2; cnt < 2 + nbucket; ++cnt) in check_sysv_hash()
2061 for (; cnt < 2 + nbucket + nchain; ++cnt) in check_sysv_hash()
2068 idx, section_name (ebl, idx), cnt - 2 - nbucket); in check_sysv_hash()
2077 Elf64_Xword nbucket = ((Elf64_Xword *) data->d_buf)[0]; in check_sysv_hash64() local
2082 || maxwords - 2 < nbucket in check_sysv_hash64()
2083 || maxwords - 2 - nbucket < nchain) in check_sysv_hash64()
2088 (long int) ((2 + nbucket + nchain) * sizeof (Elf64_Xword))); in check_sysv_hash64()
[all …]
Dunstrip.c504 const size_t nbucket = old_hash[0]; \ in adjust_relocs()
507 const Hash_Word *const old_chain = &old_bucket[nbucket]; \ in adjust_relocs()
508 assert (onent == 2 + nbucket + nchain); \ in adjust_relocs()
510 const size_t nent = 2 + nbucket + nsym; \ in adjust_relocs()
513 Hash_Word *const new_chain = &new_bucket[nbucket]; \ in adjust_relocs()
515 new_hash[0] = nbucket; \ in adjust_relocs()
517 for (size_t i = 0; i < nbucket; ++i) \ in adjust_relocs()
Dreadelf.c3118 uint_fast32_t maxlength, Elf32_Word nbucket, in print_hash_info() argument
3123 for (Elf32_Word cnt = 0; cnt < nbucket; ++cnt) in print_hash_info()
3141 nbucket), in print_hash_info()
3144 (int) nbucket, in print_hash_info()
3154 if (likely (nbucket > 0)) in print_hash_info()
3162 counts[0], (counts[0] * 100.0) / nbucket); in print_hash_info()
3170 (int) cnt, counts[cnt], (counts[cnt] * 100.0) / nbucket, in print_hash_info()
3185 (double) nzero_counts / (double) nbucket); in print_hash_info()
3212 Elf32_Word nbucket = ((Elf32_Word *) data->d_buf)[0]; in handle_sysv_hash() local
3215 uint64_t used_buf = (2ULL + nchain + nbucket) * sizeof (Elf32_Word); in handle_sysv_hash()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DELFDumper.cpp1929 W.printNumber("Num Buckets", HashTable->nbucket); in printHashTable()
3134 uint32_t NBuckets = SysVHash->nbucket; in printDynamicSymbols()
3433 size_t NBucket = HashTable->nbucket; in printHashHistogram()
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp1813 W.printNumber("Num Buckets", HashTable->nbucket); in printHashTable()
3070 size_t NBucket = HashTable->nbucket; in printHashHistogram()