Searched refs:mountpoint (Results 1 - 56 of 56) sorted by relevance

/linux-4.1.27/tools/lib/api/fs/
H A Dfindfs.c10 /* verify that a mountpoint is actually the type we want */
26 char *mountpoint, int len, find_mountpoint()
38 strncpy(mountpoint, *ptr, len - 1); find_mountpoint()
39 mountpoint[len-1] = 0; find_mountpoint()
40 return mountpoint; find_mountpoint()
53 while (fscanf(fp, format, mountpoint, type) == 2) { find_mountpoint()
62 return mountpoint; find_mountpoint()
25 find_mountpoint(const char *fstype, long magic, char *mountpoint, int len, const char * const *known_mountpoints) find_mountpoint() argument
H A Dtracefs.c55 char *tracefs_mount(const char *mountpoint) tracefs_mount() argument
62 if (mountpoint == NULL) { tracefs_mount()
64 mountpoint = getenv(PERF_TRACEFS_ENVIRONMENT); tracefs_mount()
66 if (mountpoint == NULL) tracefs_mount()
67 mountpoint = TRACEFS_DEFAULT_PATH; tracefs_mount()
70 if (mount(NULL, mountpoint, "tracefs", 0, NULL) < 0) tracefs_mount()
73 /* save the mountpoint */ tracefs_mount()
75 strncpy(tracefs_mountpoint, mountpoint, sizeof(tracefs_mountpoint)); tracefs_mount()
H A Dtracefs.h17 char *tracefs_mount(const char *mountpoint);
H A Ddebugfs.c53 char *debugfs_mount(const char *mountpoint) debugfs_mount() argument
60 if (mountpoint == NULL) { debugfs_mount()
62 mountpoint = getenv(PERF_DEBUGFS_ENVIRONMENT); debugfs_mount()
64 if (mountpoint == NULL) debugfs_mount()
65 mountpoint = DEBUGFS_DEFAULT_PATH; debugfs_mount()
68 if (mount(NULL, mountpoint, "debugfs", 0, NULL) < 0) debugfs_mount()
71 /* save the mountpoint */ debugfs_mount()
73 strncpy(debugfs_mountpoint, mountpoint, sizeof(debugfs_mountpoint)); debugfs_mount()
H A Ddebugfs.h16 char *debugfs_mount(const char *mountpoint);
H A Dfindfs.h18 char *mountpoint, int len,
/linux-4.1.27/tools/perf/util/
H A Dcgroup.c14 char mountpoint[PATH_MAX + 1], tokens[PATH_MAX + 1], type[PATH_MAX + 1]; cgroupfs_find_mountpoint() local
29 mountpoint, type, tokens) == 3) { cgroupfs_find_mountpoint()
50 if (strlen(mountpoint) < maxlen) { cgroupfs_find_mountpoint()
51 strcpy(buf, mountpoint); cgroupfs_find_mountpoint()
H A Dutil.c313 static void set_tracing_events_path(const char *tracing, const char *mountpoint) set_tracing_events_path() argument
316 mountpoint, tracing, "events"); set_tracing_events_path()
319 static const char *__perf_tracefs_mount(const char *mountpoint) __perf_tracefs_mount() argument
323 mnt = tracefs_mount(mountpoint); __perf_tracefs_mount()
332 static const char *__perf_debugfs_mount(const char *mountpoint) __perf_debugfs_mount() argument
336 mnt = debugfs_mount(mountpoint); __perf_debugfs_mount()
345 const char *perf_debugfs_mount(const char *mountpoint) perf_debugfs_mount() argument
349 mnt = __perf_tracefs_mount(mountpoint); perf_debugfs_mount()
353 mnt = __perf_debugfs_mount(mountpoint); perf_debugfs_mount()
H A 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/
H A Dpnode.h42 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *,
50 void mnt_set_mountpoint(struct mount *, struct mountpoint *,
H A Dmount.h23 struct mountpoint { struct
56 struct mountpoint *mnt_mp; /* where is it mounted */
57 struct hlist_node mnt_mp_list; /* list mounts with the same mountpoint */
H A Dnamespace.c73 * vfsmount hash, ie. during mountpoint lookups or walking back
400 * on a mountpoint that we already know has a write reference
684 * __is_local_mountpoint - Test to see if dentry is a mountpoint in the
689 * dealing with a mountpoint of some kind, walk through all of the
691 * is a mountpoint.
718 static struct mountpoint *lookup_mountpoint(struct dentry *dentry) lookup_mountpoint()
721 struct mountpoint *mp; lookup_mountpoint()
735 static struct mountpoint *new_mountpoint(struct dentry *dentry) new_mountpoint()
738 struct mountpoint *mp; new_mountpoint()
741 mp = kmalloc(sizeof(struct mountpoint), GFP_KERNEL); new_mountpoint()
758 static void put_mountpoint(struct mountpoint *mp) put_mountpoint()
827 /* old mountpoint will be dropped when we can do that */ umount_mnt()
836 struct mountpoint *mp, mnt_set_mountpoint()
852 struct mountpoint *mp) attach_mnt()
1449 * Allow userspace to request a mountpoint be expired rather than do_umount()
1537 * to an existing mountpoint, and wind up leaking the mount.
1545 struct mountpoint *mp; __detach_mounts()
1827 * store the parent mount and mountpoint dentry.
1888 struct mountpoint *dest_mp, attach_recursive_mnt()
1940 static struct mountpoint *lock_mount(struct path *path) lock_mount()
1953 struct mountpoint *mp = lookup_mountpoint(dentry); lock_mount()
1971 static void unlock_mount(struct mountpoint *where) unlock_mount()
1979 static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp) graft_tree()
2009 * recursively change the type of the mountpoint.
2064 struct mountpoint *mp; do_loopback()
2227 struct mountpoint *mp; do_move_mount()
2320 struct mountpoint *mp; do_add_mount()
2336 /* ... and for those we'd better have mountpoint still alive */ do_add_mount()
2502 * search the list of submounts for a given mountpoint, and move any
2547 * submounts of a specific parent mountpoint
2556 /* extract submounts of 'mountpoint' from the expiration list */ shrink_submounts()
2662 /* ... and get the mountpoint */ do_mount()
2678 /* Separate the per-mountpoint flags */ do_mount()
2838 * @mnt: pointer to the new root filesystem mountpoint
2954 * file system may be mounted on put_old. After all, new_root is a mountpoint.
2964 * /nfs/my_root where /nfs is the mount point. It must be a mountpoint,
2973 struct mountpoint *old_mp, *root_mp; SYSCALL_DEFINE2()
3017 goto out4; /* not a mountpoint */ SYSCALL_DEFINE2()
3022 goto out4; /* not a mountpoint */ SYSCALL_DEFINE2()
H A Dpnode.c202 static struct mountpoint *mp;
217 /* skip if mountpoint isn't covered by it */ propagate_one()
278 int propagate_mnt(struct mount *dest_mnt, struct mountpoint *dest_mp, propagate_mnt()
H A Dnamei.c937 struct dentry *mountpoint; follow_up_rcu() local
942 mountpoint = mnt->mnt_mountpoint; follow_up_rcu()
943 path->dentry = mountpoint; follow_up_rcu()
949 * follow_up - Find the mountpoint of path's vfsmount
951 * Given a path, find the mountpoint of its source file system.
952 * Replace @path with the path of the mountpoint in the parent mount.
962 struct dentry *mountpoint; follow_up() local
971 mountpoint = dget(mnt->mnt_mountpoint); follow_up()
974 path->dentry = mountpoint; follow_up()
1000 * create a file of any type under the mountpoint, wants to follow_automount()
1001 * traverse through the mountpoint or wants to open the follow_automount()
1059 * - Flagged as mountpoint
1150 * Try to skip to top of mountpoint pile in rcuwalk mode. Fail if
1159 * Don't forget we might have a non-mountpoint managed dentry __follow_mount_rcu()
1298 * Skip to top of mountpoint pile in refwalk mode for follow_dotdot()
2435 * simply want track down the dentry and vfsmount attached at the mountpoint
2482 * 9. We can't remove a root or mountpoint.
H A Ddcache.c1299 * Called by mount code to set a mountpoint and check if the mountpoint is
1458 struct dentry *mountpoint; member in struct:detach_data
1466 data->mountpoint = dentry; detach_and_collect()
1477 if (!data->mountpoint && !data->select.found) check_and_drop()
1489 * ensures there are no unhashed dentries on the path to a mountpoint.
1512 data.mountpoint = NULL; d_invalidate()
1522 if (data.mountpoint) { d_invalidate()
1523 detach_mounts(data.mountpoint); d_invalidate()
1524 dput(data.mountpoint); d_invalidate()
1527 if (!data.mountpoint && !data.select.found) d_invalidate()
/linux-4.1.27/fs/nfs/
H A Dnamespace.c128 * nfs_d_automount - Handle crossing a mountpoint on the server
129 * @path - The mountpoint
131 * When we encounter a mountpoint on the server, we want to set up
132 * a mountpoint on the client too, to prevent inode numbers from
223 * Clone a mountpoint of the appropriate type
233 * nfs_do_submount - set up mountpoint when crossing a filesystem boundary
H A Dpnfs_dev.c148 * list of known devices for this mountpoint. nfs4_get_device_info()
H A Dnfs4namespace.c291 * nfs_follow_referral - set up mountpoint when hitting a referral on moved error
H A Ddir.c122 /* This is a mountpoint, so d_revalidate will never nfs_opendir()
493 /* Is there a mountpoint here? If so, just exit */ nfs_prime_dcache()
1251 * parent dir (e.g.: ".", "..", procfs symlinks or mountpoint traversals).
H A Dpnfs.h400 /* Return true if a layout driver is being used for this mountpoint */ pnfs_enabled_sb()
H A Dsuper.c716 * Describe the mount options on this VFS mountpoint
802 * Present statistical information for this VFS mountpoint
/linux-4.1.27/fs/afs/
H A Dmntpt.c0 /* mountpoint management
50 * check a symbolic link to see whether it actually encodes a mountpoint
85 _debug("symlink is a mountpoint"); afs_mntpt_check_symlink()
246 * handle mountpoint expiry timer going off
262 * kill the AFS mountpoint timer if it's still running
H A Dinode.c82 /* check to see whether a symbolic link is really a mountpoint */ afs_inode_map_status()
H A Ddir.c458 * Try to auto mount the mountpoint with pseudo directory, if the autocell
H A Dinternal.h357 #define AFS_VNODE_MOUNTPOINT 5 /* set if vnode is a mountpoint symlink */
/linux-4.1.27/include/uapi/linux/nfsd/
H A Dexport.h47 * subdirectory was a mountpoint, and ignored if they are not themselves
/linux-4.1.27/fs/xfs/
H A Dxfs_export.h58 * inodes you should either export the mountpoint (rather than
/linux-4.1.27/include/linux/
H A Dauto_dev-ioctl.h167 /* Check if path is a mountpoint */
H A Ddcache.h210 #define DCACHE_MOUNTED 0x00010000 /* is a mountpoint */
H A Ddevice.h1025 static inline int devtmpfs_mount(const char *mountpoint) { return 0; } devtmpfs_mount() argument
H A Dsecurity.h259 * mountpoint.
/linux-4.1.27/drivers/mtd/
H A Dmtdsuper.c88 /* new mountpoint for an already mounted superblock */ mount_mtd_aux()
/linux-4.1.27/fs/proc/
H A Droot.c191 /* just give it a mountpoint */ proc_root_init()
/linux-4.1.27/fs/autofs4/
H A Ddev-ioctl.c497 * Check if the given path is a mountpoint.
501 * the path is considered a mountpoint if it is itself a
502 * mountpoint or contains a mount, such as a multi-mount
505 * mount if there is one or 0 if it isn't a mountpoint.
H A Dexpire.c365 DPRINTK("checking mountpoint %p %pd", dentry, dentry); should_expire()
/linux-4.1.27/security/selinux/include/
H A Dsecurity.h177 #define SECURITY_FS_USE_MNTPOINT 6 /* use mountpoint labeling */
/linux-4.1.27/tools/perf/tests/
H A Dparse-events.c1226 const char *mountpoint; count_tracepoints() local
1230 mountpoint = tracefs_find_mountpoint(); count_tracepoints()
1231 if (mountpoint) { count_tracepoints()
1233 mountpoint); count_tracepoints()
1235 mountpoint = debugfs_find_mountpoint(); count_tracepoints()
1237 mountpoint); count_tracepoints()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Ddcache.c98 /* mountpoint is always valid */ ll_dcompare()
H A Drw.c1245 /* if the mountpoint is being umounted, all pages have to be ll_writepages()
/linux-4.1.27/drivers/firmware/efi/
H A Defi.c218 /* and the standard mountpoint for efivarfs */ efisubsys_init()
/linux-4.1.27/fs/cachefiles/
H A Dinternal.h61 struct vfsmount *mnt; /* mountpoint holding the cache */
/linux-4.1.27/fs/nfsd/
H A Dvfs.c101 * "underneath" a mountpoint that is not exported. nfsd_cross_mnt()
204 /* checking mountpoint crossing is very different when stepping up */ nfsd_lookup_dentry()
243 * If the lookup would cross a mountpoint, and the mounted filesystem
247 * NOTE: this mountpoint crossing is not supported properly by all
H A Dnfsfh.c330 * mountpoint crossing may have changed the export fh_verify()
H A Dnfs4xdr.c2843 * In the case of a mountpoint, the client may be asking for nfsd4_encode_dirent_fattr()
2847 * directly from the mountpoint dentry. nfsd4_encode_dirent_fattr()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_disk.h501 struct backing_dev_info lsi_bdi; /* each client mountpoint needs
/linux-4.1.27/drivers/usb/core/
H A Ddevices.c24 * <mountpoint>/devices contains USB topology, device, config, class,
/linux-4.1.27/fs/ocfs2/
H A Docfs2.h260 * this mountpoint. */
/linux-4.1.27/fs/ncpfs/
H A Dioctl.c851 * it as is. Of course not for mountpoint owner, as ncp_ioctl()
H A Dinode.c703 /* set dates of mountpoint to Jan 1, 1986; 00:00 */ ncp_fill_super()
/linux-4.1.27/fs/ceph/
H A Dsuper.c801 dout("mount opening base mountpoint\n"); ceph_real_mount()
/linux-4.1.27/fs/debugfs/
H A Dinode.c681 /* Source does not exist, cyclic rename, or mountpoint? */ debugfs_rename()
/linux-4.1.27/fs/ecryptfs/
H A Decryptfs_kernel.h271 * ecryptfs_global_auth_tok - A key used to encrypt all new files under the mountpoint
/linux-4.1.27/drivers/xen/xenbus/
H A Dxenbus_probe.c827 * Create xenfs mountpoint in /proc for compatibility with xenbus_init()
/linux-4.1.27/security/smack/
H A Dsmackfs.c2555 printk(KERN_ERR "smackfs: sysfs mountpoint problem.\n"); init_smk_fs()
/linux-4.1.27/security/selinux/
H A Dhooks.c332 "uses mountpoint labeling",
754 * sets the label used on all file below the mountpoint, and will set selinux_set_mnt_opts()
/linux-4.1.27/fs/btrfs/
H A Dioctl.c766 * 9. We can't remove a root or mountpoint.

Completed in 1679 milliseconds