Home
last modified time | relevance | path

Searched refs:mnt (Results 1 – 9 of 9) sorted by relevance

/include/linux/
Dmount.h84 static inline struct user_namespace *mnt_user_ns(const struct vfsmount *mnt) in mnt_user_ns() argument
87 return smp_load_acquire(&mnt->mnt_userns); in mnt_user_ns()
93 extern int mnt_want_write(struct vfsmount *mnt);
95 extern void mnt_drop_write(struct vfsmount *mnt);
97 extern void mntput(struct vfsmount *mnt);
98 extern struct vfsmount *mntget(struct vfsmount *mnt);
100 extern bool __mnt_is_readonly(struct vfsmount *mnt);
101 extern bool mnt_may_suid(struct vfsmount *mnt);
118 extern void mnt_set_expiry(struct vfsmount *mnt, struct list_head *expiry_list);
127 extern void kern_unmount_array(struct vfsmount *mnt[], unsigned int num);
Dpath.h9 struct vfsmount *mnt; member
18 return path1->mnt == path2->mnt && path1->dentry == path2->dentry; in path_equal()
Dexportfs.h233 extern struct dentry *exportfs_decode_fh_raw(struct vfsmount *mnt,
238 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
Dfsnotify.h199 static inline void fsnotify_vfsmount_delete(struct vfsmount *mnt) in fsnotify_vfsmount_delete() argument
201 __fsnotify_vfsmount_delete(mnt); in fsnotify_vfsmount_delete()
Dshmem_fs.h64 extern struct file *shmem_file_setup_with_mnt(struct vfsmount *mnt,
Dfsnotify_backend.h418 extern void __fsnotify_vfsmount_delete(struct vfsmount *mnt);
607 static inline void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete() argument
Dfs.h2605 extern struct dentry *mount_subtree(struct vfsmount *mnt, const char *path);
2644 extern void kern_unmount(struct vfsmount *mnt);
2658 extern bool our_mnt(struct vfsmount *mnt);
2777 return mnt_user_ns(file->f_path.mnt); in file_mnt_user_ns()
2789 static inline bool is_idmapped_mnt(const struct vfsmount *mnt) in is_idmapped_mnt() argument
2791 return mnt_user_ns(mnt) != mnt->mnt_sb->s_user_ns; in is_idmapped_mnt()
2806 static inline struct file *file_open_root_mnt(struct vfsmount *mnt, in file_open_root_mnt() argument
2809 return file_open_root(&(struct path){.mnt = mnt, .dentry = mnt->mnt_root}, in file_open_root_mnt()
3056 return inode_permission(mnt_user_ns(path->mnt), in path_permission()
Dsecurity.h308 int security_sb_umount(struct vfsmount *mnt, int flags);
691 static inline int security_sb_umount(struct vfsmount *mnt, int flags) in security_sb_umount() argument
Dlsm_hook_defs.h73 LSM_HOOK(int, 0, sb_umount, struct vfsmount *mnt, int flags)