Home
last modified time | relevance | path

Searched refs:mount (Results 251 - 275 of 1086) sorted by relevance

1...<<11121314151617181920>>...44

/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/
H A Dpidfd_test.c17 #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 Dtest_execve.c13 #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 Dsuper.h15 #include <linux/mount.h>
/kernel/linux/linux-6.6/include/linux/mtd/
H A Dsuper.h15 #include <linux/mount.h>
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
H A Dmount.h52 int mount(const char *source, const char *target, const char *filesystemtype, \
/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/
H A Dfs_bind_cloneNS03.sh12 tst_res TINFO "cloneNS: namespace with unclonable mount"
15 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
/third_party/libfuse/include/
H A Dfuse_mount_compat.h14 #include <sys/mount.h>
/kernel/linux/linux-5.10/fs/
H A Dlibfs.c12 #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 Dtst_cgroup.c17 #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 Drun_cookie_uid_helper_example.sh14 mount -t bpf bpf ${mnt_dir}
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
H A Di915_gemfs.c8 #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 Drun_cookie_uid_helper_example.sh14 mount -t bpf bpf ${mnt_dir}
/third_party/ltp/testcases/kernel/fs/fs_bind/move/
H A Dfs_bind_move17.sh19 EXPECT_FAIL mount --move parent1/child1 parent2/child2
H A Dfs_bind_move16.sh21 EXPECT_PASS mount --move dir parent2/child2
/third_party/ltp/testcases/kernel/mce-test/kvm/host/
H A Dguest_init12 mount -t debugfs null /sys/kernel/debug
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/
H A Dlinux_umount2_test.cpp3 #include <sys/mount.h>
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c14 #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 Dfsnotify.c11 #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 Dfsnotify.c11 #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 Dbinderfs_test.c14 #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 Dproc-fsconfig-hidepid.c20 #include <linux/mount.h>
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
H A Dfsmount.c10 #include <uapi/linux/mount.h>
H A Dmount_flags.c12 #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 Dinit.c19 .mount = autofs_mount,
/kernel/linux/linux-5.10/init/
H A Ddo_mounts.h8 #include <linux/mount.h>

Completed in 14 milliseconds

1...<<11121314151617181920>>...44