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

Function fdused

freebsd/kern/kern_descrip.c:264–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264static void
265fdused(struct filedesc *fdp, int fd)
266{
267
268 FILEDESC_XLOCK_ASSERT(fdp);
269
270 fdused_init(fdp, fd);
271 if (fd == fdp->fd_freefile)
272 fdp->fd_freefile++;
273}
274
275/*
276 * Mark a file descriptor as unused.

Callers 2

kern_dupFunction · 0.85
fdallocFunction · 0.85

Calls 1

fdused_initFunction · 0.85

Tested by

no test coverage detected