Lines Matching refs:total_allocated_bytes
2711 …u_int32_t total_allocated_bytes = sizeof(u_int8_t) + sizeof(u_int32_t) + sizeof(policy->id) … in necp_handle_policy_dump_all() local
2848 total_allocated_bytes += condition_tlv_length; in necp_handle_policy_dump_all()
2851 tlv_buffer = (u_int8_t *)kalloc_data(total_allocated_bytes, Z_NOWAIT | Z_ZERO); in necp_handle_policy_dump_all()
2853 NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer (%u bytes)", total_allocated_bytes); in necp_handle_policy_dump_all()
2858 …lv(cursor, NECP_TLV_POLICY_ID, sizeof(policy->id), &policy->id, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
2859 …CP_TLV_POLICY_ORDER, sizeof(necp_policy_order), &policy->order, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
2860 …N_ORDER, sizeof(policy->session_order), &policy->session_order, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
2861 …ECP_TLV_POLICY_RESULT_STRING, result_string_len, result_string, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
2862 …cursor, NECP_TLV_POLICY_OWNER, proc_name_len, proc_name_string, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
2874 kfree_data(tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
3018 …ECP_TLV_POLICY_CONDITION, cond_buf_cursor - cond_buf, cond_buf, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()