Lines Matching refs:pd_handles_sz
8478 ioc->pd_handles_sz = (ioc->facts.MaxDevHandle / 8); in mpt3sas_base_attach()
8480 ioc->pd_handles_sz++; in mpt3sas_base_attach()
8481 ioc->pd_handles = kzalloc(ioc->pd_handles_sz, in mpt3sas_base_attach()
8487 ioc->blocking_handles = kzalloc(ioc->pd_handles_sz, in mpt3sas_base_attach()
8779 u16 pd_handles_sz; in _base_check_ioc_facts_changes() local
8785 pd_handles_sz = (ioc->facts.MaxDevHandle / 8); in _base_check_ioc_facts_changes()
8787 pd_handles_sz++; in _base_check_ioc_facts_changes()
8789 pd_handles = krealloc(ioc->pd_handles, pd_handles_sz, in _base_check_ioc_facts_changes()
8794 pd_handles_sz); in _base_check_ioc_facts_changes()
8797 memset(pd_handles + ioc->pd_handles_sz, 0, in _base_check_ioc_facts_changes()
8798 (pd_handles_sz - ioc->pd_handles_sz)); in _base_check_ioc_facts_changes()
8802 pd_handles_sz, GFP_KERNEL); in _base_check_ioc_facts_changes()
8807 pd_handles_sz); in _base_check_ioc_facts_changes()
8810 memset(blocking_handles + ioc->pd_handles_sz, 0, in _base_check_ioc_facts_changes()
8811 (pd_handles_sz - ioc->pd_handles_sz)); in _base_check_ioc_facts_changes()
8813 ioc->pd_handles_sz = pd_handles_sz; in _base_check_ioc_facts_changes()
8816 pd_handles_sz, GFP_KERNEL); in _base_check_ioc_facts_changes()
8820 pd_handles_sz); in _base_check_ioc_facts_changes()
8824 (pd_handles_sz - ioc->pend_os_device_add_sz)); in _base_check_ioc_facts_changes()
8826 ioc->pend_os_device_add_sz = pd_handles_sz; in _base_check_ioc_facts_changes()
8829 ioc->device_remove_in_progress, pd_handles_sz, GFP_KERNEL); in _base_check_ioc_facts_changes()
8834 , pd_handles_sz); in _base_check_ioc_facts_changes()
8839 (pd_handles_sz - ioc->device_remove_in_progress_sz)); in _base_check_ioc_facts_changes()
8841 ioc->device_remove_in_progress_sz = pd_handles_sz; in _base_check_ioc_facts_changes()