Home
last modified time | relevance | path

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

/fs/overlayfs/
Dnamei.c350 struct dentry *origin = NULL; in ovl_check_origin_fh() local
362 origin = ovl_decode_real_fh(ofs, fh, ofs->layers[i].mnt, in ovl_check_origin_fh()
364 if (origin) in ovl_check_origin_fh()
368 if (!origin) in ovl_check_origin_fh()
370 else if (IS_ERR(origin)) in ovl_check_origin_fh()
371 return PTR_ERR(origin); in ovl_check_origin_fh()
374 inode_wrong_type(d_inode(upperdentry), d_inode(origin)->i_mode)) in ovl_check_origin_fh()
380 dput(origin); in ovl_check_origin_fh()
384 .dentry = origin, in ovl_check_origin_fh()
393 d_inode(origin)->i_mode & S_IFMT); in ovl_check_origin_fh()
[all …]
Dexport.c698 struct ovl_path origin = { }; in ovl_lower_fh_to_d() local
699 struct ovl_path *stack = &origin; in ovl_lower_fh_to_d()
710 if (!d_is_dir(origin.dentry) || in ovl_lower_fh_to_d()
711 !(origin.dentry->d_flags & DCACHE_DISCONNECTED)) { in ovl_lower_fh_to_d()
712 inode = ovl_lookup_inode(sb, origin.dentry, false); in ovl_lower_fh_to_d()
748 if (d_is_dir(origin.dentry)) { in ovl_lower_fh_to_d()
749 dput(origin.dentry); in ovl_lower_fh_to_d()
750 origin.dentry = NULL; in ovl_lower_fh_to_d()
756 err = ovl_verify_origin(ofs, index, origin.dentry, false); in ovl_lower_fh_to_d()
762 dentry = ovl_get_dentry(sb, NULL, &origin, index); in ovl_lower_fh_to_d()
[all …]
Doverlayfs.h442 int ovl_get_index_name(struct ovl_fs *ofs, struct dentry *origin,
446 struct dentry *origin, bool verify);
453 struct dentry *origin, bool set) in ovl_verify_origin() argument
455 return ovl_verify_set_fh(ofs, upper, OVL_XATTR_ORIGIN, origin, in ovl_verify_origin()
Dcopy_up.c447 static int ovl_create_index(struct dentry *dentry, struct dentry *origin, in ovl_create_index() argument
473 err = ovl_get_index_name(ofs, origin, &name); in ovl_create_index()
512 bool origin; member
604 if (c->origin) { in ovl_copy_up_inode()
802 c->origin = true; in ovl_do_copy_up()
Dreaddir.c796 static loff_t ovl_dir_llseek(struct file *file, loff_t offset, int origin) in ovl_dir_llseek() argument
806 res = vfs_llseek(od->realfile, offset, origin); in ovl_dir_llseek()
811 switch (origin) { in ovl_dir_llseek()
Ddir.c568 struct ovl_cattr *attr, bool origin) in ovl_create_or_link() argument
585 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.c480 static loff_t orangefs_file_llseek(struct file *file, loff_t offset, int origin) in orangefs_file_llseek() argument
485 if (origin == SEEK_END) { in orangefs_file_llseek()
509 origin, in orangefs_file_llseek()
512 return generic_file_llseek(file, offset, origin); in orangefs_file_llseek()
/fs/9p/
Dvfs_file.c398 loff_t origin; in v9fs_file_write_iter() local
405 origin = iocb->ki_pos; in v9fs_file_write_iter()
412 pg_start = origin >> PAGE_SHIFT; in v9fs_file_write_iter()
413 pg_end = (origin + retval - 1) >> PAGE_SHIFT; in v9fs_file_write_iter()
/fs/ocfs2/
Dextent_map.h44 int ocfs2_seek_data_hole_offset(struct file *file, loff_t *offset, int origin);
/fs/configfs/
Ddir.c1034 static int configfs_depend_prep(struct dentry *origin, in configfs_depend_prep() argument
1040 BUG_ON(!origin || !origin->d_fsdata); in configfs_depend_prep()
1041 sd = origin->d_fsdata; in configfs_depend_prep()
/fs/ntfs/
Dlayout.h1126 } __attribute__ ((__packed__)) origin; member
1150 } __attribute__ ((__packed__)) origin; member
/fs/ext4/
Dext4.h3559 extern loff_t ext4_llseek(struct file *file, loff_t offset, int origin);