/linux-6.1.9/fs/overlayfs/ |
D | overlayfs.h | 121 static inline const char *ovl_xattr(struct ovl_fs *ofs, enum ovl_xattr ox) in ovl_xattr() 138 static inline int ovl_do_notify_change(struct ovl_fs *ofs, in ovl_do_notify_change() 145 static inline int ovl_do_rmdir(struct ovl_fs *ofs, in ovl_do_rmdir() 154 static inline int ovl_do_unlink(struct ovl_fs *ofs, struct inode *dir, in ovl_do_unlink() 163 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentry, in ovl_do_link() 172 static inline int ovl_do_create(struct ovl_fs *ofs, in ovl_do_create() 182 static inline int ovl_do_mkdir(struct ovl_fs *ofs, in ovl_do_mkdir() 191 static inline int ovl_do_mknod(struct ovl_fs *ofs, in ovl_do_mknod() 201 static inline int ovl_do_symlink(struct ovl_fs *ofs, in ovl_do_symlink() 227 static inline ssize_t ovl_getxattr_upper(struct ovl_fs *ofs, in ovl_getxattr_upper() [all …]
|
D | ovl_entry.h | 51 struct ovl_fs { struct 88 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt() argument 93 static inline struct user_namespace *ovl_upper_mnt_userns(struct ovl_fs *ofs) in ovl_upper_mnt_userns() 98 static inline struct ovl_fs *OVL_FS(struct super_block *sb) in OVL_FS() 100 return (struct ovl_fs *)sb->s_fs_info; in OVL_FS() 103 static inline bool ovl_should_sync(struct ovl_fs *ofs) in ovl_should_sync()
|
D | util.c | 21 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_want_write() 27 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_drop_write() 33 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_workdir() 39 struct ovl_fs *ofs = sb->s_fs_info; in ovl_override_creds() 65 struct ovl_fs *ofs = sb->s_fs_info; in ovl_indexdir() 73 struct ovl_fs *ofs = sb->s_fs_info; in ovl_index_all() 81 struct ovl_fs *ofs = sb->s_fs_info; in ovl_verify_lower() 155 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_path_upper() 418 struct ovl_fs *ofs = sb->s_fs_info; in ovl_redirect_dir() 581 bool ovl_path_check_origin_xattr(struct ovl_fs *ofs, const struct path *path) in ovl_path_check_origin_xattr() [all …]
|
D | copy_up.c | 196 static int ovl_copy_up_file(struct ovl_fs *ofs, struct dentry *dentry, in ovl_copy_up_file() 287 static int ovl_set_size(struct ovl_fs *ofs, in ovl_set_size() 298 static int ovl_set_timestamps(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_timestamps() 311 int ovl_set_attr(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_attr() 337 struct ovl_fh *ovl_encode_real_fh(struct ovl_fs *ofs, struct dentry *real, in ovl_encode_real_fh() 392 int ovl_set_origin(struct ovl_fs *ofs, struct dentry *lower, in ovl_set_origin() 421 static int ovl_set_upper_fh(struct ovl_fs *ofs, struct dentry *upper, in ovl_set_upper_fh() 445 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_index() 517 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_link_up() 554 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_data() [all …]
|
D | super.c | 222 static void ovl_free_fs(struct ovl_fs *ofs) in ovl_free_fs() 262 struct ovl_fs *ofs = sb->s_fs_info; in ovl_put_super() 270 struct ovl_fs *ofs = sb->s_fs_info; in ovl_sync_fs() 318 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_statfs() 335 static bool ovl_force_readonly(struct ovl_fs *ofs) in ovl_force_readonly() 367 struct ovl_fs *ofs = sb->s_fs_info; in ovl_show_options() 399 struct ovl_fs *ofs = sb->s_fs_info; in ovl_remount() 762 static struct dentry *ovl_workdir_create(struct ovl_fs *ofs, in ovl_workdir_create() 917 static int ovl_check_namelen(const struct path *path, struct ovl_fs *ofs, in ovl_check_namelen() 932 struct ovl_fs *ofs, int *stack_depth) in ovl_lower_dir() [all …]
|
D | namei.c | 34 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() 109 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_get_fh() 154 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh, in ovl_decode_real_fh() 197 static bool ovl_is_opaquedir(struct ovl_fs *ofs, const struct path *path) in ovl_is_opaquedir() 353 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, in ovl_check_origin_fh() 404 static int ovl_check_origin(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_check_origin() 429 static int ovl_verify_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_fh() 456 int ovl_verify_set_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_set_fh() 490 struct dentry *ovl_index_upper(struct ovl_fs *ofs, struct dentry *index) in ovl_index_upper() 523 int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index) in ovl_verify_index() [all …]
|
D | dir.c | 26 int ovl_cleanup(struct ovl_fs *ofs, struct inode *wdir, struct dentry *wdentry) in ovl_cleanup() 45 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir) in ovl_lookup_temp() 65 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout() 109 int ovl_cleanup_and_whiteout(struct ovl_fs *ofs, struct inode *dir, in ovl_cleanup_and_whiteout() 140 int ovl_mkdir_real(struct ovl_fs *ofs, struct inode *dir, in ovl_mkdir_real() 171 struct dentry *ovl_create_real(struct ovl_fs *ofs, struct inode *dir, in ovl_create_real() 227 struct dentry *ovl_create_temp(struct ovl_fs *ofs, struct dentry *workdir, in ovl_create_temp() 237 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_opaque_xerr() 325 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 | 185 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_check_encode_origin() 214 static int ovl_dentry_to_fid(struct ovl_fs *ofs, struct dentry *dentry, in ovl_dentry_to_fid() 253 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_encode_fh() 437 struct ovl_fs *ofs = sb->s_fs_info; in ovl_lookup_real_inode() 658 struct ovl_fs *ofs = sb->s_fs_info; in ovl_get_dentry() 683 struct ovl_fs *ofs = sb->s_fs_info; in ovl_upper_fh_to_d() 703 struct ovl_fs *ofs = sb->s_fs_info; in ovl_lower_fh_to_d()
|
D | inode.c | 24 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_setattr() 335 struct ovl_fs *ofs = sb->s_fs_info; in ovl_is_private_xattr() 349 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_xattr_set() 555 struct ovl_fs *ofs = inode->i_sb->s_fs_info; in ovl_update_time() 814 struct ovl_fs *ofs = inode->i_sb->s_fs_info; in ovl_next_ino() 974 unsigned int ovl_get_nlink(struct ovl_fs *ofs, struct dentry *lowerdentry, in ovl_get_nlink() 1146 struct ovl_fs *ofs = sb->s_fs_info; in ovl_hash_bylower() 1185 struct ovl_fs *ofs = OVL_FS(sb); in ovl_get_inode()
|
D | readdir.c | 599 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cache_get_impure() 1004 void ovl_cleanup_whiteouts(struct ovl_fs *ofs, struct dentry *upper, in ovl_cleanup_whiteouts() 1068 static int ovl_workdir_cleanup_recurse(struct ovl_fs *ofs, const struct path *path, in ovl_workdir_cleanup_recurse() 1131 int ovl_workdir_cleanup(struct ovl_fs *ofs, struct inode *dir, in ovl_workdir_cleanup() 1154 int ovl_indexdir_cleanup(struct ovl_fs *ofs) in ovl_indexdir_cleanup()
|