Searched refs:new_active (Results 1 – 2 of 2) sorted by relevance
9692 mptsas_slots_t *new_active; in mptsas_alloc_active_slots() local9703 new_active = kmem_zalloc(size, flag); in mptsas_alloc_active_slots()9704 if (new_active == NULL) { in mptsas_alloc_active_slots()9713 new_active->m_n_slots = nslot = (mpt->m_max_requests - 2); in mptsas_alloc_active_slots()9714 new_active->m_size = size; in mptsas_alloc_active_slots()9715 new_active->m_tags = 1; in mptsas_alloc_active_slots()9718 new_active->m_tgttbl = old_active->m_tgttbl; in mptsas_alloc_active_slots()9719 new_active->m_smptbl = old_active->m_smptbl; in mptsas_alloc_active_slots()9720 new_active->m_num_raid_configs = in mptsas_alloc_active_slots()9722 for (i = 0; i < new_active->m_num_raid_configs; i++) { in mptsas_alloc_active_slots()[all …]
9194 struct f_slots *new_active; in fas_alloc_active_slots() local9209 new_active = kmem_zalloc(size, flag); in fas_alloc_active_slots()9210 if (new_active == NULL) { in fas_alloc_active_slots()9213 fas->f_active[slot] = new_active; in fas_alloc_active_slots()