Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/
Dhpsa_cmd.h24 #define SG_ENTRIES_IN_CMD 32 /* Max SG entries excluding chain blocks */ macro
428 struct SGDescriptor SG[SG_ENTRIES_IN_CMD];
Dhpsa.c6471 if (ioc->buf_size > ioc->malloc_size * SG_ENTRIES_IN_CMD) { in hpsa_big_passthru_ioctl()
6475 buff = kcalloc(SG_ENTRIES_IN_CMD, sizeof(char *), GFP_KERNEL); in hpsa_big_passthru_ioctl()
6480 buff_size = kmalloc_array(SG_ENTRIES_IN_CMD, sizeof(int), GFP_KERNEL); in hpsa_big_passthru_ioctl()
9145 int bft[8] = {5, 6, 8, 10, 12, 20, 28, SG_ENTRIES_IN_CMD + 4}; in hpsa_enter_performant_mode()
9156 BUILD_BUG_ON(28 > SG_ENTRIES_IN_CMD + 4); in hpsa_enter_performant_mode()
9174 bft[7] = SG_ENTRIES_IN_CMD + 4; in hpsa_enter_performant_mode()
9176 SG_ENTRIES_IN_CMD, 4, h->blockFetchTable); in hpsa_enter_performant_mode()
9466 h->blockFetchTable = kmalloc(((SG_ENTRIES_IN_CMD + 1) * in hpsa_put_ctlr_into_performant_mode()