/linux-4.1.27/fs/ |
D | namespace.c | 81 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash() argument 83 unsigned long tmp = ((unsigned long)mnt / L1_CACHE_BYTES); in m_hash() 100 static int mnt_alloc_id(struct mount *mnt) in mnt_alloc_id() argument 107 res = ida_get_new_above(&mnt_id_ida, mnt_id_start, &mnt->mnt_id); in mnt_alloc_id() 109 mnt_id_start = mnt->mnt_id + 1; in mnt_alloc_id() 117 static void mnt_free_id(struct mount *mnt) in mnt_free_id() argument 119 int id = mnt->mnt_id; in mnt_free_id() 132 static int mnt_alloc_group_id(struct mount *mnt) in mnt_alloc_group_id() argument 141 &mnt->mnt_group_id); in mnt_alloc_group_id() 143 mnt_group_start = mnt->mnt_group_id + 1; in mnt_alloc_group_id() [all …]
|
D | pnode.c | 32 static struct mount *get_peer_under_root(struct mount *mnt, in get_peer_under_root() argument 36 struct mount *m = mnt; in get_peer_under_root() 40 if (m->mnt_ns == ns && is_path_reachable(m, m->mnt.mnt_root, root)) in get_peer_under_root() 44 } while (m != mnt); in get_peer_under_root() 55 int get_dominating_id(struct mount *mnt, const struct path *root) in get_dominating_id() argument 59 for (m = mnt->mnt_master; m != NULL; m = m->mnt_master) { in get_dominating_id() 60 struct mount *d = get_peer_under_root(m, mnt->mnt_ns, root); in get_dominating_id() 68 static int do_make_slave(struct mount *mnt) in do_make_slave() argument 70 struct mount *peer_mnt = mnt, *master = mnt->mnt_master; in do_make_slave() 78 while ((peer_mnt = next_peer(peer_mnt)) != mnt && in do_make_slave() [all …]
|
D | pnode.h | 14 #define IS_MNT_SHARED(m) ((m)->mnt.mnt_flags & MNT_SHARED) 17 #define CLEAR_MNT_SHARED(m) ((m)->mnt.mnt_flags &= ~MNT_SHARED) 18 #define IS_MNT_UNBINDABLE(m) ((m)->mnt.mnt_flags & MNT_UNBINDABLE) 19 #define IS_MNT_MARKED(m) ((m)->mnt.mnt_flags & MNT_MARKED) 20 #define SET_MNT_MARK(m) ((m)->mnt.mnt_flags |= MNT_MARKED) 21 #define CLEAR_MNT_MARK(m) ((m)->mnt.mnt_flags &= ~MNT_MARKED) 22 #define IS_MNT_LOCKED(m) ((m)->mnt.mnt_flags & MNT_LOCKED) 35 static inline void set_mnt_shared(struct mount *mnt) in set_mnt_shared() argument 37 mnt->mnt.mnt_flags &= ~MNT_SHARED_MASK; in set_mnt_shared() 38 mnt->mnt.mnt_flags |= MNT_SHARED; in set_mnt_shared() [all …]
|
D | proc_namespace.c | 60 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) in show_mnt_opts() argument 74 if (mnt->mnt_flags & fs_infop->flag) in show_mnt_opts() 93 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt) in show_vfsmnt() argument 96 struct mount *r = real_mount(mnt); in show_vfsmnt() 98 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_vfsmnt() 115 seq_puts(m, __mnt_is_readonly(mnt) ? " ro" : " rw"); in show_vfsmnt() 119 show_mnt_opts(m, mnt); in show_vfsmnt() 127 static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt) in show_mountinfo() argument 130 struct mount *r = real_mount(mnt); in show_mountinfo() 131 struct super_block *sb = mnt->mnt_sb; in show_mountinfo() [all …]
|
D | mount.h | 34 struct vfsmount mnt; member 72 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount() argument 74 return container_of(mnt, struct mount, mnt); in real_mount() 77 static inline int mnt_has_parent(struct mount *mnt) in mnt_has_parent() argument 79 return mnt != mnt->mnt_parent; in mnt_has_parent() 82 static inline int is_mounted(struct vfsmount *mnt) in is_mounted() argument 85 return !IS_ERR_OR_NULL(real_mount(mnt)->mnt_ns); in is_mounted()
|
D | fhandle.c | 70 if (copy_to_user(mnt_id, &real_mount(path->mnt)->mnt_id, in do_sys_name_to_handle() 116 struct vfsmount *mnt; in get_vfsmount_from_fd() local 121 mnt = mntget(fs->pwd.mnt); in get_vfsmount_from_fd() 127 mnt = mntget(f.file->f_path.mnt); in get_vfsmount_from_fd() 130 return mnt; in get_vfsmount_from_fd() 144 path->mnt = get_vfsmount_from_fd(mountdirfd); in do_handle_to_path() 145 if (IS_ERR(path->mnt)) { in do_handle_to_path() 146 retval = PTR_ERR(path->mnt); in do_handle_to_path() 151 path->dentry = exportfs_decode_fh(path->mnt, in do_handle_to_path() 161 mntput(path->mnt); in do_handle_to_path() [all …]
|
D | namei.c | 477 mntget(path->mnt); in path_get() 491 mntput(path->mnt); in path_put() 517 struct vfsmount *mnt = path->mnt; in path_connected() local 520 if (mnt->mnt_root == mnt->mnt_sb->s_root) in path_connected() 523 return is_subdir(path->dentry, mnt->mnt_root); in path_connected() 562 if (!legitimize_mnt(nd->path.mnt, nd->m_seq)) in unlazy_walk() 597 if (nd->root.mnt && !(nd->flags & LOOKUP_ROOT)) { in unlazy_walk() 599 if (nd->root.mnt != fs->root.mnt || nd->root.dentry != fs->root.dentry) in unlazy_walk() 618 nd->root.mnt = NULL; in unlazy_walk() 645 nd->root.mnt = NULL; in complete_walk() [all …]
|
D | nsfs.c | 49 struct vfsmount *mnt = mntget(nsfs_mnt); in ns_get_path() local 59 mntput(mnt); in ns_get_path() 72 path->mnt = mnt; in ns_get_path() 77 inode = new_inode_pseudo(mnt->mnt_sb); in ns_get_path() 80 mntput(mnt); in ns_get_path() 90 dentry = d_alloc_pseudo(mnt->mnt_sb, &qname); in ns_get_path() 93 mntput(mnt); in ns_get_path()
|
D | file_table.c | 189 struct vfsmount *mnt = file->f_path.mnt; in __fput() local 220 __mnt_drop_write(mnt); in __fput() 223 file->f_path.mnt = NULL; in __fput() 227 mntput(mnt); in __fput()
|
D | open.c | 79 error = mnt_want_write(path->mnt); in vfs_truncate() 112 mnt_drop_write(path->mnt); in vfs_truncate() 378 if (path.mnt->mnt_flags & MNT_NOEXEC) in SYSCALL_DEFINE3() 396 if (__mnt_is_readonly(path.mnt)) in SYSCALL_DEFINE3() 507 error = mnt_want_write(path->mnt); in chmod_common() 525 mnt_drop_write(path->mnt); in chmod_common() 624 error = mnt_want_write(path.mnt); in SYSCALL_DEFINE5() 628 mnt_drop_write(path.mnt); in SYSCALL_DEFINE5() 705 error = __mnt_want_write(f->f_path.mnt); in do_dentry_open() 757 __mnt_drop_write(f->f_path.mnt); in do_dentry_open() [all …]
|
D | statfs.c | 43 static int calculate_f_flags(struct vfsmount *mnt) in calculate_f_flags() argument 45 return ST_VALID | flags_by_mnt(mnt->mnt_flags) | in calculate_f_flags() 46 flags_by_sb(mnt->mnt_sb->s_flags); in calculate_f_flags() 72 buf->f_flags = calculate_f_flags(path->mnt); in vfs_statfs()
|
D | libfs.c | 28 int simple_getattr(struct vfsmount *mnt, struct dentry *dentry, in simple_getattr() argument 545 struct vfsmount *mnt = NULL; in simple_pin_fs() local 549 mnt = vfs_kern_mount(type, MS_KERNMOUNT, type->name, NULL); in simple_pin_fs() 550 if (IS_ERR(mnt)) in simple_pin_fs() 551 return PTR_ERR(mnt); in simple_pin_fs() 554 *mount = mnt; in simple_pin_fs() 559 mntput(mnt); in simple_pin_fs() 566 struct vfsmount *mnt; in simple_release_fs() local 568 mnt = *mount; in simple_release_fs() 572 mntput(mnt); in simple_release_fs() [all …]
|
D | fs_struct.c | 50 if (likely(p->dentry != old->dentry || p->mnt != old->mnt)) in replace_path()
|
D | utimes.c | 58 error = mnt_want_write(path->mnt); in utimes_common() 116 mnt_drop_write(path->mnt); in utimes_common()
|
D | inode.c | 1516 static int relatime_need_update(struct vfsmount *mnt, struct inode *inode, in relatime_need_update() argument 1520 if (!(mnt->mnt_flags & MNT_RELATIME)) in relatime_need_update() 1589 struct vfsmount *mnt = path->mnt; in touch_atime() local 1600 if (mnt->mnt_flags & MNT_NOATIME) in touch_atime() 1602 if ((mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode)) in touch_atime() 1607 if (!relatime_need_update(mnt, inode, now)) in touch_atime() 1616 if (__mnt_want_write(mnt)) in touch_atime() 1628 __mnt_drop_write(mnt); in touch_atime()
|
D | anon_inodes.c | 96 path.mnt = mntget(anon_inode_mnt); in anon_inode_getfile()
|
D | dcache.c | 2895 struct mount *mnt; in prepend_path() local 2911 vfsmnt = path->mnt; in prepend_path() 2912 mnt = real_mount(vfsmnt); in prepend_path() 2914 while (dentry != root->dentry || vfsmnt != root->mnt) { in prepend_path() 2918 struct mount *parent = ACCESS_ONCE(mnt->mnt_parent); in prepend_path() 2927 if (mnt != parent) { in prepend_path() 2928 dentry = ACCESS_ONCE(mnt->mnt_mountpoint); in prepend_path() 2929 mnt = parent; in prepend_path() 2930 vfsmnt = &mnt->mnt; in prepend_path() 3088 (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root)) in d_path()
|
D | xattr.c | 377 error = mnt_want_write(path.mnt); in path_setxattr() 380 mnt_drop_write(path.mnt); in path_setxattr() 624 error = mnt_want_write(path.mnt); in path_removexattr() 627 mnt_drop_write(path.mnt); in path_removexattr()
|
D | bad_inode.c | 92 static int bad_inode_getattr(struct vfsmount *mnt, struct dentry *dentry, in bad_inode_getattr() argument
|
D | exec.c | 135 if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) in SYSCALL_DEFINE1() 780 if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) in do_open_execat() 1292 if (bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID) in bprm_fill_uid()
|
D | stat.c | 57 return inode->i_op->getattr(path->mnt, path->dentry, stat); in vfs_getattr_nosec()
|
D | coredump.c | 684 cprm.file = file_open_root(root.dentry, root.mnt, in do_coredump()
|
D | pipe.c | 692 path.mnt = mntget(pipe_mnt); in create_pipe_files()
|
D | aio.c | 223 path.mnt = mntget(aio_mnt); in aio_private_file()
|
D | block_dev.c | 1732 if (path.mnt->mnt_flags & MNT_NODEV) in lookup_bdev()
|
/linux-4.1.27/fs/notify/ |
D | vfsmount_mark.c | 33 void fsnotify_clear_marks_by_mount(struct vfsmount *mnt) in fsnotify_clear_marks_by_mount() argument 37 struct mount *m = real_mount(mnt); in fsnotify_clear_marks_by_mount() 40 spin_lock(&mnt->mnt_root->d_lock); in fsnotify_clear_marks_by_mount() 46 spin_unlock(&mnt->mnt_root->d_lock); in fsnotify_clear_marks_by_mount() 60 void fsnotify_recalc_vfsmount_mask(struct vfsmount *mnt) in fsnotify_recalc_vfsmount_mask() argument 62 struct mount *m = real_mount(mnt); in fsnotify_recalc_vfsmount_mask() 64 spin_lock(&mnt->mnt_root->d_lock); in fsnotify_recalc_vfsmount_mask() 66 spin_unlock(&mnt->mnt_root->d_lock); in fsnotify_recalc_vfsmount_mask() 71 struct vfsmount *mnt = mark->mnt; in fsnotify_destroy_vfsmount_mark() local 72 struct mount *m = real_mount(mnt); in fsnotify_destroy_vfsmount_mark() [all …]
|
D | fsnotify.c | 40 void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete() argument 42 fsnotify_clear_marks_by_mount(mnt); in __fsnotify_vfsmount_delete() 197 struct mount *mnt; in fsnotify() local 203 mnt = real_mount(((struct path *)data)->mnt); in fsnotify() 205 mnt = NULL; in fsnotify() 214 !(mnt && test_mask & mnt->mnt_fsnotify_mask)) in fsnotify() 224 if (mnt && ((mask & FS_MODIFY) || in fsnotify() 225 (test_mask & mnt->mnt_fsnotify_mask))) { in fsnotify() 226 vfsmount_node = srcu_dereference(mnt->mnt_fsnotify_marks.first, in fsnotify()
|
D | mark.c | 320 struct vfsmount *mnt, int allow_dups) in fsnotify_add_mark_locked() argument 324 BUG_ON(inode && mnt); in fsnotify_add_mark_locked() 325 BUG_ON(!inode && !mnt); in fsnotify_add_mark_locked() 347 } else if (mnt) { in fsnotify_add_mark_locked() 348 ret = fsnotify_add_vfsmount_mark(mark, group, mnt, allow_dups); in fsnotify_add_mark_locked() 381 struct inode *inode, struct vfsmount *mnt, int allow_dups) in fsnotify_add_mark() argument 385 ret = fsnotify_add_mark_locked(mark, group, inode, mnt, allow_dups); in fsnotify_add_mark() 459 new->mnt = old->mnt; in fsnotify_duplicate_mark()
|
D | fsnotify.h | 34 struct fsnotify_group *group, struct vfsmount *mnt, 49 extern void fsnotify_clear_marks_by_mount(struct vfsmount *mnt);
|
D | fdinfo.c | 125 struct mount *mnt = real_mount(mark->mnt); in fanotify_fdinfo() local 128 mnt->mnt_id, mflags, mark->mask, mark->ignored_mask); in fanotify_fdinfo()
|
/linux-4.1.27/tools/testing/selftests/memfd/ |
D | run_fuse_test.sh | 4 fusermount -u ./mnt 5 rmdir ./mnt 10 mkdir mnt 11 ./fuse_mnt ./mnt 12 ./fuse_test ./mnt/memfd 13 fusermount -u ./mnt 14 rmdir ./mnt
|
/linux-4.1.27/fs/nfs/ |
D | namespace.c | 141 struct vfsmount *mnt; in nfs_d_automount() local 148 mnt = ERR_PTR(-ESTALE); in nfs_d_automount() 152 mnt = ERR_PTR(-ENOMEM); in nfs_d_automount() 160 mnt = server->nfs_client->rpc_ops->submount(server, path->dentry, fh, fattr); in nfs_d_automount() 161 if (IS_ERR(mnt)) in nfs_d_automount() 165 mntget(mnt); /* prevent immediate expiration */ in nfs_d_automount() 166 mnt_set_expiry(mnt, &nfs_automount_list); in nfs_d_automount() 173 if (IS_ERR(mnt)) in nfs_d_automount() 174 dprintk("<-- %s(): error %ld\n", __func__, PTR_ERR(mnt)); in nfs_d_automount() 176 dprintk("<-- %s() = %p\n", __func__, mnt); in nfs_d_automount() [all …]
|
D | super.c | 990 static void nfs_validate_transport_protocol(struct nfs_parsed_mount_data *mnt) in nfs_validate_transport_protocol() argument 992 switch (mnt->nfs_server.protocol) { in nfs_validate_transport_protocol() 998 mnt->nfs_server.protocol = XPRT_TRANSPORT_TCP; in nfs_validate_transport_protocol() 1006 static void nfs_set_mount_transport_protocol(struct nfs_parsed_mount_data *mnt) in nfs_set_mount_transport_protocol() argument 1008 nfs_validate_transport_protocol(mnt); in nfs_set_mount_transport_protocol() 1010 if (mnt->mount_server.protocol == XPRT_TRANSPORT_UDP || in nfs_set_mount_transport_protocol() 1011 mnt->mount_server.protocol == XPRT_TRANSPORT_TCP) in nfs_set_mount_transport_protocol() 1013 switch (mnt->nfs_server.protocol) { in nfs_set_mount_transport_protocol() 1015 mnt->mount_server.protocol = XPRT_TRANSPORT_UDP; in nfs_set_mount_transport_protocol() 1019 mnt->mount_server.protocol = XPRT_TRANSPORT_TCP; in nfs_set_mount_transport_protocol() [all …]
|
D | nfs4namespace.c | 243 struct vfsmount *mnt = ERR_PTR(-ENOENT); in try_location() local 282 mnt = vfs_kern_mount(&nfs4_referral_fs_type, 0, page, mountdata); in try_location() 283 if (!IS_ERR(mnt)) in try_location() 287 return mnt; in try_location() 299 struct vfsmount *mnt = ERR_PTR(-ENOENT); in nfs_follow_referral() local 324 mnt = ERR_PTR(error); in nfs_follow_referral() 335 mnt = try_location(&mountdata, page, page2, location); in nfs_follow_referral() 336 if (!IS_ERR(mnt)) in nfs_follow_referral() 344 return mnt; in nfs_follow_referral() 354 struct vfsmount *mnt = ERR_PTR(-ENOMEM); in nfs_do_refmount() local [all …]
|
D | inode.c | 642 int nfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in nfs_getattr() argument 667 if ((mnt->mnt_flags & MNT_NOATIME) || in nfs_getattr() 668 ((mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode))) in nfs_getattr()
|
D | dir.c | 121 if (filp->f_path.dentry == filp->f_path.mnt->mnt_root) { in nfs_opendir()
|
/linux-4.1.27/fs/autofs4/ |
D | expire.c | 38 static int autofs4_mount_busy(struct vfsmount *mnt, struct dentry *dentry) in autofs4_mount_busy() argument 41 struct path path = {.mnt = mnt, .dentry = dentry}; in autofs4_mount_busy() 60 if (!may_umount_tree(path.mnt)) { in autofs4_mount_busy() 189 static int autofs4_direct_busy(struct vfsmount *mnt, in autofs4_direct_busy() argument 197 if (!may_umount_tree(mnt)) { in autofs4_direct_busy() 214 static int autofs4_tree_busy(struct vfsmount *mnt, in autofs4_tree_busy() argument 239 if (autofs4_mount_busy(mnt, p)) { in autofs4_tree_busy() 269 static struct dentry *autofs4_check_leaves(struct vfsmount *mnt, in autofs4_check_leaves() argument 284 if (autofs4_mount_busy(mnt, p)) in autofs4_check_leaves() 297 struct vfsmount *mnt, in autofs4_expire_direct() argument [all …]
|
D | dev-ioctl.c | 204 while (path.dentry == path.mnt->mnt_root) { in find_autofs_mount() 476 struct vfsmount *mnt; in autofs_dev_ioctl_expire() local 480 mnt = fp->f_path.mnt; in autofs_dev_ioctl_expire() 482 return autofs4_do_expire_multi(sbi->sb, mnt, sbi, how); in autofs_dev_ioctl_expire() 491 if (may_umount(fp->f_path.mnt)) in autofs_dev_ioctl_askumount() 549 if (path.mnt->mnt_root == path.dentry) { in autofs_dev_ioctl_ismountpoint()
|
D | autofs_i.h | 159 int autofs4_do_expire_multi(struct super_block *sb, struct vfsmount *mnt, 164 struct vfsmount *mnt, 167 struct vfsmount *mnt,
|
D | root.c | 822 static inline int autofs4_ask_umount(struct vfsmount *mnt, int __user *p) in autofs4_ask_umount() argument 826 if (may_umount(mnt)) in autofs4_ask_umount() 887 return autofs4_ask_umount(filp->f_path.mnt, p); in autofs4_root_ioctl_unlocked() 891 return autofs4_expire_run(inode->i_sb,filp->f_path.mnt,sbi, p); in autofs4_root_ioctl_unlocked() 894 return autofs4_expire_multi(inode->i_sb,filp->f_path.mnt,sbi, p); in autofs4_root_ioctl_unlocked()
|
/linux-4.1.27/tools/perf/util/ |
D | cpumap.c | 210 const char *mnt; in cpu_map__get_socket() local 219 mnt = sysfs__mountpoint(); in cpu_map__get_socket() 220 if (!mnt) in cpu_map__get_socket() 225 mnt, cpu); in cpu_map__get_socket() 273 const char *mnt; in cpu_map__get_core() local 282 mnt = sysfs__mountpoint(); in cpu_map__get_core() 283 if (!mnt) in cpu_map__get_core() 288 mnt, cpu); in cpu_map__get_core() 356 const char *mnt; in set_max_cpu_num() local 363 mnt = sysfs__mountpoint(); in set_max_cpu_num() [all …]
|
D | util.c | 321 const char *mnt; in __perf_tracefs_mount() local 323 mnt = tracefs_mount(mountpoint); in __perf_tracefs_mount() 324 if (!mnt) in __perf_tracefs_mount() 327 set_tracing_events_path("", mnt); in __perf_tracefs_mount() 329 return mnt; in __perf_tracefs_mount() 334 const char *mnt; in __perf_debugfs_mount() local 336 mnt = debugfs_mount(mountpoint); in __perf_debugfs_mount() 337 if (!mnt) in __perf_debugfs_mount() 340 set_tracing_events_path("tracing/", mnt); in __perf_debugfs_mount() 342 return mnt; in __perf_debugfs_mount() [all …]
|
D | cgroup.c | 60 char mnt[PATH_MAX + 1]; in open_cgroup() local 64 if (cgroupfs_find_mountpoint(mnt, PATH_MAX + 1)) in open_cgroup() 67 snprintf(path, PATH_MAX, "%s/%s", mnt, name); in open_cgroup()
|
/linux-4.1.27/include/linux/ |
D | mount.h | 75 extern int mnt_want_write(struct vfsmount *mnt); 77 extern int mnt_clone_write(struct vfsmount *mnt); 78 extern void mnt_drop_write(struct vfsmount *mnt); 80 extern void mntput(struct vfsmount *mnt); 81 extern struct vfsmount *mntget(struct vfsmount *mnt); 83 extern int __mnt_is_readonly(struct vfsmount *mnt); 93 extern void mnt_set_expiry(struct vfsmount *mnt, struct list_head *expiry_list);
|
D | path.h | 8 struct vfsmount *mnt; member 17 return path1->mnt == path2->mnt && path1->dentry == path2->dentry; in path_equal()
|
D | fsnotify_backend.h | 225 struct vfsmount *mnt; /* vfsmount this mark is associated with */ member 246 extern void __fsnotify_vfsmount_delete(struct vfsmount *mnt); 328 extern void fsnotify_recalc_vfsmount_mask(struct vfsmount *mnt); 335 …uct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, struct vfsmount *mnt); 344 struct inode *inode, struct vfsmount *mnt, int allow_dups); 346 struct inode *inode, struct vfsmount *mnt, int allow_dups); 384 static inline void __fsnotify_vfsmount_delete(struct vfsmount *mnt) in __fsnotify_vfsmount_delete() argument
|
D | fsnotify.h | 128 static inline void fsnotify_vfsmount_delete(struct vfsmount *mnt) in fsnotify_vfsmount_delete() argument 130 __fsnotify_vfsmount_delete(mnt); in fsnotify_vfsmount_delete()
|
D | exportfs.h | 223 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
|
D | fs.h | 1645 int (*getattr) (struct vfsmount *mnt, struct dentry *, struct kstat *); 1947 extern struct dentry *mount_subtree(struct vfsmount *mnt, const char *path); 1987 extern void kern_unmount(struct vfsmount *mnt); 2002 extern bool our_mnt(struct vfsmount *mnt);
|
D | security.h | 1504 int (*sb_umount) (struct vfsmount *mnt, int flags); 1808 int security_sb_umount(struct vfsmount *mnt, int flags); 2117 static inline int security_sb_umount(struct vfsmount *mnt, int flags) in security_sb_umount() argument
|
/linux-4.1.27/fs/exportfs/ |
D | expfs.c | 25 static int exportfs_get_name(struct vfsmount *mnt, struct dentry *dir, in exportfs_get_name() argument 29 struct path path = {.mnt = mnt, .dentry = dir}; in exportfs_get_name() 119 static struct dentry *reconnect_one(struct vfsmount *mnt, in reconnect_one() argument 128 if (mnt->mnt_sb->s_export_op->get_parent) in reconnect_one() 129 parent = mnt->mnt_sb->s_export_op->get_parent(dentry); in reconnect_one() 140 err = exportfs_get_name(mnt, parent, nbuf, dentry); in reconnect_one() 205 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf) in reconnect_path() argument 212 BUG_ON(dentry == mnt->mnt_sb->s_root); in reconnect_path() 215 parent = reconnect_one(mnt, dentry, nbuf); in reconnect_path() 278 .mnt = path->mnt, in get_name() [all …]
|
/linux-4.1.27/fs/cifs/ |
D | cifs_dfs_ref.c | 247 struct vfsmount *mnt; in cifs_dfs_do_refmount() local 258 mnt = vfs_kern_mount(&cifs_fs_type, 0, devname, mountdata); in cifs_dfs_do_refmount() 261 return mnt; in cifs_dfs_do_refmount() 288 struct vfsmount *mnt; in cifs_dfs_do_automount() local 300 mnt = ERR_PTR(-ENOMEM); in cifs_dfs_do_automount() 308 mnt = ERR_CAST(tlink); in cifs_dfs_do_automount() 321 mnt = ERR_PTR(-ENOENT); in cifs_dfs_do_automount() 330 mnt = ERR_PTR(-EINVAL); in cifs_dfs_do_automount() 333 mnt = cifs_dfs_do_refmount(cifs_sb, in cifs_dfs_do_automount() 336 __func__, referrals[i].node_name, mnt); in cifs_dfs_do_automount() [all …]
|
D | inode.c | 1955 int cifs_getattr(struct vfsmount *mnt, struct dentry *dentry, argument
|
/linux-4.1.27/Documentation/target/ |
D | tcm_mod_builder.txt | 30 target:/mnt/sdb/lio-core-2.6.git/Documentation/target# python tcm_mod_builder.py -p iSCSI -m tcm_na… 31 tcm_dir: /mnt/sdb/lio-core-2.6.git/Documentation/target/../../ 34 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000 37 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000 39 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_base.h 41 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../include/target/target_core_fabric_ops.h 43 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_fabric.c 45 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_fabric.h 47 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_configf… 49 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/Kbuild [all …]
|
/linux-4.1.27/security/tomoyo/ |
D | tomoyo.c | 174 struct path path = { parent->mnt, dentry }; in tomoyo_path_unlink() 190 struct path path = { parent->mnt, dentry }; in tomoyo_path_mkdir() 205 struct path path = { parent->mnt, dentry }; in tomoyo_path_rmdir() 221 struct path path = { parent->mnt, dentry }; in tomoyo_path_symlink() 238 struct path path = { parent->mnt, dentry }; in tomoyo_path_mknod() 277 struct path path1 = { new_dir->mnt, old_dentry }; in tomoyo_path_link() 278 struct path path2 = { new_dir->mnt, new_dentry }; in tomoyo_path_link() 297 struct path path1 = { old_parent->mnt, old_dentry }; in tomoyo_path_rename() 298 struct path path2 = { new_parent->mnt, new_dentry }; in tomoyo_path_rename() 424 static int tomoyo_sb_umount(struct vfsmount *mnt, int flags) in tomoyo_sb_umount() argument [all …]
|
D | realpath.c | 285 if (!path->mnt || in tomoyo_realpath_from_path()
|
/linux-4.1.27/tools/testing/selftests/vm/ |
D | run_vmtests | 6 mnt=./huge 36 mkdir $mnt 37 mount -t hugetlbfs none $mnt 90 umount $mnt 91 rm -rf $mnt
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/linux/ |
D | lustre_compat25.h | 77 #define ll_vfs_rmdir(dir, entry, mnt) vfs_rmdir(dir, entry) argument 78 #define ll_vfs_mkdir(inode, dir, mnt, mode) vfs_mkdir(inode, dir, mode) argument 79 #define ll_vfs_link(old, mnt, dir, new, mnt1) vfs_link(old, dir, new) argument 80 #define ll_vfs_unlink(inode, entry, mnt) vfs_unlink(inode, entry) argument 81 #define ll_vfs_mknod(dir, entry, mnt, mode, dev) \ argument 83 #define ll_security_inode_unlink(dir, entry, mnt) \ argument 85 #define ll_vfs_rename(old, old_dir, mnt, new, new_dir, mnt1) \ argument
|
/linux-4.1.27/fs/proc/ |
D | root.c | 199 static int proc_root_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat in proc_root_getattr() argument 264 struct vfsmount *mnt; in pid_ns_prepare_proc() local 266 mnt = kern_mount_data(&proc_fs_type, ns); in pid_ns_prepare_proc() 267 if (IS_ERR(mnt)) in pid_ns_prepare_proc() 268 return PTR_ERR(mnt); in pid_ns_prepare_proc() 270 ns->proc_mnt = mnt; in pid_ns_prepare_proc()
|
D | proc_net.c | 142 static int proc_tgid_net_getattr(struct vfsmount *mnt, struct dentry *dentry, in proc_tgid_net_getattr() argument
|
D | fd.c | 57 real_mount(file->f_path.mnt)->mnt_id); in seq_show()
|
D | base.c | 1496 int pid_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in pid_getattr() argument 2668 static void proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid) in proc_flush_task_mnt() argument 2677 dentry = d_hash_and_lookup(mnt->mnt_root, &name); in proc_flush_task_mnt() 2688 leader = d_hash_and_lookup(mnt->mnt_root, &name); in proc_flush_task_mnt() 3187 static int proc_task_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in proc_task_getattr() argument
|
D | generic.c | 120 static int proc_getattr(struct vfsmount *mnt, struct dentry *dentry, in proc_getattr() argument
|
D | proc_sysctl.c | 765 static int proc_sys_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in proc_sys_getattr() argument
|
/linux-4.1.27/Documentation/filesystems/ |
D | sharedsubtree.txt | 44 Let's say /mnt has a mount that is shared. 45 mount --make-shared /mnt 51 # mount --bind /mnt /tmp 52 The above command replicates the mount at /mnt to the mountpoint /tmp 55 #ls /mnt 67 #ls /mnt/a 70 Note that the mount has propagated to the mount at /mnt as well. 72 And the same is true even when /dev/sd0 is mounted on /mnt/a. The 83 Let's say /mnt has a mount which is shared. 84 # mount --make-shared /mnt [all …]
|
D | ecryptfs.txt | 40 (i.e., /mnt/crypt). Now it's time to mount eCryptfs: 42 mount -t ecryptfs /root/crypt /mnt/crypt 49 echo "Hello, World" > /mnt/crypt/hello.txt 59 Then umount /mnt/crypt and mount again per the instructions given 62 cat /mnt/crypt/hello.txt
|
D | ubifs.txt | 103 Mount volume 0 on UBI device 0 to /mnt/ubifs: 104 $ mount -t ubifs ubi0_0 /mnt/ubifs 106 Mount "rootfs" volume of UBI device 0 to /mnt/ubifs ("rootfs" is volume 108 $ mount -t ubifs ubi0:rootfs /mnt/ubifs
|
D | bfs.txt | 15 # mount -t bfs /dev/loop0 /mnt/stand 25 # mount -t bfs -o loop stand.img /mnt/stand
|
D | 9p.txt | 36 mount -t 9p 10.10.1.2 /mnt/9 40 mount -t 9p `namespace`/acme /mnt/9 -o trans=unix,uname=$USER 44 mount -t 9p -o trans=virtio <mount_tag> /mnt/9
|
D | fuse.txt | 320 | "rm /mnt/fuse/file" | FUSE filesystem daemon 367 | "rm /mnt/fuse/file" | FUSE filesystem daemon 369 | >sys_unlink("/mnt/fuse/file") | 375 | | >sys_unlink("/mnt/fuse/file") 391 | [fd = open("/mnt/fuse/file")] | [request served normally]
|
D | exofs.txt | 54 (For example, mkdir /mnt/exofs) 78 For example, to mount /dev/osd0, partition ID 0x10000 on /mnt/exofs: 80 mount -t exofs -o pid=65536 /dev/osd0 /mnt/exofs/
|
D | ceph.txt | 71 # mount -t ceph monip[:port][,monip2[:port]...]:/[subdir] mnt 79 # mount -t ceph 1.2.3.4:/ /mnt/ceph
|
D | affs.txt | 152 mount Archive/Amiga/Workbench3.1.adf /mnt -t affs -o loop,verbose 194 will remove /mnt/wrongcase, but
|
D | ntfs.txt | 366 $ mount -t ntfs -o ro /dev/device-mapper/myvolume1 /mnt/myvol1 368 (You need to create the directory /mnt/myvol1 first and of course you can use 369 anything you like instead of /mnt/myvol1 as long as it is an existing 430 example: mount -t ntfs -o ro /dev/md0 /mnt/myntfsvolume
|
D | porting | 54 int flags, const char *dev_name, void *data, struct vfsmount *mnt) 57 mnt);
|
D | f2fs.txt | 257 # mkdir /mnt/f2fs 261 # mount -t f2fs /dev/block_device /mnt/f2fs
|
D | vfat.txt | 4 mount -t vfat /dev/fd0 /mnt
|
D | ramfs-rootfs-initramfs.txt | 152 dir /mnt 755 0 0
|
D | path-lookup.txt | 297 * Similarly take the vfsmount lock for the entire path walk. So now mnt
|
D | vfs.txt | 358 int (*getattr) (struct vfsmount *mnt, struct dentry *, struct kstat *);
|
/linux-4.1.27/fs/notify/fanotify/ |
D | fanotify_user.c | 91 if (event->path.dentry && event->path.mnt) in create_fd() 515 struct vfsmount *mnt, __u32 mask, in fanotify_remove_vfsmount_mark() argument 523 fsn_mark = fsnotify_find_vfsmount_mark(group, mnt); in fanotify_remove_vfsmount_mark() 536 if (removed & real_mount(mnt)->mnt_fsnotify_mask) in fanotify_remove_vfsmount_mark() 537 fsnotify_recalc_vfsmount_mask(mnt); in fanotify_remove_vfsmount_mark() 602 struct vfsmount *mnt) in fanotify_add_new_mark() argument 615 ret = fsnotify_add_mark_locked(mark, group, inode, mnt, 0); in fanotify_add_new_mark() 626 struct vfsmount *mnt, __u32 mask, in fanotify_add_vfsmount_mark() argument 633 fsn_mark = fsnotify_find_vfsmount_mark(group, mnt); in fanotify_add_vfsmount_mark() 635 fsn_mark = fanotify_add_new_mark(group, NULL, mnt); in fanotify_add_vfsmount_mark() [all …]
|
D | fanotify.c | 24 old->path.mnt == new->path.mnt && in should_merge() 181 event->path.mnt = NULL; in fanotify_alloc_event()
|
/linux-4.1.27/fs/overlayfs/ |
D | super.c | 104 path->mnt = ofs->upper_mnt; in ovl_path_upper() 420 stack[ctr].mnt = lowerpath.mnt; in ovl_lookup() 640 static struct dentry *ovl_workdir_create(struct vfsmount *mnt, in ovl_workdir_create() argument 648 err = mnt_want_write(mnt); in ovl_workdir_create() 679 mnt_drop_write(mnt); in ovl_workdir_create() 780 *stack_depth = max(*stack_depth, path->mnt->mnt_sb->s_stack_depth); in ovl_lower_dir() 865 if (upperpath.mnt->mnt_sb->s_flags & MS_RDONLY) { in ovl_fill_super() 876 if (upperpath.mnt != workpath.mnt) { in ovl_fill_super() 884 sb->s_stack_depth = upperpath.mnt->mnt_sb->s_stack_depth; in ovl_fill_super() 946 struct vfsmount *mnt = clone_private_mount(&stack[i]); in ovl_fill_super() local [all …]
|
D | inode.c | 80 static int ovl_getattr(struct vfsmount *mnt, struct dentry *dentry, in ovl_getattr() argument
|
D | dir.c | 135 static int ovl_dir_getattr(struct vfsmount *mnt, struct dentry *dentry, in ovl_dir_getattr() argument
|
/linux-4.1.27/security/apparmor/ |
D | path.c | 63 if (path->mnt->mnt_flags & MNT_INTERNAL) { in d_namespace_path() 89 if (!our_mnt(path->mnt)) in d_namespace_path() 106 } else if (!our_mnt(path->mnt)) in d_namespace_path() 137 our_mnt(path->mnt))) { in d_namespace_path()
|
D | lsm.c | 189 struct path path = { dir->mnt, dentry }; in common_perm_dir_dentry() 203 static int common_perm_mnt_dentry(int op, struct vfsmount *mnt, in common_perm_mnt_dentry() argument 206 struct path path = { mnt, dentry }; in common_perm_mnt_dentry() 229 if (!inode || !dir->mnt || !mediated_filesystem(dentry)) in common_perm_rm() 253 if (!dir->mnt || !mediated_filesystem(dir->dentry)) in common_perm_create() 288 if (!path->mnt || !mediated_filesystem(path->dentry)) in apparmor_path_truncate() 328 struct path old_path = { old_dir->mnt, old_dentry }; in apparmor_path_rename() 329 struct path new_path = { new_dir->mnt, new_dentry }; in apparmor_path_rename() 352 return common_perm_mnt_dentry(OP_CHMOD, path->mnt, path->dentry, AA_MAY_CHMOD); in apparmor_path_chmod() 372 return common_perm_mnt_dentry(OP_GETATTR, path->mnt, path->dentry, in apparmor_inode_getattr() [all …]
|
D | file.c | 351 struct path link = { new_dir->mnt, new_dentry }; in aa_path_link() 352 struct path target = { new_dir->mnt, old_dentry }; in aa_path_link()
|
/linux-4.1.27/fs/nfsd/ |
D | vfs.h | 109 int ret = mnt_want_write(fh->fh_export->ex_path.mnt); in fh_want_write() 120 mnt_drop_write(fh->fh_export->ex_path.mnt); in fh_drop_write() 126 struct path p = {.mnt = fh->fh_export->ex_path.mnt, in fh_getattr()
|
D | vfs.c | 88 struct path path = {.mnt = mntget(exp->ex_path.mnt), in nfsd_cross_mnt() 135 while (path->dentry == path->mnt->mnt_root && follow_up(path)) in follow_to_parent() 145 struct path path = {.mnt = mntget((*exp)->ex_path.mnt), in nfsd_lookup_parent() 707 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_open() 1514 path.mnt = fhp->fh_export->ex_path.mnt; in nfsd_readlink() 1735 if (ffhp->fh_export->ex_path.mnt != tfhp->fh_export->ex_path.mnt) in nfsd_rename() 1997 .mnt = fhp->fh_export->ex_path.mnt, in nfsd_statfs() 2036 __mnt_is_readonly(exp->ex_path.mnt)? " ro" : ""); in nfsd_permission() 2048 __mnt_is_readonly(exp->ex_path.mnt)) in nfsd_permission()
|
D | nfs4layouts.c | 119 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type() 600 argv[2] = ls->ls_file->f_path.mnt->mnt_sb->s_id; in nfsd4_cb_layout_fail()
|
D | nfsfh.c | 250 dentry = exportfs_decode_fh(exp->ex_path.mnt, fid, in nfsd_set_fh_dentry()
|
D | nfs4xdr.c | 2028 if (cur.dentry == cur.mnt->mnt_root) { in nfsd4_encode_path() 2223 if (path.dentry != path.mnt->mnt_root) in get_parent_attributes() 2264 .mnt = exp->ex_path.mnt, in nfsd4_encode_fattr() 2587 p = xdr_encode_hyper(p, exp->ex_path.mnt->mnt_sb->s_maxbytes); in nfsd4_encode_fattr() 2714 dentry == exp->ex_path.mnt->mnt_root) in nfsd4_encode_fattr()
|
D | export.c | 771 hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS); in svc_export_hash()
|
D | nfs4proc.c | 1242 nfserr = ops->proc_getdeviceinfo(exp->ex_path.mnt->mnt_sb, gdp); in nfsd4_getdeviceinfo()
|
/linux-4.1.27/tools/testing/selftests/rcutorture/doc/ |
D | rcu-test-image.txt | 12 sudo mount -o loop ./rcu-test-image /mnt 17 sudo debootstrap --verbose --arch i386 precise /mnt http://archive.ubuntu.com/ubuntu 18 cat << '___EOF___' | sudo dd of=/mnt/etc/fstab 28 sudo umount /mnt
|
/linux-4.1.27/fs/afs/ |
D | mntpt.c | 128 struct vfsmount *mnt; in afs_mntpt_do_automount() local 205 mnt = vfs_kern_mount(&afs_fs_type, 0, devname, options); in afs_mntpt_do_automount() 206 _debug("--- mount result %p ---", mnt); in afs_mntpt_do_automount() 210 _leave(" = %p", mnt); in afs_mntpt_do_automount() 211 return mnt; in afs_mntpt_do_automount()
|
D | inode.c | 377 int afs_getattr(struct vfsmount *mnt, struct dentry *dentry, in afs_getattr() argument
|
/linux-4.1.27/Documentation/power/ |
D | swsusp-dmcrypt.txt | 58 /dev/hda1 /mnt ext3 ro 0 0 86 mount -t ext2 -o ro /dev/hde1 /mnt 87 if [ -f /mnt/swapkey ] 89 dmsetup create swap0 /mnt/swapkey > /dev/null 2>&1 && mapped=1 91 umount /mnt 108 mount /mnt 110 cd /mnt 111 pivot_root . mnt 113 umount -l /mnt
|
/linux-4.1.27/fs/cachefiles/ |
D | bind.c | 121 cache->mnt = path.mnt; in cachefiles_daemon_add_cache() 242 mntput(cache->mnt); in cachefiles_daemon_add_cache() 243 cache->mnt = NULL; in cachefiles_daemon_add_cache() 270 mntput(cache->mnt); in cachefiles_daemon_unbind()
|
D | namei.c | 283 path.mnt = cache->mnt; in cachefiles_bury_object() 382 path.mnt = cache->mnt; in cachefiles_bury_object() 384 path_to_graveyard.mnt = cache->mnt; in cachefiles_bury_object() 473 path.mnt = cache->mnt; in cachefiles_walk_to_object() 744 path.mnt = cache->mnt; in cachefiles_get_directory()
|
D | interface.c | 374 down_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache() 375 ret = sync_filesystem(cache->mnt->mnt_sb); in cachefiles_sync_cache() 376 up_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache() 509 path.mnt = cache->mnt; in cachefiles_invalidate_object()
|
D | daemon.c | 679 .mnt = cache->mnt, in cachefiles_has_space() 680 .dentry = cache->mnt->mnt_root, in cachefiles_has_space()
|
D | internal.h | 61 struct vfsmount *mnt; /* mountpoint holding the cache */ member
|
D | rdwr.c | 910 path.mnt = cache->mnt; in cachefiles_write_page()
|
/linux-4.1.27/Documentation/device-mapper/ |
D | log-writes.txt | 107 mount /dev/mapper/log /mnt/btrfs-test 110 md5sum /mnt/btrfs-test/foo 111 umount /mnt/btrfs-test 115 mount /dev/sdb /mnt/btrfs-test 116 md5sum /mnt/btrfs-test/foo 127 mount /dev/mapper/log /mnt/btrfs-test 129 btrfs filesystem balance /mnt/btrfs-test 130 umount /mnt/btrfs-test
|
/linux-4.1.27/Documentation/ia64/ |
D | xen.txt | 57 # mount -o loop /root/rhel5.img /mnt 58 # cp -ax /{dev,var,etc,usr,bin,sbin,lib} /mnt 59 # mkdir /mnt/{root,proc,sys,home,tmp} 65 # vi /mnt/etc/fstab 74 # vi /mnt/etc/inittab 81 # vi /mnt/etc/securetty (add hvc0) 84 # umount /mnt
|
/linux-4.1.27/kernel/ |
D | acct.c | 193 struct vfsmount *mnt, *internal; in acct_on() local 234 mnt = file->f_path.mnt; in acct_on() 235 file->f_path.mnt = internal; in acct_on() 246 pin_insert(&acct->pin, mnt); in acct_on() 252 mnt_drop_write(mnt); in acct_on() 253 mntput(mnt); in acct_on()
|
D | audit_tree.c | 578 static int compare_root(struct vfsmount *mnt, void *arg) in compare_root() argument 580 return d_backing_inode(mnt->mnt_root) == arg; in compare_root() 650 static int tag_mount(struct vfsmount *mnt, void *arg) in tag_mount() argument 652 return tag_chunk(d_backing_inode(mnt->mnt_root), arg); in tag_mount() 711 struct vfsmount *mnt; in audit_add_tree_rule() local 738 mnt = collect_mounts(&path); in audit_add_tree_rule() 740 if (IS_ERR(mnt)) { in audit_add_tree_rule() 741 err = PTR_ERR(mnt); in audit_add_tree_rule() 746 err = iterate_mounts(tag_mount, tree, mnt); in audit_add_tree_rule() 747 drop_collected_mounts(mnt); in audit_add_tree_rule()
|
D | sysctl_binary.c | 1300 struct vfsmount *mnt; in binary_sysctl() local 1323 mnt = task_active_pid_ns(current)->proc_mnt; in binary_sysctl() 1324 file = file_open_root(mnt->mnt_root, mnt, pathname, flags, 0); in binary_sysctl()
|
D | auditsc.c | 879 context->pwd.mnt = NULL; in audit_free_names() 1426 if (context->pwd.dentry && context->pwd.mnt) { in audit_log_exit()
|
D | sys.c | 1672 exe.file->f_path.mnt->mnt_flags & MNT_NOEXEC) in prctl_set_mm_exe_file()
|
/linux-4.1.27/Documentation/filesystems/pohmelfs/ |
D | info.txt | 61 Mount filesystem with given index $idx to /mnt mountpoint. 63 mount -t pohmel -o idx=$idx q /mnt 74 device none mounted on /mnt with fstype pohmel 83 is set to /mnt, server will negotiate hash/cipher with client, in case client requested it, there 87 # ./fserver -a 0.0.0.0 -p 1025 -r /mnt -w 10 -K hash_key -k cipher_key
|
/linux-4.1.27/scripts/selinux/ |
D | install_policy.sh | 65 mount --move /dev /mnt 67 mount --move /mnt /dev
|
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
D | inode.c | 423 struct vfsmount *mnt, int flags, umode_t mode, in spufs_create_context() argument 430 struct path path = {.mnt = mnt, .dentry = dentry}; in spufs_create_context() 542 struct vfsmount *mnt, umode_t mode) in spufs_create_gang() argument 544 struct path path = {.mnt = mnt, .dentry = dentry}; in spufs_create_gang() 583 ret = spufs_create_gang(dir, dentry, path->mnt, mode); in spufs_create() 585 ret = spufs_create_context(dir, dentry, path->mnt, flags, mode, in spufs_create()
|
/linux-4.1.27/ipc/ |
D | mqueue.c | 784 struct vfsmount *mnt = ipc_ns->mq_mnt; in SYSCALL_DEFINE4() local 785 struct dentry *root = mnt->mnt_root; in SYSCALL_DEFINE4() 800 ro = mnt_want_write(mnt); /* we'll drop it in any case */ in SYSCALL_DEFINE4() 808 path.mnt = mntget(mnt); in SYSCALL_DEFINE4() 850 mnt_drop_write(mnt); in SYSCALL_DEFINE4() 863 struct vfsmount *mnt = ipc_ns->mq_mnt; in SYSCALL_DEFINE1() local 869 audit_inode_parent_hidden(name, mnt->mnt_root); in SYSCALL_DEFINE1() 870 err = mnt_want_write(mnt); in SYSCALL_DEFINE1() 873 mutex_lock_nested(&d_inode(mnt->mnt_root)->i_mutex, I_MUTEX_PARENT); in SYSCALL_DEFINE1() 874 dentry = lookup_one_len(name->name, mnt->mnt_root, in SYSCALL_DEFINE1() [all …]
|
/linux-4.1.27/Documentation/fault-injection/ |
D | provoke-crashes.txt | 32 mount -t debugfs debugfs /mnt 33 echo EXCEPTION > /mnt/provoke-crash/INT_HARDWARE_ENTRY
|
/linux-4.1.27/fs/ext4/ |
D | file.c | 256 struct vfsmount *mnt = filp->f_path.mnt; in ext4_file_open() local 271 path.mnt = mnt; in ext4_file_open() 272 path.dentry = mnt->mnt_root; in ext4_file_open()
|
D | ext4.h | 2300 extern int ext4_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
D | inode.c | 4870 int ext4_getattr(struct vfsmount *mnt, struct dentry *dentry, in ext4_getattr() argument
|
/linux-4.1.27/fs/btrfs/ |
D | super.c | 1195 struct vfsmount *mnt; in mount_subvol() local 1201 mnt = vfs_kern_mount(&btrfs_fs_type, flags, device_name, in mount_subvol() 1204 if (PTR_RET(mnt) == -EBUSY) { in mount_subvol() 1206 mnt = vfs_kern_mount(&btrfs_fs_type, flags & ~MS_RDONLY, device_name, in mount_subvol() 1210 mnt = vfs_kern_mount(&btrfs_fs_type, flags | MS_RDONLY, device_name, in mount_subvol() 1212 if (IS_ERR(mnt)) { in mount_subvol() 1214 return ERR_CAST(mnt); in mount_subvol() 1217 r = btrfs_remount(mnt->mnt_sb, &flags, NULL); in mount_subvol() 1228 if (IS_ERR(mnt)) in mount_subvol() 1229 return ERR_CAST(mnt); in mount_subvol() [all …]
|
D | ioctl.c | 3025 } else if (file->f_path.mnt != dst_file.file->f_path.mnt) { in btrfs_ioctl_file_extent_same() 3721 if (src_file.file->f_path.mnt != file->f_path.mnt) in btrfs_ioctl_clone()
|
D | inode.c | 9088 static int btrfs_getattr(struct vfsmount *mnt, in btrfs_getattr() argument
|
/linux-4.1.27/fs/kernfs/ |
D | kernfs-internal.h | 83 int kernfs_iop_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
D | inode.c | 270 int kernfs_iop_getattr(struct vfsmount *mnt, struct dentry *dentry, in kernfs_iop_getattr() argument
|
/linux-4.1.27/fs/ocfs2/ |
D | file.h | 71 int ocfs2_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
D | mmap.c | 183 file->f_path.mnt, &lock_level); in ocfs2_mmap()
|
D | file.c | 1274 int ocfs2_getattr(struct vfsmount *mnt, in ocfs2_getattr() argument 2460 ret = ocfs2_inode_lock_atime(inode, in->f_path.mnt, &lock_level); in ocfs2_file_splice_read() 2522 ret = ocfs2_inode_lock_atime(inode, filp->f_path.mnt, &lock_level); in ocfs2_file_read_iter()
|
D | refcounttree.c | 4447 if (old_path.mnt != new_path.mnt) { in ocfs2_reflink_ioctl()
|
D | dir.c | 1970 error = ocfs2_inode_lock_atime(inode, file->f_path.mnt, &lock_level); in ocfs2_readdir()
|
/linux-4.1.27/drivers/base/ |
D | devtmpfs.c | 311 struct path p = {.mnt = parent.mnt, .dentry = dentry}; in handle_remove()
|
/linux-4.1.27/fs/ecryptfs/ |
D | kthread.c | 143 req.path.mnt = lower_mnt; in ecryptfs_privileged_open()
|
D | main.c | 126 rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt, in ecryptfs_init_lower_file() 131 "rc = [%d]\n", path->dentry, path->mnt, rc); in ecryptfs_init_lower_file()
|
D | inode.c | 354 dentry_info->lower_path.mnt = lower_mnt; in ecryptfs_lookup_interpose() 978 static int ecryptfs_getattr_link(struct vfsmount *mnt, struct dentry *dentry, in ecryptfs_getattr_link() argument 1002 static int ecryptfs_getattr(struct vfsmount *mnt, struct dentry *dentry, in ecryptfs_getattr() argument
|
D | ecryptfs_kernel.h | 521 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt; in ecryptfs_dentry_to_lower_mnt()
|
/linux-4.1.27/arch/um/drivers/ |
D | mconsole_kern.c | 126 struct vfsmount *mnt = task_active_pid_ns(current)->proc_mnt; in mconsole_proc() local 136 file = file_open_root(mnt->mnt_root, mnt, ptr, O_RDONLY, 0); in mconsole_proc()
|
/linux-4.1.27/Documentation/ |
D | ramoops.txt | 117 # mount -t pstore pstore /mnt/ 118 # tail /mnt/ftrace-ramoops
|
D | initrd.txt | 139 # mount -t ext2 -o loop initrd /mnt 141 # mkdir /mnt/dev 142 # mknod /mnt/dev/console c 5 1 148 # chroot /mnt /sbin/init 155 # umount /mnt
|
D | bcache.txt | 72 mount /dev/bcache0 /mnt
|
/linux-4.1.27/security/keys/ |
D | big_key.c | 142 path->mnt = NULL; in big_key_destroy()
|
/linux-4.1.27/drivers/scsi/aacraid/ |
D | aachba.c | 622 (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE) && in _aac_probe_container2() 623 (le32_to_cpu(dresp->mnt[0].state) != FSCS_HIDDEN)) { in _aac_probe_container2() 626 dresp->mnt[0].fileinfo.bdevinfo.block_size = 0x200; in _aac_probe_container2() 630 le32_to_cpu(dresp->mnt[0].fileinfo.bdevinfo.block_size); in _aac_probe_container2() 634 if (dresp->mnt[0].state & cpu_to_le32(FSCS_NOT_READY)) in _aac_probe_container2() 638 fsa_dev_ptr->type = le32_to_cpu(dresp->mnt[0].vol); in _aac_probe_container2() 640 = ((u64)le32_to_cpu(dresp->mnt[0].capacity)) + in _aac_probe_container2() 641 (((u64)le32_to_cpu(dresp->mnt[0].capacityhigh)) << 32); in _aac_probe_container2() 642 fsa_dev_ptr->ro = ((le32_to_cpu(dresp->mnt[0].state) & FSCS_READONLY) != 0); in _aac_probe_container2() 666 dresp->mnt[0].capacityhigh = 0; in _aac_probe_container1() [all …]
|
D | aacraid.h | 1801 struct aac_mntent mnt[1]; member
|
/linux-4.1.27/Documentation/vm/ |
D | hugetlbpage.txt | 271 min_size=<value>,nr_inodes=<value> none /mnt/huge 274 /mnt/huge. Any files created on /mnt/huge uses huge pages. The uid and gid 283 filesystem (/mnt/huge). The size option can be specified in bytes, or as a 293 nr_inodes sets the maximum number of inodes that /mnt/huge can use. If the
|
/linux-4.1.27/drivers/staging/lustre/ |
D | README.txt | 29 mount -t lustre mgs:/fsname mnt
|
/linux-4.1.27/fs/coda/ |
D | inode.c | 258 int coda_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in coda_getattr() argument
|
/linux-4.1.27/Documentation/accounting/ |
D | delay-accounting.txt | 107 boot data2 data4 data6 etc lib mnt proc sbin subdomain tmp var
|
/linux-4.1.27/fs/hppfs/ |
D | hppfs.c | 437 path.mnt = inode->i_sb->s_fs_info; in hppfs_open() 493 path.mnt = inode->i_sb->s_fs_info; in hppfs_dir_open()
|
/linux-4.1.27/Documentation/cdrom/ |
D | ide-cd | 124 mount -t iso9660 /dev/cdrom /mnt/cdrom 127 device (as described in step 5 of the last section) and /mnt/cdrom is 129 CDROM under the /mnt/cdrom directory. If you want to eject the CDROM, 132 umount /mnt/cdrom
|
/linux-4.1.27/security/ |
D | security.c | 309 int security_sb_umount(struct vfsmount *mnt, int flags) in security_sb_umount() argument 311 return security_ops->sb_umount(mnt, flags); in security_sb_umount() 754 if (!(file->f_path.mnt->mnt_flags & MNT_NOEXEC)) { in mmap_prot()
|
D | commoncap.c | 450 if (bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID) in get_file_caps()
|
D | capability.c | 106 static int cap_sb_umount(struct vfsmount *mnt, int flags) in cap_sb_umount() argument
|
/linux-4.1.27/Documentation/cgroups/ |
D | blkio-controller.txt | 51 dd if=/mnt/sdb/zerofile1 of=/dev/null & 55 dd if=/mnt/sdb/zerofile2 of=/dev/null & 87 # dd if=/mnt/common/zerofile of=/dev/null bs=4K count=1024
|
/linux-4.1.27/Documentation/ide/ |
D | ide.txt | 129 mkdir /mnt/cdrom 130 mount /dev/cdrom /mnt/cdrom -t iso9660 -o ro
|
/linux-4.1.27/fs/fat/ |
D | file.c | 306 int fat_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in fat_getattr() argument
|
D | fat.h | 364 extern int fat_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
/linux-4.1.27/fs/xfs/ |
D | xfs_ioctl.c | 179 return exportfs_decode_fh(parfilp->f_path.mnt, (struct fid *)&fid, 3, in xfs_handle_to_dentry() 250 path.mnt = parfilp->f_path.mnt; in xfs_open_by_handle()
|
D | xfs_iops.c | 445 struct vfsmount *mnt, in xfs_vn_getattr() argument
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_disk.h | 538 struct vfsmount *mnt));
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | obd_mount.c | 57 struct vfsmount *mnt); 1265 struct vfsmount *mnt)) in lustre_register_client_fill_super() argument
|
/linux-4.1.27/net/unix/ |
D | af_unix.c | 515 u->path.mnt = NULL; in unix_release_sock() 759 u->path.mnt = NULL; in unix_create1() 959 res->mnt = mntget(path.mnt); in unix_mknod()
|
/linux-4.1.27/fs/sysv/ |
D | itree.c | 443 int sysv_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in sysv_getattr() argument
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | llite_internal.h | 761 int ll_getattr(struct vfsmount *mnt, struct dentry *de, struct kstat *stat); 797 int ll_fill_super(struct super_block *sb, struct vfsmount *mnt);
|
D | file.c | 1055 const struct vfsmount *mnt = file->f_path.mnt; in file_is_noatime() local 1068 if (mnt->mnt_flags & (MNT_NOATIME | MNT_READONLY)) in file_is_noatime() 1071 if ((mnt->mnt_flags & MNT_NODIRATIME) && S_ISDIR(inode->i_mode)) in file_is_noatime() 3020 int ll_getattr(struct vfsmount *mnt, struct dentry *de, struct kstat *stat) in ll_getattr() argument
|
D | llite_lib.c | 153 struct vfsmount *mnt) in client_common_fill_super() argument 911 int ll_fill_super(struct super_block *sb, struct vfsmount *mnt) in ll_fill_super() argument 993 err = client_common_fill_super(sb, md, dt, mnt); in ll_fill_super()
|
/linux-4.1.27/fs/minix/ |
D | inode.c | 626 int minix_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in minix_getattr() argument
|
/linux-4.1.27/fs/ceph/ |
D | super.h | 758 extern int ceph_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
D | inode.c | 1990 int ceph_getattr(struct vfsmount *mnt, struct dentry *dentry, in ceph_getattr() argument
|
/linux-4.1.27/Documentation/filesystems/nfs/ |
D | nfs-rdma.txt | 271 $ mount -o rdma,port=20049 <IPoIB-server-name-or-address>:/<export> /mnt
|
/linux-4.1.27/Documentation/filesystems/cifs/ |
D | README | 91 //server/usersharename /mnt/username cifs user 0 0 178 ln -s /mnt/foo bar 195 mount -t cifs //9.53.216.11/e$ /mnt -o user=myname,pass=mypassword 218 mount -t cifs tcp_name_of_server:share_name /mnt -o user=myname,pass=mypasswd
|
/linux-4.1.27/fs/9p/ |
D | vfs_inode_dotl.c | 473 v9fs_vfs_getattr_dotl(struct vfsmount *mnt, struct dentry *dentry, in v9fs_vfs_getattr_dotl() argument
|
D | vfs_inode.c | 1053 v9fs_vfs_getattr(struct vfsmount *mnt, struct dentry *dentry, in v9fs_vfs_getattr() argument
|
/linux-4.1.27/fs/ubifs/ |
D | ubifs.h | 1753 int ubifs_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
D | dir.c | 1135 int ubifs_getattr(struct vfsmount *mnt, struct dentry *dentry, in ubifs_getattr() argument
|
/linux-4.1.27/fs/hugetlbfs/ |
D | inode.c | 1009 path.mnt = mntget(hugetlbfs_vfsmount[hstate_idx]); in hugetlb_file_setup()
|
/linux-4.1.27/kernel/trace/ |
D | trace.c | 6691 struct vfsmount *mnt; in trace_automount() local 6702 mnt = vfs_kern_mount(type, 0, "tracefs", NULL); in trace_automount() 6704 if (IS_ERR(mnt)) in trace_automount() 6706 mntget(mnt); in trace_automount() 6708 return mnt; in trace_automount()
|
/linux-4.1.27/fs/f2fs/ |
D | file.c | 574 int f2fs_getattr(struct vfsmount *mnt, in f2fs_getattr() argument
|
/linux-4.1.27/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 348 host% mount root_fs mnt -o loop 359 make modules_install INSTALL_MOD_PATH=`pwd`/mnt ARCH=um 369 host% umount mnt 2084 mount /dev/ubd/4 /mnt 2133 UML# mount none /mnt/host -t hostfs 2138 will mount the host's / on the virtual machine's /mnt/host. 2145 UML# mount none /mnt/home -t hostfs -o /home 2150 will mount the hosts's /home on the virtual machine's /mnt/home.
|
/linux-4.1.27/mm/ |
D | mmap.c | 1272 if (!(file && (file->f_path.mnt->mnt_flags & MNT_NOEXEC))) in do_mmap_pgoff() 1344 if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) { in do_mmap_pgoff()
|
D | nommu.c | 1072 if (file->f_path.mnt->mnt_flags & MNT_NOEXEC) { in validate_mmap_request()
|
D | shmem.c | 3335 path.mnt = mntget(shm_mnt); in __shmem_file_setup()
|
/linux-4.1.27/Documentation/serial/ |
D | moxa-smartio | 150 # cp /mnt/cdrom/<driver directory>/mxser.tgz .
|
/linux-4.1.27/Documentation/blockdev/ |
D | paride.txt | 295 mount /dev/pf0 /mnt
|
/linux-4.1.27/security/selinux/ |
D | hooks.c | 2158 int nosuid = (bprm->file->f_path.mnt->mnt_flags & MNT_NOSUID); in check_nnp_nosuid() 2703 static int selinux_umount(struct vfsmount *mnt, int flags) in selinux_umount() argument 2707 return superblock_has_perm(cred, mnt->mnt_sb, in selinux_umount()
|
D | selinuxfs.c | 1874 selinux_null.mnt = selinuxfs_mount = kern_mount(&sel_fs_type); in init_sel_fs()
|
/linux-4.1.27/Documentation/scsi/ |
D | tmscsim.txt | 97 dd if=/dev/sda of=/mnt/floppy/sda bs=512 count=1
|
/linux-4.1.27/fs/gfs2/ |
D | inode.c | 1798 static int gfs2_getattr(struct vfsmount *mnt, struct dentry *dentry, in gfs2_getattr() argument
|
/linux-4.1.27/fs/fuse/ |
D | dir.c | 1726 static int fuse_getattr(struct vfsmount *mnt, struct dentry *entry, in fuse_getattr() argument
|
/linux-4.1.27/net/ |
D | socket.c | 370 path.mnt = mntget(sock_mnt); in sock_alloc_file()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | perfmon.c | 2200 path.mnt = mntget(pfmfs_mnt); in pfm_alloc_file()
|