Home
last modified time | relevance | path

Searched refs:ovl_upper_mnt (Results 1 – 10 of 10) sorted by relevance

/linux/fs/overlayfs/
H A Dsuper.c259 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_sync_fs()
315 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_workdir_create()
553 if (ovl_inuse_trylock(ovl_upper_mnt(ofs)->mnt_root)) { in ovl_get_upper()
670 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_make_workdir()
846 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_get_indexdir()
920 if (!ofs->config.nfs_export && !ovl_upper_mnt(ofs)) in ovl_lower_uuid_ok()
1056 if (ovl_upper_mnt(ofs)) { in ovl_get_layers()
1057 ofs->fs[0].sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_get_layers()
1126 if (!ovl_upper_mnt(ofs) && !sb_has_encoding(sb)) { in ovl_get_layers()
1148 if (ofs->numfs - !ovl_upper_mnt(ofs) == 1) { in ovl_get_layers()
[all …]
H A Dovl_entry.h103 static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs) in ovl_upper_mnt() function
110 return mnt_idmap(ovl_upper_mnt(ofs)); in ovl_upper_mnt_idmap()
H A Dutil.c25 return mnt_get_write_access(ovl_upper_mnt(ofs)); in ovl_get_write_access()
32 sb_start_write(ovl_upper_mnt(ofs)->mnt_sb); in ovl_start_write()
38 return mnt_want_write(ovl_upper_mnt(ofs)); in ovl_want_write()
44 mnt_put_write_access(ovl_upper_mnt(ofs)); in ovl_put_write_access()
50 sb_end_write(ovl_upper_mnt(ofs)->mnt_sb); in ovl_end_write()
56 mnt_drop_write(ovl_upper_mnt(ofs)); in ovl_drop_write()
249 path->mnt = ovl_upper_mnt(ofs); in ovl_path_upper()
386 path->mnt = ovl_upper_mnt(OVL_FS(inode->i_sb)); in ovl_i_path_real()
1502 mnt = ovl_upper_mnt(ofs); in ovl_sync_status()
H A Doverlayfs.h305 .mnt = ovl_upper_mnt(ofs), in ovl_getxattr_upper()
405 struct path path = { .mnt = ovl_upper_mnt(ofs), .dentry = dentry }; in ovl_do_tmpfile()
560 .mnt = ovl_upper_mnt(ofs), in ovl_upper_is_whiteout()
570 .mnt = ovl_upper_mnt(ofs), in ovl_check_origin_xattr()
622 .mnt = ovl_upper_mnt(ofs), in ovl_is_impuredir()
952 return (!ovl_upper_mnt(ofs) || !ofs->workdir); in ovl_force_readonly()
H A Dexport.c187 if (!ovl_upper_mnt(ofs)) in ovl_check_encode_origin()
678 if (!ovl_upper_mnt(ofs)) in ovl_upper_fh_to_d()
681 upper = ovl_decode_real_fh(ofs, fh, ovl_upper_mnt(ofs), true); in ovl_upper_fh_to_d()
H A Dinode.c564 .mnt = ovl_upper_mnt(ofs), in ovl_update_time()
1168 if (!ovl_upper_mnt(ofs)) in ovl_hash_bylower()
1204 .mnt = upperdentry ? ovl_upper_mnt(ofs) : lowerpath->layer->mnt, in ovl_get_inode()
H A Dparams.c771 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_reconfigure()
853 ovl_inuse_unlock(ovl_upper_mnt(ofs)->mnt_root); in ovl_free_fs()
H A Dcopy_up.c663 struct path upperpath = { .mnt = ovl_upper_mnt(ofs), .dentry = temp }; in ovl_copy_up_metadata()
762 struct path path = { .mnt = ovl_upper_mnt(ofs) }; in ovl_copy_up_workdir()
H A Dnamei.c615 upper = ovl_decode_real_fh(ofs, fh, ovl_upper_mnt(ofs), connected); in ovl_index_upper()
1325 .mnt = ovl_upper_mnt(ofs), in ovl_lookup_layers()
H A Dreaddir.c1261 struct path path = { .mnt = ovl_upper_mnt(ofs), .dentry = indexdir }; in ovl_indexdir_cleanup()