Lines Matching refs:sg_tablesize
2669 unsigned short sg_tablesize; in _base_allocate_memory_pools() local
2682 sg_tablesize = max_sgl_entries; in _base_allocate_memory_pools()
2684 sg_tablesize = MPT3SAS_SG_DEPTH; in _base_allocate_memory_pools()
2686 if (sg_tablesize < MPT3SAS_MIN_PHYS_SEGMENTS) in _base_allocate_memory_pools()
2687 sg_tablesize = MPT3SAS_MIN_PHYS_SEGMENTS; in _base_allocate_memory_pools()
2688 else if (sg_tablesize > MPT3SAS_MAX_PHYS_SEGMENTS) { in _base_allocate_memory_pools()
2689 sg_tablesize = min_t(unsigned short, sg_tablesize, in _base_allocate_memory_pools()
2694 sg_tablesize, MPT3SAS_MAX_PHYS_SEGMENTS); in _base_allocate_memory_pools()
2696 ioc->shost->sg_tablesize = sg_tablesize; in _base_allocate_memory_pools()
2736 chains_needed_per_io = ((ioc->shost->sg_tablesize - in _base_allocate_memory_pools()
2741 ioc->shost->sg_tablesize = min_t(u16, in _base_allocate_memory_pools()
2743 * chains_needed_per_io), ioc->shost->sg_tablesize); in _base_allocate_memory_pools()
2772 ioc->max_sges_in_chain_message, ioc->shost->sg_tablesize, in _base_allocate_memory_pools()
3070 ioc->name, ioc->shost->sg_tablesize); in _base_allocate_memory_pools()