Home
last modified time | relevance | path

Searched refs:statmount (Results 1 – 25 of 29) sorted by relevance

12

/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c36 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 Dstatmount_test_ns.c92 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 Dstatmount.h46 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 Dopen_tree_ns_test.c55 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 Dmountinfo.c36 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 Dtest-list-all-mounts.c15 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 Dsamples-vfs.h18 struct statmount { struct
/linux/include/uapi/linux/
H A Dmount.h156 struct statmount { struct
/linux/tools/include/uapi/linux/
H A Dmount.h155 struct statmount { struct
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h156 struct statmount { struct
/linux/tools/testing/selftests/
H A DMakefile38 TARGETS += filesystems/statmount
/linux/fs/
H A Dnamespace.c5198 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 Dsyscall_n64.tbl374 457 n64 statmount sys_statmount
/linux/scripts/
H A Dsyscall.tbl400 457 common statmount sys_statmount
/linux/tools/perf/arch/arm64/entry/syscalls/
H A Dsyscall_64.tbl400 457 common statmount sys_statmount
H A Dsyscall_32.tbl471 457 common statmount sys_statmount
/linux/arch/arm64/tools/
H A Dsyscall_64.tbl400 457 common statmount sys_statmount
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl386 457 common statmount sys_statmount
/linux/tools/scripts/
H A Dsyscall.tbl400 457 common statmount sys_statmount
/linux/tools/perf/arch/parisc/entry/syscalls/
H A Dsyscall.tbl458 457 common statmount sys_statmount
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl463 457 common statmount sys_statmount
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl430 457 common statmount sys_statmount
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl384 457 common statmount sys_statmount
/linux/tools/perf/arch/alpha/entry/syscalls/
H A Dsyscall.tbl499 567 common statmount sys_statmount
/linux/tools/perf/arch/arm/entry/syscalls/
H A Dsyscall.tbl474 457 common statmount sys_statmount

12