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

Function gtaskqueue_cancel

freebsd/kern/subr_gtaskqueue.c:404–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404int
405gtaskqueue_cancel(struct gtaskqueue *queue, struct gtask *gtask)
406{
407 int error;
408
409 TQ_LOCK(queue);
410 error = gtaskqueue_cancel_locked(queue, gtask);
411 TQ_UNLOCK(queue);
412
413 return (error);
414}
415
416static void
417gtaskqueue_drain_locked(struct gtaskqueue *queue, struct gtask *gtask)

Callers

nothing calls this directly

Calls 1

gtaskqueue_cancel_lockedFunction · 0.85

Tested by

no test coverage detected