Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/
Dhpsa.h196 struct SGDescriptor **cmd_sg_list; member
Dhpsa.c2210 if (!h->cmd_sg_list) in hpsa_free_sg_chain_blocks()
2213 kfree(h->cmd_sg_list[i]); in hpsa_free_sg_chain_blocks()
2214 h->cmd_sg_list[i] = NULL; in hpsa_free_sg_chain_blocks()
2216 kfree(h->cmd_sg_list); in hpsa_free_sg_chain_blocks()
2217 h->cmd_sg_list = NULL; in hpsa_free_sg_chain_blocks()
2227 h->cmd_sg_list = kcalloc(h->nr_cmds, sizeof(*h->cmd_sg_list), in hpsa_alloc_sg_chain_blocks()
2229 if (!h->cmd_sg_list) in hpsa_alloc_sg_chain_blocks()
2233 h->cmd_sg_list[i] = kmalloc_array(h->chainsize, in hpsa_alloc_sg_chain_blocks()
2234 sizeof(*h->cmd_sg_list[i]), in hpsa_alloc_sg_chain_blocks()
2236 if (!h->cmd_sg_list[i]) in hpsa_alloc_sg_chain_blocks()
[all …]