Lines Matching refs:fname
323 const struct f2fs_filename *fname, in f2fs_find_in_inline_dir() argument
341 de = f2fs_find_target_dentry(&d, fname, NULL); in f2fs_find_in_inline_dir()
462 struct f2fs_filename fname; in f2fs_add_inline_entries() local
482 memset(&fname, 0, sizeof(fname)); in f2fs_add_inline_entries()
483 fname.disk_name.name = d.filename[bit_pos]; in f2fs_add_inline_entries()
484 fname.disk_name.len = le16_to_cpu(de->name_len); in f2fs_add_inline_entries()
485 fname.hash = de->hash_code; in f2fs_add_inline_entries()
490 err = f2fs_add_regular_entry(dir, &fname, NULL, ino, fake_mode); in f2fs_add_inline_entries()
567 struct f2fs_filename fname; in f2fs_try_convert_inline_dir() local
576 err = f2fs_setup_filename(dir, &dentry->d_name, 0, &fname); in f2fs_try_convert_inline_dir()
586 if (f2fs_has_enough_room(dir, ipage, &fname)) { in f2fs_try_convert_inline_dir()
597 f2fs_free_filename(&fname); in f2fs_try_convert_inline_dir()
603 int f2fs_add_inline_entry(struct inode *dir, const struct f2fs_filename *fname, in f2fs_add_inline_entry() argument
611 int slots = GET_DENTRY_SLOTS(fname->disk_name.len); in f2fs_add_inline_entry()
633 page = f2fs_init_inode_metadata(inode, dir, fname, ipage); in f2fs_add_inline_entry()
642 f2fs_update_dentry(ino, mode, &d, &fname->disk_name, fname->hash, in f2fs_add_inline_entry()