Home
last modified time | relevance | path

Searched refs:PROCMAP_QUERY (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/proc/
H A Dproc-pid-vm.c519 err = ioctl(fd, PROCMAP_QUERY, &q); in main()
546 err = ioctl(fd, PROCMAP_QUERY, &q); in main()
556 err = ioctl(fd, PROCMAP_QUERY, &q); in main()
570 err = ioctl(fd, PROCMAP_QUERY, &q); in main()
580 err = ioctl(fd, PROCMAP_QUERY, &q); in main()
H A Dproc-maps-race.c482 if (ioctl(maps_fd, PROCMAP_QUERY, &q)) in FIXTURE_SETUP()
790 /* Check if PROCMAP_QUERY ioclt() finds the right VMA */ in TEST_F()
873 /* Check if PROCMAP_QUERY ioclt() finds the right VMA */
954 /* Check if PROCMAP_QUERY ioclt() finds the right VMA */
/linux/tools/testing/selftests/bpf/
H A Dtrace_helpers.c247 #ifdef PROCMAP_QUERY
265 err = ioctl(fd, PROCMAP_QUERY, &q); in procmap_query()
/linux/tools/include/uapi/linux/
H A Dfs.h417 #define PROCMAP_QUERY _IOWR(PROCFS_IOCTL_MAGIC, 17, struct procmap_query)
416 #define PROCMAP_QUERY global() macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dfs.h523 #define PROCMAP_QUERY _IOWR(PROCFS_IOCTL_MAGIC, 17, struct procmap_query) macro
/linux/tools/testing/selftests/mm/
H A Dvm_util.c596 * PROCMAP_QUERY query. Returns 0 on success, or an error code otherwise. in detect_huge_zeropage()
613 /* Perform PROCMAP_QUERY. Returns 0 on success, or an error code otherwise. */ in ksm_get_self_zero_pages()
618 if (ioctl(procmap->fd, PROCMAP_QUERY, &procmap->query) == -1) in ksm_get_self_zero_pages()
641 ksft_exit_fail_msg("%s: Error %d on ioctl(PROCMAP_QUERY)\n", in ksm_get_self_merging_pages()
647 * Close fd used by PROCMAP_QUERY mechanism. Returns 0 on success, or an error in ksm_get_self_merging_pages()