/aosp_15_r20/external/libbpf/src/ |
H A D | usdt.c | 427 tmp = libbpf_reallocarray(*segs, *seg_cnt + 1, sizeof(**segs)); in parse_elf_segs() 510 tmp = libbpf_reallocarray(*segs, *seg_cnt + 1, sizeof(**segs)); in parse_vma_segs() 766 tmp = libbpf_reallocarray(targets, target_cnt + 1, sizeof(*targets)); in collect_usdt_targets() 859 new_free_ids = libbpf_reallocarray(man->free_spec_ids, new_cnt, in bpf_link_usdt_detach() 918 new_ids = libbpf_reallocarray(link->spec_ids, link->spec_cnt + 1, sizeof(*link->spec_ids)); in allocate_spec_id()
|
H A D | ringbuf.c | 102 tmp = libbpf_reallocarray(rb->rings, rb->ring_cnt + 1, sizeof(*rb->rings)); in ring_buffer__add() 107 tmp = libbpf_reallocarray(rb->events, rb->ring_cnt + 1, sizeof(*rb->events)); in ring_buffer__add()
|
H A D | linker.c | 252 secs = libbpf_reallocarray(secs, new_cnt, sizeof(*secs)); in add_dst_sec() 277 syms = libbpf_reallocarray(symtab->raw_data, sym_cnt + 1, sizeof(*sym)); in add_new_sym() 521 secs = libbpf_reallocarray(secs, new_cnt, sizeof(*secs)); in add_src_sec() 1302 syms = libbpf_reallocarray(linker->glob_syms, linker->glob_sym_cnt + 1, in add_glob_sym() 2412 sec_vars = libbpf_reallocarray(sec_vars, in linker_append_btf() 2438 tmp = libbpf_reallocarray(ext_data->recs, ext_data->rec_cnt + 1, ext_data->rec_sz); in add_btf_ext_rec()
|
H A D | gen_loader.c | 567 relo = libbpf_reallocarray(gen->relos, gen->relo_cnt + 1, sizeof(*relo)); in bpf_gen__record_extern() 597 kdesc = libbpf_reallocarray(gen->ksyms, gen->nr_ksyms + 1, sizeof(*kdesc)); in get_ksym_desc() 856 relos = libbpf_reallocarray(gen->core_relos, gen->core_relo_cnt + 1, sizeof(*relos)); in bpf_gen__record_relo_core()
|
H A D | libbpf_internal.h | 195 static inline void *libbpf_reallocarray(void *ptr, size_t nmemb, size_t size) in libbpf_reallocarray() function
|
H A D | libbpf.c | 880 progs = libbpf_reallocarray(progs, nr_progs + 1, sizeof(*progs)); in bpf_object__add_programs() 4169 ext = libbpf_reallocarray(ext, obj->nr_extern + 1, sizeof(*ext)); in bpf_object__collect_externs() 4685 relos = libbpf_reallocarray(prog->reloc_desc, in bpf_object__collect_prog_relos() 5508 new_cands = libbpf_reallocarray(cands->cands, cands->len + 1, in bpf_core_add_cands() 5726 relos = libbpf_reallocarray(prog->reloc_desc, in record_relo_core() 6238 relos = libbpf_reallocarray(main_prog->reloc_desc, new_cnt, sizeof(*relos)); in append_subprog_relos() 6270 insns = libbpf_reallocarray(main_prog->insns, new_cnt, sizeof(*insns)); in bpf_object__append_subprog_code() 7180 tmp = libbpf_reallocarray(map->init_slots, new_sz, host_ptr_sz); in bpf_object__collect_map_relos() 9139 insns = libbpf_reallocarray(prog->insns, new_insn_cnt, sizeof(*insns)); in bpf_program__set_insns() 9403 sec_def = libbpf_reallocarray(custom_sec_defs, custom_sec_def_cnt + 1, in libbpf_register_prog_handler() [all …]
|
H A D | btf_dump.c | 384 new_queue = libbpf_reallocarray(d->emit_queue, new_cap, sizeof(new_queue[0])); in btf_dump_add_emit_queue_id() 1213 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id()
|
H A D | btf.c | 163 new_data = libbpf_reallocarray(*data, new_cnt, elem_sz); in libbpf_add_mem() 3338 new_list = libbpf_reallocarray(d->hypot_list, d->hypot_cap, sizeof(__u32)); in btf_dedup_hypot_map_add() 4876 new_offs = libbpf_reallocarray(d->btf->type_offs, d->btf->type_offs_cap, in btf_dedup_compact_types()
|
/aosp_15_r20/external/bcc/libbpf-tools/ |
H A D | compat.h | 31 static inline void *libbpf_reallocarray(void *ptr, size_t nmemb, size_t size) in libbpf_reallocarray() function
|
H A D | biotop.c | 60 reallocated = libbpf_reallocarray(vector->elems, vector->capacity, sizeof(*vector->elems)); in grow_vector()
|
H A D | klockstat.c | 519 stats = libbpf_reallocarray(stats, stats_sz, sizeof(void *)); in print_stats()
|
/aosp_15_r20/external/bpftool/src/ |
H A D | xlated_dumper.c | 38 tmp = libbpf_reallocarray(dd->sym_mapping, dd->sym_count + 1, in kernel_syms_load()
|
H A D | prog.c | 1608 new_map_replace = libbpf_reallocarray(map_replace, in load_with_options()
|
/aosp_15_r20/out/soong/.intermediates/external/libbpf/libbpf_headers/gen/bpf/ |
D | libbpf_internal.h | 195 static inline void *libbpf_reallocarray(void *ptr, size_t nmemb, size_t size) in libbpf_reallocarray() function
|