Searched refs:nr_mounts (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | listmount_test.c | 28 ssize_t nr_mounts; in TEST() local 30 nr_mounts = listmount(LSMT_ROOT, 0, last_mnt_id, in TEST() 32 ASSERT_GE(nr_mounts, 0); in TEST() 33 if (nr_mounts == 0) in TEST() 36 for (size_t cur = 0; cur < nr_mounts; cur++) { in TEST() 37 if (cur < nr_mounts - 1) in TEST() 50 ssize_t nr_mounts; in TEST() local 52 nr_mounts = listmount(LSMT_ROOT, 0, last_mnt_id, in TEST() 54 ASSERT_GE(nr_mounts, 0); in TEST() 55 if (nr_mounts == 0) in TEST() [all …]
|
| H A D | statmount_test_ns.c | 253 uint64_t nr_mounts; in test_listmount_ns() 261 nr_mounts = listmount(LSMT_ROOT, mnt_ns_id, 0, list, 256, 0); in test_listmount_ns() 262 if (nr_mounts == (uint64_t)-1) { in test_listmount_ns() 267 if (nr_mounts != child_nr_mounts) { in test_listmount_ns() 268 ksft_print_msg("listmount results is %zi != %zi\n", nr_mounts, in test_listmount_ns() 274 for (int i = 0; i < nr_mounts; i++) { in main() 302 uint64_t nr_mounts; 331 nr_mounts = listmount(LSMT_ROOT, 0, 0, list, 256, 0); 332 if (nr_mounts == (uint64_t)-1) { 341 if (write(child_ready_pipe[1], &nr_mounts, sizeo 158 uint64_t nr_mounts; validate_external_listmount() local 207 uint64_t nr_mounts; test_listmount_ns() local [all...] |
| /linux/fs/ |
| H A D | nsfs.c | 162 kinfo->nr_mounts = READ_ONCE(mnt_ns->nr_mounts); in copy_ns_info_to_user() 164 if (kinfo->nr_mounts) in copy_ns_info_to_user() 165 kinfo->nr_mounts--; in copy_ns_info_to_user()
|
| H A D | namespace.c | 1140 n->nr_mounts += n->pending_mounts; in commit_tree() 1806 ns->nr_mounts--; in umount_tree() 2472 if (ns->nr_mounts >= max) in count_mounts() 2474 max -= ns->nr_mounts; in count_mounts() 3066 ns->nr_mounts++; in get_detached_copy() 3159 new_ns->nr_mounts++; in create_new_namespace() 4279 new_ns->nr_mounts++; in copy_mnt_ns() 4316 ns->nr_mounts++; in mount_subtree() 4493 ns->nr_mounts = 1; in SYSCALL_DEFINE3() 6188 init_mnt_ns.nr_mounts++; in init_mount_tree()
|
| /linux/include/uapi/linux/ |
| H A D | nsfs.h | 30 __u32 nr_mounts; member
|
| /linux/tools/include/uapi/linux/ |
| H A D | nsfs.h | 30 __u32 nr_mounts; member
|
| /linux/tools/testing/selftests/filesystems/nsfs/ |
| H A D | iterate_mntns.c | 22 __u32 nr_mounts; member
|