Lines Matching refs:fname
97 void f2fs_hash_filename(const struct inode *dir, struct f2fs_filename *fname) in f2fs_hash_filename() argument
99 const u8 *name = fname->disk_name.name; in f2fs_hash_filename()
100 size_t len = fname->disk_name.len; in f2fs_hash_filename()
105 fname->hash = 0; in f2fs_hash_filename()
120 WARN_ON_ONCE(!fname->usr_fname->name); in f2fs_hash_filename()
121 if (fname->cf_name.name) { in f2fs_hash_filename()
122 name = fname->cf_name.name; in f2fs_hash_filename()
123 len = fname->cf_name.len; in f2fs_hash_filename()
125 name = fname->usr_fname->name; in f2fs_hash_filename()
126 len = fname->usr_fname->len; in f2fs_hash_filename()
131 fname->hash = in f2fs_hash_filename()
137 fname->hash = cpu_to_le32(TEA_hash_name(name, len)); in f2fs_hash_filename()