Lines Matching refs:chain_lookup
414 ct = &ioc->chain_lookup[index].chains_per_smid[j];
2137 * Return: chain tracker from chain_lookup table using key as
2148 atomic_read(&ioc->chain_lookup[smid - 1].chain_offset);
2153 chain_req = &ioc->chain_lookup[smid - 1].chains_per_smid[chain_offset];
2154 atomic_inc(&ioc->chain_lookup[smid - 1].chain_offset);
4017 atomic_set(&ioc->chain_lookup[st->smid - 1].chain_offset, 0);
5873 if (ioc->chain_lookup) {
5877 ct = &ioc->chain_lookup[i].chains_per_smid[j];
5883 kfree(ioc->chain_lookup[i].chains_per_smid);
5886 kfree(ioc->chain_lookup);
5887 ioc->chain_lookup = NULL;
5981 ct = &ioc->chain_lookup[i].chains_per_smid[j];
6021 ctr = &ioc->chain_lookup[i].chains_per_smid[j];
6038 "chain_lookup depth (%d), frame_size(%d), pool_size(%d kB)\n",
6524 sz = ioc->scsiio_depth * sizeof(struct chain_lookup);
6525 ioc->chain_lookup = kzalloc(sz, GFP_KERNEL);
6526 if (!ioc->chain_lookup) {
6527 ioc_err(ioc, "chain_lookup: __get_free_pages failed\n");
6533 ioc->chain_lookup[i].chains_per_smid = kzalloc(sz, GFP_KERNEL);
6534 if (!ioc->chain_lookup[i].chains_per_smid) {
6535 ioc_err(ioc, "chain_lookup: kzalloc failed\n");