Home
last modified time | relevance | path

Searched refs:gfi (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
Dfile_local.c30 struct hmdfs_file_info *gfi = kzalloc(sizeof(*gfi), GFP_KERNEL); in hmdfs_file_open_local() local
32 if (!gfi) { in hmdfs_file_open_local()
42 kfree(gfi); in hmdfs_file_open_local()
44 gfi->lower_file = lower_file; in hmdfs_file_open_local()
45 file->private_data = gfi; in hmdfs_file_open_local()
53 struct hmdfs_file_info *gfi = hmdfs_f(file); in hmdfs_file_release_local() local
56 fput(gfi->lower_file); in hmdfs_file_release_local()
57 kfree(gfi); in hmdfs_file_release_local()
241 struct hmdfs_file_info *gfi = kzalloc(sizeof(*gfi), GFP_KERNEL); in hmdfs_dir_open_local() local
243 if (!gfi) in hmdfs_dir_open_local()
[all …]
Dfile_merge.c529 struct hmdfs_file_info *gfi = NULL; in hmdfs_file_open_merge() local
538 gfi = kzalloc(sizeof(*gfi), GFP_KERNEL); in hmdfs_file_open_merge()
539 if (!gfi) { in hmdfs_file_open_merge()
548 kfree(gfi); in hmdfs_file_open_merge()
550 gfi->lower_file = lower_file; in hmdfs_file_open_merge()
551 file->private_data = gfi; in hmdfs_file_open_merge()
561 struct hmdfs_file_info *gfi = hmdfs_f(file); in hmdfs_file_flush_merge() local
562 struct file *lower_file = gfi->lower_file; in hmdfs_file_flush_merge()
Dhmdfs_share.c24 struct hmdfs_file_info *gfi; in hmdfs_is_share_file() local
28 gfi = hmdfs_f(cur_file); in hmdfs_is_share_file()
31 if (gfi->lower_file) in hmdfs_is_share_file()
32 cur_file = gfi->lower_file; in hmdfs_is_share_file()