Searched refs:policy_count (Results 1 – 1 of 1) sorted by relevance
| /xnu-10063.141.1/bsd/net/ ! |
| H A D | necp.c | 3015 int policy_count = 0; in necp_handle_policy_dump_all() local 3048 policy_count = necp_kernel_application_policies_count; in necp_handle_policy_dump_all() 3050 tlv_buffer_pointers = kalloc_type(u_int8_t *, policy_count, M_WAITOK | Z_ZERO); in necp_handle_policy_dump_all() 3052 …OG_DEBUG, "Failed to allocate tlv_buffer_pointers (%lu bytes)", sizeof(u_int8_t *) * policy_count); in necp_handle_policy_dump_all() 3056 tlv_buffer_lengths = (u_int32_t *)kalloc_data(sizeof(u_int32_t) * policy_count, Z_NOWAIT | Z_ZERO); in necp_handle_policy_dump_all() 3058 …(LOG_DEBUG, "Failed to allocate tlv_buffer_lengths (%lu bytes)", sizeof(u_int32_t) * policy_count); in necp_handle_policy_dump_all() 3464 for (int i = 0; i < policy_count; i++) { in necp_handle_policy_dump_all() 3489 for (int i = 0; i < policy_count; i++) { in necp_handle_policy_dump_all() 3495 kfree_type(u_int8_t *, policy_count, tlv_buffer_pointers); in necp_handle_policy_dump_all() 3499 kfree_data(tlv_buffer_lengths, sizeof(*tlv_buffer_lengths) * policy_count); in necp_handle_policy_dump_all()
|