| /linux-6.15/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount.h | 10 static inline int statmount(uint64_t mnt_id, uint64_t mnt_ns_id, uint64_t mask, in statmount() argument 16 .mnt_id = mnt_id, in statmount() 28 static inline ssize_t listmount(uint64_t mnt_id, uint64_t mnt_ns_id, in listmount() argument 34 .mnt_id = mnt_id, in listmount()
|
| H A D | statmount_test.c | 36 static struct statmount *statmount_alloc(uint64_t mnt_id, uint64_t mask, unsigned int flags) in statmount_alloc() argument 44 ret = statmount(mnt_id, 0, mask, tmp, bufsize, flags); in statmount_alloc() 282 if (sm.mnt_id != root_id) { in test_statmount_mnt_basic() 284 (unsigned long long) sm.mnt_id, in test_statmount_mnt_basic()
|
| H A D | statmount_test_ns.c | 81 static int get_mnt_id(const char *path, uint64_t *mnt_id) in get_mnt_id() argument 98 *mnt_id = sx.stx_mnt_id; in get_mnt_id()
|
| /linux-6.15/tools/testing/selftests/pidfd/ |
| H A D | pidfd_file_handle_test.c | 146 int mnt_id; in TEST_F() local 193 int mnt_id; in TEST_F() local 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 315 int mnt_id, pidfd, child_pidfd3; in TEST_F() local 353 int mnt_id; in TEST_F() local 389 int mnt_id; in TEST_F() local 434 int mnt_id; in TEST_F() local 460 int mnt_id; in TEST_F() local [all …]
|
| /linux-6.15/samples/vfs/ |
| H A D | test-list-all-mounts.c | 14 static int __statmount(__u64 mnt_id, __u64 mnt_ns_id, __u64 mask, in __statmount() argument 20 .mnt_id = mnt_id, in __statmount() 28 static struct statmount *sys_statmount(__u64 mnt_id, __u64 mnt_ns_id, in sys_statmount() argument 41 ret = __statmount(mnt_id, mnt_ns_id, mask, stmnt, bufsize, flags); in sys_statmount() 58 static ssize_t sys_listmount(__u64 mnt_id, __u64 last_mnt_id, __u64 mnt_ns_id, in sys_listmount() argument 63 .mnt_id = mnt_id, in sys_listmount() 141 (uint64_t)stmnt->mnt_id, in main()
|
| 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()
|
| H A D | samples-vfs.h | 27 __u64 mnt_id; /* Unique ID of mount */ member 56 __u64 mnt_id; member
|
| /linux-6.15/fs/ |
| H A D | fhandle.c | 19 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 163 err = do_sys_name_to_handle(&path, handle, mnt_id, in SYSCALL_DEFINE5()
|
| H A D | proc_namespace.c | 143 seq_printf(m, "%i %i %u:%u ", r->mnt_id, r->mnt_parent->mnt_id, in show_mountinfo()
|
| H A D | stat.c | 301 stat->mnt_id = real_mount(path->mnt)->mnt_id_unique; in vfs_statx_path() 304 stat->mnt_id = real_mount(path->mnt)->mnt_id; in vfs_statx_path() 731 tmp.stx_mnt_id = stat->mnt_id; in cp_statx()
|
| H A D | namespace.c | 290 xa_erase(&mnt_id_xa, mnt->mnt_id); in mnt_free_id() 1603 if (mnt_id <= m->mnt_id_unique) { in mnt_find_id_at() 1605 if (mnt_id == m->mnt_id_unique) in mnt_find_id_at() 1627 if (mnt_id >= m->mnt_id_unique) { in mnt_find_id_at_reverse() 1629 if (mnt_id == m->mnt_id_unique) in mnt_find_id_at_reverse() 5407 s->sm.mnt_id = m->mnt_id_unique; in statmount_mnt_basic() 5409 s->sm.mnt_id_old = m->mnt_id; in statmount_mnt_basic() 5410 s->sm.mnt_parent_id_old = m->mnt_parent->mnt_id; in statmount_mnt_basic() 5820 s->mnt = lookup_mnt_in_ns(mnt_id, ns); in do_statmount() 5964 if (kreq->mnt_id <= MNT_UNIQUE_ID_OFFSET) in copy_mnt_id_req() [all …]
|
| H A D | mount.h | 94 int mnt_id; /* mount identifier, reused */ member
|
| /linux-6.15/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | mount.h | 164 __u64 mnt_id; /* Unique ID of mount */ member 201 __u64 mnt_id; member
|
| /linux-6.15/include/uapi/linux/ |
| H A D | mount.h | 164 __u64 mnt_id; /* Unique ID of mount */ member 201 __u64 mnt_id; member
|
| H A D | fanotify.h | 210 __u64 mnt_id; member
|
| /linux-6.15/fs/notify/fanotify/ |
| H A D | fanotify.c | 565 static struct fanotify_event *fanotify_alloc_mnt_event(u64 mnt_id, gfp_t gfp) in fanotify_alloc_mnt_event() argument 574 pevent->mnt_id = mnt_id; in fanotify_alloc_mnt_event() 753 u64 mnt_id = fsnotify_data_mnt_id(data, data_type); in fanotify_alloc_event() local 851 } else if (mnt_id) { in fanotify_alloc_event() 852 event = fanotify_alloc_mnt_event(mnt_id, gfp); in fanotify_alloc_event()
|
| H A D | fanotify.h | 416 u64 mnt_id; member
|
| /linux-6.15/include/linux/ |
| H A D | stat.h | 52 u64 mnt_id; member
|
| H A D | fsnotify_backend.h | 332 u64 mnt_id; member 415 return mnt_data ? mnt_data->mnt_id : 0; in fsnotify_data_mnt_id()
|
| /linux-6.15/Documentation/gpu/ |
| H A D | panfrost.rst | 21 mnt_id: 27
|
| H A D | panthor.rst | 21 mnt_id: 29
|
| /linux-6.15/fs/notify/ |
| H A D | fdinfo.c | 118 mnt->mnt_id, mflags, mark->mask, mark->ignore_mask); in fanotify_fdinfo()
|
| /linux-6.15/tools/testing/selftests/filesystems/mount-notify/ |
| H A D | mount-notify_test.c | 22 __u64 mnt_id; member 182 return mnt->mnt_id; in expect_notify()
|
| /linux-6.15/fs/proc/ |
| H A D | fd.c | 59 real_mount(file->f_path.mnt)->mnt_id, in seq_show()
|
| /linux-6.15/tools/testing/selftests/mount_setattr/ |
| H A D | mount_setattr_test.c | 1827 __u64 mnt_id = 0; in TEST_F() local 1858 mnt_id = stx.stx_mnt_id; in TEST_F() 1866 ASSERT_EQ(stx.stx_mnt_id, mnt_id); in TEST_F()
|