Searched refs:copy_selem (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/net/core/ |
D | bpf_sk_storage.c | 173 struct bpf_local_storage_elem *copy_selem; in bpf_sk_storage_clone_elem() local 175 copy_selem = bpf_selem_alloc(smap, newsk, NULL, true, GFP_ATOMIC); in bpf_sk_storage_clone_elem() 176 if (!copy_selem) in bpf_sk_storage_clone_elem() 180 copy_map_value_locked(&smap->map, SDATA(copy_selem)->data, in bpf_sk_storage_clone_elem() 183 copy_map_value(&smap->map, SDATA(copy_selem)->data, in bpf_sk_storage_clone_elem() 186 return copy_selem; in bpf_sk_storage_clone_elem() 205 struct bpf_local_storage_elem *copy_selem; in bpf_sk_storage_clone() local 222 copy_selem = bpf_sk_storage_clone_elem(newsk, smap, selem); in bpf_sk_storage_clone() 223 if (!copy_selem) { in bpf_sk_storage_clone() 230 bpf_selem_link_map(smap, copy_selem); in bpf_sk_storage_clone() [all …]
|