| /linux/fs/overlayfs/ |
| H A D | overlayfs.h | 188 static inline const char *ovl_xattr(struct ovl_fs *ofs, enum ovl_xattr ox) in ovl_xattr() 205 static inline int ovl_do_notify_change(struct ovl_fs *ofs, in ovl_do_notify_change() 212 static inline int ovl_do_rmdir(struct ovl_fs *ofs, in ovl_do_rmdir() 221 static inline int ovl_do_unlink(struct ovl_fs *ofs, struct inode *dir, in ovl_do_unlink() 230 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentry, in ovl_do_link() 240 static inline int ovl_do_create(struct ovl_fs *ofs, in ovl_do_create() 250 static inline struct dentry *ovl_do_mkdir(struct ovl_fs *ofs, in ovl_do_mkdir() 262 static inline int ovl_do_mknod(struct ovl_fs *ofs, in ovl_do_mknod() 272 static inline int ovl_do_symlink(struct ovl_fs *ofs, in ovl_do_symlink() 298 static inline ssize_t ovl_getxattr_upper(struct ovl_fs *ofs, in ovl_getxattr_upper() [all …]
|
| 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() 96 struct ovl_fs *ofs = OVL_FS(sb); in ovl_indexdir() 104 struct ovl_fs *ofs = OVL_FS(sb); in ovl_index_all() [all …]
|
| 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()
|
| 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 | xattrs.c | 9 struct ovl_fs *ofs = sb->s_fs_info; in ovl_is_escaped_xattr() 21 struct ovl_fs *ofs = OVL_FS(sb); in ovl_is_own_xattr() 40 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_xattr_set() 108 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_listxattr() 257 const struct xattr_handler * const *ovl_xattr_handlers(struct ovl_fs *ofs) in ovl_xattr_handlers()
|
| 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 | export.c | 181 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() 428 struct ovl_fs *ofs = OVL_FS(sb); in ovl_lookup_real_inode() 649 struct ovl_fs *ofs = OVL_FS(sb); in ovl_get_dentry() 674 struct ovl_fs *ofs = OVL_FS(sb); in ovl_upper_fh_to_d() 694 struct ovl_fs *ofs = OVL_FS(sb); in ovl_lower_fh_to_d()
|
| H A D | params.c | 300 struct ovl_fs *ofs = fc->s_fs_info; in ovl_mount_dir_check() 367 struct ovl_fs *ofs = fc->s_fs_info; in ovl_add_layer() 616 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param() 744 struct ovl_fs *ofs = fc->s_fs_info; in ovl_free() 763 struct ovl_fs *ofs = OVL_FS(sb); in ovl_reconfigure() 800 struct ovl_fs *ofs; in ovl_init_fs_context() 815 ofs = kzalloc_obj(struct ovl_fs); in ovl_init_fs_context() 840 void ovl_free_fs(struct ovl_fs *ofs) in ovl_free_fs() 1052 struct ovl_fs *ofs = OVL_FS(sb); in ovl_show_options()
|
| H A D | inode.c | 25 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_setattr() 97 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_map_dev_ino() 475 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_or_remove_acl() 562 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_update_time() 828 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_next_ino() 837 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_map_ino() 985 unsigned int ovl_get_nlink(struct ovl_fs *ofs, struct dentry *lowerdentry, in ovl_get_nlink() 1157 struct ovl_fs *ofs = OVL_FS(sb); in ovl_hash_bylower() 1196 struct ovl_fs *ofs = OVL_FS(sb); in ovl_get_inode()
|
| 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()
|