Home
last modified time | relevance | path

Searched refs:cmd_sg_list (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/scsi/
Dhpsa.h193 struct SGDescriptor **cmd_sg_list; member
Dhpsa.c2197 if (!h->cmd_sg_list) in hpsa_free_sg_chain_blocks()
2200 kfree(h->cmd_sg_list[i]); in hpsa_free_sg_chain_blocks()
2201 h->cmd_sg_list[i] = NULL; in hpsa_free_sg_chain_blocks()
2203 kfree(h->cmd_sg_list); in hpsa_free_sg_chain_blocks()
2204 h->cmd_sg_list = NULL; in hpsa_free_sg_chain_blocks()
2214 h->cmd_sg_list = kcalloc(h->nr_cmds, sizeof(*h->cmd_sg_list), in hpsa_alloc_sg_chain_blocks()
2216 if (!h->cmd_sg_list) in hpsa_alloc_sg_chain_blocks()
2220 h->cmd_sg_list[i] = kmalloc_array(h->chainsize, in hpsa_alloc_sg_chain_blocks()
2221 sizeof(*h->cmd_sg_list[i]), in hpsa_alloc_sg_chain_blocks()
2223 if (!h->cmd_sg_list[i]) in hpsa_alloc_sg_chain_blocks()
[all …]