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

Function sendfile_sync_destroy

freebsd/kern/kern_sendfile.c:112–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110};
111
112static void
113sendfile_sync_destroy(struct sendfile_sync *sfs)
114{
115 KASSERT(sfs->count == 0, ("sendfile sync %p still busy", sfs));
116
117 cv_destroy(&sfs->cv);
118 mtx_destroy(&sfs->mtx);
119 free(sfs, M_SENDFILE);
120}
121
122static void
123sendfile_sync_signal(struct sendfile_sync *sfs)

Callers 2

sendfile_sync_signalFunction · 0.85
vn_sendfileFunction · 0.85

Calls 2

cv_destroyFunction · 0.70
freeFunction · 0.70

Tested by

no test coverage detected