Searched refs:copy_selem (Results 1 – 1 of 1) sorted by relevance
171 struct bpf_local_storage_elem *copy_selem; in bpf_sk_storage_clone_elem() local173 copy_selem = bpf_selem_alloc(smap, newsk, NULL, true); in bpf_sk_storage_clone_elem()174 if (!copy_selem) in bpf_sk_storage_clone_elem()181 copy_map_value(&smap->map, SDATA(copy_selem)->data, in bpf_sk_storage_clone_elem()184 return copy_selem; in bpf_sk_storage_clone_elem()203 struct bpf_local_storage_elem *copy_selem; in bpf_sk_storage_clone() local221 if (!copy_selem) { in bpf_sk_storage_clone()228 bpf_selem_link_map(smap, copy_selem); in bpf_sk_storage_clone()231 ret = bpf_local_storage_alloc(newsk, smap, copy_selem); in bpf_sk_storage_clone()233 kfree(copy_selem); in bpf_sk_storage_clone()[all …]
Completed in 5 milliseconds