mountpoint
struct mountpoint *mnt_mp; /* where is it mounted */
struct dentry *mountpoint;
mountpoint = dget(mnt->mnt_mountpoint);
path->dentry = mountpoint;
struct dentry *mountpoint = m->mnt_mountpoint;
if (unlikely(root->dentry == mountpoint &&
if (mountpoint != m->mnt.mnt_root) {
path->dentry = mountpoint;
*seqp = read_seqcount_begin(&mountpoint->d_seq);
struct mountpoint *mp,
struct mountpoint *mp)
void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct mount *mnt)
struct mountpoint *old_mp = mnt->mnt_mp;
struct mountpoint *dest_mp = dest->mp;
struct mountpoint *shorter = NULL;
struct mountpoint *mp = root.mp;
static void mnt_warn_timestamp_expiry(const struct path *mountpoint,
mntpath = d_path(mountpoint, buf, PAGE_SIZE);
const struct mountpoint *mp)
static int do_new_mount_fc(struct fs_context *fc, const struct path *mountpoint,
mnt_warn_timestamp_expiry(mountpoint, mnt);
LOCK_MOUNT(mp, mountpoint);
struct mountpoint *mp;
struct mountpoint *mp;
struct mountpoint *mp __free(kfree) = NULL;
mountpoint:
mp = kmalloc_obj(struct mountpoint);
goto mountpoint;
static void maybe_free_mountpoint(struct mountpoint *mp, struct list_head *list)
struct mountpoint *mp;
static bool need_secondary(struct mount *m, struct mountpoint *dest_mp)
int propagate_mnt(struct mount *dest_mnt, struct mountpoint *dest_mp,
const struct mountpoint *mp)
struct mountpoint *mp;
int propagate_mnt(struct mount *, struct mountpoint *, struct mount *,
void mnt_set_mountpoint(struct mount *, struct mountpoint *,
void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp,
const struct mountpoint *mp);
if (mountpoint[0] && strlen(mountpoint) < maxlen) {
strcpy(buf, mountpoint);
char mountpoint[PATH_MAX];
char mountpoint[PATH_MAX];
if (strlen(cached->mountpoint) < maxlen) {
strcpy(buf, cached->mountpoint);
mountpoint[0] = '\0';
strcpy(mountpoint, path);
strcpy(mountpoint, path);
strcpy(cached->mountpoint, mountpoint);
const char *mountpoint = lower_name##__mountpoint(); \
if (mountpoint) \
return mountpoint; \
const char *mountpoint;
mountpoint = fs__mountpoint(fs);
if (mountpoint)
mountpoint = mount_overload(fs);
if (mount(NULL, mountpoint, fs->name, 0, NULL) == 0 &&
fs__valid_mount(mountpoint, fs->magic) == 0) {
fs->path = strdup(mountpoint);
mountpoint = fs->path;
return mountpoint;
static void __tracing_path_set(const char *tracing, const char *mountpoint)
mountpoint, tracing);
void tracing_path_set(const char *mountpoint);
char mountpoint[256];
ret = find_resctrl_mount(mountpoint);
if (umount(mountpoint)) {