| 251 | SYSINIT(vfs, SI_SUB_VFS, SI_ORDER_ANY, pipeinit, NULL); |
| 252 | |
| 253 | static void |
| 254 | pipeinit(void *dummy __unused) |
| 255 | { |
| 256 | |
| 257 | pipe_zone = uma_zcreate("pipe", sizeof(struct pipepair), |
| 258 | pipe_zone_ctor, NULL, pipe_zone_init, pipe_zone_fini, |
| 259 | UMA_ALIGN_PTR, 0); |
| 260 | KASSERT(pipe_zone != NULL, ("pipe_zone not initialized")); |
| 261 | new_unrhdr64(&pipeino_unr, 1); |
| 262 | pipedev_ino = devfs_alloc_cdp_inode(); |
| 263 | KASSERT(pipedev_ino > 0, ("pipe dev inode not initialized")); |
| 264 | } |
| 265 | |
| 266 | static int |
| 267 | pipe_zone_ctor(void *mem, int size, void *arg, int flags) |
nothing calls this directly
no test coverage detected