Home
last modified time | relevance | path

Searched defs:mnt (Results 1 – 25 of 69) sorted by relevance

123

/fs/
Dnamespace.c84 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash()
103 static int mnt_alloc_id(struct mount *mnt) in mnt_alloc_id()
120 static void mnt_free_id(struct mount *mnt) in mnt_free_id()
135 static int mnt_alloc_group_id(struct mount *mnt) in mnt_alloc_group_id()
154 void mnt_release_group_id(struct mount *mnt) in mnt_release_group_id()
166 static inline void mnt_add_count(struct mount *mnt, int n) in mnt_add_count()
180 unsigned int mnt_get_count(struct mount *mnt) in mnt_get_count()
206 struct mount *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL); in alloc_vfsmnt() local
279 int __mnt_is_readonly(struct vfsmount *mnt) in __mnt_is_readonly()
289 static inline void mnt_inc_writers(struct mount *mnt) in mnt_inc_writers()
[all …]
Dpnode.c37 static struct mount *get_peer_under_root(struct mount *mnt, in get_peer_under_root()
60 int get_dominating_id(struct mount *mnt, const struct path *root) in get_dominating_id()
73 static int do_make_slave(struct mount *mnt) in do_make_slave()
124 void change_mnt_propagation(struct mount *mnt, int type) in change_mnt_propagation()
344 static struct mount *find_topper(struct mount *mnt) in find_topper()
362 static inline int do_refcount_check(struct mount *mnt, int count) in do_refcount_check()
377 int propagate_mount_busy(struct mount *mnt, int refcnt) in propagate_mount_busy()
420 void propagate_mount_unlock(struct mount *mnt) in propagate_mount_unlock()
435 static void umount_one(struct mount *mnt, struct list_head *to_umount) in umount_one()
448 static bool __propagate_umount(struct mount *mnt, in __propagate_umount()
[all …]
Dproc_namespace.c61 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) in show_mnt_opts()
94 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt) in show_vfsmnt()
130 static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt) in show_mountinfo()
192 static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt) in show_vfsstat()
Dnamei.c377 static inline int do_inode_permission(struct vfsmount *mnt, struct inode *inode, int mask) in do_inode_permission()
405 int __inode_permission2(struct vfsmount *mnt, struct inode *inode, int mask) in __inode_permission2()
468 int inode_permission2(struct vfsmount *mnt, struct inode *inode, int mask) in inode_permission2()
588 struct vfsmount *mnt = path->mnt; in path_connected() local
1118 struct mount *mnt = real_mount(path->mnt); in follow_up() local
1147 struct vfsmount *mnt; in follow_automount() local
1226 struct vfsmount *mnt = path->mnt; /* held by caller, must be left alone */ in follow_managed() local
1379 struct mount *mnt = real_mount(nd->path.mnt); in follow_dotdot_rcu() local
1593 struct vfsmount *mnt = nd->path.mnt; in lookup_fast() local
2070 struct vfsmount *mnt = nd->root.mnt; in path_init() local
[all …]
Dmount.h36 struct vfsmount mnt; member
75 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount()
80 static inline int mnt_has_parent(struct mount *mnt) in mnt_has_parent()
85 static inline int is_mounted(struct vfsmount *mnt) in is_mounted()
Dopen.c37 int do_truncate2(struct vfsmount *mnt, struct dentry *dentry, loff_t length, in do_truncate2()
76 struct vfsmount *mnt; in vfs_truncate() local
165 struct vfsmount *mnt; in do_sys_ftruncate() local
352 struct vfsmount *mnt; in SYSCALL_DEFINE3() local
478 struct vfsmount *mnt; in SYSCALL_DEFINE1() local
1031 struct file *file_open_root(struct dentry *dentry, struct vfsmount *mnt, in file_open_root()
Dattr.c190 int notify_change2(struct vfsmount *mnt, struct dentry * dentry, struct iattr * attr, struct inode … in notify_change2()
Dpnode.h35 static inline void set_mnt_shared(struct mount *mnt) in set_mnt_shared()
Dlibfs.c23 int simple_getattr(struct vfsmount *mnt, struct dentry *dentry, in simple_getattr()
540 struct vfsmount *mnt = NULL; in simple_pin_fs() local
561 struct vfsmount *mnt; in simple_release_fs() local
1119 static int empty_dir_getattr(struct vfsmount *mnt, struct dentry *dentry, in empty_dir_getattr()
/fs/autofs4/
Dexpire.c38 static int autofs4_mount_busy(struct vfsmount *mnt, struct dentry *dentry) in autofs4_mount_busy()
189 static int autofs4_direct_busy(struct vfsmount *mnt, in autofs4_direct_busy()
214 static int autofs4_tree_busy(struct vfsmount *mnt, in autofs4_tree_busy()
269 static struct dentry *autofs4_check_leaves(struct vfsmount *mnt, in autofs4_check_leaves()
297 struct vfsmount *mnt, in autofs4_expire_direct()
343 struct vfsmount *mnt, in should_expire()
426 struct vfsmount *mnt, in autofs4_expire_indirect()
544 struct vfsmount *mnt, in autofs4_expire_run()
581 int autofs4_do_expire_multi(struct super_block *sb, struct vfsmount *mnt, in autofs4_do_expire_multi()
613 int autofs4_expire_multi(struct super_block *sb, struct vfsmount *mnt, in autofs4_expire_multi()
/fs/notify/
Dvfsmount_mark.c41 void fsnotify_recalc_vfsmount_mask(struct vfsmount *mnt) in fsnotify_recalc_vfsmount_mask()
52 struct vfsmount *mnt = mark->mnt; in fsnotify_destroy_vfsmount_mark() local
72 struct vfsmount *mnt) in fsnotify_find_vfsmount_mark()
90 struct fsnotify_group *group, struct vfsmount *mnt, in fsnotify_add_vfsmount_mark()
Dfsnotify.c39 void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete()
200 struct mount *mnt; in fsnotify() local
Dfsnotify.h54 static inline void fsnotify_clear_marks_by_mount(struct vfsmount *mnt) in fsnotify_clear_marks_by_mount()
Dmark.c336 struct vfsmount *mnt, int allow_dups) in fsnotify_add_mark_locked()
397 struct inode *inode, struct vfsmount *mnt, int allow_dups) in fsnotify_add_mark()
Dfdinfo.c133 struct mount *mnt = real_mount(mark->mnt); in fanotify_fdinfo() local
/fs/nfs/
Dnamespace.c145 struct vfsmount *mnt; in nfs_d_automount() local
185 nfs_namespace_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in nfs_namespace_getattr()
254 struct vfsmount *mnt = ERR_PTR(-ENOMEM); in nfs_do_submount() local
Dnfs4namespace.c243 struct vfsmount *mnt = ERR_PTR(-ENOENT); in try_location() local
299 struct vfsmount *mnt = ERR_PTR(-ENOENT); in nfs_follow_referral() local
354 struct vfsmount *mnt = ERR_PTR(-ENOMEM); in nfs_do_refmount() local
402 struct vfsmount *mnt; in nfs4_submount() local
/fs/exportfs/
Dexpfs.c25 static int exportfs_get_name(struct vfsmount *mnt, struct dentry *dir, in exportfs_get_name()
119 static struct dentry *reconnect_one(struct vfsmount *mnt, in reconnect_one()
206 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) in reconnect_path()
413 struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, in exportfs_decode_fh()
/fs/sdcardfs/
Dmain.c246 static int sdcardfs_read_super(struct vfsmount *mnt, struct super_block *sb, in sdcardfs_read_super()
379 struct vfsmount *mnt; member
394 static struct dentry *sdcardfs_mount(struct vfsmount *mnt, in sdcardfs_mount()
Dinode.c551 static int sdcardfs_permission(struct vfsmount *mnt, struct inode *inode, int mask) in sdcardfs_permission()
592 static int sdcardfs_setattr(struct vfsmount *mnt, struct dentry *dentry, struct iattr *ia) in sdcardfs_setattr()
725 static int sdcardfs_fillattr(struct vfsmount *mnt, struct inode *inode, in sdcardfs_fillattr()
752 static int sdcardfs_getattr(struct vfsmount *mnt, struct dentry *dentry, in sdcardfs_getattr()
Dsuper.c133 static int sdcardfs_remount_fs2(struct vfsmount *mnt, struct super_block *sb, in sdcardfs_remount_fs2()
289 static int sdcardfs_show_options(struct vfsmount *mnt, struct seq_file *m, in sdcardfs_show_options()
/fs/cifs/
Dcifs_dfs_ref.c247 struct vfsmount *mnt; in cifs_dfs_do_refmount() local
288 struct vfsmount *mnt; in cifs_dfs_do_automount() local
/fs/proc/
Droot.c201 static int proc_root_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat in proc_root_getattr()
266 struct vfsmount *mnt; in pid_ns_prepare_proc() local
/fs/notify/fanotify/
Dfanotify_user.c528 struct vfsmount *mnt, __u32 mask, in fanotify_remove_vfsmount_mark()
619 struct vfsmount *mnt) in fanotify_add_new_mark()
643 struct vfsmount *mnt, __u32 mask, in fanotify_add_vfsmount_mark()
821 struct vfsmount *mnt = NULL; in SYSCALL_DEFINE5() local
/fs/afs/
Dmntpt.c128 struct vfsmount *mnt; in afs_mntpt_do_automount() local

123