Searched refs:libbpf_reallocarray (Results 1 – 7 of 7) sorted by relevance
/linux/tools/lib/bpf/ |
A D | ringbuf.c | 81 tmp = libbpf_reallocarray(rb->rings, rb->ring_cnt + 1, sizeof(*rb->rings)); in ring_buffer__add() 86 tmp = libbpf_reallocarray(rb->events, rb->ring_cnt + 1, sizeof(*rb->events)); in ring_buffer__add()
|
A D | linker.c | 251 secs = libbpf_reallocarray(secs, new_cnt, sizeof(*secs)); in add_dst_sec() 276 syms = libbpf_reallocarray(symtab->raw_data, sym_cnt + 1, sizeof(*sym)); in add_new_sym() 520 secs = libbpf_reallocarray(secs, new_cnt, sizeof(*secs)); in add_src_sec() 1275 syms = libbpf_reallocarray(linker->glob_syms, linker->glob_sym_cnt + 1, in add_glob_sym() 2387 sec_vars = libbpf_reallocarray(sec_vars, in linker_append_btf() 2413 tmp = libbpf_reallocarray(ext_data->recs, ext_data->rec_cnt + 1, ext_data->rec_sz); in add_btf_ext_rec()
|
A D | libbpf_internal.h | 155 static inline void *libbpf_reallocarray(void *ptr, size_t nmemb, size_t size) in libbpf_reallocarray() function
|
A D | gen_loader.c | 581 relo = libbpf_reallocarray(gen->relos, gen->relo_cnt + 1, sizeof(*relo)); in bpf_gen__record_extern() 607 kdesc = libbpf_reallocarray(gen->ksyms, gen->nr_ksyms + 1, sizeof(*kdesc)); in get_ksym_desc()
|
A D | btf_dump.c | 366 new_queue = libbpf_reallocarray(d->emit_queue, new_cap, sizeof(new_queue[0])); in btf_dump_add_emit_queue_id() 1048 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id()
|
A D | btf.c | 163 new_data = libbpf_reallocarray(*data, new_cnt, elem_sz); in libbpf_add_mem() 3114 new_list = libbpf_reallocarray(d->hypot_list, d->hypot_cap, sizeof(__u32)); in btf_dedup_hypot_map_add() 4457 new_offs = libbpf_reallocarray(d->btf->type_offs, d->btf->type_offs_cap, in btf_dedup_compact_types()
|
A D | libbpf.c | 757 progs = libbpf_reallocarray(progs, nr_progs + 1, sizeof(*progs)); in bpf_object__add_programs() 1409 new_maps = libbpf_reallocarray(obj->maps, new_cap, sizeof(*obj->maps)); in bpf_object__add_map() 3580 ext = libbpf_reallocarray(ext, obj->nr_extern + 1, sizeof(*ext)); in bpf_object__collect_externs() 4091 relos = libbpf_reallocarray(prog->reloc_desc, in bpf_object__collect_prog_relos() 5126 new_cands = libbpf_reallocarray(cands->cands, cands->len + 1, in bpf_core_add_cands() 5813 relos = libbpf_reallocarray(main_prog->reloc_desc, new_cnt, sizeof(*relos)); in append_subprog_relos() 5914 insns = libbpf_reallocarray(main_prog->insns, new_cnt, sizeof(*insns)); in bpf_object__reloc_code() 6249 tmp = libbpf_reallocarray(map->init_slots, new_sz, host_ptr_sz); in bpf_object__collect_map_relos()
|
Completed in 42 milliseconds