Lines Matching refs:sz

2901 	u16 sz;  in mpt3sas_base_update_missing_delay()  local
2911 sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (num_phys * in mpt3sas_base_update_missing_delay()
2913 sas_iounit_pg1 = kzalloc(sz, GFP_KERNEL); in mpt3sas_base_update_missing_delay()
2920 sas_iounit_pg1, sz))) { in mpt3sas_base_update_missing_delay()
2954 sz)) { in mpt3sas_base_update_missing_delay()
3150 u32 sz, total_sz, reply_post_free_sz; in _base_allocate_memory_pools() local
3267 sz = reply_post_free_sz; in _base_allocate_memory_pools()
3269 sz *= ioc->reply_queue_count; in _base_allocate_memory_pools()
3281 ioc->pdev, sz, 16, 0); in _base_allocate_memory_pools()
3300 memset(ioc->reply_post[i].reply_post_free, 0, sz); in _base_allocate_memory_pools()
3305 ioc->reply_post_queue_depth, 8, sz/1024)); in _base_allocate_memory_pools()
3310 total_sz += sz; in _base_allocate_memory_pools()
3338 sz = ((ioc->scsiio_depth + 1) * ioc->request_sz); in _base_allocate_memory_pools()
3341 sz += (ioc->hi_priority_depth * ioc->request_sz); in _base_allocate_memory_pools()
3344 sz += (ioc->internal_depth * ioc->request_sz); in _base_allocate_memory_pools()
3346 ioc->request_dma_sz = sz; in _base_allocate_memory_pools()
3347 ioc->request = pci_alloc_consistent(ioc->pdev, sz, &ioc->request_dma); in _base_allocate_memory_pools()
3352 ioc->chains_needed_per_io, ioc->request_sz, sz/1024); in _base_allocate_memory_pools()
3364 ioc->chains_needed_per_io, ioc->request_sz, sz/1024); in _base_allocate_memory_pools()
3385 total_sz += sz; in _base_allocate_memory_pools()
3387 sz = ioc->scsiio_depth * sizeof(struct scsiio_tracker); in _base_allocate_memory_pools()
3388 ioc->scsi_lookup_pages = get_order(sz); in _base_allocate_memory_pools()
3393 ioc->name, (int)sz); in _base_allocate_memory_pools()
3401 sz = ioc->chain_depth * sizeof(struct chain_tracker); in _base_allocate_memory_pools()
3402 ioc->chain_pages = get_order(sz); in _base_allocate_memory_pools()
3462 sz = ioc->scsiio_depth * SCSI_SENSE_BUFFERSIZE; in _base_allocate_memory_pools()
3463 ioc->sense_dma_pool = pci_pool_create("sense pool", ioc->pdev, sz, 4, in _base_allocate_memory_pools()
3480 SCSI_SENSE_BUFFERSIZE, sz/1024)); in _base_allocate_memory_pools()
3483 total_sz += sz; in _base_allocate_memory_pools()
3486 sz = ioc->reply_free_queue_depth * ioc->reply_sz; in _base_allocate_memory_pools()
3487 ioc->reply_dma_pool = pci_pool_create("reply pool", ioc->pdev, sz, 4, in _base_allocate_memory_pools()
3502 ioc->reply_dma_max_address = (u32)(ioc->reply_dma) + sz; in _base_allocate_memory_pools()
3506 ioc->reply_free_queue_depth, ioc->reply_sz, sz/1024)); in _base_allocate_memory_pools()
3509 total_sz += sz; in _base_allocate_memory_pools()
3512 sz = ioc->reply_free_queue_depth * 4; in _base_allocate_memory_pools()
3514 ioc->pdev, sz, 16, 0); in _base_allocate_memory_pools()
3527 memset(ioc->reply_free, 0, sz); in _base_allocate_memory_pools()
3530 ioc->reply_free, ioc->reply_free_queue_depth, 4, sz/1024)); in _base_allocate_memory_pools()
3534 total_sz += sz; in _base_allocate_memory_pools()