/linux-4.1.27/tools/lib/api/fs/ |
H A D | findfs.c | 10 /* 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 D | tracefs.c | 55 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 D | tracefs.h | 17 char *tracefs_mount(const char *mountpoint);
|
H A D | debugfs.c | 53 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 D | debugfs.h | 16 char *debugfs_mount(const char *mountpoint);
|
H A D | findfs.h | 18 char *mountpoint, int len,
|
/linux-4.1.27/tools/perf/util/ |
H A D | cgroup.c | 14 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 D | util.c | 313 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 D | util.h | 87 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 D | pnode.h | 42 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *, 50 void mnt_set_mountpoint(struct mount *, struct mountpoint *,
|
H A D | mount.h | 23 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 D | namespace.c | 73 * 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 D | pnode.c | 202 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 D | namei.c | 937 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 D | dcache.c | 1299 * 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 D | namespace.c | 128 * 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 D | pnfs_dev.c | 148 * list of known devices for this mountpoint. nfs4_get_device_info()
|
H A D | nfs4namespace.c | 291 * nfs_follow_referral - set up mountpoint when hitting a referral on moved error
|
H A D | dir.c | 122 /* 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 D | pnfs.h | 400 /* Return true if a layout driver is being used for this mountpoint */ pnfs_enabled_sb()
|
H A D | super.c | 716 * Describe the mount options on this VFS mountpoint 802 * Present statistical information for this VFS mountpoint
|
/linux-4.1.27/fs/afs/ |
H A D | mntpt.c | 0 /* 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 D | inode.c | 82 /* check to see whether a symbolic link is really a mountpoint */ afs_inode_map_status()
|
H A D | dir.c | 458 * Try to auto mount the mountpoint with pseudo directory, if the autocell
|
H A D | internal.h | 357 #define AFS_VNODE_MOUNTPOINT 5 /* set if vnode is a mountpoint symlink */
|
/linux-4.1.27/include/uapi/linux/nfsd/ |
H A D | export.h | 47 * subdirectory was a mountpoint, and ignored if they are not themselves
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_export.h | 58 * inodes you should either export the mountpoint (rather than
|
/linux-4.1.27/include/linux/ |
H A D | auto_dev-ioctl.h | 167 /* Check if path is a mountpoint */
|
H A D | dcache.h | 210 #define DCACHE_MOUNTED 0x00010000 /* is a mountpoint */
|
H A D | device.h | 1025 static inline int devtmpfs_mount(const char *mountpoint) { return 0; } devtmpfs_mount() argument
|
H A D | security.h | 259 * mountpoint.
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtdsuper.c | 88 /* new mountpoint for an already mounted superblock */ mount_mtd_aux()
|
/linux-4.1.27/fs/proc/ |
H A D | root.c | 191 /* just give it a mountpoint */ proc_root_init()
|
/linux-4.1.27/fs/autofs4/ |
H A D | dev-ioctl.c | 497 * 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 D | expire.c | 365 DPRINTK("checking mountpoint %p %pd", dentry, dentry); should_expire()
|
/linux-4.1.27/security/selinux/include/ |
H A D | security.h | 177 #define SECURITY_FS_USE_MNTPOINT 6 /* use mountpoint labeling */
|
/linux-4.1.27/tools/perf/tests/ |
H A D | parse-events.c | 1226 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 D | dcache.c | 98 /* mountpoint is always valid */ ll_dcompare()
|
H A D | rw.c | 1245 /* if the mountpoint is being umounted, all pages have to be ll_writepages()
|
/linux-4.1.27/drivers/firmware/efi/ |
H A D | efi.c | 218 /* and the standard mountpoint for efivarfs */ efisubsys_init()
|
/linux-4.1.27/fs/cachefiles/ |
H A D | internal.h | 61 struct vfsmount *mnt; /* mountpoint holding the cache */
|
/linux-4.1.27/fs/nfsd/ |
H A D | vfs.c | 101 * "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 D | nfsfh.c | 330 * mountpoint crossing may have changed the export fh_verify()
|
H A D | nfs4xdr.c | 2843 * 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 D | lustre_disk.h | 501 struct backing_dev_info lsi_bdi; /* each client mountpoint needs
|
/linux-4.1.27/drivers/usb/core/ |
H A D | devices.c | 24 * <mountpoint>/devices contains USB topology, device, config, class,
|
/linux-4.1.27/fs/ocfs2/ |
H A D | ocfs2.h | 260 * this mountpoint. */
|
/linux-4.1.27/fs/ncpfs/ |
H A D | ioctl.c | 851 * it as is. Of course not for mountpoint owner, as ncp_ioctl()
|
H A D | inode.c | 703 /* set dates of mountpoint to Jan 1, 1986; 00:00 */ ncp_fill_super()
|
/linux-4.1.27/fs/ceph/ |
H A D | super.c | 801 dout("mount opening base mountpoint\n"); ceph_real_mount()
|
/linux-4.1.27/fs/debugfs/ |
H A D | inode.c | 681 /* Source does not exist, cyclic rename, or mountpoint? */ debugfs_rename()
|
/linux-4.1.27/fs/ecryptfs/ |
H A D | ecryptfs_kernel.h | 271 * ecryptfs_global_auth_tok - A key used to encrypt all new files under the mountpoint
|
/linux-4.1.27/drivers/xen/xenbus/ |
H A D | xenbus_probe.c | 827 * Create xenfs mountpoint in /proc for compatibility with xenbus_init()
|
/linux-4.1.27/security/smack/ |
H A D | smackfs.c | 2555 printk(KERN_ERR "smackfs: sysfs mountpoint problem.\n"); init_smk_fs()
|
/linux-4.1.27/security/selinux/ |
H A D | hooks.c | 332 "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 D | ioctl.c | 766 * 9. We can't remove a root or mountpoint.
|