| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount.h | 50 static inline int statmount(uint64_t mnt_id, uint64_t mnt_ns_id, uint32_t fd, 63 req.mnt_id = mnt_id; 73 static inline ssize_t listmount(uint64_t mnt_id, uint64_t mnt_ns_id, 79 .mnt_id = mnt_id, 91 static inline struct statmount *statmount_alloc(uint64_t mnt_id, uint64_t mnt_ns_id, 103 ret = statmount(mnt_id, mnt_ns_id, 0, mask, buf, bufsize, flags); 10 statmount(uint64_t mnt_id,uint64_t mnt_ns_id,uint64_t mask,struct statmount * buf,size_t bufsize,unsigned int flags) statmount() argument 28 listmount(uint64_t mnt_id,uint64_t mnt_ns_id,uint64_t last_mnt_id,uint64_t list[],size_t num,unsigned int flags) listmount() argument
|
| H A D | statmount_test.c | 252 if (sm.mnt_id != root_id) { in test_statmount_zero_mask() 254 (unsigned long long) sm.mnt_id, in test_statmount_zero_mask() 36 statmount_alloc(uint64_t mnt_id,uint64_t mask,unsigned int flags) statmount_alloc() argument
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_file_handle_test.c | 146 int mnt_id; in TEST_F() local 156 ASSERT_EQ(name_to_handle_at(self->child_pidfd1, "", fh, &mnt_id, AT_EMPTY_PATH), 0); in TEST_F() 193 int mnt_id; in TEST_F() local 203 ASSERT_EQ(name_to_handle_at(self->child_pidfd2, "", fh, &mnt_id, AT_EMPTY_PATH), 0); in TEST_F() 240 int mnt_id; in TEST_F() local 249 ASSERT_EQ(name_to_handle_at(self->pidfd, "", fh, &mnt_id, AT_EMPTY_PATH), 0); in TEST_F() 276 int mnt_id, pidfd, child_pidfd3; in TEST_F() local 285 ASSERT_EQ(name_to_handle_at(self->child_pidfd3, "", fh, &mnt_id, AT_EMPTY_PATH), 0); in TEST_F() 315 int mnt_id, pidfd, child_pidfd3; in TEST_F() local 324 ASSERT_EQ(name_to_handle_at(self->child_pidfd3, "", fh, &mnt_id, AT_EMPTY_PATH), 0); in TEST_F() [all …]
|
| /linux/samples/vfs/ |
| H A D | mountinfo.c | 36 static int statmount(__u64 mnt_id, __u64 mnt_ns_id, __u64 mask, in statmount() argument 42 .mnt_id = mnt_id, in statmount() 54 static ssize_t listmount(__u64 mnt_id, __u64 mnt_ns_id, __u64 last_mnt_id, in listmount() argument 59 .mnt_id = mnt_id, in listmount() 128 static int dump_mountinfo(__u64 mnt_id, __u64 mnt_ns_id) in dump_mountinfo() argument 138 ret = statmount(mnt_id, mnt_ns_id, mask, buf, STATMOUNT_BUFSIZE, 0); in dump_mountinfo() 145 printf("0x%llx 0x%llx 0x%llx ", mnt_ns_id, mnt_id, buf->mnt_parent_id); in dump_mountinfo()
|
| /linux/fs/ |
| H A D | fhandle.c | 20 void __user *mnt_id, bool unique_mntid, in do_sys_name_to_handle() argument 98 (u64 __user *) mnt_id)) in do_sys_name_to_handle() 101 if (put_user(real_mount(path->mnt)->mnt_id, in do_sys_name_to_handle() 102 (int __user *) mnt_id)) in do_sys_name_to_handle() 130 struct file_handle __user *, handle, void __user *, mnt_id, in SYSCALL_DEFINE5() argument 162 err = do_sys_name_to_handle(&path, handle, mnt_id, in SYSCALL_DEFINE5()
|
| /linux/tools/include/uapi/linux/ |
| H A D | mount.h | 166 __u64 mnt_id; /* Unique ID of mount */ 167 __u64 mnt_parent_id; /* Unique ID of parent (for root == mnt_id) */ 206 __u64 mnt_id; 235 * Special @mnt_id values that can be passed to listmount 164 __u64 mnt_id; /* Unique ID of mount */ global() member 189 __u64 mnt_id; global() member
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | mount.h | 166 __u64 mnt_id; /* Unique ID of mount */ member 206 __u64 mnt_id; member
|
| /linux/Documentation/gpu/ |
| H A D | panfrost.rst | 21 mnt_id: 27
|
| /linux/tools/testing/selftests/mount_setattr/ |
| H A D | mount_setattr_test.c | 1821 __u64 mnt_id = 0; in TEST_F() local 1852 mnt_id = stx.stx_mnt_id; in TEST_F() 1860 ASSERT_EQ(stx.stx_mnt_id, mnt_id); in TEST_F()
|
| /linux/tools/testing/selftests/filesystems/mount-notify/ |
| H A D | mount-notify_test.c | 159 return mnt->mnt_id; in expect_notify()
|
| H A D | mount-notify_test_ns.c | 186 return mnt->mnt_id; in expect_notify()
|