Lines Matching refs:cmd_sg_list
1464 if (!h->cmd_sg_list) in hpsa_free_sg_chain_blocks()
1467 kfree(h->cmd_sg_list[i]); in hpsa_free_sg_chain_blocks()
1468 h->cmd_sg_list[i] = NULL; in hpsa_free_sg_chain_blocks()
1470 kfree(h->cmd_sg_list); in hpsa_free_sg_chain_blocks()
1471 h->cmd_sg_list = NULL; in hpsa_free_sg_chain_blocks()
1481 h->cmd_sg_list = kzalloc(sizeof(*h->cmd_sg_list) * h->nr_cmds, in hpsa_allocate_sg_chain_blocks()
1483 if (!h->cmd_sg_list) in hpsa_allocate_sg_chain_blocks()
1486 h->cmd_sg_list[i] = kmalloc(sizeof(*h->cmd_sg_list[i]) * in hpsa_allocate_sg_chain_blocks()
1488 if (!h->cmd_sg_list[i]) in hpsa_allocate_sg_chain_blocks()
1505 chain_block = h->cmd_sg_list[c->cmdindex]; in hpsa_map_sg_chain_block()
3208 curr_sg = h->cmd_sg_list[cp->cmdindex]; in hpsa_scatter_gather()