/external/bcc/introspection/ |
D | bps.c | 160 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/ |
D | metadata.c | 37 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()
|
D | bpf_obj_id.c | 114 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()
|
D | tp_attach_query.c | 46 prog_info.nr_map_ids = 0; in serial_test_tp_attach_query()
|
/external/strace/tests/ |
D | bpf-obj_get_info_by_fd.c | 371 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/ |
D | bpf-obj_get_info_by_fd.c | 371 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/ |
D | bpf-obj_get_info_by_fd.c | 371 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/ |
D | bpf.c | 439 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()
|
D | bpf_attr_check.c | 678 …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…
|
D | bpf_attr.h | 278 uint32_t nr_map_ids; member
|
D | config.h.in | 1067 /* Define to 1 if `nr_map_ids' is a member of `struct bpf_prog_info'. */
|
D | configure | 10895 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "nr_map_ids" "ac_cv_member_struct_bpf_prog_in…
|
/external/bpftool/src/ |
D | prog.c | 212 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/ |
D | test_skb_cgroup_id_user.c | 94 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()
|
D | test_tcp_check_syncookie_user.c | 95 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/ |
D | bpf_attr.m4 | 20 struct bpf_prog_info.nr_map_ids,
|
/external/libbpf/src/ |
D | xsk.c | 617 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()
|
D | libbpf.c | 11290 offsetof(struct bpf_prog_info, nr_map_ids),
|
/external/bpftool/include/uapi/linux/ |
D | bpf.h | 5781 __u32 nr_map_ids; member
|
/external/libbpf/include/uapi/linux/ |
D | bpf.h | 5781 __u32 nr_map_ids; member
|
/external/kernel-headers/original/uapi/linux/ |
D | bpf.h | 6232 __u32 nr_map_ids; member
|
/external/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 35246 __u32 nr_map_ids; member
|
/external/bcc/libbpf-tools/powerpc/ |
D | vmlinux_510.h | 40666 __u32 nr_map_ids; member
|
D | vmlinux.h | 40666 __u32 nr_map_ids; member
|
/external/bcc/libbpf-tools/arm64/ |
D | vmlinux.h | 30273 __u32 nr_map_ids; member
|