| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 15 #include "statmount.h" 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() 251 ksft_test_result_fail("statmount zero mask: %s\n", in test_statmount_zero_mask() 266 ksft_test_result_pass("statmount zero mask\n"); in test_statmount_mnt_basic() 271 struct statmount s in test_statmount_mnt_basic() [all...] |
| H A D | statmount_test_ns.c | 16 #include "statmount.h" 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() 107 ksft_print_msg("statmount mnt ns id: %s\n", strerror(errno)); in _test_statmount_mnt_ns_id() 117 ksft_print_msg("statmount mnt ns id unavailable\n"); in _test_statmount_mnt_ns_id() 133 struct statmount sm; in test_statmount_mnt_ns_id() 136 char mnt[] = "/statmount.fd.XXXXXX"; in test_statmount_mnt_ns_id() 143 ksft_print_msg("statmount by fd mnt ns id mkdtemp: %s\n", strerror(errno)); in test_statmount_mnt_ns_id() 148 ksft_print_msg("statmount by fd mnt ns id mount: %s\n", strerror(errno)); in test_statmount_mnt_ns_id() 155 ksft_print_msg("statmount b in validate_external_listmount() [all...] |
| H A D | statmount.h | 46 static inline int statmount(uint64_t mnt_id, uint64_t mnt_ns_id, uint32_t fd, 47 uint64_t mask, struct statmount *buf, size_t bufsize, 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 | 143 * Structure for getting mount/superblock/filesystem info with statmount(2). 146 * selected with the @mask argument of statmount(). Kernel will set the @mask 155 struct statmount { struct 192 * Structure for passing mount ID and miscellaneous parameters to statmount(2) 195 * For statmount(2) @param represents the request mask. 211 * @mask bits for statmount(2) 156 sizestatmount global() argument 180 strstatmount global() argument
|
| /linux/include/uapi/linux/ |
| H A D | mount.h | 144 * Structure for getting mount/superblock/filesystem info with statmount(2). 147 * selected with the @mask argument of statmount(). Kernel will set the @mask 156 struct statmount { argument 193 * Structure for passing mount ID and miscellaneous parameters to statmount(2) 196 * For statmount(2) @param represents the request mask. 215 * @mask bits for statmount(2) 240 * @flag bits for statmount(2) 155 struct statmount { global() struct 157 mnt_optsstatmount global() argument 158 maskstatmount global() argument 159 sb_dev_majorstatmount global() argument 160 sb_dev_minorstatmount global() argument 161 sb_magicstatmount global() argument 162 sb_flagsstatmount global() argument 163 fs_typestatmount global() argument 164 mnt_idstatmount global() argument 165 mnt_parent_idstatmount global() argument 166 mnt_id_oldstatmount global() argument 167 mnt_parent_id_oldstatmount global() argument 168 mnt_attrstatmount global() argument 192 strstatmount global() argument
|
| /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/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/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/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/arm/entry/syscalls/ |
| H A D | syscall.tbl | 474 457 common 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/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; 435 struct statmount __user *buf, size_t bufsize,
|