Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
Dbpf-loader.c1261 struct bpf_map_op *newop; in bpf_map_op__clone() local
1263 newop = memdup(op, sizeof(*op)); in bpf_map_op__clone()
1264 if (!newop) { in bpf_map_op__clone()
1269 INIT_LIST_HEAD(&newop->list); in bpf_map_op__clone()
1274 newop->k.array.ranges = memdup(op->k.array.ranges, memsz); in bpf_map_op__clone()
1275 if (!newop->k.array.ranges) { in bpf_map_op__clone()
1277 free(newop); in bpf_map_op__clone()
1282 return newop; in bpf_map_op__clone()
1289 struct bpf_map_op *pos, *newop; in bpf_map_priv__clone() local
1299 newop = bpf_map_op__clone(pos); in bpf_map_priv__clone()
[all …]