Home
last modified time | relevance | path

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

/fs/crypto/
Dfname.c537 const u8 *de_name, u32 de_name_len) in fscrypt_match_name() argument
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()
/fs/f2fs/
Ddir.c187 const u8 *de_name, u32 de_name_len) in f2fs_match_ci_name() argument
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() argument
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()
/fs/gfs2/
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()
Ddir.h73 dent->de_name_len = cpu_to_be16(name->len); in gfs2_qstr2dirent()
/fs/ext4/
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()