Home
last modified time | relevance | path

Searched refs:socket_zone (Results 1 – 1 of 1) sorted by relevance

/f-stack/freebsd/kern/
H A Duipc_socket.c278 static uma_zone_t socket_zone; variable
285 maxsockets = uma_zone_set_max(socket_zone, maxsockets); in socket_zone_change()
310 socket_zone = uma_zcreate("socket", sizeof(struct socket), NULL, NULL, in socket_init()
312 maxsockets = uma_zone_set_max(socket_zone, maxsockets); in socket_init()
313 uma_zone_set_warning(socket_zone, "kern.ipc.maxsockets limit reached"); in socket_init()
400 so = uma_zalloc(socket_zone, M_NOWAIT | M_ZERO); in soalloc()
405 uma_zfree(socket_zone, so); in soalloc()
410 uma_zfree(socket_zone, so); in soalloc()
440 uma_zfree(socket_zone, so); in soalloc()
498 uma_zfree(socket_zone, so); in sodealloc()