Lines Matching defs:file
20 bool hmdfs_is_share_file(struct file *file)
22 struct file *cur_file = file;
44 fput(item->file);
79 struct file *file, char *cid)
107 new_item->file = file;
108 get_file(file);
127 void update_share_item(struct hmdfs_share_item *item, struct file *file,
130 /* if not the same file, we need to update struct file */
131 if (!hmdfs_is_dst_path(&file->f_path, &item->file->f_path)) {
132 fput(item->file);
133 get_file(file);
134 item->file = file;
187 path_get(&item->file->f_path);
188 *src_path = item->file->f_path;
228 void hmdfs_close_share_item(struct hmdfs_sb_info *sbi, struct file *file,
235 path_name = hmdfs_get_dentry_relative_path(file->f_path.dentry);