/kernel/linux/linux-6.6/fs/overlayfs/ |
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() 344 path->mnt = ovl_upper_mnt(OVL_FS(inode->i_sb)); in ovl_i_path_real() 802 struct ovl_fs *ofs = OVL_FS(dentr in ovl_set_impure() [all...] |
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() 190 if (!is_dir || ovl_same_dev(OVL_FS(dentry->d_sb))) { in ovl_getattr() 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() 1108 return ovl_setxattr(OVL_FS(inod in ovl_set_nlink_common() [all...] |
H A D | copy_up.c | 126 error = ovl_copy_acl(OVL_FS(sb), oldpath, new, name); in ovl_copy_xattr() 157 error = ovl_do_setxattr(OVL_FS(sb), new, name, value, size, 0); in ovl_copy_xattr() 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(dentr in ovl_need_meta_copy_up() [all...] |
H A D | export.c | 186 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_check_encode_origin() 263 struct ovl_fs *ofs = OVL_FS(inode->i_sb); in ovl_encode_fh() 447 struct ovl_fs *ofs = OVL_FS(sb); in ovl_lookup_real_inode() 668 struct ovl_fs *ofs = OVL_FS(sb); in ovl_get_dentry() 693 struct ovl_fs *ofs = OVL_FS(sb); in ovl_upper_fh_to_d() 713 struct ovl_fs *ofs = OVL_FS(sb); in ovl_lower_fh_to_d()
|
H A D | dir.c | 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() 364 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_clear_empty() 448 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_over_whiteout() 749 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_and_whiteout() 803 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_upper() 955 return ovl_redirect_dir(OVL_FS(dentry->d_sb)) || in ovl_can_move() 1049 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_set_redirect() 1097 struct ovl_fs *ofs = OVL_FS(old->d_sb); in ovl_rename()
|
H A D | readdir.c | 121 if (ovl_xino_bits(OVL_FS(rdd->dentry->d_sb))) in ovl_calc_d_ino() 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() 901 err = ovl_sync_status(OVL_FS(file_inode(file)->i_sb)); in ovl_dir_fsync()
|
H A D | namei.c | 38 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() 274 err = ovl_check_metacopy_xattr(OVL_FS(d->sb), &path, NULL); in ovl_lookup_single() 294 if (ovl_is_opaquedir(OVL_FS(d->sb), &path)) { in ovl_lookup_single() 395 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup_data_layers() 895 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_maybe_validate_verity() 1005 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup()
|
H A D | ovl_entry.h | 114 static inline struct ovl_fs *OVL_FS(struct super_block *sb) in OVL_FS() function
|
H A D | file.c | 390 if (!ovl_should_sync(OVL_FS(inode->i_sb))) in ovl_write_iter() 508 ret = ovl_sync_status(OVL_FS(file_inode(file)->i_sb)); in ovl_fsync()
|
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()
|
H A D | params.c | 675 struct ovl_fs *ofs = OVL_FS(sb); in ovl_reconfigure() 962 struct ovl_fs *ofs = OVL_FS(sb); in ovl_show_options()
|
H A D | overlayfs.h | 536 struct ovl_fs *ofs = OVL_FS(sb); in ovl_is_impuredir()
|
/kernel/linux/linux-5.10/fs/overlayfs/ |
H A D | overlayfs.h | 354 return OVL_FS(sb)->config.xino == OVL_XINO_ON; in ovl_xino_warn() 360 return OVL_FS(sb)->xino_mode == 0; in ovl_same_fs() 366 return OVL_FS(sb)->xino_mode >= 0; in ovl_same_dev() 371 return ovl_same_dev(sb) ? OVL_FS(sb)->xino_mode : 0; in ovl_xino_bits()
|
H A D | ovl_entry.h | 100 static inline struct ovl_fs *OVL_FS(struct super_block *sb) in OVL_FS() function
|
H A D | inode.c | 151 stat->dev = OVL_FS(dentry->d_sb)->fs[fsid].pseudo_dev; in ovl_map_dev_ino() 730 return ovl_do_setxattr(OVL_FS(inode->i_sb), ovl_dentry_upper(dentry), in ovl_set_nlink_common() 955 struct ovl_fs *ofs = OVL_FS(sb); in ovl_get_inode()
|
H A D | copy_up.c | 415 err = ovl_set_upper_fh(OVL_FS(dentry->d_sb), upper, temp); in ovl_create_index() 492 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_inode() 818 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_meta_inode_data()
|
H A D | util.c | 587 res = ovl_do_getxattr(OVL_FS(sb), dentry, ox, &val, 1); in ovl_check_dir_xattr() 760 err = ovl_cleanup_and_whiteout(OVL_FS(dentry->d_sb), in ovl_cleanup_index()
|
H A D | namei.c | 33 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect() 256 err = ovl_check_metacopy_xattr(OVL_FS(d->sb), this); in ovl_lookup_single()
|
H A D | file.c | 377 if (!ovl_should_sync(OVL_FS(inode->i_sb))) in ovl_write_iter() 473 ret = ovl_sync_status(OVL_FS(file_inode(file)->i_sb)); in ovl_fsync()
|
H A D | readdir.c | 597 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cache_get_impure() 891 err = ovl_sync_status(OVL_FS(file->f_path.dentry->d_sb)); in ovl_dir_fsync()
|
H A D | dir.c | 758 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_and_whiteout()
|