Home
last modified time | relevance | path

Searched refs:name_hash (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/tools/objtool/
H A Delf.h31 struct hlist_node name_hash; member
49 struct hlist_node name_hash; member
H A Delf.c134 elf_hash_for_each_possible(elf->section_name_hash, sec, name_hash, str_hash(name)) in find_section_by_name()
224 elf_hash_for_each_possible(elf->symbol_name_hash, sym, name_hash, str_hash(name)) in find_symbol_by_name()
329 elf_hash_add(elf->section_name_hash, &sec->name_hash, str_hash(sec->name)); in read_sections()
365 elf_hash_add(elf->symbol_name_hash, &sym->name_hash, str_hash(sym->name)); in elf_add_symbol()
1054 elf_hash_add(elf->section_name_hash, &sec->name_hash, str_hash(sec->name)); in elf_create_section()
/kernel/linux/linux-5.10/fs/exfat/
H A Ddir.c546 ep->dentry.stream.name_hash = cpu_to_le16(p_uniname->name_hash); in exfat_init_ext_entry()
1024 u16 name_hash; in exfat_find_dir_entry() local
1032 name_hash = le16_to_cpu( in exfat_find_dir_entry()
1033 ep->dentry.stream.name_hash); in exfat_find_dir_entry()
1034 if (p_uniname->name_hash == name_hash && in exfat_find_dir_entry()
H A Dexfat_raw.h134 __le16 name_hash; member
H A Dexfat_fs.h138 u16 name_hash; member
H A Dnls.c528 p_uniname->name_hash = exfat_calc_chksum16(upname, unilen << 1, 0, in exfat_utf8_to_utf16()
624 p_uniname->name_hash = exfat_calc_chksum16(upname, unilen << 1, 0, in exfat_nls_to_ucs2()
/kernel/linux/linux-6.6/fs/exfat/
H A Ddir.c577 ep->dentry.stream.name_hash = cpu_to_le16(p_uniname->name_hash); in exfat_init_ext_entry()
1059 u16 name_hash; in exfat_find_dir_entry() local
1067 name_hash = le16_to_cpu( in exfat_find_dir_entry()
1068 ep->dentry.stream.name_hash); in exfat_find_dir_entry()
1069 if (p_uniname->name_hash == name_hash && in exfat_find_dir_entry()
H A Dexfat_raw.h137 __le16 name_hash; member
H A Dexfat_fs.h161 u16 name_hash; member
H A Dnls.c528 p_uniname->name_hash = exfat_calc_chksum16(upname, unilen << 1, 0, in exfat_utf8_to_utf16()
624 p_uniname->name_hash = exfat_calc_chksum16(upname, unilen << 1, 0, in exfat_nls_to_ucs2()
/kernel/linux/linux-6.6/tools/objtool/include/objtool/
H A Delf.h36 struct elf_hash_node name_hash; member
53 struct elf_hash_node name_hash; member
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dxattr.c171 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash);
1493 static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_add_entry() argument
1495 loc->xl_ops->xlo_add_entry(loc, name_hash); in ocfs2_xa_add_entry()
1496 loc->xl_entry->xe_name_hash = cpu_to_le32(name_hash); in ocfs2_xa_add_entry()
1658 static void ocfs2_xa_block_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_block_add_entry() argument
1811 static void ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_bucket_add_entry() argument
1819 * We keep buckets sorted by name_hash, so we need to find in ocfs2_xa_bucket_add_entry()
1826 if (name_hash > le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
1828 else if (name_hash < le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
2125 u32 name_hash, in ocfs2_xa_prepare_entry()
2123 ocfs2_xa_prepare_entry(struct ocfs2_xa_loc *loc, struct ocfs2_xattr_info *xi, u32 name_hash, struct ocfs2_xattr_set_ctxt *ctxt) ocfs2_xa_prepare_entry() argument
2227 u32 name_hash = ocfs2_xattr_name_hash(loc->xl_inode, xi->xi_name, ocfs2_xa_set() local
3685 ocfs2_xattr_get_rec(struct inode *inode, u32 name_hash, u64 *p_blkno, u32 *e_cpos, u32 *num_clusters, struct ocfs2_extent_list *el) ocfs2_xattr_get_rec() argument
3748 ocfs2_find_xe_in_bucket(struct inode *inode, struct ocfs2_xattr_bucket *bucket, int name_index, const char *name, u32 name_hash, u16 *xe_index, int *found) ocfs2_find_xe_in_bucket() argument
3812 ocfs2_xattr_bucket_find(struct inode *inode, int name_index, const char *name, u32 name_hash, u64 p_blkno, u32 first_hash, u32 num_clusters, struct ocfs2_xattr_search *xs) ocfs2_xattr_bucket_find() argument
3936 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name)); ocfs2_xattr_index_block_find() local
4090 u32 name_hash = UINT_MAX, e_cpos = 0, num_clusters = 0; ocfs2_iterate_xattr_index_block() local
5278 u32 name_hash = ocfs2_add_new_xattr_bucket() local
5523 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name)); ocfs2_check_xattr_bucket_collision() local
[all...]
H A Ddir.c860 u32 name_hash = hinfo->major_hash; in ocfs2_dx_dir_lookup() local
862 ret = ocfs2_dx_dir_lookup_rec(inode, el, name_hash, &cpos, &blkno, in ocfs2_dx_dir_lookup()
870 if (name_hash >= cend) { in ocfs2_dx_dir_lookup()
876 name_hash - cpos); in ocfs2_dx_dir_lookup()
877 cpos = name_hash; in ocfs2_dx_dir_lookup()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dxattr.c165 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash);
1487 static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_add_entry() argument
1489 loc->xl_ops->xlo_add_entry(loc, name_hash); in ocfs2_xa_add_entry()
1490 loc->xl_entry->xe_name_hash = cpu_to_le32(name_hash); in ocfs2_xa_add_entry()
1652 static void ocfs2_xa_block_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_block_add_entry() argument
1805 static void ocfs2_xa_bucket_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash) in ocfs2_xa_bucket_add_entry() argument
1813 * We keep buckets sorted by name_hash, so we need to find in ocfs2_xa_bucket_add_entry()
1820 if (name_hash > le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
1822 else if (name_hash < le32_to_cpu(tmp_xe->xe_name_hash)) in ocfs2_xa_bucket_add_entry()
2119 u32 name_hash, in ocfs2_xa_prepare_entry()
2117 ocfs2_xa_prepare_entry(struct ocfs2_xa_loc *loc, struct ocfs2_xattr_info *xi, u32 name_hash, struct ocfs2_xattr_set_ctxt *ctxt) ocfs2_xa_prepare_entry() argument
2221 u32 name_hash = ocfs2_xattr_name_hash(loc->xl_inode, xi->xi_name, ocfs2_xa_set() local
3679 ocfs2_xattr_get_rec(struct inode *inode, u32 name_hash, u64 *p_blkno, u32 *e_cpos, u32 *num_clusters, struct ocfs2_extent_list *el) ocfs2_xattr_get_rec() argument
3742 ocfs2_find_xe_in_bucket(struct inode *inode, struct ocfs2_xattr_bucket *bucket, int name_index, const char *name, u32 name_hash, u16 *xe_index, int *found) ocfs2_find_xe_in_bucket() argument
3806 ocfs2_xattr_bucket_find(struct inode *inode, int name_index, const char *name, u32 name_hash, u64 p_blkno, u32 first_hash, u32 num_clusters, struct ocfs2_xattr_search *xs) ocfs2_xattr_bucket_find() argument
3930 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name)); ocfs2_xattr_index_block_find() local
4084 u32 name_hash = UINT_MAX, e_cpos = 0, num_clusters = 0; ocfs2_iterate_xattr_index_block() local
5272 u32 name_hash = ocfs2_add_new_xattr_bucket() local
5517 u32 name_hash = ocfs2_xattr_name_hash(inode, name, strlen(name)); ocfs2_check_xattr_bucket_collision() local
[all...]
H A Ddir.c852 u32 name_hash = hinfo->major_hash; in ocfs2_dx_dir_lookup() local
854 ret = ocfs2_dx_dir_lookup_rec(inode, el, name_hash, &cpos, &blkno, in ocfs2_dx_dir_lookup()
862 if (name_hash >= cend) { in ocfs2_dx_dir_lookup()
868 name_hash - cpos); in ocfs2_dx_dir_lookup()
869 cpos = name_hash; in ocfs2_dx_dir_lookup()
/kernel/linux/linux-6.6/tools/objtool/
H A Delf.c136 elf_hash_for_each_possible(section_name, sec, name_hash, str_hash(name)) { in find_section_by_name()
260 elf_hash_for_each_possible(symbol_name, sym, name_hash, str_hash(name)) { in find_symbol_by_name()
374 elf_hash_add(section_name, &sec->name_hash, str_hash(sec->name)); in read_sections()
425 elf_hash_add(symbol_name, &sym->name_hash, str_hash(sym->name)); in elf_add_symbol()
1163 elf_hash_add(section_name, &sec->name_hash, str_hash(sec->name)); in elf_create_section()
/kernel/linux/linux-5.10/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c67 name_hash(const unsigned char *name) in name_hash() function
284 seed[i] ^= name_hash(structname); in shuffle()
/kernel/linux/linux-6.6/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c49 name_hash(const unsigned char *name) in name_hash() function
266 seed[i] ^= name_hash(structname); in shuffle()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dtree-checker.c492 u32 name_hash; in check_dir_item() local
594 name_hash = btrfs_name_hash(namebuf, name_len); in check_dir_item()
595 if (key->offset != name_hash) { in check_dir_item()
598 name_hash, key->offset); in check_dir_item()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dtree-checker.c517 u32 name_hash; in check_dir_item() local
619 name_hash = btrfs_name_hash(namebuf, name_len); in check_dir_item()
620 if (unlikely(key->offset != name_hash)) { in check_dir_item()
623 name_hash, key->offset); in check_dir_item()
/kernel/linux/linux-5.10/fs/f2fs/
H A Ddir.c627 const struct fscrypt_str *name, f2fs_hash_t name_hash, in f2fs_update_dentry()
635 de->hash_code = name_hash; in f2fs_update_dentry()
626 f2fs_update_dentry(nid_t ino, umode_t mode, struct f2fs_dentry_ptr *d, const struct fscrypt_str *name, f2fs_hash_t name_hash, unsigned int bit_pos) f2fs_update_dentry() argument
H A Df2fs.h3252 const struct fscrypt_str *name, f2fs_hash_t name_hash,
/kernel/linux/linux-6.6/fs/f2fs/
H A Ddir.c657 const struct fscrypt_str *name, f2fs_hash_t name_hash, in f2fs_update_dentry()
665 de->hash_code = name_hash; in f2fs_update_dentry()
656 f2fs_update_dentry(nid_t ino, umode_t mode, struct f2fs_dentry_ptr *d, const struct fscrypt_str *name, f2fs_hash_t name_hash, unsigned int bit_pos) f2fs_update_dentry() argument
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_dentryfile.c791 __u32 name_hash, unsigned int bit_pos) in update_dentry()
811 de->hash = cpu_to_le32(name_hash); in update_dentry()
789 update_dentry(struct hmdfs_dentry_group *d, struct dentry *child_dentry, struct inode *inode, struct super_block *hmdfs_sb, __u32 name_hash, unsigned int bit_pos) update_dentry() argument
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dhmdfs_dentryfile.c792 __u32 name_hash, unsigned int bit_pos) in update_dentry()
812 de->hash = cpu_to_le32(name_hash); in update_dentry()
790 update_dentry(struct hmdfs_dentry_group *d, struct dentry *child_dentry, struct inode *inode, struct super_block *hmdfs_sb, __u32 name_hash, unsigned int bit_pos) update_dentry() argument

Completed in 61 milliseconds

12