Searched refs:result_buf (Results 1 – 1 of 1) sorted by relevance
3328 u_int8_t * __indexable result_buf = NULL; in necp_handle_policy_dump_all() local3329 u_int8_t *result_buf_cursor = result_buf; in necp_handle_policy_dump_all()3793 result_buf = (u_int8_t *)kalloc_data(total_tlv_len + sizeof(u_int32_t), Z_WAITOK | Z_ZERO); in necp_handle_policy_dump_all()3794 if (result_buf == NULL) { in necp_handle_policy_dump_all()3800 memcpy(result_buf, &total_tlv_len, sizeof(u_int32_t)); in necp_handle_policy_dump_all()3803 result_buf_cursor = result_buf + sizeof(u_int32_t); in necp_handle_policy_dump_all()3807 result_buf, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()3811 int copy_error = copyout(result_buf, out_buffer, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()3824 if (result_buf != NULL) { in necp_handle_policy_dump_all()3825 kfree_data(result_buf, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()