Lines Matching refs:response

528 	u_int8_t *response = NULL;  in netagent_send_success_response()  local
531 response = (u_int8_t *)kalloc_data(response_size, Z_WAITOK); in netagent_send_success_response()
532 if (response == NULL) { in netagent_send_success_response()
535 …(void)netagent_buffer_write_message_header(response, message_type, NETAGENT_MESSAGE_FLAGS_RESPONSE… in netagent_send_success_response()
537 if ((error = netagent_send_ctl_data(session->control_unit, response, response_size))) { in netagent_send_success_response()
541 kfree_data(response, response_size); in netagent_send_success_response()
550 u_int8_t *response = NULL; in netagent_send_error_response() local
558 response = (u_int8_t *)kalloc_data(response_size, Z_WAITOK); in netagent_send_error_response()
559 if (response == NULL) { in netagent_send_error_response()
562 (void)netagent_buffer_write_message_header(response, message_type, NETAGENT_MESSAGE_FLAGS_RESPONSE, in netagent_send_error_response()
565 if ((error = netagent_send_ctl_data(session->control_unit, response, response_size))) { in netagent_send_error_response()
569 kfree_data(response, response_size); in netagent_send_error_response()
2272 u_int8_t *response = NULL; in netagent_ioctl() local
2273 response = (u_int8_t *)kalloc_data(ifsir32->data_size, Z_NOWAIT | Z_ZERO); in netagent_ioctl()
2274 if (response == NULL) { in netagent_ioctl()
2279 netagent_dump_copy_data_locked(response, ifsir32->data_size); in netagent_ioctl()
2280 error = copyout(response, ifsir32->data, ifsir32->data_size); in netagent_ioctl()
2281 kfree_data(response, ifsir32->data_size); in netagent_ioctl()
2296 u_int8_t *response = NULL; in netagent_ioctl() local
2297 response = (u_int8_t *)kalloc_data(ifsir64->data_size, Z_NOWAIT | Z_ZERO); in netagent_ioctl()
2298 if (response == NULL) { in netagent_ioctl()
2303 netagent_dump_copy_data_locked(response, ifsir64->data_size); in netagent_ioctl()
2304 error = copyout(response, ifsir64->data, ifsir64->data_size); in netagent_ioctl()
2305 kfree_data(response, ifsir64->data_size); in netagent_ioctl()