Lines Matching refs:total_allocated_bytes
2899 …u_int32_t total_allocated_bytes = sizeof(u_int8_t) + sizeof(u_int32_t) + sizeof(policy->id) … in necp_handle_policy_dump_all() local
3044 total_allocated_bytes += condition_tlv_length; in necp_handle_policy_dump_all()
3047 tlv_buffer = (u_int8_t *)kalloc_data(total_allocated_bytes, Z_NOWAIT | Z_ZERO); in necp_handle_policy_dump_all()
3049 NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer (%u bytes)", total_allocated_bytes); in necp_handle_policy_dump_all()
3054 …lv(cursor, NECP_TLV_POLICY_ID, sizeof(policy->id), &policy->id, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
3055 …CP_TLV_POLICY_ORDER, sizeof(necp_policy_order), &policy->order, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
3056 …N_ORDER, sizeof(policy->session_order), &policy->session_order, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
3057 …ECP_TLV_POLICY_RESULT_STRING, result_string_len, result_string, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
3058 …cursor, NECP_TLV_POLICY_OWNER, proc_name_len, proc_name_string, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
3070 kfree_data(tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()
3222 …ECP_TLV_POLICY_CONDITION, cond_buf_cursor - cond_buf, cond_buf, tlv_buffer, total_allocated_bytes); in necp_handle_policy_dump_all()