Lines Matching refs:controllen

3063 	t_uscalar_t		controllen;  in sotpi_recvmsg()  local
3123 controllen = msg->msg_controllen; in sotpi_recvmsg()
3129 namelen, controllen)); in sotpi_recvmsg()
3387 if (controllen != 0) in sotpi_recvmsg()
3388 controllen = ncontrollen; in sotpi_recvmsg()
3392 controllen = 0; in sotpi_recvmsg()
3410 if (controllen != 0) { in sotpi_recvmsg()
3416 control = kmem_zalloc(controllen, KM_SLEEP); in sotpi_recvmsg()
3420 control, controllen); in sotpi_recvmsg()
3426 kmem_free(control, controllen); in sotpi_recvmsg()
3431 msg->msg_controllen = controllen; in sotpi_recvmsg()
3469 if (controllen != 0) in sotpi_recvmsg()
3470 controllen = ncontrollen; in sotpi_recvmsg()
3474 controllen = 0; in sotpi_recvmsg()
3477 if (controllen != 0) { in sotpi_recvmsg()
3483 control = kmem_zalloc(controllen, KM_SLEEP); in sotpi_recvmsg()
3487 control, controllen); in sotpi_recvmsg()
3490 kmem_free(control, controllen); in sotpi_recvmsg()
3495 msg->msg_controllen = controllen; in sotpi_recvmsg()
3517 controllen == 0 && in sotpi_recvmsg()
3645 struct uio *uiop, void *control, t_uscalar_t controllen, int flags) in sosend_dgramcmsg() argument
3664 ASSERT(control && controllen); in sosend_dgramcmsg()
3726 optlen = so_optlen(control, controllen, in sosend_dgramcmsg()
3744 error = so_getfdopt(control, controllen, in sosend_dgramcmsg()
3796 so_cmsg2opt(control, controllen, !(flags & MSG_XPG4_2), mp); in sosend_dgramcmsg()
3820 t_uscalar_t controllen, int flags) in sosend_svccmsg() argument
3869 optlen = so_optlen(control, controllen, !(flags & MSG_XPG4_2)); in sosend_svccmsg()
3877 error = so_getfdopt(control, controllen, in sosend_svccmsg()
3912 so_cmsg2opt(control, controllen, !(flags & MSG_XPG4_2), mp); in sosend_svccmsg()