Home
last modified time | relevance | path

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

/Linux-v5.10/tools/perf/util/
Dbpf-loader.c900 struct bpf_map_op *newop; in bpf_map_op__clone() local
902 newop = memdup(op, sizeof(*op)); in bpf_map_op__clone()
903 if (!newop) { in bpf_map_op__clone()
908 INIT_LIST_HEAD(&newop->list); in bpf_map_op__clone()
913 newop->k.array.ranges = memdup(op->k.array.ranges, memsz); in bpf_map_op__clone()
914 if (!newop->k.array.ranges) { in bpf_map_op__clone()
916 free(newop); in bpf_map_op__clone()
921 return newop; in bpf_map_op__clone()
928 struct bpf_map_op *pos, *newop; in bpf_map_priv__clone() local
938 newop = bpf_map_op__clone(pos); in bpf_map_priv__clone()
[all …]