Lines Matching refs:sz
2417 u16 sz; in mpt3sas_base_update_missing_delay() local
2427 sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (num_phys * in mpt3sas_base_update_missing_delay()
2429 sas_iounit_pg1 = kzalloc(sz, GFP_KERNEL); in mpt3sas_base_update_missing_delay()
2436 sas_iounit_pg1, sz))) { in mpt3sas_base_update_missing_delay()
2470 sz)) { in mpt3sas_base_update_missing_delay()
2666 u32 sz, total_sz, reply_post_free_sz; in _base_allocate_memory_pools() local
2779 sz = reply_post_free_sz; in _base_allocate_memory_pools()
2781 sz *= ioc->reply_queue_count; in _base_allocate_memory_pools()
2793 ioc->pdev, sz, 16, 0); in _base_allocate_memory_pools()
2812 memset(ioc->reply_post[i].reply_post_free, 0, sz); in _base_allocate_memory_pools()
2817 ioc->reply_post_queue_depth, 8, sz/1024)); in _base_allocate_memory_pools()
2822 total_sz += sz; in _base_allocate_memory_pools()
2850 sz = ((ioc->scsiio_depth + 1) * ioc->request_sz); in _base_allocate_memory_pools()
2853 sz += (ioc->hi_priority_depth * ioc->request_sz); in _base_allocate_memory_pools()
2856 sz += (ioc->internal_depth * ioc->request_sz); in _base_allocate_memory_pools()
2858 ioc->request_dma_sz = sz; in _base_allocate_memory_pools()
2859 ioc->request = pci_alloc_consistent(ioc->pdev, sz, &ioc->request_dma); in _base_allocate_memory_pools()
2864 ioc->chains_needed_per_io, ioc->request_sz, sz/1024); in _base_allocate_memory_pools()
2876 ioc->chains_needed_per_io, ioc->request_sz, sz/1024); in _base_allocate_memory_pools()
2897 total_sz += sz; in _base_allocate_memory_pools()
2899 sz = ioc->scsiio_depth * sizeof(struct scsiio_tracker); in _base_allocate_memory_pools()
2900 ioc->scsi_lookup_pages = get_order(sz); in _base_allocate_memory_pools()
2905 ioc->name, (int)sz); in _base_allocate_memory_pools()
2913 sz = ioc->chain_depth * sizeof(struct chain_tracker); in _base_allocate_memory_pools()
2914 ioc->chain_pages = get_order(sz); in _base_allocate_memory_pools()
2974 sz = ioc->scsiio_depth * SCSI_SENSE_BUFFERSIZE; in _base_allocate_memory_pools()
2975 ioc->sense_dma_pool = pci_pool_create("sense pool", ioc->pdev, sz, 4, in _base_allocate_memory_pools()
2992 SCSI_SENSE_BUFFERSIZE, sz/1024)); in _base_allocate_memory_pools()
2995 total_sz += sz; in _base_allocate_memory_pools()
2998 sz = ioc->reply_free_queue_depth * ioc->reply_sz; in _base_allocate_memory_pools()
2999 ioc->reply_dma_pool = pci_pool_create("reply pool", ioc->pdev, sz, 4, in _base_allocate_memory_pools()
3014 ioc->reply_dma_max_address = (u32)(ioc->reply_dma) + sz; in _base_allocate_memory_pools()
3018 ioc->reply_free_queue_depth, ioc->reply_sz, sz/1024)); in _base_allocate_memory_pools()
3021 total_sz += sz; in _base_allocate_memory_pools()
3024 sz = ioc->reply_free_queue_depth * 4; in _base_allocate_memory_pools()
3026 ioc->pdev, sz, 16, 0); in _base_allocate_memory_pools()
3039 memset(ioc->reply_free, 0, sz); in _base_allocate_memory_pools()
3042 ioc->reply_free, ioc->reply_free_queue_depth, 4, sz/1024)); in _base_allocate_memory_pools()
3046 total_sz += sz; in _base_allocate_memory_pools()