Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/
Dhpsa.h197 struct SGDescriptor **cmd_sg_list; member
Dhpsa.c2231 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()
[all …]