| 252 | } |
| 253 | |
| 254 | static int |
| 255 | ksem_closef(struct file *fp, struct thread *td) |
| 256 | { |
| 257 | struct ksem *ks; |
| 258 | |
| 259 | ks = fp->f_data; |
| 260 | fp->f_data = NULL; |
| 261 | ksem_drop(ks); |
| 262 | |
| 263 | return (0); |
| 264 | } |
| 265 | |
| 266 | static int |
| 267 | ksem_fill_kinfo(struct file *fp, struct kinfo_file *kif, struct filedesc *fdp) |
nothing calls this directly
no test coverage detected