Home
last modified time | relevance | path

Searched refs:nr_map_ids (Results 1 – 25 of 29) sorted by relevance

12

/external/bcc/introspection/
Dbps.c160 prog_info->nr_map_ids, load_time, prog_info->name); in print_prog_info()
164 prog_info->nr_map_ids, load_time, prog_info->name); in print_prog_info()
197 uint32_t nr_map_ids = usual_nr_map_ids; in print_one_prog() local
219 nr_map_ids * sizeof(*map_ids))); in print_one_prog()
223 nr_map_ids, prog_id); in print_one_prog()
230 prog_info.nr_map_ids = nr_map_ids; in print_one_prog()
241 if (prog_info.nr_map_ids <= nr_map_ids) in print_one_prog()
244 nr_map_ids = prog_info.nr_map_ids; in print_one_prog()
254 nr_map_ids = min(prog_info.nr_map_ids, nr_map_ids); in print_one_prog()
255 for (i = 0; i < nr_map_ids; i++) { in print_one_prog()
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dmetadata.c37 map_ids = calloc(prog_info.nr_map_ids, sizeof(__u32)); in prog_holds_map()
41 nr_maps = prog_info.nr_map_ids; in prog_holds_map()
43 prog_info.nr_map_ids = nr_maps; in prog_holds_map()
54 for (i = 0; i < prog_info.nr_map_ids; i++) { in prog_holds_map()
Dbpf_obj_id.c114 prog_infos[i].nr_map_ids = 2; in serial_test_bpf_obj_id()
135 prog_infos[i].nr_map_ids != 1 || in serial_test_bpf_obj_id()
154 prog_infos[i].nr_map_ids, 1, in serial_test_bpf_obj_id()
219 prog_info.nr_map_ids = 1; in serial_test_bpf_obj_id()
230 prog_info.nr_map_ids = 2; in serial_test_bpf_obj_id()
Dtp_attach_query.c46 prog_info.nr_map_ids = 0; in serial_test_tp_attach_query()
/external/strace/tests/
Dbpf-obj_get_info_by_fd.c371 prog_info->nr_map_ids = 2; in main()
378 prog_info->nr_map_ids = 0; in main()
384 prog_info->nr_map_ids = 2; in main()
450 if (prog_info->nr_map_ids) in main()
460 if (prog_info->nr_map_ids) in main()
466 if (prog_info->nr_map_ids != 2) in main()
/external/strace/tests-mx32/
Dbpf-obj_get_info_by_fd.c371 prog_info->nr_map_ids = 2; in main()
378 prog_info->nr_map_ids = 0; in main()
384 prog_info->nr_map_ids = 2; in main()
450 if (prog_info->nr_map_ids) in main()
460 if (prog_info->nr_map_ids) in main()
466 if (prog_info->nr_map_ids != 2) in main()
/external/strace/tests-m32/
Dbpf-obj_get_info_by_fd.c371 prog_info->nr_map_ids = 2; in main()
378 prog_info->nr_map_ids = 0; in main()
384 prog_info->nr_map_ids = 2; in main()
450 if (prog_info->nr_map_ids) in main()
460 if (prog_info->nr_map_ids) in main()
466 if (prog_info->nr_map_ids != 2) in main()
/external/strace/
Dbpf.c439 uint32_t nr_map_ids; member
499 saved->nr_map_ids = info.nr_map_ids; in print_bpf_prog_info()
537 if (saved->nr_map_ids != info.nr_map_ids) in print_bpf_prog_info()
538 tprintf("%" PRIu32 " => ", saved->nr_map_ids); in print_bpf_prog_info()
539 tprintf("%" PRIu32, info.nr_map_ids); in print_bpf_prog_info()
543 print_array(tcp, info.map_ids, MIN(saved->nr_map_ids, info.nr_map_ids), in print_bpf_prog_info()
Dbpf_attr_check.c678 …static_assert(SoM(struct bpf_prog_info_struct, nr_map_ids) == SoM(struct bpf_prog_info, nr_map_ids
680 …ic_assert(offsetof(struct bpf_prog_info_struct, nr_map_ids) == offsetof(struct bpf_prog_info, nr_m…
Dbpf_attr.h278 uint32_t nr_map_ids; member
Dconfig.h.in1067 /* Define to 1 if `nr_map_ids' is a member of `struct bpf_prog_info'. */
Dconfigure10895 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_map_ids" "ac_cv_member_struct_bpf_prog_in…
/external/bpftool/src/
Dprog.c212 info.nr_map_ids = num_maps; in show_prog_maps()
216 if (err || !info.nr_map_ids) in show_prog_maps()
222 for (i = 0; i < info.nr_map_ids; i++) in show_prog_maps()
227 for (i = 0; i < info.nr_map_ids; i++) in show_prog_maps()
229 i == info.nr_map_ids - 1 ? "" : ","); in show_prog_maps()
252 if (!prog_info.nr_map_ids) in find_metadata()
255 map_ids = calloc(prog_info.nr_map_ids, sizeof(__u32)); in find_metadata()
259 nr_maps = prog_info.nr_map_ids; in find_metadata()
261 prog_info.nr_map_ids = nr_maps; in find_metadata()
269 for (i = 0; i < prog_info.nr_map_ids; i++) { in find_metadata()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c94 info.nr_map_ids = 1; in get_map_fd_by_prog_id()
102 if (!info.nr_map_ids) { in get_map_fd_by_prog_id()
Dtest_tcp_check_syncookie_user.c95 info.nr_map_ids = 1; in get_map_fd_by_prog_id()
103 if (!info.nr_map_ids) { in get_map_fd_by_prog_id()
/external/strace/m4/
Dbpf_attr.m420 struct bpf_prog_info.nr_map_ids,
/external/libbpf/src/
Dxsk.c617 num_maps = prog_info.nr_map_ids; in xsk_lookup_bpf_maps()
619 map_ids = calloc(prog_info.nr_map_ids, sizeof(*map_ids)); in xsk_lookup_bpf_maps()
624 prog_info.nr_map_ids = num_maps; in xsk_lookup_bpf_maps()
633 for (i = 0; i < prog_info.nr_map_ids; i++) { in xsk_lookup_bpf_maps()
Dlibbpf.c11290 offsetof(struct bpf_prog_info, nr_map_ids),
/external/bpftool/include/uapi/linux/
Dbpf.h5781 __u32 nr_map_ids; member
/external/libbpf/include/uapi/linux/
Dbpf.h5781 __u32 nr_map_ids; member
/external/kernel-headers/original/uapi/linux/
Dbpf.h6232 __u32 nr_map_ids; member
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h35246 __u32 nr_map_ids; member
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h40666 __u32 nr_map_ids; member
Dvmlinux.h40666 __u32 nr_map_ids; member
/external/bcc/libbpf-tools/arm64/
Dvmlinux.h30273 __u32 nr_map_ids; member

12