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

Function shm_hold

freebsd/kern/uipc_shm.c:888–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

886}
887
888struct shmfd *
889shm_hold(struct shmfd *shmfd)
890{
891
892 refcount_acquire(&shmfd->shm_refs);
893 return (shmfd);
894}
895
896void
897shm_drop(struct shmfd *shmfd)

Callers 4

kern_umtx.cFile · 0.85
shm_insertFunction · 0.85
kern_shm_open2Function · 0.85
sys_shm_renameFunction · 0.85

Calls 1

refcount_acquireFunction · 0.85

Tested by

no test coverage detected