Searched refs:result_buf (Results 1 – 1 of 1) sorted by relevance
2840 u_int8_t *result_buf = NULL; in necp_handle_policy_dump_all() local2841 u_int8_t *result_buf_cursor = result_buf; in necp_handle_policy_dump_all()3245 result_buf = (u_int8_t *)kalloc_data(total_tlv_len + sizeof(u_int32_t), Z_WAITOK | Z_ZERO); in necp_handle_policy_dump_all()3246 if (result_buf == NULL) { in necp_handle_policy_dump_all()3252 memcpy(result_buf, &total_tlv_len, sizeof(u_int32_t)); in necp_handle_policy_dump_all()3255 result_buf_cursor = result_buf + sizeof(u_int32_t); in necp_handle_policy_dump_all()3259 result_buf, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()3263 int copy_error = copyout(result_buf, out_buffer, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()3276 if (result_buf != NULL) { in necp_handle_policy_dump_all()3277 kfree_data(result_buf, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()