copy_selem 757 net/core/bpf_sk_storage.c struct bpf_sk_storage_elem *copy_selem; copy_selem 759 net/core/bpf_sk_storage.c copy_selem = selem_alloc(smap, newsk, NULL, true); copy_selem 760 net/core/bpf_sk_storage.c if (!copy_selem) copy_selem 764 net/core/bpf_sk_storage.c copy_map_value_locked(&smap->map, SDATA(copy_selem)->data, copy_selem 767 net/core/bpf_sk_storage.c copy_map_value(&smap->map, SDATA(copy_selem)->data, copy_selem 770 net/core/bpf_sk_storage.c return copy_selem; copy_selem 789 net/core/bpf_sk_storage.c struct bpf_sk_storage_elem *copy_selem; copy_selem 806 net/core/bpf_sk_storage.c copy_selem = bpf_sk_storage_clone_elem(newsk, smap, selem); copy_selem 807 net/core/bpf_sk_storage.c if (!copy_selem) { copy_selem 814 net/core/bpf_sk_storage.c selem_link_map(smap, copy_selem); copy_selem 815 net/core/bpf_sk_storage.c __selem_link_sk(new_sk_storage, copy_selem); copy_selem 817 net/core/bpf_sk_storage.c ret = sk_storage_alloc(newsk, smap, copy_selem); copy_selem 819 net/core/bpf_sk_storage.c kfree(copy_selem); copy_selem 826 net/core/bpf_sk_storage.c new_sk_storage = rcu_dereference(copy_selem->sk_storage);