Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ext4/
H A Ddir.c389 __u32 minor_hash; member
444 __u32 minor_hash, in ext4_htree_store_dirent()
462 new_fn->minor_hash = minor_hash; in ext4_htree_store_dirent()
477 (new_fn->minor_hash == fname->minor_hash)) { in ext4_htree_store_dirent()
487 else if (new_fn->minor_hash < fname->minor_hash) in ext4_htree_store_dirent()
489 else /* if (new_fn->minor_hash > fname->minor_hash) */ in ext4_htree_store_dirent()
443 ext4_htree_store_dirent(struct file *dir_file, __u32 hash, __u32 minor_hash, struct ext4_dir_entry_2 *dirent, struct fscrypt_str *ent_name) ext4_htree_store_dirent() argument
[all...]
H A Dhash.c204 __u32 minor_hash = 0; in __ext4fs_dirhash() local
245 minor_hash = buf[2]; in __ext4fs_dirhash()
260 minor_hash = buf[1]; in __ext4fs_dirhash()
270 hinfo->minor_hash = minor_hash; in __ext4fs_dirhash()
H A Dext4.h2334 u32 minor_hash; member
2609 dst->hinfo.minor_hash = src->minor_hash; in ext4_fname_from_fscrypt_name()
2711 __u32 minor_hash,
H A Dnamei.c1079 (hinfo->minor_hash < start_minor_hash))) in htree_dirblock_to_tree()
1087 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1096 hinfo->minor_hash, &de_name, in htree_dirblock_to_tree()
1103 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1167 hinfo.minor_hash = 0; in ext4_htree_fill_tree()
H A Dinline.c1440 (hinfo->minor_hash < start_minor_hash))) in ext4_inlinedir_to_tree()
1447 hinfo->minor_hash, de, &tmp_str); in ext4_inlinedir_to_tree()
/kernel/linux/linux-6.6/fs/ext4/
H A Ddir.c405 __u32 minor_hash; member
460 __u32 minor_hash, in ext4_htree_store_dirent()
478 new_fn->minor_hash = minor_hash; in ext4_htree_store_dirent()
493 (new_fn->minor_hash == fname->minor_hash)) { in ext4_htree_store_dirent()
503 else if (new_fn->minor_hash < fname->minor_hash) in ext4_htree_store_dirent()
505 else /* if (new_fn->minor_hash > fname->minor_hash) */ in ext4_htree_store_dirent()
459 ext4_htree_store_dirent(struct file *dir_file, __u32 hash, __u32 minor_hash, struct ext4_dir_entry_2 *dirent, struct fscrypt_str *ent_name) ext4_htree_store_dirent() argument
[all...]
H A Dhash.c204 __u32 minor_hash = 0; in __ext4fs_dirhash() local
245 minor_hash = buf[2]; in __ext4fs_dirhash()
260 minor_hash = buf[1]; in __ext4fs_dirhash()
275 minor_hash = (__u32)combined_hash; in __ext4fs_dirhash()
280 hinfo->minor_hash = 0; in __ext4fs_dirhash()
290 hinfo->minor_hash = minor_hash; in __ext4fs_dirhash()
H A Dcrypto.c18 dst->hinfo.minor_hash = src->minor_hash; in ext4_fname_from_fscrypt_name()
H A Dnamei.c1118 hinfo->minor_hash = EXT4_DIRENT_MINOR_HASH(de); in htree_dirblock_to_tree()
1121 hinfo->minor_hash = 0; in htree_dirblock_to_tree()
1133 (hinfo->minor_hash < start_minor_hash))) in htree_dirblock_to_tree()
1141 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1150 hinfo->minor_hash, &de_name, in htree_dirblock_to_tree()
1157 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1225 hinfo.minor_hash = 0; in ext4_htree_fill_tree()
1510 fname->hinfo.minor_hash != in ext4_match()
2157 EXT4_DIRENT_HASHES(de)->minor_hash = in ext4_insert_dentry()
2158 cpu_to_le32(hinfo->minor_hash); in ext4_insert_dentry()
[all...]
H A Dinline.c1412 hinfo->minor_hash = EXT4_DIRENT_MINOR_HASH(de); in ext4_inlinedir_to_tree()
1418 (hinfo->minor_hash < start_minor_hash))) in ext4_inlinedir_to_tree()
1425 hinfo->minor_hash, de, &tmp_str); in ext4_inlinedir_to_tree()
H A Dext4.h2301 __le32 minor_hash; member
2327 le32_to_cpu(EXT4_DIRENT_HASHES(de)->minor_hash)
2474 u32 minor_hash; member
2800 __u32 minor_hash,
/kernel/linux/linux-5.10/fs/ocfs2/
H A Ddir.h17 u32 minor_hash; member
H A Docfs2_trace.h2050 unsigned int major_hash, unsigned int minor_hash,
2052 TP_ARGS(ino, namelen, name, major_hash, minor_hash, blkno),
2058 __field(unsigned int,minor_hash)
2066 __entry->minor_hash = minor_hash;
2071 __entry->major_hash, __entry->minor_hash, __entry->blkno)
2123 unsigned int major_hash, unsigned int minor_hash,
2125 TP_ARGS(dir, major_hash, minor_hash, namelen, name, num_used),
2129 __field(unsigned int, minor_hash)
2137 __entry->minor_hash
[all...]
H A Ddir.c292 hinfo->minor_hash = buf[1]; in ocfs2_dx_dir_name_hash()
839 u32 minor_hash) in __ocfs2_dx_dir_hash_idx()
841 return minor_hash & osb->osb_dx_mask; in __ocfs2_dx_dir_hash_idx()
847 return __ocfs2_dx_dir_hash_idx(osb, hinfo->minor_hash); in ocfs2_dx_dir_hash_idx()
930 hinfo->minor_hash, (unsigned long long)phys); in ocfs2_dx_dir_search()
955 || hinfo->minor_hash != le32_to_cpu(dx_entry->dx_minor_hash)) in ocfs2_dx_dir_search()
1456 dx_entry->dx_minor_hash = cpu_to_le32(hinfo->minor_hash); in ocfs2_dx_entry_list_insert()
2669 hinfo.major_hash, hinfo.minor_hash, in ocfs2_dx_dir_index_root_block()
3638 * of minor_hash, we can optimize - an item at block offset X within
838 __ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb, u32 minor_hash) __ocfs2_dx_dir_hash_idx() argument
/kernel/linux/linux-6.6/fs/ocfs2/
H A Ddir.h15 u32 minor_hash; member
H A Docfs2_trace.h2051 unsigned int major_hash, unsigned int minor_hash,
2053 TP_ARGS(ino, namelen, name, major_hash, minor_hash, blkno),
2059 __field(unsigned int,minor_hash)
2067 __entry->minor_hash = minor_hash;
2072 __entry->major_hash, __entry->minor_hash, __entry->blkno)
2124 unsigned int major_hash, unsigned int minor_hash,
2126 TP_ARGS(dir, major_hash, minor_hash, namelen, name, num_used),
2130 __field(unsigned int, minor_hash)
2138 __entry->minor_hash
[all...]
H A Ddir.c290 hinfo->minor_hash = buf[1]; in ocfs2_dx_dir_name_hash()
831 u32 minor_hash) in __ocfs2_dx_dir_hash_idx()
833 return minor_hash & osb->osb_dx_mask; in __ocfs2_dx_dir_hash_idx()
839 return __ocfs2_dx_dir_hash_idx(osb, hinfo->minor_hash); in ocfs2_dx_dir_hash_idx()
922 hinfo->minor_hash, (unsigned long long)phys); in ocfs2_dx_dir_search()
947 || hinfo->minor_hash != le32_to_cpu(dx_entry->dx_minor_hash)) in ocfs2_dx_dir_search()
1448 dx_entry->dx_minor_hash = cpu_to_le32(hinfo->minor_hash); in ocfs2_dx_entry_list_insert()
2658 hinfo.major_hash, hinfo.minor_hash, in ocfs2_dx_dir_index_root_block()
3624 * of minor_hash, we can optimize - an item at block offset X within
830 __ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb, u32 minor_hash) __ocfs2_dx_dir_hash_idx() argument
/kernel/linux/linux-5.10/fs/crypto/
H A Dfname.c302 * @minor_hash: second part of the name's dirhash, if applicable
316 u32 hash, u32 minor_hash, in fscrypt_fname_disk_to_usr()
348 nokey_name.dirhash[1] = minor_hash; in fscrypt_fname_disk_to_usr()
453 fname->minor_hash = nokey_name->dirhash[1]; in fscrypt_setup_filename()
315 fscrypt_fname_disk_to_usr(const struct inode *inode, u32 hash, u32 minor_hash, const struct fscrypt_str *iname, struct fscrypt_str *oname) fscrypt_fname_disk_to_usr() argument
/kernel/linux/linux-5.10/include/linux/
H A Dfscrypt.h36 u32 minor_hash; member
223 u32 hash, u32 minor_hash,
470 u32 hash, u32 minor_hash, in fscrypt_fname_disk_to_usr()
469 fscrypt_fname_disk_to_usr(const struct inode *inode, u32 hash, u32 minor_hash, const struct fscrypt_str *iname, struct fscrypt_str *oname) fscrypt_fname_disk_to_usr() argument
/kernel/linux/linux-6.6/fs/crypto/
H A Dfname.c356 * @minor_hash: second part of the name's dirhash, if applicable
370 u32 hash, u32 minor_hash, in fscrypt_fname_disk_to_usr()
402 nokey_name.dirhash[1] = minor_hash; in fscrypt_fname_disk_to_usr()
507 fname->minor_hash = nokey_name->dirhash[1]; in fscrypt_setup_filename()
369 fscrypt_fname_disk_to_usr(const struct inode *inode, u32 hash, u32 minor_hash, const struct fscrypt_str *iname, struct fscrypt_str *oname) fscrypt_fname_disk_to_usr() argument
/kernel/linux/linux-6.6/include/linux/
H A Dfscrypt.h47 u32 minor_hash; member
350 u32 hash, u32 minor_hash,
626 u32 hash, u32 minor_hash, in fscrypt_fname_disk_to_usr()
625 fscrypt_fname_disk_to_usr(const struct inode *inode, u32 hash, u32 minor_hash, const struct fscrypt_str *iname, struct fscrypt_str *oname) fscrypt_fname_disk_to_usr() argument
/kernel/linux/linux-5.10/fs/ubifs/
H A Djournal.c651 err = ubifs_tnc_remove_dh(c, &dent_key, nm->minor_hash); in ubifs_jnl_update()
H A Ddir.c226 err = ubifs_tnc_lookup_dh(c, &key, dent, nm.minor_hash); in ubifs_lookup()
/kernel/linux/linux-6.6/fs/ubifs/
H A Djournal.c651 err = ubifs_tnc_remove_dh(c, &dent_key, nm->minor_hash); in ubifs_jnl_update()
H A Ddir.c229 err = ubifs_tnc_lookup_dh(c, &key, dent, nm.minor_hash); in ubifs_lookup()

Completed in 58 milliseconds