Lines Matching refs:sks
19 struct sock **sks; member
57 stab->sks = bpf_map_area_alloc((u64) stab->map.max_entries * in sock_map_alloc()
60 if (!stab->sks) { in sock_map_alloc()
346 struct sock **psk = &stab->sks[i]; in sock_map_free()
364 bpf_map_area_free(stab->sks); in sock_map_free()
381 return READ_ONCE(stab->sks[key]); in __sock_map_lookup_elem()
448 psk = &stab->sks[i]; in sock_map_delete_elem()
494 osk = stab->sks[idx]; in sock_map_update_common()
503 sock_map_add_link(psock, link, map, &stab->sks[idx]); in sock_map_update_common()
504 stab->sks[idx] = sk; in sock_map_update_common()
506 sock_map_unref(osk, &stab->sks[idx]); in sock_map_update_common()