Searched refs:ref_ctr_offsets (Results 1 - 11 of 11) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dfill_link_info.c404 __u64 *cookies, __u64 *ref_ctr_offsets)
431 info.uprobe_multi.ref_ctr_offsets = ptr_to_u64(ref_ctr_offsets_buf);
452 if (info.uprobe_multi.ref_ctr_offsets) {
453 ASSERT_EQ(ref_ctr_offsets_buf[i], ref_ctr_offsets[i],
454 "info.uprobe_multi.ref_ctr_offsets");
532 __u64 *offsets = NULL, *ref_ctr_offsets; local
537 (unsigned long **) &ref_ctr_offsets, STT_OBJECT);
548 opts.ref_ctr_offsets = (unsigned long *) &ref_ctr_offsets[0];
560 verify_umulti_link_info(link_fd, retprobe, offsets, cookies, ref_ctr_offsets);
403 verify_umulti_link_info(int fd, bool retprobe, __u64 *offsets, __u64 *cookies, __u64 *ref_ctr_offsets) argument
[all...]
H A Duprobe_multi_test.c363 /* wrong ref_ctr_offsets pointer */
368 .uprobe_multi.ref_ctr_offsets = (unsigned long *) 1,
/linux-master/tools/bpf/bpftool/
H A Dlink.c355 u64_to_arr(info->uprobe_multi.ref_ctr_offsets)[i]);
778 u64_to_arr(info->uprobe_multi.ref_ctr_offsets)[i],
967 __u64 *ref_ctr_offsets = NULL, *offsets = NULL, *cookies = NULL; local
1031 ref_ctr_offsets = calloc(count, sizeof(__u64));
1032 if (!ref_ctr_offsets) {
1038 info.uprobe_multi.ref_ctr_offsets = ptr_to_u64(ref_ctr_offsets);
1042 free(ref_ctr_offsets);
1088 free(ref_ctr_offsets);
/linux-master/tools/lib/bpf/
H A Dusdt.c960 unsigned long *offsets = NULL, *ref_ctr_offsets = NULL; local
1016 ref_ctr_offsets = calloc(target_cnt, sizeof(*ref_ctr_offsets));
1018 if (!offsets || !ref_ctr_offsets || !cookies) {
1070 ref_ctr_offsets[i] = target->sema_off;
1092 .ref_ctr_offsets = ref_ctr_offsets,
1108 free(ref_ctr_offsets);
1119 free(ref_ctr_offsets);
H A Dbpf.h415 const unsigned long *ref_ctr_offsets; member in struct:bpf_link_create_opts::__anon3314::__anon3317
H A Dbpf.c782 attr.link_create.uprobe_multi.ref_ctr_offsets = ptr_to_u64(OPTS_GET(opts, uprobe_multi.ref_ctr_offsets, 0));
H A Dlibbpf.h560 const unsigned long *ref_ctr_offsets; member in struct:bpf_uprobe_multi_opts
581 * syms/offsets/ref_ctr_offsets/cookies/cnt
584 * - ref_ctr_offsets and cookies are optional
H A Dlibbpf.c11750 const unsigned long *ref_ctr_offsets = NULL, *offsets = NULL; local
11766 ref_ctr_offsets = OPTS_GET(opts, ref_ctr_offsets, NULL);
11776 * syms/offsets/ref_ctr_offsets/cookies/cnt
11779 * - ref_ctr_offsets and cookies are optional
11790 if (syms || offsets || ref_ctr_offsets || cookies || cnt)
11822 lopts.uprobe_multi.ref_ctr_offsets = ref_ctr_offsets;
/linux-master/include/uapi/linux/
H A Dbpf.h1759 __aligned_u64 ref_ctr_offsets; member in struct:bpf_attr::__anon2609::__anon2612::__anon2620
6674 __aligned_u64 ref_ctr_offsets; member in struct:bpf_link_info::__anon2663::__anon2678
6677 __u32 count; /* in/out: uprobe_multi offsets/ref_ctr_offsets/cookies count */
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1759 __aligned_u64 ref_ctr_offsets; member in struct:bpf_attr::__anon3150::__anon3153::__anon3161
6674 __aligned_u64 ref_ctr_offsets; member in struct:bpf_link_info::__anon3204::__anon3219
6677 __u32 count; /* in/out: uprobe_multi offsets/ref_ctr_offsets/cookies count */
/linux-master/kernel/trace/
H A Dbpf_trace.c3177 u64 __user *uref_ctr_offsets = u64_to_user_ptr(info->uprobe_multi.ref_ctr_offsets);
3359 * ref_ctr_offsets and cookies are optional
3370 uref_ctr_offsets = u64_to_user_ptr(attr->link_create.uprobe_multi.ref_ctr_offsets);

Completed in 243 milliseconds