Searched refs:elem_next (Results 1 – 1 of 1) sorted by relevance
1045 struct bpf_shtab_elem *elem, *elem_next; in sock_hash_get_next_key() local1058 elem_next = hlist_entry_safe(rcu_dereference(hlist_next_rcu(&elem->node)), in sock_hash_get_next_key()1060 if (elem_next) { in sock_hash_get_next_key()1061 memcpy(key_next, elem_next->key, key_size); in sock_hash_get_next_key()1070 elem_next = hlist_entry_safe(rcu_dereference(hlist_first_rcu(head)), in sock_hash_get_next_key()1072 if (elem_next) { in sock_hash_get_next_key()1073 memcpy(key_next, elem_next->key, key_size); in sock_hash_get_next_key()