Lines Matching refs:cmd_sg_list
2231 if (!h->cmd_sg_list) in hpsa_free_sg_chain_blocks()
2234 kfree(h->cmd_sg_list[i]); in hpsa_free_sg_chain_blocks()
2235 h->cmd_sg_list[i] = NULL; in hpsa_free_sg_chain_blocks()
2237 kfree(h->cmd_sg_list); in hpsa_free_sg_chain_blocks()
2238 h->cmd_sg_list = NULL; in hpsa_free_sg_chain_blocks()
2248 h->cmd_sg_list = kcalloc(h->nr_cmds, sizeof(*h->cmd_sg_list), in hpsa_alloc_sg_chain_blocks()
2250 if (!h->cmd_sg_list) in hpsa_alloc_sg_chain_blocks()
2254 h->cmd_sg_list[i] = kmalloc_array(h->chainsize, in hpsa_alloc_sg_chain_blocks()
2255 sizeof(*h->cmd_sg_list[i]), in hpsa_alloc_sg_chain_blocks()
2257 if (!h->cmd_sg_list[i]) in hpsa_alloc_sg_chain_blocks()
2309 chain_block = h->cmd_sg_list[c->cmdindex]; in hpsa_map_sg_chain_block()
4614 curr_sg = h->cmd_sg_list[cp->cmdindex]; in hpsa_scatter_gather()