Home
last modified time | relevance | path

Searched refs:ovl_fs (Results 1 – 10 of 10) sorted by relevance

/linux/fs/overlayfs/
H A Doverlayfs.h182 static inline const char *ovl_xattr(struct ovl_fs *ofs, enum ovl_xattr ox) in ovl_xattr()
199 static inline int ovl_do_notify_change(struct ovl_fs *ofs, in ovl_do_notify_change()
206 static inline int ovl_do_rmdir(struct ovl_fs *ofs, in ovl_do_rmdir()
215 static inline int ovl_do_unlink(struct ovl_fs *ofs, struct inode *dir, in ovl_do_unlink()
224 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentry, in ovl_do_link()
234 static inline int ovl_do_create(struct ovl_fs *ofs, in ovl_do_create()
244 static inline int ovl_do_mkdir(struct ovl_fs *ofs, in ovl_do_mkdir()
253 static inline int ovl_do_mknod(struct ovl_fs *ofs, in ovl_do_mknod()
263 static inline int ovl_do_symlink(struct ovl_fs *ofs, in ovl_do_symlink()
289 static inline ssize_t ovl_getxattr_upper(struct ovl_fs *ofs, in ovl_getxattr_upper()
[all …]
H A Dovl_entry.h58 struct ovl_fs { struct
96 static inline unsigned int ovl_numlowerlayer(struct ovl_fs *ofs) in ovl_numlowerlayer() argument
101 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt()
106 static inline struct mnt_idmap *ovl_upper_mnt_idmap(struct ovl_fs *ofs) in ovl_upper_mnt_idmap()
113 static inline struct ovl_fs *OVL_FS(struct super_block *sb) in OVL_FS()
118 return (struct ovl_fs *)sb->s_fs_info; in OVL_FS()
121 static inline bool ovl_should_sync(struct ovl_fs *ofs) in ovl_should_sync()
H A Dutil.c23 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_get_write_access()
30 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_start_write()
36 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_want_write()
42 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_put_write_access()
48 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_end_write()
54 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_drop_write()
60 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_workdir()
66 struct ovl_fs *ofs = OVL_FS(sb); in ovl_override_creds()
97 struct ovl_fs *ofs = OVL_FS(sb); in ovl_indexdir()
105 struct ovl_fs *ofs = OVL_FS(sb); in ovl_index_all()
[all …]
H A Dsuper.c209 struct ovl_fs *ofs = OVL_FS(sb); in ovl_put_super()
218 struct ovl_fs *ofs = OVL_FS(sb); in ovl_sync_fs()
261 struct ovl_fs *ofs = OVL_FS(sb); in ovl_statfs()
293 static struct dentry *ovl_workdir_create(struct ovl_fs *ofs, in ovl_workdir_create()
383 static int ovl_check_namelen(const struct path *path, struct ovl_fs *ofs, in ovl_check_namelen()
398 struct ovl_fs *ofs, int *stack_depth) in ovl_lower_dir()
478 static int ovl_report_in_use(struct ovl_fs *ofs, const char *name) in ovl_report_in_use()
491 static int ovl_get_upper(struct super_block *sb, struct ovl_fs *ofs, in ovl_get_upper()
556 static int ovl_check_rename_whiteout(struct ovl_fs *ofs) in ovl_check_rename_whiteout()
613 static struct dentry *ovl_lookup_or_create(struct ovl_fs *ofs, in ovl_lookup_or_create()
[all …]
H A Dnamei.c37 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect()
114 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_get_fh()
159 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh, in ovl_decode_real_fh()
230 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_lookup_single()
399 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup_data_layers()
419 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, in ovl_check_origin_fh()
470 static int ovl_check_origin(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_check_origin()
495 static int ovl_verify_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_fh()
514 int ovl_verify_set_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_set_fh()
535 int ovl_verify_origin_xattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_origin_xattr()
[all …]
H A Dcopy_up.c46 static int ovl_copy_acl(struct ovl_fs *ofs, const struct path *path, in ovl_copy_acl()
260 static int ovl_copy_up_file(struct ovl_fs *ofs, struct dentry *dentry, in ovl_copy_up_file()
368 static int ovl_set_size(struct ovl_fs *ofs, in ovl_set_size()
379 static int ovl_set_timestamps(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_timestamps()
392 int ovl_set_attr(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_attr()
418 struct ovl_fh *ovl_encode_real_fh(struct ovl_fs *ofs, struct inode *realinode, in ovl_encode_real_fh()
473 struct ovl_fh *ovl_get_origin_fh(struct ovl_fs *ofs, struct dentry *origin) in ovl_get_origin_fh()
486 int ovl_set_origin_fh(struct ovl_fs *ofs, const struct ovl_fh *fh, in ovl_set_origin_fh()
502 static int ovl_set_upper_fh(struct ovl_fs *ofs, struct dentry *upper, in ovl_set_upper_fh()
526 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_index()
[all …]
H A Dparams.h6 struct ovl_fs;
39 void ovl_free_fs(struct ovl_fs *ofs);
H A Ddir.c27 int ovl_cleanup(struct ovl_fs *ofs, struct inode *wdir, struct dentry *wdentry) in ovl_cleanup()
46 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir) in ovl_lookup_temp()
66 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout()
110 int ovl_cleanup_and_whiteout(struct ovl_fs *ofs, struct inode *dir, in ovl_cleanup_and_whiteout()
141 int ovl_mkdir_real(struct ovl_fs *ofs, struct inode *dir, in ovl_mkdir_real()
172 struct dentry *ovl_create_real(struct ovl_fs *ofs, struct inode *dir, in ovl_create_real()
228 struct dentry *ovl_create_temp(struct ovl_fs *ofs, struct dentry *workdir, in ovl_create_temp()
238 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_opaque_xerr()
327 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_upper()
365 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_clear_empty()
[all …]
H A Dexport.c181 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_check_encode_origin()
234 static int ovl_dentry_to_fid(struct ovl_fs *ofs, struct inode *inode, in ovl_dentry_to_fid()
273 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_encode_fh()
430 struct ovl_fs *ofs = OVL_FS(sb); in ovl_lookup_real_inode()
651 struct ovl_fs *ofs = OVL_FS(sb); in ovl_get_dentry()
676 struct ovl_fs *ofs = OVL_FS(sb); in ovl_upper_fh_to_d()
696 struct ovl_fs *ofs = OVL_FS(sb); in ovl_lower_fh_to_d()
H A Dparams.c339 struct ovl_fs *ofs = fc->s_fs_info; in ovl_add_layer()
588 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param()
690 struct ovl_fs *ofs = fc->s_fs_info; in ovl_free()
709 struct ovl_fs *ofs = OVL_FS(sb); in ovl_reconfigure()
746 struct ovl_fs *ofs; in ovl_init_fs_context()
761 ofs = kzalloc(sizeof(struct ovl_fs), GFP_KERNEL); in ovl_init_fs_context()
783 void ovl_free_fs(struct ovl_fs *ofs) in ovl_free_fs()
1022 struct ovl_fs *ofs = OVL_FS(sb); in ovl_show_options()