Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfill_link_info.c425 __u64 *cookies, __u64 *ref_ctr_offsets) in verify_umulti_link_info()
461 info.uprobe_multi.ref_ctr_offsets = ptr_to_u64(ref_ctr_offsets_buf); in verify_umulti_link_info()
482 if (info.uprobe_multi.ref_ctr_offsets) { in verify_umulti_invalid_user_buffer()
483 ASSERT_EQ(ref_ctr_offsets_buf[i], ref_ctr_offsets[i], in verify_umulti_invalid_user_buffer()
484 "info.uprobe_multi.ref_ctr_offsets"); in verify_umulti_invalid_user_buffer()
562 __u64 *offsets = NULL, *ref_ctr_offsets; in test_uprobe_multi_fill_link_info()
567 (unsigned long **) &ref_ctr_offsets, STT_OBJECT); in test_uprobe_multi_fill_link_info()
578 opts.ref_ctr_offsets = (unsigned long *) &ref_ctr_offsets[0]; in test_uprobe_multi_fill_link_info()
590 verify_umulti_link_info(link_fd, retprobe, offsets, cookies, ref_ctr_offsets); in test_fill_link_info()
411 verify_umulti_link_info(int fd,bool retprobe,__u64 * offsets,__u64 * cookies,__u64 * ref_ctr_offsets) verify_umulti_link_info() argument
548 __u64 *offsets = NULL, *ref_ctr_offsets; test_uprobe_multi_fill_link_info() local
[all...]
H A Duprobe_multi_test.c507 .uprobe_multi.ref_ctr_offsets = (unsigned long *) 1, in test_attach_api_fails()
595 unsigned long offsets[3], ref_ctr_offsets[3]; in attach_uprobe_fail_refctr() local
628 ref_ctr_offsets[0] = tmp_ref_ctr_offsets[0]; /* sema_1 */ in attach_uprobe_fail_refctr()
629 ref_ctr_offsets[1] = tmp_ref_ctr_offsets[1]; /* sema_2 */ in attach_uprobe_fail_refctr()
630 ref_ctr_offsets[2] = tmp_ref_ctr_offsets[0]; /* sema_1, error */ in attach_uprobe_fail_refctr()
634 opts.uprobe_multi.ref_ctr_offsets = (const unsigned long *) &ref_ctr_offsets; in attach_uprobe_fail_refctr()
/linux/include/uapi/linux/
H A Dbpf.h1844 __aligned_u64 ref_ctr_offsets;
6803 __aligned_u64 ref_ctr_offsets;
6806 __u32 count; /* in/out: uprobe_multi offsets/ref_ctr_offsets/cookies count */
1818 __aligned_u64 ref_ctr_offsets; global() member
6770 __aligned_u64 ref_ctr_offsets; global() member
/linux/tools/include/uapi/linux/
H A Dbpf.h1844 __aligned_u64 ref_ctr_offsets;
6803 __aligned_u64 ref_ctr_offsets;
6806 __u32 count; /* in/out: uprobe_multi offsets/ref_ctr_offsets/cookies count */
1818 __aligned_u64 ref_ctr_offsets; global() member
6770 __aligned_u64 ref_ctr_offsets; global() member
/linux/kernel/trace/
H A Dbpf_trace.c2960 u64 __user *uref_ctr_offsets = u64_to_user_ptr(info->uprobe_multi.ref_ctr_offsets); in bpf_uprobe_multi_link_fill_link_info()
3212 uref_ctr_offsets = u64_to_user_ptr(attr->link_create.uprobe_multi.ref_ctr_offsets); in bpf_uprobe_multi_link_attach()
/linux/tools/lib/bpf/
H A Dlibbpf.c12464 const unsigned long *ref_ctr_offsets = NULL, *offsets = NULL; in bpf_program__attach_uprobe_multi() local
12488 ref_ctr_offsets = OPTS_GET(opts, ref_ctr_offsets, NULL); in bpf_program__attach_uprobe_multi()
12514 if (syms || offsets || ref_ctr_offsets || cookies || cnt) in bpf_program__attach_uprobe_multi()
12551 lopts.uprobe_multi.ref_ctr_offsets = ref_ctr_offsets; in bpf_program__attach_uprobe_multi()