/openbmc/linux/fs/overlayfs/ |
H A D | overlayfs.h | 191 static inline int ovl_do_rmdir(struct ovl_fs *ofs, in ovl_do_rmdir() 219 static inline int ovl_do_create(struct ovl_fs *ofs, in ovl_do_create() 229 static inline int ovl_do_mkdir(struct ovl_fs *ofs, in ovl_do_mkdir() 238 static inline int ovl_do_mknod(struct ovl_fs *ofs, in ovl_do_mknod() 248 static inline int ovl_do_symlink(struct ovl_fs *ofs, in ovl_do_symlink() 511 int ovl_validate_verity(struct ovl_fs *ofs, 516 int ovl_sync_status(struct ovl_fs *ofs); 536 struct ovl_fs *ofs = OVL_FS(sb); in ovl_is_impuredir() 587 static inline bool ovl_same_fs(struct ovl_fs *ofs) in ovl_same_fs() 675 int ovl_indexdir_cleanup(struct ovl_fs *ofs); [all …]
|
H A D | ovl_entry.h | 56 struct ovl_fs { struct 97 static inline unsigned int ovl_numlowerlayer(struct ovl_fs *ofs) in ovl_numlowerlayer() argument 102 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt() 107 static inline struct mnt_idmap *ovl_upper_mnt_idmap(struct ovl_fs *ofs) in ovl_upper_mnt_idmap() 114 static inline struct ovl_fs *OVL_FS(struct super_block *sb) in OVL_FS() 119 return (struct ovl_fs *)sb->s_fs_info; in OVL_FS() 122 static inline bool ovl_should_sync(struct ovl_fs *ofs) in ovl_should_sync()
|
H A D | util.c | 22 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_want_write() 28 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_drop_write() 34 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_workdir() 40 struct ovl_fs *ofs = OVL_FS(sb); in ovl_override_creds() 66 struct ovl_fs *ofs = OVL_FS(sb); in ovl_indexdir() 74 struct ovl_fs *ofs = OVL_FS(sb); in ovl_index_all() 82 struct ovl_fs *ofs = OVL_FS(sb); in ovl_verify_lower() 207 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_path_upper() 824 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_check_protattr() 860 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_set_protattr() [all …]
|
H A 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() 249 struct ovl_fs *ofs = OVL_FS(sb); in ovl_statfs() 281 static struct dentry *ovl_workdir_create(struct ovl_fs *ofs, in ovl_workdir_create() 386 struct ovl_fs *ofs, int *stack_depth) in ovl_lower_dir() 604 static int ovl_check_rename_whiteout(struct ovl_fs *ofs) in ovl_check_rename_whiteout() 683 static int ovl_create_volatile_dirty(struct ovl_fs *ofs) in ovl_create_volatile_dirty() 1031 static int ovl_get_data_fsid(struct ovl_fs *ofs) in ovl_get_data_fsid() 1167 struct ovl_fs *ofs, in ovl_get_lowerstack() 1260 struct ovl_fs *ofs) in ovl_check_overlapping_layers() [all …]
|
H A D | copy_up.c | 324 static int ovl_set_size(struct ovl_fs *ofs, in ovl_set_size() 429 int ovl_set_origin(struct ovl_fs *ofs, struct dentry *lower, in ovl_set_origin() 482 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_index() 555 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_link_up() 593 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_data() 612 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_metadata() 708 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_workdir() 794 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_tmpfile() 863 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_do_copy_up() 936 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_need_meta_copy_up() [all …]
|
H A D | params.h | 6 struct ovl_fs; 39 void ovl_free_fs(struct ovl_fs *ofs);
|
H A D | namei.c | 38 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() 160 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh, in ovl_decode_real_fh() 395 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup_data_layers() 491 static int ovl_verify_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_fh() 518 int ovl_verify_set_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_set_fh() 586 int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index) in ovl_verify_index() 717 int ovl_get_index_name(struct ovl_fs *ofs, struct dentry *origin, in ovl_get_index_name() 734 struct dentry *ovl_get_index_fh(struct ovl_fs *ofs, struct ovl_fh *fh) in ovl_get_index_fh() 873 static int ovl_fix_origin(struct ovl_fs *ofs, struct dentry *dentry, in ovl_fix_origin() 895 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_maybe_validate_verity() [all …]
|
H A D | dir.c | 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() 237 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_opaque_xerr() 324 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_upper() 361 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_clear_empty() 445 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_over_whiteout() 746 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_and_whiteout() 800 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_upper() 1046 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_redirect() [all …]
|
H A D | export.c | 186 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_check_encode_origin() 228 static int ovl_dentry_to_fid(struct ovl_fs *ofs, struct dentry *dentry, in ovl_dentry_to_fid() 267 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_encode_fh() 451 struct ovl_fs *ofs = OVL_FS(sb); in ovl_lookup_real_inode() 672 struct ovl_fs *ofs = OVL_FS(sb); in ovl_get_dentry() 697 struct ovl_fs *ofs = OVL_FS(sb); in ovl_upper_fh_to_d() 717 struct ovl_fs *ofs = OVL_FS(sb); in ovl_lower_fh_to_d()
|
H A D | params.c | 343 struct ovl_fs *ofs = fc->s_fs_info; in ovl_add_layer() 526 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param() 628 struct ovl_fs *ofs = fc->s_fs_info; in ovl_free() 647 struct ovl_fs *ofs = OVL_FS(sb); in ovl_reconfigure() 684 struct ovl_fs *ofs; in ovl_init_fs_context() 699 ofs = kzalloc(sizeof(struct ovl_fs), GFP_KERNEL); in ovl_init_fs_context() 721 void ovl_free_fs(struct ovl_fs *ofs) in ovl_free_fs() 962 struct ovl_fs *ofs = OVL_FS(sb); in ovl_show_options()
|
H A D | inode.c | 26 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_setattr() 100 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_map_dev_ino() 344 struct ovl_fs *ofs = OVL_FS(sb); in ovl_is_private_xattr() 358 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_xattr_set() 610 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_or_remove_acl() 699 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_update_time() 965 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_next_ino() 974 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_map_ino() 1122 unsigned int ovl_get_nlink(struct ovl_fs *ofs, struct dentry *lowerdentry, in ovl_get_nlink() 1294 struct ovl_fs *ofs = OVL_FS(sb); in ovl_hash_bylower() [all …]
|
H A D | readdir.c | 463 struct ovl_fs *ofs = OVL_FS(dir->d_sb); in ovl_cache_update_ino() 602 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cache_get_impure() 698 struct ovl_fs *ofs = OVL_FS(dir->d_sb); in ovl_iterate_real() 740 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_iterate() 1010 void ovl_cleanup_whiteouts(struct ovl_fs *ofs, struct dentry *upper, in ovl_cleanup_whiteouts() 1074 static int ovl_workdir_cleanup_recurse(struct ovl_fs *ofs, const struct path *path, in ovl_workdir_cleanup_recurse() 1133 int ovl_workdir_cleanup(struct ovl_fs *ofs, struct inode *dir, in ovl_workdir_cleanup() 1156 int ovl_indexdir_cleanup(struct ovl_fs *ofs) in ovl_indexdir_cleanup()
|