Searched refs:nr_mounts (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/tools/testing/selftests/filesystems/statmount/ |
D | statmount_test_ns.c | 234 uint64_t nr_mounts; in validate_external_listmount() local 242 nr_mounts = listmount(LSMT_ROOT, mnt_ns_id, 0, list, 256, 0); in validate_external_listmount() 243 if (nr_mounts == (uint64_t)-1) { in validate_external_listmount() 248 if (nr_mounts != child_nr_mounts) { in validate_external_listmount() 249 ksft_print_msg("listmount results is %zi != %zi\n", nr_mounts, in validate_external_listmount() 255 for (int i = 0; i < nr_mounts; i++) { in validate_external_listmount() 283 uint64_t nr_mounts; in test_listmount_ns() local 312 nr_mounts = listmount(LSMT_ROOT, 0, 0, list, 256, 0); in test_listmount_ns() 313 if (nr_mounts == (uint64_t)-1) { in test_listmount_ns() 322 if (write(child_ready_pipe[1], &nr_mounts, sizeof(nr_mounts)) != in test_listmount_ns() [all …]
|
/linux-6.12.1/fs/ |
D | nsfs.c | 144 kinfo->nr_mounts = READ_ONCE(mnt_ns->nr_mounts); in copy_ns_info_to_user() 146 if (kinfo->nr_mounts) in copy_ns_info_to_user() 147 kinfo->nr_mounts--; in copy_ns_info_to_user()
|
D | mount.h | 17 unsigned int nr_mounts; /* # of mounts in the namespace */ member
|
D | namespace.c | 1160 n->nr_mounts += n->pending_mounts; in commit_tree() 1789 ns->nr_mounts--; in umount_tree() 2359 if (ns->nr_mounts >= max) in count_mounts() 2361 max -= ns->nr_mounts; in count_mounts() 2822 ns->nr_mounts++; in open_detached_copy() 3968 new_ns->nr_mounts++; in copy_mnt_ns() 4012 ns->nr_mounts++; in mount_subtree() 4192 ns->nr_mounts = 1; in SYSCALL_DEFINE3() 5501 ns->nr_mounts = 1; in init_mount_tree()
|
/linux-6.12.1/include/uapi/linux/ |
D | nsfs.h | 32 __u32 nr_mounts; member
|