Searched refs:total_allocated_bytes (Results 1 – 1 of 1) sorted by relevance
| /xnu-12377.41.6/bsd/net/ |
| H A D | necp.c | 3387 …u_int32_t total_allocated_bytes = sizeof(u_int8_t) + sizeof(u_int32_t) + sizeof(policy->id) … in necp_handle_policy_dump_all() local 3548 total_allocated_bytes += condition_tlv_length; in necp_handle_policy_dump_all() 3551 tlv_buffer = (u_int8_t *)kalloc_data(total_allocated_bytes, Z_NOWAIT | Z_ZERO); in necp_handle_policy_dump_all() 3553 NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer (%u bytes)", total_allocated_bytes); in necp_handle_policy_dump_all() 3558 …lv(cursor, NECP_TLV_POLICY_ID, sizeof(policy->id), &policy->id, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all() 3559 …CP_TLV_POLICY_ORDER, sizeof(necp_policy_order), &policy->order, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all() 3560 …N_ORDER, sizeof(policy->session_order), &policy->session_order, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all() 3561 …ECP_TLV_POLICY_RESULT_STRING, result_string_len, result_string, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all() 3562 …cursor, NECP_TLV_POLICY_OWNER, proc_name_len, proc_name_string, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all() 3574 kfree_data(tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all() [all …]
|