Lines Matching refs:control
845 void *control;
859 control = msg->msg_control;
886 * when controllen is zero and there is control data to
890 (msg->msg_controllen > controllen || control == NULL)) {
892 msg->msg_controllen, controllen, control));
915 error = copyout_arg(control, controllen, controllenp,
920 if (msg->msg_controllen > controllen || control == NULL) {
921 if (control == NULL)
935 * If we fail and the control part contains file descriptors
1145 void *control;
1160 /* Allocate and copyin name and control */
1178 control = msg->msg_control;
1180 if ((control != NULL) && (controllen != 0)) {
1189 control = kmem_alloc(controllen, KM_SLEEP);
1192 if (copyin(msg->msg_control, control, controllen)) {
1196 msg->msg_control = control;
1198 msg->msg_control = control = NULL;
1207 if (control != NULL)
1208 kmem_free(control, controllen);
1951 * because of flow control. For handling the latter case, we
1956 * The reader thread is either blocked because of flow control or
1978 * control, it would take 25ms to get new data ready for transmission.