| 262 | } |
| 263 | |
| 264 | static void |
| 265 | fdused(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. |
no test coverage detected