Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount.h10 static inline int statmount(uint64_t mnt_id, uint64_t mnt_ns_id, uint64_t mask, in statmount() argument
20 if (mnt_ns_id) { in statmount()
22 req.mnt_ns_id = mnt_ns_id; in statmount()
28 static ssize_t listmount(uint64_t mnt_id, uint64_t mnt_ns_id, in listmount() argument
38 if (mnt_ns_id) { in listmount()
40 req.mnt_ns_id = mnt_ns_id; in listmount()
H A Dstatmount_test_ns.c61 static int get_mnt_ns_id(const char *mnt_ns, uint64_t *mnt_ns_id) in get_mnt_ns_id() argument
72 if (ioctl(fd, NS_GET_MNTNS_ID, mnt_ns_id) < 0) { in get_mnt_ns_id()
169 uint64_t mnt_ns_id; in _test_statmount_mnt_ns_id() local
173 ret = get_mnt_ns_id("/proc/self/ns/mnt", &mnt_ns_id); in _test_statmount_mnt_ns_id()
197 if (sm.mnt_ns_id != mnt_ns_id) { in _test_statmount_mnt_ns_id()
199 (unsigned long long)sm.mnt_ns_id, in _test_statmount_mnt_ns_id()
200 (unsigned long long)mnt_ns_id); in _test_statmount_mnt_ns_id()
233 uint64_t mnt_ns_id; in validate_external_listmount() local
240 ret = get_mnt_ns_id(buf, &mnt_ns_id); in validate_external_listmount()
242 nr_mounts = listmount(LSMT_ROOT, mnt_ns_id, 0, list, 256, 0); in validate_external_listmount()
[all …]
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h175 __u64 mnt_ns_id; /* ID of the mount namespace */ member
198 __u64 mnt_ns_id; member
/linux/include/uapi/linux/
H A Dnsfs.h33 __u64 mnt_ns_id; member
/linux/fs/
H A Dnsfs.c143 kinfo->mnt_ns_id = mnt_ns->seq; in copy_ns_info_to_user()