Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A Dpath.c24 char *mkpath(char *path_buf, size_t sz, const char *fmt, ...) in mkpath() argument
30 len = vsnprintf(path_buf, sz, fmt, args); in mkpath()
33 strncpy(path_buf, "/bad-path/", sz); in mkpath()
34 return cleanup_path(path_buf); in mkpath()
A Dcache.h29 char *mkpath(char *path_buf, size_t sz, const char *fmt, ...) __printf(3, 4);
/linux/tools/testing/selftests/proc/
A Dproc-pid-vm.c498 char path_buf[256], exp_path_buf[256]; in main() local
502 snprintf(path_buf, sizeof(path_buf), "/proc/%u/maps", pid); in main()
503 fd = open(path_buf, O_RDONLY); in main()
512 q.vma_name_addr = (__u64)(unsigned long)path_buf; in main()
513 q.vma_name_size = sizeof(path_buf); in main()
534 assert(strcmp(path_buf, exp_path_buf) == 0); in main()
/linux/tools/testing/selftests/bpf/
A Dtrace_helpers.c254 char path_buf[PATH_MAX], build_id_buf[20]; in procmap_query() local
262 q.vma_name_addr = (__u64)path_buf; in procmap_query()
263 q.vma_name_size = sizeof(path_buf); in procmap_query()
285 q.vma_name_size ? path_buf : "", in procmap_query()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dfill_link_info.c409 char path[PATH_MAX], path_buf[PATH_MAX]; in verify_umulti_link_info() local
434 info.uprobe_multi.path = ptr_to_u64(path_buf); in verify_umulti_link_info()
435 info.uprobe_multi.path_size = sizeof(path_buf); in verify_umulti_link_info()
457 ASSERT_STREQ(path_buf, path, "info.uprobe_multi.path"); in verify_umulti_link_info()
/linux/tools/bpf/bpftool/
A Dlink.c979 char path_buf[PATH_MAX]; in do_show_link() local
1057 info.uprobe_multi.path = ptr_to_u64(path_buf); in do_show_link()
1058 info.uprobe_multi.path_size = sizeof(path_buf); in do_show_link()

Completed in 14 milliseconds