Home
last modified time | relevance | path

Searched refs:mountpoint (Results 1 – 25 of 34) sorted by relevance

12

/linux/tools/lib/api/fs/
H A Dcgroup.c13 char mountpoint[PATH_MAX]; member
25 char mountpoint[PATH_MAX]; in cgroupfs_find_mountpoint() local
28 if (strlen(cached->mountpoint) < maxlen) { in cgroupfs_find_mountpoint()
29 strcpy(buf, cached->mountpoint); in cgroupfs_find_mountpoint()
45 mountpoint[0] = '\0'; in cgroupfs_find_mountpoint()
73 strcpy(mountpoint, path); in cgroupfs_find_mountpoint()
88 strcpy(mountpoint, path); in cgroupfs_find_mountpoint()
99 strcpy(cached->mountpoint, mountpoint); in cgroupfs_find_mountpoint()
102 if (mountpoint[0] && strlen(mountpoint) < maxlen) { in cgroupfs_find_mountpoint()
103 strcpy(buf, mountpoint); in cgroupfs_find_mountpoint()
H A Dfs.c133 const char *mountpoint = lower_name##__mountpoint(); \
136 if (mountpoint) \
137 return mountpoint; \
272 const char *mountpoint; in fs__mount() local
277 mountpoint = fs__mountpoint(fs); in fs__mount()
278 if (mountpoint) in fs__mount()
281 mountpoint = mount_overload(fs); in fs__mount()
283 if (mount(NULL, mountpoint, fs->name, 0, NULL) == 0 && in fs__mount()
284 fs__valid_mount(mountpoint, fs->magic) == 0) { in fs__mount()
285 fs->path = strdup(mountpoint); in fs__mount()
[all …]
H A Dtracing_path.c18 static void __tracing_path_set(const char *tracing, const char *mountpoint) in __tracing_path_set() argument
21 mountpoint, tracing); in __tracing_path_set()
H A Dtracing_path.h11 void tracing_path_set(const char *mountpoint);
/linux/Documentation/filesystems/
H A Dautomount-support.rst11 performed and mountpoint degradation to be requested. The latter can
30 And then if you look in the mountpoint catalogue, you'll see something like::
43 mountpoint to be expired in the automounting procedure outlined separately.
50 (2) When a new mountpoint is created in the ->d_automount method, add
68 mountpoint was accessed.
70 If a mountpoint is moved, it gets removed from the expiration list. If a bind
83 mountpoint (though some will be rejected - the current process's idea of the
87 If the mountpoint in question is in referenced by something other than
88 umount() or its parent mountpoint, an EBUSY error will be returned and the
89 mountpoint will not be marked for expiration or unmounted.
[all …]
H A Dpropagate_umount.txt5 that set - anything with the same mountpoint as one of the removed
34 the same parent/mountpoint pair; however, the caller (umount_tree())
52 the same mountpoint as some mount m in U *and* whose parent receives
60 child = look_up(q, mountpoint(m))
74 in Propagation(parent(child)) with the same mountpoint has been already
84 child = look_up(q, mountpoint(m))
137 mountpoint strictly inside x.
159 mountpoint of x_1 is strictly inside x. If mount r belongs to S, it must
220 if (mountpoint(n) != root(m))
228 if (mountpoint(m) != root(parent(m)))
[all …]
H A Dautofs-mount-control.rst384 Check if the given path is a mountpoint.
394 it isn't a mountpoint. In both cases the device number (as returned
399 the descriptor corresponds to is considered a mountpoint if it is itself
400 a mountpoint or contains a mount, such as a multi-mount without a root
403 is one or 0 if it isn't a mountpoint.
H A Dsharedsubtree.rst55 The above command replicates the mount at /mnt to the mountpoint /tmp
156 mount --make-shared mountpoint
157 mount --make-slave mountpoint
158 mount --make-private mountpoint
159 mount --make-unbindable mountpoint
H A Dafs.rst138 to look up a name in this directory will cause a mountpoint to be created that
/linux/fs/
H A Dpnode.h46 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *,
54 void mnt_set_mountpoint(struct mount *, struct mountpoint *,
56 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp,
64 const struct mountpoint *mp);
H A Dpnode.c260 static bool need_secondary(struct mount *m, struct mountpoint *dest_mp) in need_secondary()
311 int propagate_mnt(struct mount *dest_mnt, struct mountpoint *dest_mp, in propagate_mnt()
397 const struct mountpoint *mp) in propagation_would_overmount()
634 struct mountpoint *mp; in reparent()
H A Dmount.h37 struct mountpoint { struct
73 struct mountpoint *mnt_mp; /* where is it mounted */
H A Dnamespace.c869 struct mountpoint *mp;
876 struct mountpoint *mp; in lookup_mountpoint()
890 struct mountpoint *mp __free(kfree) = NULL; in get_mountpoint()
898 mountpoint: in get_mountpoint()
907 mp = kmalloc(sizeof(struct mountpoint), GFP_KERNEL); in get_mountpoint()
916 goto mountpoint; in get_mountpoint()
937 static void maybe_free_mountpoint(struct mountpoint *mp, struct list_head *list) in maybe_free_mountpoint()
1004 struct mountpoint *mp; in __umount_mnt()
1030 struct mountpoint *mp, in mnt_set_mountpoint()
1066 struct mountpoint *mp) in attach_mnt()
[all …]
H A Dnamei.c1363 struct dentry *mountpoint; in follow_up() local
1372 mountpoint = dget(mnt->mnt_mountpoint); in follow_up()
1375 path->dentry = mountpoint; in follow_up()
1386 struct dentry *mountpoint = m->mnt_mountpoint; in choose_mountpoint_rcu() local
1389 if (unlikely(root->dentry == mountpoint && in choose_mountpoint_rcu()
1392 if (mountpoint != m->mnt.mnt_root) { in choose_mountpoint_rcu()
1394 path->dentry = mountpoint; in choose_mountpoint_rcu()
1395 *seqp = read_seqcount_begin(&mountpoint->d_seq); in choose_mountpoint_rcu()
/linux/tools/testing/selftests/resctrl/
H A Dresctrlfs.c81 char mountpoint[256]; in umount_resctrlfs() local
84 ret = find_resctrl_mount(mountpoint); in umount_resctrlfs()
90 if (umount(mountpoint)) { in umount_resctrlfs()
/linux/tools/testing/selftests/filesystems/fat/
H A Drun_fat_tests.sh21 mountpoint -q "${MNT_PATH}" && unmount_image
/linux/fs/cramfs/
H A DKconfig50 the MTD partition named "xip_fs" on the /mnt mountpoint:
/linux/tools/testing/selftests/bpf/
H A Dtest_bpftool_map.sh40 while mountpoint -q "$BPF_DIR" && [ $attempt -lt $max_attempts ]; do
/linux/Documentation/filesystems/fuse/
H A Dfuse.rst267 permissions on the mountpoint and only allowing the mount if
269 access to the mountpoint, and mountpoint is not a "sticky"
/linux/fs/xfs/
H A DKconfig38 xfs_info against a filesystem mountpoint and checking for a string
65 xfs_info against a filesystem mountpoint and checking for a string
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-cgroup.rst64 If *CGROUP_ROOT* is not specified, bpftool uses cgroup v2 mountpoint.
/linux/tools/gpio/
H A Dgpio-sloppy-logic-analyzer.sh38 -k|--kernel-debug-dir <str>: path to the kernel debugfs mountpoint. Default: <$debugdir>
/linux/tools/testing/selftests/gpio/
H A Dgpio-sim.sh169 mountpoint -q /sys/kernel/config && break
H A Dgpio-aggregator.sh221 mountpoint -q /sys/kernel/config && break
/linux/Documentation/accounting/
H A Dpsi.rst183 into cgroups. Each subdirectory in the cgroupfs mountpoint contains

12