| /linux/fs/overlayfs/ |
| H A D | ovl_entry.h | 58 struct ovl_fs { struct 98 static inline unsigned int ovl_numlowerlayer(struct ovl_fs *ofs) in ovl_numlowerlayer() argument 103 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt() 108 static inline struct mnt_idmap *ovl_upper_mnt_idmap(struct ovl_fs *ofs) in ovl_upper_mnt_idmap() 115 static inline struct ovl_fs *OVL_FS(struct super_block *sb) in OVL_FS() 120 return (struct ovl_fs *)sb->s_fs_info; in OVL_FS() 123 static inline bool ovl_should_sync(struct ovl_fs *ofs) in ovl_should_sync()
|
| H A D | util.c | 24 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_get_write_access() 31 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_start_write() 37 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_want_write() 43 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_put_write_access() 49 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_end_write() 55 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_drop_write() 61 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_workdir() 67 struct ovl_fs *ofs = OVL_FS(sb); in ovl_override_creds() 93 struct ovl_fs *ofs = OVL_FS(sb); in ovl_indexdir() 101 struct ovl_fs *ofs = OVL_FS(sb); in ovl_index_all() [all …]
|
| H A D | super.c | 227 struct ovl_fs *ofs = OVL_FS(sb); in ovl_put_super() 236 struct ovl_fs *ofs = OVL_FS(sb); in ovl_sync_fs() 279 struct ovl_fs *ofs = OVL_FS(sb); in ovl_statfs() 311 static struct dentry *ovl_workdir_create(struct ovl_fs *ofs, in ovl_workdir_create() 397 static int ovl_check_namelen(const struct path *path, struct ovl_fs *ofs, in ovl_check_namelen() 412 struct ovl_fs *ofs, int *stack_depth) in ovl_lower_dir() 492 static int ovl_report_in_use(struct ovl_fs *ofs, const char *name) in ovl_report_in_use() 505 static int ovl_get_upper(struct super_block *sb, struct ovl_fs *ofs, in ovl_get_upper() 570 static int ovl_check_rename_whiteout(struct ovl_fs *ofs) in ovl_check_rename_whiteout() 627 static struct dentry *ovl_lookup_or_create(struct ovl_fs *ofs, in ovl_lookup_or_create() [all …]
|
| H A D | namei.c | 40 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() 117 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_get_fh() 162 bool ovl_uuid_match(struct ovl_fs *ofs, const struct super_block *sb, in ovl_uuid_match() 174 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh, in ovl_decode_real_fh() 238 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_lookup_single() 433 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup_data_layers() 453 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, in ovl_check_origin_fh() 504 static int ovl_check_origin(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_check_origin() 529 static int ovl_verify_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_fh() 548 int ovl_verify_set_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_set_fh() [all …]
|
| H A D | copy_up.c | 46 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() 524 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_index() [all …]
|
| H A D | dir.c | 27 static int ovl_cleanup_locked(struct ovl_fs *ofs, struct inode *wdir, in ovl_cleanup_locked() 47 int ovl_cleanup(struct ovl_fs *ofs, struct dentry *workdir, in ovl_cleanup() 68 static struct dentry *ovl_start_creating_temp(struct ovl_fs *ofs, in ovl_start_creating_temp() 78 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout() 122 int ovl_cleanup_and_whiteout(struct ovl_fs *ofs, struct dentry *dir, in ovl_cleanup_and_whiteout() 161 struct dentry *ovl_create_real(struct ovl_fs *ofs, struct dentry *parent, in ovl_create_real() 246 struct dentry *ovl_create_temp(struct ovl_fs *ofs, struct dentry *workdir, in ovl_create_temp() 260 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_opaque_xerr() 350 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_upper() 387 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_clear_empty() [all …]
|
| H A D | params.h | 6 struct ovl_fs; 40 void ovl_free_fs(struct ovl_fs *ofs);
|
| H A D | params.c | 281 struct ovl_fs *ofs = fc->s_fs_info; in ovl_mount_dir_check() 348 struct ovl_fs *ofs = fc->s_fs_info; in ovl_add_layer() 597 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param() 722 struct ovl_fs *ofs = fc->s_fs_info; in ovl_free() 741 struct ovl_fs *ofs = OVL_FS(sb); in ovl_reconfigure() 778 struct ovl_fs *ofs; in ovl_init_fs_context() 793 ofs = kzalloc_obj(struct ovl_fs); in ovl_init_fs_context() 817 void ovl_free_fs(struct ovl_fs *ofs) in ovl_free_fs() 1029 struct ovl_fs *ofs = OVL_FS(sb); in ovl_show_options()
|
| H A D | readdir.c | 316 struct ovl_fs *ofs = OVL_FS(rdd->dentry->d_sb); in ovl_fill_merge() 438 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_dir_read_merged() 555 struct ovl_fs *ofs = OVL_FS(dir->d_sb); in ovl_cache_update() 698 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cache_get_impure() 798 struct ovl_fs *ofs = OVL_FS(dir->d_sb); in ovl_iterate_real() 878 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_need_adjust_d_ino() 1114 void ovl_cleanup_whiteouts(struct ovl_fs *ofs, struct dentry *upper, in ovl_cleanup_whiteouts() 1177 static int ovl_workdir_cleanup_recurse(struct ovl_fs *ofs, const struct path *path, in ovl_workdir_cleanup_recurse() 1232 int ovl_workdir_cleanup(struct ovl_fs *ofs, struct dentry *parent, in ovl_workdir_cleanup() 1256 int ovl_indexdir_cleanup(struct ovl_fs *ofs) in ovl_indexdir_cleanup()
|