| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 36 static struct statmount *statmount_alloc(uint64_t mnt_id, int fd, uint64_t mask, unsigned int flags) in statmount_alloc() 39 struct statmount *buf = NULL, *tmp = NULL; in statmount_alloc() 50 ret = statmount(0, 0, (uint32_t) fd, mask, tmp, bufsize, flags); in statmount_alloc() 52 ret = statmount(mnt_id, 0, 0, mask, tmp, bufsize, flags); in statmount_alloc() 246 struct statmount sm; in test_statmount_zero_mask() 249 ret = statmount(root_id, 0, 0, 0, &sm, sizeof(sm), 0); in test_statmount_zero_mask() 271 struct statmount sm; in test_statmount_mnt_basic() 275 ret = statmount(root_id, 0, 0, mask, &sm, sizeof(sm), 0); in test_statmount_mnt_basic() 329 struct statmount sm; in test_statmount_sb_basic() 335 ret = statmount(root_id, 0, 0, mask, &sm, sizeof(sm), 0); in test_statmount_sb_basic() [all …]
|
| H A D | statmount_test_ns.c | 92 struct statmount sm; in _test_statmount_mnt_ns_id() 105 ret = statmount(root_id, 0, 0, STATMOUNT_MNT_NS_ID, &sm, sizeof(sm), 0); in _test_statmount_mnt_ns_id() 133 struct statmount sm; in _test_statmount_mnt_ns_id_by_fd() 159 ret = statmount(0, 0, fd, STATMOUNT_MNT_NS_ID, &sm, sizeof(sm), STATMOUNT_BY_FD); in _test_statmount_mnt_ns_id_by_fd() 192 ret = statmount(0, 0, fd, STATMOUNT_MNT_NS_ID, &sm, sizeof(sm), STATMOUNT_BY_FD); in _test_statmount_mnt_ns_id_by_fd() 275 struct statmount sm; in validate_external_listmount() 277 ret = statmount(list[i], mnt_ns_id, 0, STATMOUNT_MNT_NS_ID, &sm, in validate_external_listmount() 373 ret = statmount(0, 0, 0, 0, NULL, 0, 0); in main()
|
| H A D | statmount.h | 46 static inline int statmount(uint64_t mnt_id, uint64_t mnt_ns_id, uint32_t fd, in statmount() function 47 uint64_t mask, struct statmount *buf, size_t bufsize, in statmount()
|
| /linux/tools/testing/selftests/filesystems/open_tree_ns/ |
| H A D | open_tree_ns_test.c | 55 static struct statmount *statmount_alloc(uint64_t mnt_id, uint64_t mnt_ns_id, uint64_t mask) in statmount_alloc() 57 struct statmount *buf; in statmount_alloc() 66 ret = statmount(mnt_id, mnt_ns_id, mask, buf, bufsize, 0); in statmount_alloc() 78 static void log_mount(struct __test_metadata *_metadata, struct statmount *sm) in log_mount() 112 struct statmount *sm; in dump_mounts() 224 ret = statmount(0, 0, 0, NULL, 0, 0); in FIXTURE_SETUP() 319 struct statmount sm; in TEST_F() 343 ret = statmount(list[0], new_ns_id, STATMOUNT_MNT_BASIC, &sm, sizeof(sm), 0); in TEST_F() 455 ret = statmount(0, 0, 0, NULL, 0, 0); in FIXTURE_SETUP() 745 struct statmount *sm; in TEST_F() [all …]
|
| /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()
|
| H A D | test-list-all-mounts.c | 15 struct statmount *stmnt, size_t bufsize, in __statmount() 28 static struct statmount *sys_statmount(__u64 mnt_id, __u64 mnt_ns_id, in sys_statmount() 32 struct statmount *stmnt = NULL, *tmp = NULL; in sys_statmount() 120 struct statmount *stmnt; in main()
|
| H A D | samples-vfs.h | 18 struct statmount { struct
|
| /linux/include/uapi/linux/ |
| H A D | mount.h | 156 struct statmount { struct
|
| /linux/tools/include/uapi/linux/ |
| H A D | mount.h | 155 struct statmount { struct
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | mount.h | 156 struct statmount { struct
|
| /linux/tools/testing/selftests/ |
| H A D | Makefile | 38 TARGETS += filesystems/statmount
|
| /linux/fs/ |
| H A D | namespace.c | 5198 struct statmount __user *buf; 5207 struct statmount sm; 5524 struct statmount *sm = &s->sm; in statmount_string() 5605 struct statmount *sm = &s->sm; in copy_statmount_to_user() 5825 struct statmount __user *buf, size_t bufsize, in prepare_kstatmount() 5920 SYSCALL_DEFINE4(statmount, const struct mnt_id_req __user *, req, in SYSCALL_DEFINE4() argument 5921 struct statmount __user *, buf, size_t, bufsize, in SYSCALL_DEFINE4()
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 374 457 n64 statmount sys_statmount
|
| /linux/scripts/ |
| H A D | syscall.tbl | 400 457 common statmount sys_statmount
|
| /linux/tools/perf/arch/arm64/entry/syscalls/ |
| H A D | syscall_64.tbl | 400 457 common statmount sys_statmount
|
| H A D | syscall_32.tbl | 471 457 common statmount sys_statmount
|
| /linux/arch/arm64/tools/ |
| H A D | syscall_64.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/scripts/ |
| H A D | syscall.tbl | 400 457 common statmount sys_statmount
|
| /linux/tools/perf/arch/parisc/entry/syscalls/ |
| H A D | syscall.tbl | 458 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
|
| /linux/tools/perf/arch/alpha/entry/syscalls/ |
| H A D | syscall.tbl | 499 567 common statmount sys_statmount
|
| /linux/tools/perf/arch/arm/entry/syscalls/ |
| H A D | syscall.tbl | 474 457 common statmount sys_statmount
|