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

Function lf_remove_outgoing

freebsd/kern/kern_lockf.c:958–966  ·  view source on GitHub ↗

* Remove all out-going edges from lock x. */

Source from the content-addressed store, hash-verified

956 * Remove all out-going edges from lock x.
957 */
958static void
959lf_remove_outgoing(struct lockf_entry *x)
960{
961 struct lockf_edge *e;
962
963 while ((e = LIST_FIRST(&x->lf_outedges)) != NULL) {
964 lf_remove_edge(e);
965 }
966}
967
968/*
969 * Remove all in-coming edges from lock x.

Callers 3

lf_purgelocksFunction · 0.85
lf_add_outgoingFunction · 0.85
lf_cancel_lockFunction · 0.85

Calls 1

lf_remove_edgeFunction · 0.85

Tested by

no test coverage detected