Home
last modified time | relevance | path

Searched refs:de_name_len (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/fs/crypto/
H A Dfname.c472 * @de_name_len: the length of @de_name in bytes
483 const u8 *de_name, u32 de_name_len) in fscrypt_match_name()
490 if (de_name_len != fname->disk_name.len) in fscrypt_match_name()
492 return !memcmp(de_name, fname->disk_name.name, de_name_len); in fscrypt_match_name()
494 if (de_name_len <= sizeof(nokey_name->bytes)) in fscrypt_match_name()
499 de_name_len - sizeof(nokey_name->bytes), digest); in fscrypt_match_name()
482 fscrypt_match_name(const struct fscrypt_name *fname, const u8 *de_name, u32 de_name_len) fscrypt_match_name() argument
/kernel/linux/linux-6.6/fs/crypto/
H A Dfname.c526 * @de_name_len: the length of @de_name in bytes
537 const u8 *de_name, u32 de_name_len) in fscrypt_match_name()
544 if (de_name_len != fname->disk_name.len) in fscrypt_match_name()
546 return !memcmp(de_name, fname->disk_name.name, de_name_len); in fscrypt_match_name()
548 if (de_name_len <= sizeof(nokey_name->bytes)) in fscrypt_match_name()
553 de_name_len - sizeof(nokey_name->bytes), digest); in fscrypt_match_name()
536 fscrypt_match_name(const struct fscrypt_name *fname, const u8 *de_name, u32 de_name_len) fscrypt_match_name() argument
/kernel/linux/linux-6.6/fs/f2fs/
H A Ddir.c187 const u8 *de_name, u32 de_name_len) in f2fs_match_ci_name()
191 struct fscrypt_str decrypted_name = FSTR_INIT(NULL, de_name_len); in f2fs_match_ci_name()
192 struct qstr entry = QSTR_INIT(de_name, de_name_len); in f2fs_match_ci_name()
197 FSTR_INIT((u8 *)de_name, de_name_len); in f2fs_match_ci_name()
202 decrypted_name.name = kmalloc(de_name_len, GFP_KERNEL); in f2fs_match_ci_name()
233 const u8 *de_name, u32 de_name_len) in f2fs_match_name()
241 return f2fs_match_ci_name(dir, &cf, de_name, de_name_len); in f2fs_match_name()
249 return fscrypt_match_name(&f, de_name, de_name_len); in f2fs_match_name()
186 f2fs_match_ci_name(const struct inode *dir, const struct qstr *name, const u8 *de_name, u32 de_name_len) f2fs_match_ci_name() argument
231 f2fs_match_name(const struct inode *dir, const struct f2fs_filename *fname, const u8 *de_name, u32 de_name_len) f2fs_match_name() argument
/kernel/linux/linux-5.10/include/linux/
H A Dfscrypt.h227 const u8 *de_name, u32 de_name_len);
478 const u8 *de_name, u32 de_name_len) in fscrypt_match_name()
481 if (de_name_len != fname->disk_name.len) in fscrypt_match_name()
477 fscrypt_match_name(const struct fscrypt_name *fname, const u8 *de_name, u32 de_name_len) fscrypt_match_name() argument
/kernel/linux/linux-5.10/fs/gfs2/
H A Ddir.c14 * within a single block. The field de_name_len is the number of bytes
407 be16_to_cpu(dent->de_name_len) == name->len && in __gfs2_dirent_find()
449 unsigned actual = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_dirent_find_offset()
468 unsigned actual = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_dirent_find_space()
521 unlikely(sizeof(struct gfs2_dirent)+be16_to_cpu(dent->de_name_len) > in gfs2_check_dirent()
738 offset = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_init_dirent()
1093 str.len = be16_to_cpu(dent->de_name_len); in dir_split_leaf()
1235 unsigned int len_a = be16_to_cpu(dent_a->de_name_len); in compare_dents()
1236 unsigned int len_b = be16_to_cpu(dent_b->de_name_len); in compare_dents()
1306 be16_to_cpu(dent->de_name_len), in do_filldir_main()
[all...]
H A Ddir.h73 dent->de_name_len = cpu_to_be16(name->len); in gfs2_qstr2dirent()
/kernel/linux/linux-6.6/fs/gfs2/
H A Ddir.c14 * within a single block. The field de_name_len is the number of bytes
406 be16_to_cpu(dent->de_name_len) == name->len && in __gfs2_dirent_find()
448 unsigned actual = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_dirent_find_offset()
467 unsigned actual = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_dirent_find_space()
520 unlikely(sizeof(struct gfs2_dirent)+be16_to_cpu(dent->de_name_len) > in gfs2_check_dirent()
737 offset = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_init_dirent()
1090 str.len = be16_to_cpu(dent->de_name_len); in dir_split_leaf()
1232 unsigned int len_a = be16_to_cpu(dent_a->de_name_len); in compare_dents()
1233 unsigned int len_b = be16_to_cpu(dent_b->de_name_len); in compare_dents()
1304 be16_to_cpu(dent->de_name_len), in do_filldir_main()
[all...]
H A Ddir.h73 dent->de_name_len = cpu_to_be16(name->len); in gfs2_qstr2dirent()
/kernel/linux/linux-6.6/include/linux/
H A Dfscrypt.h354 const u8 *de_name, u32 de_name_len);
634 const u8 *de_name, u32 de_name_len) in fscrypt_match_name()
637 if (de_name_len != fname->disk_name.len) in fscrypt_match_name()
633 fscrypt_match_name(const struct fscrypt_name *fname, const u8 *de_name, u32 de_name_len) fscrypt_match_name() argument
/kernel/linux/linux-5.10/fs/f2fs/
H A Ddir.c211 const u8 *de_name, u32 de_name_len) in f2fs_match_ci_name()
215 struct qstr entry = QSTR_INIT(de_name, de_name_len); in f2fs_match_ci_name()
234 const u8 *de_name, u32 de_name_len) in f2fs_match_name()
242 return f2fs_match_ci_name(dir, &cf, de_name, de_name_len); in f2fs_match_name()
250 return fscrypt_match_name(&f, de_name, de_name_len); in f2fs_match_name()
210 f2fs_match_ci_name(const struct inode *dir, const struct qstr *name, const u8 *de_name, u32 de_name_len) f2fs_match_ci_name() argument
232 f2fs_match_name(const struct inode *dir, const struct f2fs_filename *fname, const u8 *de_name, u32 de_name_len) f2fs_match_name() argument
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dgfs2_ondisk.h323 __be16 de_name_len; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dgfs2_ondisk.h323 __be16 de_name_len; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dgfs2_ondisk.h229 __be16 de_name_len; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dgfs2_ondisk.h229 __be16 de_name_len; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dgfs2_ondisk.h215 __be16 de_name_len; member
/kernel/linux/linux-6.6/fs/ext4/
H A Dnamei.c1402 u8 *de_name, size_t de_name_len, bool quick) in ext4_ci_compare()
1406 struct fscrypt_str decrypted_name = FSTR_INIT(NULL, de_name_len); in ext4_ci_compare()
1407 struct qstr entry = QSTR_INIT(de_name, de_name_len); in ext4_ci_compare()
1412 FSTR_INIT(de_name, de_name_len); in ext4_ci_compare()
1414 decrypted_name.name = kmalloc(de_name_len, GFP_KERNEL); in ext4_ci_compare()
1401 ext4_ci_compare(const struct inode *parent, const struct qstr *name, u8 *de_name, size_t de_name_len, bool quick) ext4_ci_compare() argument

Completed in 24 milliseconds