Searched refs:result_buf (Results 1 – 1 of 1) sorted by relevance
3404 u_int8_t * __indexable result_buf = NULL; in necp_handle_policy_dump_all() local3405 u_int8_t *result_buf_cursor = result_buf; in necp_handle_policy_dump_all()3869 result_buf = (u_int8_t *)kalloc_data(total_tlv_len + sizeof(u_int32_t), Z_WAITOK | Z_ZERO); in necp_handle_policy_dump_all()3870 if (result_buf == NULL) { in necp_handle_policy_dump_all()3876 memcpy(result_buf, &total_tlv_len, sizeof(u_int32_t)); in necp_handle_policy_dump_all()3879 result_buf_cursor = result_buf + sizeof(u_int32_t); in necp_handle_policy_dump_all()3883 result_buf, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()3887 int copy_error = copyout(result_buf, out_buffer, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()3900 if (result_buf != NULL) { in necp_handle_policy_dump_all()3901 kfree_data(result_buf, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()