Home
last modified time | relevance | path

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

/linux-4.1.27/tools/lib/api/fs/
Dtracefs.c55 char *tracefs_mount(const char *mountpoint) in tracefs_mount() argument
62 if (mountpoint == NULL) { in tracefs_mount()
64 mountpoint = getenv(PERF_TRACEFS_ENVIRONMENT); in tracefs_mount()
66 if (mountpoint == NULL) in tracefs_mount()
67 mountpoint = TRACEFS_DEFAULT_PATH; in tracefs_mount()
70 if (mount(NULL, mountpoint, "tracefs", 0, NULL) < 0) in tracefs_mount()
75 strncpy(tracefs_mountpoint, mountpoint, sizeof(tracefs_mountpoint)); in tracefs_mount()
Ddebugfs.c53 char *debugfs_mount(const char *mountpoint) in debugfs_mount() argument
60 if (mountpoint == NULL) { in debugfs_mount()
62 mountpoint = getenv(PERF_DEBUGFS_ENVIRONMENT); in debugfs_mount()
64 if (mountpoint == NULL) in debugfs_mount()
65 mountpoint = DEBUGFS_DEFAULT_PATH; in debugfs_mount()
68 if (mount(NULL, mountpoint, "debugfs", 0, NULL) < 0) in debugfs_mount()
73 strncpy(debugfs_mountpoint, mountpoint, sizeof(debugfs_mountpoint)); in debugfs_mount()
Dfindfs.c26 char *mountpoint, int len, in find_mountpoint() argument
38 strncpy(mountpoint, *ptr, len - 1); in find_mountpoint()
39 mountpoint[len-1] = 0; in find_mountpoint()
40 return mountpoint; in find_mountpoint()
53 while (fscanf(fp, format, mountpoint, type) == 2) { in find_mountpoint()
62 return mountpoint; in find_mountpoint()
Dtracefs.h17 char *tracefs_mount(const char *mountpoint);
Dfindfs.h18 char *mountpoint, int len,
Ddebugfs.h16 char *debugfs_mount(const char *mountpoint);
/linux-4.1.27/Documentation/filesystems/
Dautomount-support.txt3 in-kernel mounts to be performed and mountpoint degradation to be
17 it will be provided with the location of the mountpoint in the nameidata
29 mountpoint tree, thus making it accessible to userspace. Use the
32 If the mountpoint will be automatically expired, then do_add_mount()
50 And then if you look in the mountpoint catalogue, you'll see something like:
64 mountpoint to be expired in the automounting procedure outlined above.
87 mountpoint was accessed.
89 If a mountpoint is moved, it gets removed from the expiration list. If a bind
103 mountpoint (though some will be rejected - the current process's idea of the
107 If the mountpoint in question is in referenced by something other than
[all …]
Dautofs4-mount-control.txt366 Check if the given path is a mountpoint.
375 number (described below) or 0 if it isn't a mountpoint. In both cases
381 the descriptor corresponds to is considered a mountpoint if it is itself
382 a mountpoint or contains a mount, such as a multi-mount without a root
385 is one or 0 if it isn't a mountpoint.
Dfuse.txt269 permissions on the mountpoint and only allowing the mount if
271 access to the mountpoint, and mountpoint is not a "sticky"
Dsharedsubtree.txt52 The above command replicates the mount at /mnt to the mountpoint /tmp
143 mount --make-shared mountpoint
144 mount --make-slave mountpoint
145 mount --make-private mountpoint
146 mount --make-unbindable mountpoint
Dsysv-fs.txt10 mount [-r] -t sysv device mountpoint
Dvfs.txt101 will be attached to the mountpoint, so that when pathname resolution
102 reaches the mountpoint it will jump into the root of that vfsmount.
959 as well as procfs-style symlinks and mountpoint traversal.
1030 mountpoint and will remove the vfsmount from its expiration list in
1041 waiting to explore behind a 'mountpoint' whilst letting the daemon go
/linux-4.1.27/tools/perf/util/
Dcgroup.c14 char mountpoint[PATH_MAX + 1], tokens[PATH_MAX + 1], type[PATH_MAX + 1]; in cgroupfs_find_mountpoint() local
29 mountpoint, type, tokens) == 3) { in cgroupfs_find_mountpoint()
50 if (strlen(mountpoint) < maxlen) { in cgroupfs_find_mountpoint()
51 strcpy(buf, mountpoint); in cgroupfs_find_mountpoint()
Dutil.c313 static void set_tracing_events_path(const char *tracing, const char *mountpoint) in set_tracing_events_path() argument
316 mountpoint, tracing, "events"); in set_tracing_events_path()
319 static const char *__perf_tracefs_mount(const char *mountpoint) in __perf_tracefs_mount() argument
323 mnt = tracefs_mount(mountpoint); in __perf_tracefs_mount()
332 static const char *__perf_debugfs_mount(const char *mountpoint) in __perf_debugfs_mount() argument
336 mnt = debugfs_mount(mountpoint); in __perf_debugfs_mount()
345 const char *perf_debugfs_mount(const char *mountpoint) in perf_debugfs_mount() argument
349 mnt = __perf_tracefs_mount(mountpoint); in perf_debugfs_mount()
353 mnt = __perf_debugfs_mount(mountpoint); in perf_debugfs_mount()
Dutil.h87 extern void perf_debugfs_set_path(const char *mountpoint);
88 const char *perf_debugfs_mount(const char *mountpoint);
/linux-4.1.27/fs/
Dpnode.h42 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *,
50 void mnt_set_mountpoint(struct mount *, struct mountpoint *,
Dmount.h23 struct mountpoint { struct
56 struct mountpoint *mnt_mp; /* where is it mounted */
Dnamespace.c718 static struct mountpoint *lookup_mountpoint(struct dentry *dentry) in lookup_mountpoint()
721 struct mountpoint *mp; in lookup_mountpoint()
735 static struct mountpoint *new_mountpoint(struct dentry *dentry) in new_mountpoint()
738 struct mountpoint *mp; in new_mountpoint()
741 mp = kmalloc(sizeof(struct mountpoint), GFP_KERNEL); in new_mountpoint()
758 static void put_mountpoint(struct mountpoint *mp) in put_mountpoint()
836 struct mountpoint *mp, in mnt_set_mountpoint()
852 struct mountpoint *mp) in attach_mnt()
1545 struct mountpoint *mp; in __detach_mounts()
1888 struct mountpoint *dest_mp, in attach_recursive_mnt()
[all …]
Dpnode.c202 static struct mountpoint *mp;
278 int propagate_mnt(struct mount *dest_mnt, struct mountpoint *dest_mp, in propagate_mnt()
Ddcache.c1458 struct dentry *mountpoint; member
1466 data->mountpoint = dentry; in detach_and_collect()
1477 if (!data->mountpoint && !data->select.found) in check_and_drop()
1512 data.mountpoint = NULL; in d_invalidate()
1522 if (data.mountpoint) { in d_invalidate()
1523 detach_mounts(data.mountpoint); in d_invalidate()
1524 dput(data.mountpoint); in d_invalidate()
1527 if (!data.mountpoint && !data.select.found) in d_invalidate()
Dnamei.c937 struct dentry *mountpoint; in follow_up_rcu() local
942 mountpoint = mnt->mnt_mountpoint; in follow_up_rcu()
943 path->dentry = mountpoint; in follow_up_rcu()
962 struct dentry *mountpoint; in follow_up() local
971 mountpoint = dget(mnt->mnt_mountpoint); in follow_up()
974 path->dentry = mountpoint; in follow_up()
/linux-4.1.27/Documentation/fault-injection/
Dprovoke-crashes.txt30 <mountpoint>/provoke-crash/<crashpoint>. E.g.,
/linux-4.1.27/Documentation/filesystems/pohmelfs/
Dinfo.txt7 Each mountpoint is associated with a special index via this option.
61 Mount filesystem with given index $idx to /mnt mountpoint.
/linux-4.1.27/tools/perf/tests/
Dparse-events.c1226 const char *mountpoint; in count_tracepoints() local
1230 mountpoint = tracefs_find_mountpoint(); in count_tracepoints()
1231 if (mountpoint) { in count_tracepoints()
1233 mountpoint); in count_tracepoints()
1235 mountpoint = debugfs_find_mountpoint(); in count_tracepoints()
1237 mountpoint); in count_tracepoints()
/linux-4.1.27/Documentation/networking/
Dnetconsole.txt91 mountpoint).
/linux-4.1.27/include/linux/
Ddevice.h1025 static inline int devtmpfs_mount(const char *mountpoint) { return 0; } in devtmpfs_mount() argument
/linux-4.1.27/Documentation/filesystems/cifs/
DREADME374 suid Allow remote files on this mountpoint with suid enabled to