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

Function falloc_abort

freebsd/kern/kern_descrip.c:2044–2053  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2042}
2043
2044void
2045falloc_abort(struct thread *td, struct file *fp)
2046{
2047
2048 /*
2049 * For assertion purposes.
2050 */
2051 refcount_init(&fp->f_count, 0);
2052 _fdrop(fp, td);
2053}
2054
2055/*
2056 * Install a file in a file descriptor table.

Callers 2

falloc_capsFunction · 0.85
kern_openatFunction · 0.85

Calls 2

refcount_initFunction · 0.85
_fdropFunction · 0.85

Tested by

no test coverage detected