MCPcopy Create free account
hub / github.com/F-Stack/f-stack / so_wrknl_lock

Function so_wrknl_lock

freebsd/kern/uipc_socket.c:4210–4219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4208}
4209
4210static void
4211so_wrknl_lock(void *arg)
4212{
4213 struct socket *so = arg;
4214
4215 if (SOLISTENING(so))
4216 SOCK_LOCK(so);
4217 else
4218 SOCKBUF_LOCK(&so->so_snd);
4219}
4220
4221static void
4222so_wrknl_unlock(void *arg)

Callers 1

filt_sowdetachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected