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

Function lf_remove_incoming

freebsd/kern/kern_lockf.c:971–979  ·  view source on GitHub ↗

* Remove all in-coming edges from lock x. */

Source from the content-addressed store, hash-verified

969 * Remove all in-coming edges from lock x.
970 */
971static void
972lf_remove_incoming(struct lockf_entry *x)
973{
974 struct lockf_edge *e;
975
976 while ((e = LIST_FIRST(&x->lf_inedges)) != NULL) {
977 lf_remove_edge(e);
978 }
979}
980
981/*
982 * Walk the list of locks for the file and create an out-going edge

Callers 2

lf_purgelocksFunction · 0.85
lf_add_incomingFunction · 0.85

Calls 1

lf_remove_edgeFunction · 0.85

Tested by

no test coverage detected