/linux-6.12.1/fs/overlayfs/ |
D | overlayfs.h | 182 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 …]
|
D | ovl_entry.h | 58 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()
|
D | util.c | 23 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() 92 struct ovl_fs *ofs = OVL_FS(sb); in ovl_indexdir() 100 struct ovl_fs *ofs = OVL_FS(sb); in ovl_index_all() [all …]
|
D | super.c | 191 struct ovl_fs *ofs = OVL_FS(sb); in ovl_put_super() 200 struct ovl_fs *ofs = OVL_FS(sb); in ovl_sync_fs() 243 struct ovl_fs *ofs = OVL_FS(sb); in ovl_statfs() 275 static struct dentry *ovl_workdir_create(struct ovl_fs *ofs, in ovl_workdir_create() 365 static int ovl_check_namelen(const struct path *path, struct ovl_fs *ofs, in ovl_check_namelen() 380 struct ovl_fs *ofs, int *stack_depth) in ovl_lower_dir() 460 static int ovl_report_in_use(struct ovl_fs *ofs, const char *name) in ovl_report_in_use() 473 static int ovl_get_upper(struct super_block *sb, struct ovl_fs *ofs, in ovl_get_upper() 538 static int ovl_check_rename_whiteout(struct ovl_fs *ofs) in ovl_check_rename_whiteout() 595 static struct dentry *ovl_lookup_or_create(struct ovl_fs *ofs, in ovl_lookup_or_create() [all …]
|
D | namei.c | 39 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() 116 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_get_fh() 161 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh, in ovl_decode_real_fh() 232 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_lookup_single() 401 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup_data_layers() 421 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, in ovl_check_origin_fh() 472 static int ovl_check_origin(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_check_origin() 497 static int ovl_verify_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_fh() 516 int ovl_verify_set_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_set_fh() 537 int ovl_verify_origin_xattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_origin_xattr() [all …]
|
D | copy_up.c | 47 static int ovl_copy_acl(struct ovl_fs *ofs, const struct path *path, in ovl_copy_acl() 261 static int ovl_copy_up_file(struct ovl_fs *ofs, struct dentry *dentry, in ovl_copy_up_file() 369 static int ovl_set_size(struct ovl_fs *ofs, in ovl_set_size() 380 static int ovl_set_timestamps(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_timestamps() 393 int ovl_set_attr(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_attr() 419 struct ovl_fh *ovl_encode_real_fh(struct ovl_fs *ofs, struct dentry *real, in ovl_encode_real_fh() 474 struct ovl_fh *ovl_get_origin_fh(struct ovl_fs *ofs, struct dentry *origin) in ovl_get_origin_fh() 487 int ovl_set_origin_fh(struct ovl_fs *ofs, const struct ovl_fh *fh, in ovl_set_origin_fh() 503 static int ovl_set_upper_fh(struct ovl_fs *ofs, struct dentry *upper, in ovl_set_upper_fh() 527 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_index() [all …]
|
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() 115 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_listxattr() 266 const struct xattr_handler * const *ovl_xattr_handlers(struct ovl_fs *ofs) in ovl_xattr_handlers()
|
D | params.h | 6 struct ovl_fs; 39 void ovl_free_fs(struct ovl_fs *ofs);
|
D | dir.c | 27 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 …]
|
D | export.c | 181 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_check_encode_origin() 223 static int ovl_dentry_to_fid(struct ovl_fs *ofs, struct dentry *dentry, in ovl_dentry_to_fid() 262 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_encode_fh() 425 struct ovl_fs *ofs = OVL_FS(sb); in ovl_lookup_real_inode() 646 struct ovl_fs *ofs = OVL_FS(sb); in ovl_get_dentry() 671 struct ovl_fs *ofs = OVL_FS(sb); in ovl_upper_fh_to_d() 691 struct ovl_fs *ofs = OVL_FS(sb); in ovl_lower_fh_to_d()
|
D | params.c | 339 struct ovl_fs *ofs = fc->s_fs_info; in ovl_add_layer() 522 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param() 624 struct ovl_fs *ofs = fc->s_fs_info; in ovl_free() 643 struct ovl_fs *ofs = OVL_FS(sb); in ovl_reconfigure() 680 struct ovl_fs *ofs; in ovl_init_fs_context() 695 ofs = kzalloc(sizeof(struct ovl_fs), GFP_KERNEL); in ovl_init_fs_context() 717 void ovl_free_fs(struct ovl_fs *ofs) in ovl_free_fs() 956 struct ovl_fs *ofs = OVL_FS(sb); in ovl_show_options()
|
D | inode.c | 25 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_setattr() 99 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_map_dev_ino() 485 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_or_remove_acl() 573 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_update_time() 840 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_next_ino() 849 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_map_ino() 997 unsigned int ovl_get_nlink(struct ovl_fs *ofs, struct dentry *lowerdentry, in ovl_get_nlink() 1169 struct ovl_fs *ofs = OVL_FS(sb); in ovl_hash_bylower() 1208 struct ovl_fs *ofs = OVL_FS(sb); in ovl_get_inode()
|
D | readdir.c | 473 struct ovl_fs *ofs = OVL_FS(dir->d_sb); in ovl_cache_update() 616 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cache_get_impure() 712 struct ovl_fs *ofs = OVL_FS(dir->d_sb); in ovl_iterate_real() 754 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_iterate() 1024 void ovl_cleanup_whiteouts(struct ovl_fs *ofs, struct dentry *upper, in ovl_cleanup_whiteouts() 1088 static int ovl_workdir_cleanup_recurse(struct ovl_fs *ofs, const struct path *path, in ovl_workdir_cleanup_recurse() 1147 int ovl_workdir_cleanup(struct ovl_fs *ofs, struct inode *dir, in ovl_workdir_cleanup() 1170 int ovl_indexdir_cleanup(struct ovl_fs *ofs) in ovl_indexdir_cleanup()
|