Lines Matching refs:ptrs
12 struct sock __rcu *ptrs[]; member
57 return rcu_dereference(array->ptrs[index]); in reuseport_array_lookup_elem()
71 if (!rcu_access_pointer(array->ptrs[index])) in reuseport_array_delete_elem()
76 sk = rcu_dereference_protected(array->ptrs[index], in reuseport_array_delete_elem()
81 RCU_INIT_POINTER(array->ptrs[index], NULL); in reuseport_array_delete_elem()
128 sk = rcu_dereference(array->ptrs[i]); in reuseport_array_free()
138 RCU_INIT_POINTER(array->ptrs[i], NULL); in reuseport_array_free()
289 rcu_access_pointer(array->ptrs[index]), in bpf_fd_reuseport_array_update_elem()
303 osk = rcu_dereference_protected(array->ptrs[index], in bpf_fd_reuseport_array_update_elem()
316 WRITE_ONCE(nsk->sk_user_data, &array->ptrs[index]); in bpf_fd_reuseport_array_update_elem()
317 rcu_assign_pointer(array->ptrs[index], nsk); in bpf_fd_reuseport_array_update_elem()