Searched refs:policy_count (Results 1 – 1 of 1) sorted by relevance
| /xnu-12377.41.6/bsd/net/ |
| H A D | necp.c | 3324 int policy_count = 0; in necp_handle_policy_dump_all() local 3357 policy_count = necp_kernel_application_policies_count; in necp_handle_policy_dump_all() 3359 tlv_buffer_pointers = kalloc_type(u_int8_t * __indexable, policy_count, M_WAITOK | Z_ZERO); in necp_handle_policy_dump_all() 3361 …OG_DEBUG, "Failed to allocate tlv_buffer_pointers (%lu bytes)", sizeof(u_int8_t *) * policy_count); in necp_handle_policy_dump_all() 3365 tlv_buffer_lengths = (u_int32_t *)kalloc_data(sizeof(u_int32_t) * policy_count, Z_NOWAIT | Z_ZERO); in necp_handle_policy_dump_all() 3367 …(LOG_DEBUG, "Failed to allocate tlv_buffer_lengths (%lu bytes)", sizeof(u_int32_t) * policy_count); in necp_handle_policy_dump_all() 3804 for (int i = 0; i < policy_count; i++) { in necp_handle_policy_dump_all() 3829 for (int i = 0; i < policy_count; i++) { in necp_handle_policy_dump_all() 3835 kfree_type(u_int8_t * __indexable, policy_count, tlv_buffer_pointers); in necp_handle_policy_dump_all() 3839 kfree_data(tlv_buffer_lengths, sizeof(*tlv_buffer_lengths) * policy_count); in necp_handle_policy_dump_all()
|