Searched refs:copy_selem (Results 1 – 1 of 1) sorted by relevance
/net/core/ |
D | bpf_sk_storage.c | 757 struct bpf_sk_storage_elem *copy_selem; in bpf_sk_storage_clone_elem() local 759 copy_selem = selem_alloc(smap, newsk, NULL, true); in bpf_sk_storage_clone_elem() 760 if (!copy_selem) in bpf_sk_storage_clone_elem() 764 copy_map_value_locked(&smap->map, SDATA(copy_selem)->data, in bpf_sk_storage_clone_elem() 767 copy_map_value(&smap->map, SDATA(copy_selem)->data, in bpf_sk_storage_clone_elem() 770 return copy_selem; in bpf_sk_storage_clone_elem() 789 struct bpf_sk_storage_elem *copy_selem; in bpf_sk_storage_clone() local 806 copy_selem = bpf_sk_storage_clone_elem(newsk, smap, selem); in bpf_sk_storage_clone() 807 if (!copy_selem) { in bpf_sk_storage_clone() 814 selem_link_map(smap, copy_selem); in bpf_sk_storage_clone() [all …]
|