| /linux/tools/testing/selftests/namespaces/ |
| H A D | file_handle_test.c | 26 int mount_id; in TEST() local 45 ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() 81 int mount_id; in TEST() local 100 ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() 131 int mount_id; in TEST() local 150 ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() 181 int mount_id; in TEST() local 200 ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() 231 int mount_id; in TEST() local 250 ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() [all …]
|
| H A D | ns_active_ref_test.c | 38 int mount_id; in TEST() local 52 ret = name_to_handle_at(fd1, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() 90 int mount_id; in TEST() local 125 ret = name_to_handle_at(fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() 170 int mount_id; in TEST() local 210 ret = name_to_handle_at(fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() 293 int mount_id; in TEST() local 345 ret = name_to_handle_at(fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() 383 int mount_id; in TEST() local 423 ret = name_to_handle_at(fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() [all …]
|
| /linux/tools/build/feature/ |
| H A D | test-file-handle.c | 13 int mount_id; in main() local 15 name_to_handle_at(AT_FDCWD, "/", &handle.fh, &mount_id, 0); in main()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | cgroup_helpers.c | 475 int dirfd, err, flags, mount_id, fhsize; in get_cgroup_id_from_path() 491 err = name_to_handle_at(dirfd, cgroup_workdir, fhp, &mount_id, flags); in get_cgroup_id_from_path() 503 err = name_to_handle_at(dirfd, cgroup_workdir, fhp2, &mount_id, flags); in get_cgroup_id() 455 int dirfd, err, flags, mount_id, fhsize; get_cgroup_id_from_path() local
|
| /linux/tools/perf/util/ |
| H A D | cgroup.c | 58 int mount_id; in __read_cgroup_id() local 61 if (name_to_handle_at(AT_FDCWD, path, &handle.fh, &mount_id, 0) < 0) in __read_cgroup_id()
|
| H A D | synthetic-events.c | 564 int mount_id; in perf_event__synthesize_cgroup() local 575 if (name_to_handle_at(AT_FDCWD, path, &handle.fh, &mount_id, 0) < 0) { in perf_event__synthesize_cgroup()
|