/external/bcc/introspection/ |
D | bps.c | 183 uint32_t *map_ids = NULL; in print_one_prog() local 202 prog_info.map_ids = ptr_to_u64(realloc(map_ids, in print_one_prog() 203 nr_map_ids * sizeof(*map_ids))); in print_one_prog() 204 if (!prog_info.map_ids) { in print_one_prog() 209 free(map_ids); in print_one_prog() 213 map_ids = u64_to_ptr(prog_info.map_ids); in print_one_prog() 221 free(map_ids); in print_one_prog() 244 map_fd = bpf_map_get_fd_by_id(map_ids[i]); in print_one_prog() 251 map_ids[i], strerror(errno), errno); in print_one_prog() 260 map_ids[i], strerror(errno), errno); in print_one_prog() [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_obj_id.c | 22 __u32 map_ids[nr_iters + 1]; in test_bpf_obj_id() local 97 prog_infos[i].map_ids = ptr_to_u64(map_ids + i); in test_bpf_obj_id() 120 *(int *)(long)prog_infos[i].map_ids != map_infos[i].id || in test_bpf_obj_id() 135 *(int *)(long)prog_infos[i].map_ids, map_infos[i].id, in test_bpf_obj_id() 181 saved_map_id = *(int *)((long)prog_infos[i].map_ids); in test_bpf_obj_id() 182 prog_info.map_ids = prog_infos[i].map_ids; in test_bpf_obj_id() 189 *(int *)(long)prog_info.map_ids != saved_map_id, in test_bpf_obj_id() 194 *(int *)(long)prog_info.map_ids, saved_map_id); in test_bpf_obj_id()
|
/external/strace/tests/ |
D | bpf-obj_get_info_by_fd.c | 355 uint32_t *map_ids = tail_alloc(sizeof(*map_ids) * 2); in main() local 370 prog_info->map_ids = (uintptr_t) (map_ids + 2); in main() 377 prog_info->map_ids = (uintptr_t) map_ids; in main() 383 prog_info->map_ids = (uintptr_t) map_ids; in main() 446 offsetof(struct bpf_prog_info_struct, map_ids)) { in main() 456 map_ids + 2); in main()
|
/external/strace/tests-m32/ |
D | bpf-obj_get_info_by_fd.c | 355 uint32_t *map_ids = tail_alloc(sizeof(*map_ids) * 2); in main() local 370 prog_info->map_ids = (uintptr_t) (map_ids + 2); in main() 377 prog_info->map_ids = (uintptr_t) map_ids; in main() 383 prog_info->map_ids = (uintptr_t) map_ids; in main() 446 offsetof(struct bpf_prog_info_struct, map_ids)) { in main() 456 map_ids + 2); in main()
|
/external/strace/tests-mx32/ |
D | bpf-obj_get_info_by_fd.c | 355 uint32_t *map_ids = tail_alloc(sizeof(*map_ids) * 2); in main() local 370 prog_info->map_ids = (uintptr_t) (map_ids + 2); in main() 377 prog_info->map_ids = (uintptr_t) map_ids; in main() 383 prog_info->map_ids = (uintptr_t) map_ids; in main() 446 offsetof(struct bpf_prog_info_struct, map_ids)) { in main() 456 map_ids + 2); in main()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_skb_cgroup_id_user.c | 84 __u32 map_ids[1]; in get_map_fd_by_prog_id() local 95 info.map_ids = (__u64) (unsigned long) map_ids; in get_map_fd_by_prog_id() 107 map_fd = bpf_map_get_fd_by_id(map_ids[0]); in get_map_fd_by_prog_id() 109 log_err("Failed to get fd by map id %d", map_ids[0]); in get_map_fd_by_prog_id()
|
D | test_tcp_check_syncookie_user.c | 85 __u32 map_ids[1]; in get_map_fd_by_prog_id() local 96 info.map_ids = (__u64)(unsigned long)map_ids; in get_map_fd_by_prog_id() 110 map_fd = bpf_map_get_fd_by_id(map_ids[0]); in get_map_fd_by_prog_id() 112 log_err("Failed to get fd by map id %d", map_ids[0]); in get_map_fd_by_prog_id()
|
/external/strace/ |
D | bpf_attr_check.c | 685 static_assert(SoM(struct bpf_prog_info_struct, map_ids) == SoM(struct bpf_prog_info, map_ids), 687 …tatic_assert(offsetof(struct bpf_prog_info_struct, map_ids) == offsetof(struct bpf_prog_info, map_…
|
D | bpf_attr.h | 279 uint64_t ATTRIBUTE_ALIGNED(8) map_ids;
|
D | bpf.c | 542 print_big_u64_addr(info.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 | config.h.in | 1061 /* Define to 1 if `map_ids' is a member of `struct bpf_prog_info'. */
|
D | configure | 10875 ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "map_ids" "ac_cv_member_struct_bpf_prog_info_…
|
D | ChangeLog | 2137 and exiting syscall as the size of map_ids array to be decoded. 2144 (print_bpf_prog_info): Likewise. Print map_ids field as an array
|
/external/strace/m4/ |
D | bpf_attr.m4 | 18 struct bpf_prog_info.map_ids,
|
/external/bcc/src/cc/includes/compat/linux/ |
D | bpf.h | 2709 __aligned_u64 map_ids; member
|
/external/bcc/src/cc/compat/linux/ |
D | bpf.h | 2709 __aligned_u64 map_ids; member
|
/external/kernel-headers/original/uapi/linux/ |
D | bpf.h | 4559 __aligned_u64 map_ids; member
|