Home
last modified time | relevance | path

Searched refs:origin (Results 1 – 13 of 13) sorted by relevance

/fs/overlayfs/
Dnamei.c326 struct dentry *origin = NULL; in ovl_check_origin_fh() local
338 origin = ovl_decode_real_fh(fh, ofs->lower_layers[i].mnt, in ovl_check_origin_fh()
340 if (origin) in ovl_check_origin_fh()
344 if (!origin) in ovl_check_origin_fh()
346 else if (IS_ERR(origin)) in ovl_check_origin_fh()
347 return PTR_ERR(origin); in ovl_check_origin_fh()
350 ((d_inode(origin)->i_mode ^ d_inode(upperdentry)->i_mode) & S_IFMT)) in ovl_check_origin_fh()
356 dput(origin); in ovl_check_origin_fh()
360 .dentry = origin, in ovl_check_origin_fh()
369 d_inode(origin)->i_mode & S_IFMT); in ovl_check_origin_fh()
[all …]
Dexport.c704 struct ovl_path origin = { }; in ovl_lower_fh_to_d() local
705 struct ovl_path *stack = &origin; in ovl_lower_fh_to_d()
716 if (!d_is_dir(origin.dentry) || in ovl_lower_fh_to_d()
717 !(origin.dentry->d_flags & DCACHE_DISCONNECTED)) { in ovl_lower_fh_to_d()
718 inode = ovl_lookup_inode(sb, origin.dentry, false); in ovl_lower_fh_to_d()
754 if (d_is_dir(origin.dentry)) { in ovl_lower_fh_to_d()
755 dput(origin.dentry); in ovl_lower_fh_to_d()
756 origin.dentry = NULL; in ovl_lower_fh_to_d()
762 err = ovl_verify_origin(index, origin.dentry, false); in ovl_lower_fh_to_d()
768 dentry = ovl_get_dentry(sb, NULL, &origin, index); in ovl_lower_fh_to_d()
[all …]
Doverlayfs.h323 int ovl_get_index_name(struct dentry *origin, struct qstr *name);
326 struct dentry *origin, bool verify);
333 struct dentry *origin, bool set) in ovl_verify_origin() argument
335 return ovl_verify_set_fh(upper, OVL_XATTR_ORIGIN, origin, false, set); in ovl_verify_origin()
Dcopy_up.c331 static int ovl_create_index(struct dentry *dentry, struct dentry *origin, in ovl_create_index() argument
356 err = ovl_get_index_name(origin, &name); in ovl_create_index()
395 bool origin; member
472 if (c->origin) { in ovl_copy_up_inode()
669 c->origin = true; in ovl_do_copy_up()
Dreaddir.c777 static loff_t ovl_dir_llseek(struct file *file, loff_t offset, int origin) in ovl_dir_llseek() argument
787 res = vfs_llseek(od->realfile, offset, origin); in ovl_dir_llseek()
792 switch (origin) { in ovl_dir_llseek()
Ddir.c536 struct ovl_cattr *attr, bool origin) in ovl_create_or_link() argument
553 if (origin) { in ovl_create_or_link()
/fs/
Dpnode.c150 struct mount *origin) in propagation_next() argument
159 if (master == origin->mnt_master) { in propagation_next()
161 return (next == origin) ? NULL : next; in propagation_next()
171 struct mount *origin) in skip_propagation_subtree() argument
183 static struct mount *next_group(struct mount *m, struct mount *origin) in next_group() argument
191 if (m->mnt_group_id == origin->mnt_group_id) { in next_group()
192 if (next == origin) in next_group()
204 if (master->mnt_group_id == origin->mnt_group_id) in next_group()
210 if (m == origin) in next_group()
/fs/orangefs/
Dfile.c563 static loff_t orangefs_file_llseek(struct file *file, loff_t offset, int origin) in orangefs_file_llseek() argument
568 if (origin == SEEK_END) { in orangefs_file_llseek()
592 origin, in orangefs_file_llseek()
595 return generic_file_llseek(file, offset, origin); in orangefs_file_llseek()
/fs/9p/
Dvfs_file.c412 loff_t origin; in v9fs_file_write_iter() local
419 origin = iocb->ki_pos; in v9fs_file_write_iter()
425 pg_start = origin >> PAGE_SHIFT; in v9fs_file_write_iter()
426 pg_end = (origin + retval - 1) >> PAGE_SHIFT; in v9fs_file_write_iter()
/fs/ocfs2/
Dextent_map.h46 int ocfs2_seek_data_hole_offset(struct file *file, loff_t *offset, int origin);
/fs/configfs/
Ddir.c1050 static int configfs_depend_prep(struct dentry *origin, in configfs_depend_prep() argument
1056 BUG_ON(!origin || !origin->d_fsdata); in configfs_depend_prep()
1057 sd = origin->d_fsdata; in configfs_depend_prep()
/fs/ntfs/
Dlayout.h1126 } __attribute__ ((__packed__)) origin; member
1150 } __attribute__ ((__packed__)) origin; member
/fs/ext4/
Dext4.h3107 extern loff_t ext4_llseek(struct file *file, loff_t offset, int origin);