Lines Matching refs:chain_lookup
334 ct = &ioc->chain_lookup[index].chains_per_smid[j]; in _base_get_chain_buffer_dma_to_chain_buffer()
1700 atomic_read(&ioc->chain_lookup[smid - 1].chain_offset); in _base_get_chain_buffer_tracker()
1705 chain_req = &ioc->chain_lookup[smid - 1].chains_per_smid[chain_offset]; in _base_get_chain_buffer_tracker()
1706 atomic_inc(&ioc->chain_lookup[smid - 1].chain_offset); in _base_get_chain_buffer_tracker()
3266 atomic_set(&ioc->chain_lookup[st->smid - 1].chain_offset, 0); in mpt3sas_base_clear_st()
4279 if (ioc->chain_lookup) { in _base_release_memory_pools()
4283 ct = &ioc->chain_lookup[i].chains_per_smid[j]; in _base_release_memory_pools()
4289 kfree(ioc->chain_lookup[i].chains_per_smid); in _base_release_memory_pools()
4292 kfree(ioc->chain_lookup); in _base_release_memory_pools()
4293 ioc->chain_lookup = NULL; in _base_release_memory_pools()
4620 sz = ioc->scsiio_depth * sizeof(struct chain_lookup); in _base_allocate_memory_pools()
4621 ioc->chain_lookup = kzalloc(sz, GFP_KERNEL); in _base_allocate_memory_pools()
4622 if (!ioc->chain_lookup) { in _base_allocate_memory_pools()
4630 ioc->chain_lookup[i].chains_per_smid = kzalloc(sz, GFP_KERNEL); in _base_allocate_memory_pools()
4631 if (!ioc->chain_lookup[i].chains_per_smid) { in _base_allocate_memory_pools()
4717 ct = &ioc->chain_lookup[i].chains_per_smid[j]; in _base_allocate_memory_pools()
4746 ct = &ioc->chain_lookup[i].chains_per_smid[j]; in _base_allocate_memory_pools()