Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/lib/api/fs/
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()
Dfs.c132 const char *mountpoint = lower_name##__mountpoint(); \
135 if (mountpoint) \
136 return mountpoint; \
271 const char *mountpoint; in fs__mount() local
276 mountpoint = fs__mountpoint(fs); in fs__mount()
277 if (mountpoint) in fs__mount()
280 mountpoint = mount_overload(fs); in fs__mount()
282 if (mount(NULL, mountpoint, fs->name, 0, NULL) == 0 && in fs__mount()
283 fs__valid_mount(mountpoint, fs->magic) == 0) { in fs__mount()
284 fs->path = strdup(mountpoint); in fs__mount()
[all …]
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()
Dtracing_path.h11 void tracing_path_set(const char *mountpoint);
/linux-6.6.21/Documentation/filesystems/
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 …]
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.
Dfuse.rst253 permissions on the mountpoint and only allowing the mount if
255 access to the mountpoint, and mountpoint is not a "sticky"
Dsharedsubtree.rst59 The above command replicates the mount at /mnt to the mountpoint /tmp
155 mount --make-shared mountpoint
156 mount --make-slave mountpoint
157 mount --make-private mountpoint
158 mount --make-unbindable mountpoint
Dsysv-fs.rst18 mount [-r] -t sysv device mountpoint
Dafs.rst138 to look up a name in this directory will cause a mountpoint to be created that
Dmount_api.rst391 struct path *mountpoint,
395 to the context is permitted to be attached to the specified mountpoint.
/linux-6.6.21/fs/
Dpnode.h40 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *,
48 void mnt_set_mountpoint(struct mount *, struct mountpoint *,
50 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp,
58 const struct mountpoint *mp);
Dnamespace.c782 static struct mountpoint *lookup_mountpoint(struct dentry *dentry) in lookup_mountpoint()
785 struct mountpoint *mp; in lookup_mountpoint()
796 static struct mountpoint *get_mountpoint(struct dentry *dentry) in get_mountpoint()
798 struct mountpoint *mp, *new = NULL; in get_mountpoint()
805 mountpoint: in get_mountpoint()
814 new = kmalloc(sizeof(struct mountpoint), GFP_KERNEL); in get_mountpoint()
824 goto mountpoint; in get_mountpoint()
850 static void __put_mountpoint(struct mountpoint *mp, struct list_head *list) in __put_mountpoint()
865 static void put_mountpoint(struct mountpoint *mp) in put_mountpoint()
900 static struct mountpoint *unhash_mnt(struct mount *mnt) in unhash_mnt()
[all …]
Dmount.h32 struct mountpoint { struct
65 struct mountpoint *mnt_mp; /* where is it mounted */
Dpnode.c224 static int propagate_one(struct mount *m, struct mountpoint *dest_mp) in propagate_one()
287 int propagate_mnt(struct mount *dest_mnt, struct mountpoint *dest_mp, in propagate_mnt()
378 const struct mountpoint *mp) in propagation_would_overmount()
539 struct mountpoint *mp; in restore_mounts()
Dnamei.c1278 struct dentry *mountpoint; in follow_up() local
1287 mountpoint = dget(mnt->mnt_mountpoint); in follow_up()
1290 path->dentry = mountpoint; in follow_up()
1301 struct dentry *mountpoint = m->mnt_mountpoint; in choose_mountpoint_rcu() local
1304 if (unlikely(root->dentry == mountpoint && in choose_mountpoint_rcu()
1307 if (mountpoint != m->mnt.mnt_root) { in choose_mountpoint_rcu()
1309 path->dentry = mountpoint; in choose_mountpoint_rcu()
1310 *seqp = read_seqcount_begin(&mountpoint->d_seq); in choose_mountpoint_rcu()
/linux-6.6.21/tools/testing/selftests/resctrl/
Dresctrlfs.c78 char mountpoint[256]; in umount_resctrlfs() local
81 ret = find_resctrl_mount(mountpoint); in umount_resctrlfs()
87 if (umount(mountpoint)) { in umount_resctrlfs()
/linux-6.6.21/tools/testing/selftests/filesystems/fat/
Drun_fat_tests.sh21 mountpoint -q "${MNT_PATH}" && unmount_image
/linux-6.6.21/include/linux/
Dmount.h103 extern struct vfsmount *vfs_submount(const struct dentry *mountpoint,
/linux-6.6.21/fs/cramfs/
DKconfig50 the MTD partition named "xip_fs" on the /mnt mountpoint:
/linux-6.6.21/fs/xfs/
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-6.6.21/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst62 bpftool uses cgroup v2 mountpoint.
/linux-6.6.21/tools/testing/selftests/gpio/
Dgpio-sim.sh168 mountpoint -q /sys/kernel/config && break
/linux-6.6.21/Documentation/accounting/
Dpsi.rst183 into cgroups. Each subdirectory in the cgroupfs mountpoint contains
/linux-6.6.21/Documentation/networking/
Dnetconsole.rst110 mountpoint).

12