Home
last modified time | relevance | path

Searched refs:result_buf (Results 1 – 1 of 1) sorted by relevance

/xnu-10063.141.1/bsd/net/
H A Dnecp.c3019 u_int8_t *result_buf = NULL; in necp_handle_policy_dump_all() local
3020 u_int8_t *result_buf_cursor = result_buf; in necp_handle_policy_dump_all()
3453 result_buf = (u_int8_t *)kalloc_data(total_tlv_len + sizeof(u_int32_t), Z_WAITOK | Z_ZERO); in necp_handle_policy_dump_all()
3454 if (result_buf == NULL) { in necp_handle_policy_dump_all()
3460 memcpy(result_buf, &total_tlv_len, sizeof(u_int32_t)); in necp_handle_policy_dump_all()
3463 result_buf_cursor = result_buf + sizeof(u_int32_t); in necp_handle_policy_dump_all()
3467 result_buf, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()
3471 int copy_error = copyout(result_buf, out_buffer, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()
3484 if (result_buf != NULL) { in necp_handle_policy_dump_all()
3485 kfree_data(result_buf, total_tlv_len + sizeof(u_int32_t)); in necp_handle_policy_dump_all()