Searched refs:newop (Results 1 – 1 of 1) sorted by relevance
1261 struct bpf_map_op *newop; in bpf_map_op__clone() local1263 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() local1299 newop = bpf_map_op__clone(pos); in bpf_map_priv__clone()[all …]