Home
last modified time | relevance | path

Searched refs:prot_sdb (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_cmnd.h101 struct scsi_data_buffer *prot_sdb; member
301 return cmd->prot_sdb ? cmd->prot_sdb->table.nents : 0; in scsi_prot_sg_count()
306 return cmd->prot_sdb ? cmd->prot_sdb->table.sgl : NULL; in scsi_prot_sglist()
311 return cmd->prot_sdb; in scsi_prot()
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_cmnd.h107 struct scsi_data_buffer *prot_sdb; member
318 return cmd->prot_sdb ? cmd->prot_sdb->table.nents : 0; in scsi_prot_sg_count()
323 return cmd->prot_sdb ? cmd->prot_sdb->table.sgl : NULL; in scsi_prot_sglist()
328 return cmd->prot_sdb; in scsi_prot()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_lib.c527 sg_free_table_chained(&cmd->prot_sdb->table, in scsi_free_sgtables()
1064 struct scsi_data_buffer *prot_sdb = cmd->prot_sdb; in scsi_alloc_sgtables() local
1067 if (WARN_ON_ONCE(!prot_sdb)) { in scsi_alloc_sgtables()
1079 if (sg_alloc_table_chained(&prot_sdb->table, ivecs, in scsi_alloc_sgtables()
1080 prot_sdb->table.sgl, in scsi_alloc_sgtables()
1087 prot_sdb->table.sgl); in scsi_alloc_sgtables()
1091 cmd->prot_sdb = prot_sdb; in scsi_alloc_sgtables()
1092 cmd->prot_sdb in scsi_alloc_sgtables()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_lib.c491 sg_free_table_chained(&cmd->prot_sdb->table, in scsi_free_sgtables()
1010 * Initializes @cmd->sdb and also @cmd->prot_sdb if data integrity is enabled
1074 struct scsi_data_buffer *prot_sdb = cmd->prot_sdb; in scsi_alloc_sgtables() local
1077 if (WARN_ON_ONCE(!prot_sdb)) { in scsi_alloc_sgtables()
1089 if (sg_alloc_table_chained(&prot_sdb->table, ivecs, in scsi_alloc_sgtables()
1090 prot_sdb->table.sgl, in scsi_alloc_sgtables()
1097 prot_sdb->table.sgl); in scsi_alloc_sgtables()
1101 cmd->prot_sdb = prot_sdb; in scsi_alloc_sgtables()
[all...]

Completed in 7 milliseconds