/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 17 #include <sys/mount.h> 179 ksft_test_result_skip("%s test: Unsharing mount namespace not permitted\n", in test_pidfd_send_signal_recycled_pid_fail() 183 ksft_exit_fail_msg("%s test: Failed to unshare mount namespace\n", in test_pidfd_send_signal_recycled_pid_fail() 187 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in test_pidfd_send_signal_recycled_pid_fail() 204 ret = mount("proc", "/proc", "proc", 0, NULL); in test_pidfd_send_signal_recycled_pid_fail()
|
/kernel/linux/linux-6.6/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 13 #include <sys/mount.h> 132 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL) != 0) in create_and_enter_ns() 145 if (mount("private_tmp", ".", "tmpfs", 0, "mode=0777") != 0) in chdir_to_tmpfs() 146 ksft_exit_fail_msg("mount private tmpfs - %s\n", in chdir_to_tmpfs()
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | super.h | 15 #include <linux/mount.h>
|
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | super.h | 15 #include <linux/mount.h>
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
H A D | mount.h | 52 int mount(const char *source, const char *target, const char *filesystemtype, \
|
/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/ |
H A D | fs_bind_cloneNS03.sh | 12 tst_res TINFO "cloneNS: namespace with unclonable mount" 15 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
|
/third_party/libfuse/include/ |
H A D | fuse_mount_compat.h | 14 #include <sys/mount.h>
|
/kernel/linux/linux-5.10/fs/ |
H A D | libfs.c | 12 #include <linux/mount.h> 670 int simple_pin_fs(struct file_system_type *type, struct vfsmount **mount, int *count) in simple_pin_fs() argument 674 if (unlikely(!*mount)) { in simple_pin_fs() 680 if (!*mount) in simple_pin_fs() 681 *mount = mnt; in simple_pin_fs() 683 mntget(*mount); in simple_pin_fs() 691 void simple_release_fs(struct vfsmount **mount, int *count) in simple_release_fs() argument 695 mnt = *mount; in simple_release_fs() 697 *mount = NULL; in simple_release_fs()
|
/third_party/ltp/lib/ |
H A D | tst_cgroup.c | 17 #include "lapi/mount.h" 54 /* A mount path */ 532 * if this matches what we read from any previous mount points. 665 goto mount; in cgroup_mount_v2() 669 goto mount; in cgroup_mount_v2() 681 mount: in cgroup_mount_v2() 682 ret = mount("cgroup2", mnt_path, "cgroup2", in cgroup_mount_v2() 686 ret = mount("cgroup2", mnt_path, "cgroup2", 0, NULL); in cgroup_mount_v2() 695 tst_res(TINFO | TERRNO, "Could not mount V2 CGroups on %s", mnt_path); in cgroup_mount_v2() 712 "IO controller found on V2 root, skipping blkio mount tha in cgroup_mount_v1() [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | run_cookie_uid_helper_example.sh | 14 mount -t bpf bpf ${mnt_dir}
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gemfs.c | 8 #include <linux/mount.h> 25 * mount flags that better match our usecase. in i915_gemfs_init()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | run_cookie_uid_helper_example.sh | 14 mount -t bpf bpf ${mnt_dir}
|
/third_party/ltp/testcases/kernel/fs/fs_bind/move/ |
H A D | fs_bind_move17.sh | 19 EXPECT_FAIL mount --move parent1/child1 parent2/child2
|
H A D | fs_bind_move16.sh | 21 EXPECT_PASS mount --move dir parent2/child2
|
/third_party/ltp/testcases/kernel/mce-test/kvm/host/ |
H A D | guest_init | 12 mount -t debugfs null /sys/kernel/debug
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/ |
H A D | linux_umount2_test.cpp | 3 #include <sys/mount.h>
|
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 14 #include <sys/mount.h> 45 TH_LOG("%s - Failed to unshare mount namespace", in change_mountns() 49 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in change_mountns() 51 TH_LOG("%s - Failed to mount / as private", in change_mountns() 74 ret = mount(NULL, binderfs_mntpt, "binder", 0, 0); in __do_binderfs_test() 78 TH_LOG("%s - Failed to mount binderfs", strerror(errno)); in __do_binderfs_test() 163 TH_LOG("%s - Failed to rmdir binderfs mount", strerror(errno)); in __do_binderfs_test() 396 ret = mount(NULL, binderfs_mntpt, "binder", 0, 0); in TEST() 398 TH_LOG("%s - Failed to mount binderfs", strerror(errno)); in TEST()
|
/kernel/linux/linux-5.10/fs/notify/ |
H A D | fsnotify.c | 11 #include <linux/mount.h> 145 /* Are inode/sb/mount interested in parent and name info with this event? */ 146 static bool fsnotify_event_needs_parent(struct inode *inode, struct mount *mnt, in fsnotify_event_needs_parent() 151 /* We only send parent/name to inode/sb/mount for events on non-dir */ in fsnotify_event_needs_parent() 157 * parent/name info to inode/sb/mount. Otherwise, a watching parent in fsnotify_event_needs_parent() 158 * could result in events reported with unexpected name info to sb/mount. in fsnotify_event_needs_parent() 162 /* Did either inode/sb/mount subscribe for events with parent/name? */ in fsnotify_event_needs_parent() 174 * if parent is watching or if inode/sb/mount are interested in events with 178 * inode/sb/mount are not interested in events with parent and name info. 184 struct mount *mn in __fsnotify_parent() [all...] |
/kernel/linux/linux-6.6/fs/notify/ |
H A D | fsnotify.c | 11 #include <linux/mount.h> 143 /* Are inode/sb/mount interested in parent and name info with this event? */ 144 static bool fsnotify_event_needs_parent(struct inode *inode, struct mount *mnt, in fsnotify_event_needs_parent() 149 /* We only send parent/name to inode/sb/mount for events on non-dir */ in fsnotify_event_needs_parent() 155 * parent/name info to inode/sb/mount. Otherwise, a watching parent in fsnotify_event_needs_parent() 156 * could result in events reported with unexpected name info to sb/mount. in fsnotify_event_needs_parent() 160 /* Did either inode/sb/mount subscribe for events with parent/name? */ in fsnotify_event_needs_parent() 172 * if parent is watching or if inode/sb/mount are interested in events with 176 * inode/sb/mount are not interested in events with parent and name info. 182 struct mount *mn in __fsnotify_parent() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 14 #include <sys/mount.h> 45 TH_LOG("%s - Failed to unshare mount namespace", in change_mountns() 49 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in change_mountns() 51 TH_LOG("%s - Failed to mount / as private", in change_mountns() 78 ret = mount(NULL, binderfs_mntpt, "binder", 0, 0); in __do_binderfs_test() 82 TH_LOG("%s - Failed to mount binderfs", strerror(errno)); in __do_binderfs_test() 181 TH_LOG("%s - Failed to rmdir binderfs mount", strerror(errno)); in __do_binderfs_test() 414 ret = mount(NULL, binderfs_mntpt, "binder", 0, 0); in TEST() 416 TH_LOG("%s - Failed to mount binderfs, check if CONFIG_ANDROID_BINDERFS is enabled in the running kernel", in TEST()
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | proc-fsconfig-hidepid.c | 20 #include <linux/mount.h>
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
H A D | fsmount.c | 10 #include <uapi/linux/mount.h>
|
H A D | mount_flags.c | 12 #include <sys/mount.h> 26 * Pre-0.97 versions of mount() didn't have a flags word. When the in syscall_arg__mask_val_mount_flags()
|
/kernel/linux/linux-5.10/fs/autofs/ |
H A D | init.c | 19 .mount = autofs_mount,
|
/kernel/linux/linux-5.10/init/ |
H A D | do_mounts.h | 8 #include <linux/mount.h>
|