Home
last modified time | relevance | path

Searched refs:nr_mounts (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/filesystems/statmount/
H A Dlistmount_test.c28 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 Dstatmount_test_ns.c228 uint64_t nr_mounts; in test_listmount_ns()
236 nr_mounts = listmount(LSMT_ROOT, mnt_ns_id, 0, list, 256, 0); in test_listmount_ns()
237 if (nr_mounts == (uint64_t)-1) { in test_listmount_ns()
242 if (nr_mounts != child_nr_mounts) { in test_listmount_ns()
243 ksft_print_msg("listmount results is %zi != %zi\n", nr_mounts, in test_listmount_ns()
249 for (int i = 0; i < nr_mounts; i++) { in test_listmount_ns()
277 uint64_t nr_mounts; in main()
306 nr_mounts = listmount(LSMT_ROOT, 0, 0, list, 256, 0);
307 if (nr_mounts == (uint64_t)-1) {
316 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/tools/include/uapi/linux/
H A Dnsfs.h30 __u32 nr_mounts; member
/linux/tools/testing/selftests/filesystems/nsfs/
H A Diterate_mntns.c22 __u32 nr_mounts; member
/linux/fs/
H A Dnamespace.c1145 n->nr_mounts += n->pending_mounts; in commit_tree()
1811 ns->nr_mounts--; in umount_tree()
2477 if (ns->nr_mounts >= max) in count_mounts()
2479 max -= ns->nr_mounts; in count_mounts()
3073 ns->nr_mounts++; in get_detached_copy()
3178 new_ns->nr_mounts++; in create_new_namespace()
4302 new_ns->nr_mounts++; in copy_mnt_ns()
4314 new_ns->nr_mounts++; in copy_mnt_ns()
4352 ns->nr_mounts++; in mount_subtree()
4541 ns->nr_mounts = 1; in SYSCALL_DEFINE3()
[all …]