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

Function clone_setup

freebsd/kern/kern_conf.c:1300–1306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1298};
1299
1300void
1301clone_setup(struct clonedevs **cdp)
1302{
1303
1304 *cdp = malloc(sizeof **cdp, M_DEVBUF, M_WAITOK | M_ZERO);
1305 LIST_INIT(&(*cdp)->head);
1306}
1307
1308int
1309clone_create(struct clonedevs **cdp, struct cdevsw *csw, int *up,

Callers 1

tuntapmodeventFunction · 0.85

Calls 1

mallocFunction · 0.85

Tested by

no test coverage detected