Home
last modified time | relevance | path

Searched refs:data_sz (Results 1 – 5 of 5) sorted by relevance

/tools/lib/bpf/
Dbpf_prog_linfo.c104 __u64 data_sz; in bpf_prog_linfo__new() local
126 data_sz = (__u64)nr_linfo * prog_linfo->rec_size; in bpf_prog_linfo__new()
127 prog_linfo->raw_linfo = malloc(data_sz); in bpf_prog_linfo__new()
130 memcpy(prog_linfo->raw_linfo, (void *)(long)info->line_info, data_sz); in bpf_prog_linfo__new()
146 data_sz = (__u64)nr_linfo * prog_linfo->jited_rec_size; in bpf_prog_linfo__new()
147 prog_linfo->raw_jited_linfo = malloc(data_sz); in bpf_prog_linfo__new()
151 (void *)(long)info->jited_line_info, data_sz); in bpf_prog_linfo__new()
Dbtf.c1162 __u32 data_sz; in btf_get_raw_data() local
1171 data_sz = hdr->hdr_len + hdr->type_len + hdr->str_len; in btf_get_raw_data()
1172 data = calloc(1, data_sz); in btf_get_raw_data()
1200 *size = data_sz; in btf_get_raw_data()
1210 __u32 data_sz; in btf__get_raw_data() local
1213 data = btf_get_raw_data(btf, &data_sz, btf->swapped_endian); in btf__get_raw_data()
1217 btf->raw_size = data_sz; in btf__get_raw_data()
1222 *size = data_sz; in btf__get_raw_data()
Dlibbpf.h735 size_t data_sz; member
Dlibbpf.c1362 int sec_idx, void *data, size_t data_sz) in bpf_object__init_internal_map() argument
1384 def->value_size = data_sz; in bpf_object__init_internal_map()
1405 memcpy(map->mmaped, data, data_sz); in bpf_object__init_internal_map()
10809 obj = bpf_object__open_mem(s->data, s->data_sz, &skel_opts); in bpf_object__open_skeleton()
/tools/bpf/runqslower/
Drunqslower.c101 void handle_event(void *ctx, int cpu, void *data, __u32 data_sz) in handle_event() argument