Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/util/
Dbpf-loader.c917 struct bpf_map_op *newop; in bpf_map_op__clone() local
919 newop = memdup(op, sizeof(*op)); in bpf_map_op__clone()
920 if (!newop) { in bpf_map_op__clone()
925 INIT_LIST_HEAD(&newop->list); in bpf_map_op__clone()
930 newop->k.array.ranges = memdup(op->k.array.ranges, memsz); in bpf_map_op__clone()
931 if (!newop->k.array.ranges) { in bpf_map_op__clone()
933 free(newop); in bpf_map_op__clone()
938 return newop; in bpf_map_op__clone()
945 struct bpf_map_op *pos, *newop; in bpf_map_priv__clone() local
955 newop = bpf_map_op__clone(pos); in bpf_map_priv__clone()
[all …]