Home
last modified time | relevance | path

Searched refs:de_name_len (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/fs/crypto/
H A Dfname.c531 const u8 *de_name, u32 de_name_len) in fscrypt_match_name() argument
538 if (de_name_len != fname->disk_name.len) in fscrypt_match_name()
540 return !memcmp(de_name, fname->disk_name.name, de_name_len); in fscrypt_match_name()
542 if (de_name_len <= sizeof(nokey_name->bytes)) in fscrypt_match_name()
547 de_name_len - sizeof(nokey_name->bytes), digest); in fscrypt_match_name()
/openbmc/linux/fs/f2fs/
H A Ddir.c189 const u8 *de_name, u32 de_name_len) in f2fs_match_ci_name() argument
193 struct fscrypt_str decrypted_name = FSTR_INIT(NULL, de_name_len); in f2fs_match_ci_name()
194 struct qstr entry = QSTR_INIT(de_name, de_name_len); in f2fs_match_ci_name()
199 FSTR_INIT((u8 *)de_name, de_name_len); in f2fs_match_ci_name()
204 decrypted_name.name = kmalloc(de_name_len, GFP_KERNEL); in f2fs_match_ci_name()
235 const u8 *de_name, u32 de_name_len) in f2fs_match_name() argument
243 return f2fs_match_ci_name(dir, &cf, de_name, de_name_len); in f2fs_match_name()
251 return fscrypt_match_name(&f, de_name, de_name_len); in f2fs_match_name()
/openbmc/linux/fs/gfs2/
H A Ddir.h73 dent->de_name_len = cpu_to_be16(name->len); in gfs2_qstr2dirent()
H A Ddir.c406 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()
/openbmc/linux/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() argument
637 if (de_name_len != fname->disk_name.len) in fscrypt_match_name()
/openbmc/linux/include/uapi/linux/
H A Dgfs2_ondisk.h323 __be16 de_name_len; member
/openbmc/linux/fs/ext4/
H A Dnamei.c1403 u8 *de_name, size_t de_name_len, bool quick) in ext4_ci_compare() argument
1407 struct fscrypt_str decrypted_name = FSTR_INIT(NULL, de_name_len); in ext4_ci_compare()
1408 struct qstr entry = QSTR_INIT(de_name, de_name_len); in ext4_ci_compare()
1413 FSTR_INIT(de_name, de_name_len); in ext4_ci_compare()
1415 decrypted_name.name = kmalloc(de_name_len, GFP_KERNEL); in ext4_ci_compare()