Home
last modified time | relevance | path

Searched refs:ovl_fs (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-6.6/fs/overlayfs/
H A Doverlayfs.h167 static inline const char *ovl_xattr(struct ovl_fs *ofs, enum ovl_xattr ox) in ovl_xattr()
184 static inline int ovl_do_notify_change(struct ovl_fs *ofs, in ovl_do_notify_change()
191 static inline int ovl_do_rmdir(struct ovl_fs *ofs, in ovl_do_rmdir()
200 static inline int ovl_do_unlink(struct ovl_fs *ofs, struct inode *dir, in ovl_do_unlink()
209 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentry, in ovl_do_link()
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()
274 static inline ssize_t ovl_getxattr_upper(struct ovl_fs *of
[all...]
H A Dovl_entry.h56 struct ovl_fs { struct
97 static inline unsigned int ovl_numlowerlayer(struct ovl_fs *ofs) in ovl_numlowerlayer()
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 Dsuper.c191 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()
371 static int ovl_check_namelen(const struct path *path, struct ovl_fs *ofs, in ovl_check_namelen()
386 struct ovl_fs *ofs, int *stack_depth) in ovl_lower_dir()
526 static int ovl_report_in_use(struct ovl_fs *ofs, const char *name) in ovl_report_in_use()
539 static int ovl_get_upper(struct super_block *sb, struct ovl_fs *ofs, in ovl_get_upper()
604 static int ovl_check_rename_whiteout(struct ovl_fs *ofs) in ovl_check_rename_whiteout()
661 static struct dentry *ovl_lookup_or_create(struct ovl_fs *of
[all...]
H A Dutil.c22 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()
666 bool ovl_path_check_origin_xattr(struct ovl_fs *ofs, const struct path *path) in ovl_path_check_origin_xattr()
683 bool ovl_init_uuid_xattr(struct super_block *sb, struct ovl_fs *of
[all...]
H A Dparams.h6 struct ovl_fs;
39 void ovl_free_fs(struct ovl_fs *ofs);
H A Dcopy_up.c47 static int ovl_copy_acl(struct ovl_fs *ofs, const struct path *path, in ovl_copy_acl()
233 static int ovl_copy_up_file(struct ovl_fs *ofs, struct dentry *dentry, in ovl_copy_up_file()
324 static int ovl_set_size(struct ovl_fs *ofs, in ovl_set_size()
335 static int ovl_set_timestamps(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_timestamps()
348 int ovl_set_attr(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_set_attr()
374 struct ovl_fh *ovl_encode_real_fh(struct ovl_fs *ofs, struct dentry *real, in ovl_encode_real_fh()
429 int ovl_set_origin(struct ovl_fs *ofs, struct dentry *lower, in ovl_set_origin()
458 static int ovl_set_upper_fh(struct ovl_fs *ofs, struct dentry *upper, in ovl_set_upper_fh()
482 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_index()
555 struct ovl_fs *of in ovl_link_up()
[all...]
H A Dnamei.c38 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect()
115 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_get_fh()
160 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh, in ovl_decode_real_fh()
204 static bool ovl_is_opaquedir(struct ovl_fs *ofs, const struct path *path) in ovl_is_opaquedir()
395 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_lookup_data_layers()
415 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, in ovl_check_origin_fh()
466 static int ovl_check_origin(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_check_origin()
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()
552 struct dentry *ovl_index_upper(struct ovl_fs *of
[all...]
H A Ddir.c26 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()
324 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_create_upper()
364 struct ovl_fs *of in ovl_clear_empty()
[all...]
H A Dexport.c186 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_check_encode_origin()
224 static int ovl_dentry_to_fid(struct ovl_fs *ofs, struct dentry *dentry, in ovl_dentry_to_fid()
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 Dparams.c343 struct ovl_fs *ofs = fc->s_fs_info; in ovl_add_layer()
554 struct ovl_fs *ofs = fc->s_fs_info; in ovl_parse_param()
656 struct ovl_fs *ofs = fc->s_fs_info; in ovl_free()
675 struct ovl_fs *ofs = OVL_FS(sb); in ovl_reconfigure()
712 struct ovl_fs *ofs; in ovl_init_fs_context()
727 ofs = kzalloc(sizeof(struct ovl_fs), GFP_KERNEL); in ovl_init_fs_context()
749 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 Dinode.c26 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 *of in ovl_hash_bylower()
[all...]
H A Dreaddir.c463 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()
/kernel/linux/linux-5.10/fs/overlayfs/
H A Doverlayfs.h117 static inline const char *ovl_xattr(struct ovl_fs *ofs, enum ovl_xattr ox) in ovl_xattr()
182 static inline ssize_t ovl_do_getxattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_do_getxattr()
190 static inline int ovl_do_setxattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_do_setxattr()
201 static inline int ovl_do_removexattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_do_removexattr()
306 bool ovl_check_origin_xattr(struct ovl_fs *ofs, struct dentry *dentry);
320 int ovl_check_metacopy_xattr(struct ovl_fs *ofs, struct dentry *dentry);
322 char *ovl_get_redirect_xattr(struct ovl_fs *ofs, struct dentry *dentry,
324 int ovl_sync_status(struct ovl_fs *ofs);
403 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected,
405 int ovl_verify_set_fh(struct ovl_fs *of
[all...]
H A Dovl_entry.h58 struct ovl_fs { struct
95 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt()
100 static inline struct ovl_fs *OVL_FS(struct super_block *sb) in OVL_FS()
102 return (struct ovl_fs *)sb->s_fs_info; in OVL_FS()
105 static inline bool ovl_should_sync(struct ovl_fs *ofs) in ovl_should_sync()
H A Dutil.c20 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_want_write()
26 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_drop_write()
32 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_workdir()
38 struct ovl_fs *ofs = sb->s_fs_info; in ovl_override_creds()
61 struct ovl_fs *ofs = sb->s_fs_info; in ovl_indexdir()
69 struct ovl_fs *ofs = sb->s_fs_info; in ovl_index_all()
77 struct ovl_fs *ofs = sb->s_fs_info; in ovl_verify_lower()
167 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_path_upper()
403 struct ovl_fs *ofs = sb->s_fs_info; in ovl_redirect_dir()
565 bool ovl_check_origin_xattr(struct ovl_fs *of
[all...]
H A Dnamei.c33 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect()
108 static struct ovl_fh *ovl_get_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_get_fh()
342 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, in ovl_check_origin_fh()
393 static int ovl_check_origin(struct ovl_fs *ofs, struct dentry *upperdentry, in ovl_check_origin()
418 static int ovl_verify_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_fh()
445 int ovl_verify_set_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_set_fh()
479 struct dentry *ovl_index_upper(struct ovl_fs *ofs, struct dentry *index) in ovl_index_upper()
512 int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index) in ovl_verify_index()
659 struct dentry *ovl_get_index_fh(struct ovl_fs *ofs, struct ovl_fh *fh) in ovl_get_index_fh()
688 struct dentry *ovl_lookup_index(struct ovl_fs *of
[all...]
H A Dsuper.c220 static void ovl_free_fs(struct ovl_fs *ofs) in ovl_free_fs()
260 struct ovl_fs *ofs = sb->s_fs_info; in ovl_put_super()
268 struct ovl_fs *ofs = sb->s_fs_info; in ovl_sync_fs()
316 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_statfs()
333 static bool ovl_force_readonly(struct ovl_fs *ofs) in ovl_force_readonly()
363 struct ovl_fs *ofs = sb->s_fs_info; in ovl_show_options()
391 struct ovl_fs *ofs = sb->s_fs_info; in ovl_remount()
714 static struct dentry *ovl_workdir_create(struct ovl_fs *ofs, in ovl_workdir_create()
867 static int ovl_check_namelen(struct path *path, struct ovl_fs *ofs, in ovl_check_namelen()
882 struct ovl_fs *of in ovl_lower_dir()
[all...]
H A Dexport.c185 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_check_encode_origin()
429 struct ovl_fs *ofs = sb->s_fs_info; in ovl_lookup_real_inode()
650 struct ovl_fs *ofs = sb->s_fs_info; in ovl_get_dentry()
675 struct ovl_fs *ofs = sb->s_fs_info; in ovl_upper_fh_to_d()
695 struct ovl_fs *ofs = sb->s_fs_info; in ovl_lower_fh_to_d()
H A Dcopy_up.c133 static int ovl_copy_up_data(struct ovl_fs *ofs, struct path *old, in ovl_copy_up_data()
360 static int ovl_set_upper_fh(struct ovl_fs *ofs, struct dentry *upper, in ovl_set_upper_fh()
492 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_inode()
705 struct ovl_fs *ofs = c->dentry->d_sb->s_fs_info; in ovl_do_copy_up()
778 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_need_meta_copy_up()
818 struct ovl_fs *ofs = OVL_FS(c->dentry->d_sb); in ovl_copy_up_meta_inode_data()
H A Dinode.c463 struct ovl_fs *ofs = inode->i_sb->s_fs_info; in ovl_update_time()
587 struct ovl_fs *ofs = inode->i_sb->s_fs_info; in ovl_next_ino()
744 unsigned int ovl_get_nlink(struct ovl_fs *ofs, struct dentry *lowerdentry, in ovl_get_nlink()
916 struct ovl_fs *ofs = sb->s_fs_info; in ovl_hash_bylower()
955 struct ovl_fs *ofs = OVL_FS(sb); in ovl_get_inode()
H A Ddir.c65 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()
758 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_remove_and_whiteout()
H A Dreaddir.c597 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_cache_get_impure()
1151 int ovl_indexdir_cleanup(struct ovl_fs *ofs) in ovl_indexdir_cleanup()

Completed in 28 milliseconds