/third_party/ltp/testcases/kernel/tracing/ftrace_test/ |
H A D | ftrace_lib.sh | 40 mount -t debugfs xxx $DEBUGFS_PATH
|
/third_party/ltp/testcases/misc/lvm/ |
H A D | prepare_lvm.sh | 5 # Create and mount LVM volume groups for lvm.local runfile 9 TST_NEEDS_CMDS="mount pvcreate vgcreate lvcreate" 38 ROD mount "$lvdev" $fsname
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugefallocate/ |
H A D | hugefallocate01.c | 18 #include <sys/mount.h>
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
H A D | hugemmap19.c | 25 #include <sys/mount.h>
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
H A D | ioctl09.c | 13 #include <sys/mount.h>
|
/third_party/ltp/testcases/kernel/syscalls/mkdir/ |
H A D | mkdir03.c | 17 #include <sys/mount.h>
|
/third_party/toybox/toys/other/ |
H A D | switch_root.c | 89 // Fix the appearance of the mount table in the newroot chroot in switch_root_main() 90 if (mount(".", "/", NULL, MS_MOVE, NULL)) { in switch_root_main() 91 perror_msg("mount"); in switch_root_main()
|
/third_party/skia/platform_tools/ios/bin/ |
H A D | ios_setup.sh | 11 # File system location where we mount the ios devices. 17 # relative to the mount point. 64 if $(mount | grep --quiet "$IOS_MOUNT_POINT"); then 69 # Ensure there is a mount directory.
|
/third_party/rust/crates/nix/test/ |
H A D | test_nmount.rs | 4 mount::{unmount, MntFlags, Nmount},
|
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/ |
H A D | ftracetest | 161 mount -t tracefs nodev /sys/kernel/tracing || 162 errexit "Failed to mount /sys/kernel/tracing" 167 mount -t debugfs nodev /sys/kernel/debug || 168 errexit "Failed to mount /sys/kernel/debug"
|
/kernel/linux/linux-5.10/tools/lib/api/fs/ |
H A D | fs.c | 14 #include <sys/mount.h> 258 /* the mount point was already checked for the mount point in fs__mountpoint() 291 if (mount(NULL, mountpoint, fs->name, 0, NULL) < 0) in fs__mount()
|
/kernel/linux/linux-5.10/fs/9p/ |
H A D | vfs_super.c | 6 * you mount this file system on directories. 21 #include <linux/mount.h> 101 * v9fs_mount - mount a superblock 103 * @flags: mount flags 105 * @data: mount options 187 p9_debug(P9_DEBUG_VFS, " simple set mount, return 0\n"); in v9fs_mount() 358 .mount = v9fs_mount,
|
/kernel/linux/linux-5.10/fs/ |
H A D | d_path.c | 9 #include "mount.h" 81 struct mount *mnt; in prepend_path() 104 struct mount *parent = READ_ONCE(mnt->mnt_parent); in prepend_path()
|
/kernel/linux/linux-6.6/fs/ |
H A D | d_path.c | 9 #include "mount.h" 104 static int __prepend_path(const struct dentry *dentry, const struct mount *mnt, in __prepend_path() 111 struct mount *m = READ_ONCE(mnt->mnt_parent); in __prepend_path()
|
H A D | libfs.c | 12 #include <linux/mount.h> 784 * @idmap: idmap of the target mount 982 int simple_pin_fs(struct file_system_type *type, struct vfsmount **mount, int *count) in simple_pin_fs() argument 986 if (unlikely(!*mount)) { in simple_pin_fs() 992 if (!*mount) in simple_pin_fs() 993 *mount = mnt; in simple_pin_fs() 995 mntget(*mount); in simple_pin_fs() 1003 void simple_release_fs(struct vfsmount **mount, int *count) in simple_release_fs() argument 1007 mnt = *mount; in simple_release_fs() 1009 *mount in simple_release_fs() [all...] |
/kernel/linux/linux-6.6/fs/9p/ |
H A D | vfs_super.c | 16 #include <linux/mount.h> 98 * v9fs_mount - mount a superblock 100 * @flags: mount flags 102 * @data: mount options 186 p9_debug(P9_DEBUG_VFS, " simple set mount, return 0\n"); in v9fs_mount() 342 .mount = v9fs_mount,
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_discard.c | 81 xfs_extent_busy_clear(extents->mount, &extents->extent_list, false); in xfs_discard_endio_work() 320 extents->mount = pag->pag_mount; in xfs_trim_extents()
|
/kernel/linux/linux-6.6/init/ |
H A D | do_mounts.c | 11 #include <linux/mount.h> 27 #include <uapi/linux/mount.h> 226 pr_err("Can't find any bdev filesystem to be used for mount!\n"); in mount_root_generic() 234 panic("VFS: Unable to mount root fs on %s", b); in mount_root_generic() 243 printk("No filesystem could mount root, tried: "); in mount_root_generic() 247 panic("VFS: Unable to mount root fs on %s", b); in mount_root_generic() 286 pr_err("VFS: Unable to mount root fs via NFS.\n"); in mount_nfs_root() 323 pr_err("VFS: Unable to mount root fs via SMB.\n"); in mount_cifs_root() 460 * Prepare the namespace - decide what/where to mount, load ramdisks, etc.
|
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/ |
H A D | ftracetest | 167 mount -t tracefs nodev /sys/kernel/tracing || 168 errexit "Failed to mount /sys/kernel/tracing" 173 mount -t debugfs nodev /sys/kernel/debug || 174 errexit "Failed to mount /sys/kernel/debug"
|
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/ |
H A D | pidfd_fdinfo_test.c | 230 r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in child_fdinfo_nspid_test() 237 r = mount("proc", "/proc", "proc", 0, NULL); in child_fdinfo_nspid_test() 258 /* Create a new child in a new pid and mount namespace */ in test_pidfd_fdinfo_nspid() 291 /* Create a new child in a new pid and mount namespace */ in test_pidfd_dead_fdinfo()
|
/kernel/liteos_a/fs/vfs/operation/ |
H A D | vfs_force_umount.c | 31 #include "fs/mount.h" 438 static void VnodeTryFreeAll(const struct Mount *mount) in VnodeTryFreeAll() argument 444 if ((vnode->originMount != mount) || (vnode->flag & VNODE_FLAG_MOUNT_NEW)) { in VnodeTryFreeAll()
|
/kernel/linux/linux-6.6/tools/lib/api/fs/ |
H A D | fs.c | 16 #include <sys/mount.h> 275 /* Check if path found inside the mutex to avoid races with other callers of mount. */ in fs__mount() 282 if (mount(NULL, mountpoint, fs->name, 0, NULL) == 0 && in fs__mount()
|
/third_party/ltp/testcases/kernel/controllers/cgroup_xattr/ |
H A D | cgroup_xattr.c | 27 #include <sys/mount.h> 49 /* struct to store available mount options */ 252 /* make mount options */ in mount_cgroup() 266 * Only mount those subsystems, which are not mounted yet. in mount_cgroup() 267 * It's a workaround to a bug when mount doesn't return any err in mount_cgroup() 269 * additional "xattr" option. In that case, mount will succeed, in mount_cgroup() 270 * but xattr won't be supported in the new mount anyway. in mount_cgroup() 302 tst_resm(TINFO, "mount options %d: %s (hier = %d)", in mount_cgroup() 307 if (mount(opt->dir, opt->dir, "cgroup", 0, opt->str) == -1) { in mount_cgroup() 308 tst_resm(TINFO, "Can't mount in mount_cgroup() [all...] |
/third_party/ltp/testcases/kernel/mce-test/kvm/host/ |
H A D | host_run.sh | 142 mount_err=`mount -oloop,offset=$offset $image $mnt 2>&1` 145 echo "mount image to $mnt" 150 fs_type=`echo $mount_err | awk '/^mount: unknown filesystem type/ {print $NF}'` 180 mount /dev/mapper/${vg}-${lv} $mnt 187 echo "mount LVM image to $mnt" 209 echo 'mount of image failed!'
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-custom/ |
H A D | minimal-http-server.c | 12 * To keep it simple, it serves stuff from the subdirectory "./mount-origin" of 13 * the dir it was started in. Change mount.origin to serve from elsewhere. 278 static const struct lws_http_mount mount = { variable 281 /* .origin */ "./mount-origin", /* serve from dir */ 427 info.mounts = &mount; in main()
|