| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 15 #include "statmount.h" 207 struct statmount sm; in setup_mount_tree() 210 ret = statmount(root_id, 0, 0, 0, &sm, sizeof(sm), 0); in test_listmount_empty_root() 212 ksft_test_result_fail("statmount zero mask: %s\n", in test_listmount_empty_root() 227 ksft_test_result_pass("statmount zero mask\n"); in test_listmount_empty_root() 232 struct statmount sm; in test_listmount_empty_root() 236 ret = statmount(root_id, 0, 0, mask, &sm, sizeof(sm), 0); in test_statmount_zero_mask() 238 ksft_test_result_fail("statmount mnt basic: %s\n", in test_statmount_zero_mask() 248 ksft_test_result_skip("statmount mnt basic unavailable\n"); in test_statmount_zero_mask() 284 ksft_test_result_pass("statmount mn in test_statmount_mnt_basic() [all...] |
| H A D | statmount_test_ns.c | 16 #include "statmount.h" 67 struct statmount sm; in get_mnt_ns_id() 80 ret = statmount(root_id, 0, 0, STATMOUNT_MNT_NS_ID, &sm, sizeof(sm), 0); in get_mnt_ns_id() 82 ksft_print_msg("statmount mnt ns id: %s\n", strerror(errno)); in setup_namespace() 92 ksft_print_msg("statmount mnt ns id unavailable\n"); in _test_statmount_mnt_ns_id() 108 struct statmount sm; in _test_statmount_mnt_ns_id() 111 char mnt[] = "/statmount.fd.XXXXXX"; in _test_statmount_mnt_ns_id() 118 ksft_print_msg("statmount by fd mnt ns id mkdtemp: %s\n", strerror(errno)); in _test_statmount_mnt_ns_id() 123 ksft_print_msg("statmount by fd mnt ns id mount: %s\n", strerror(errno)); in _test_statmount_mnt_ns_id() 130 ksft_print_msg("statmount b in _test_statmount_mnt_ns_id() [all...] |
| H A D | statmount.h | 50 static inline int statmount(uint64_t mnt_id, uint64_t mnt_ns_id, uint32_t fd, 51 uint64_t mask, struct statmount *buf, size_t bufsize, 91 static inline struct statmount *statmount_alloc(uint64_t mnt_id, uint64_t mnt_ns_id, 94 struct statmount *buf; 103 ret = statmount(mnt_id, mnt_ns_id, 0, mask, buf, bufsize, flags); 115 static inline struct statmount *statmount_alloc_by_fd(int fd, uint64_t mask) 117 struct statmount *buf; 126 ret = statmount(0, 0, fd, mask, buf, bufsize, STATMOUNT_BY_FD); 10 static inline int statmount(uint64_t mnt_id, uint64_t mnt_ns_id, uint64_t mask, statmount() function
|
| /linux/samples/vfs/ |
| H A D | mountinfo.c | 36 static int statmount(__u64 mnt_id, __u64 mnt_ns_id, __u64 mask, in statmount() function 37 struct statmount *buf, size_t bufsize, in statmount() 102 static void show_propagation(struct statmount *sm) in show_propagation() 131 struct statmount *buf = alloca(STATMOUNT_BUFSIZE); in dump_mountinfo() 138 ret = statmount(mnt_id, mnt_ns_id, mask, buf, STATMOUNT_BUFSIZE, 0); in dump_mountinfo()
|
| /linux/tools/include/uapi/linux/ |
| H A D | mount.h | 145 * Structure for getting mount/superblock/filesystem info with statmount(2). 148 * selected with the @mask argument of statmount(). Kernel will set the @mask 157 struct statmount { 194 * Structure for passing mount ID and miscellaneous parameters to statmount(2) 197 * For statmount(2) @param represents the request mask. 216 * @mask bits for statmount(2) 241 * @flag bits for statmount(2) 155 struct statmount { global() struct 156 sizestatmount global() argument 180 strstatmount global() argument
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | mount.h | 157 struct statmount { struct
|
| /linux/tools/testing/selftests/ |
| H A D | Makefile | 38 TARGETS += filesystems/statmount
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 374 457 n64 statmount sys_statmount
|
| /linux/fs/ |
| H A D | namespace.c | 5228 struct statmount __user *buf; 5237 struct statmount sm; 5554 struct statmount *sm = &s->sm; in statmount_string() 5635 struct statmount *sm = &s->sm; in copy_statmount_to_user() 5855 struct statmount __user *buf, size_t bufsize, in prepare_kstatmount() 5950 SYSCALL_DEFINE4(statmount, const struct mnt_id_req __user *, req, in SYSCALL_DEFINE4() argument 5951 struct statmount __user *, buf, size_t, bufsize, in SYSCALL_DEFINE4()
|
| /linux/scripts/ |
| H A D | syscall.tbl | 400 457 common statmount sys_statmount
|
| /linux/tools/scripts/ |
| H A D | syscall.tbl | 400 457 common statmount sys_statmount
|
| /linux/tools/perf/arch/s390/entry/syscalls/ |
| H A D | syscall.tbl | 386 457 common statmount sys_statmount
|
| /linux/tools/perf/arch/sh/entry/syscalls/ |
| H A D | syscall.tbl | 463 457 common statmount sys_statmount
|
| /linux/tools/perf/arch/xtensa/entry/syscalls/ |
| H A D | syscall.tbl | 430 457 common statmount sys_statmount
|
| /linux/tools/perf/arch/x86/entry/syscalls/ |
| H A D | syscall_64.tbl | 384 457 common statmount sys_statmount
|
| H A D | syscall_32.tbl | 465 457 i386 statmount sys_statmount
|
| /linux/tools/perf/arch/sparc/entry/syscalls/ |
| H A D | syscall.tbl | 505 457 common statmount sys_statmount
|
| /linux/tools/perf/arch/arm/entry/syscalls/ |
| H A D | syscall.tbl | 474 457 common statmount sys_statmount
|
| /linux/tools/perf/arch/powerpc/entry/syscalls/ |
| H A D | syscall.tbl | 550 457 common statmount sys_statmount
|
| /linux/include/linux/ |
| H A D | syscalls.h | 77 struct statmount; 439 struct statmount __user *buf, size_t bufsize,
|