Searched refs:SG_ENTRIES_IN_CMD (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/scsi/ |
D | hpsa_cmd.h | 24 #define SG_ENTRIES_IN_CMD 32 /* Max SG entries excluding chain blocks */ macro 428 struct SGDescriptor SG[SG_ENTRIES_IN_CMD];
|
D | hpsa.c | 6403 if (ioc->buf_size > ioc->malloc_size * SG_ENTRIES_IN_CMD) { in hpsa_big_passthru_ioctl() 6407 buff = kcalloc(SG_ENTRIES_IN_CMD, sizeof(char *), GFP_KERNEL); in hpsa_big_passthru_ioctl() 6412 buff_size = kmalloc_array(SG_ENTRIES_IN_CMD, sizeof(int), GFP_KERNEL); in hpsa_big_passthru_ioctl() 9052 int bft[8] = {5, 6, 8, 10, 12, 20, 28, SG_ENTRIES_IN_CMD + 4}; in hpsa_enter_performant_mode() 9063 BUILD_BUG_ON(28 > SG_ENTRIES_IN_CMD + 4); in hpsa_enter_performant_mode() 9081 bft[7] = SG_ENTRIES_IN_CMD + 4; in hpsa_enter_performant_mode() 9083 SG_ENTRIES_IN_CMD, 4, h->blockFetchTable); in hpsa_enter_performant_mode() 9372 h->blockFetchTable = kmalloc(((SG_ENTRIES_IN_CMD + 1) * in hpsa_put_ctlr_into_performant_mode()
|