Home
last modified time | relevance | path

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

/Linux-v5.4/include/scsi/
Dscsi_cmnd.h101 struct scsi_data_buffer *prot_sdb; member
294 return cmd->prot_sdb ? cmd->prot_sdb->table.nents : 0; in scsi_prot_sg_count()
299 return cmd->prot_sdb ? cmd->prot_sdb->table.sgl : NULL; in scsi_prot_sglist()
304 return cmd->prot_sdb; in scsi_prot()
/Linux-v5.4/drivers/scsi/
Dscsi_lib.c560 sg_free_table_chained(&cmd->prot_sdb->table, in scsi_mq_free_sgtables()
1033 struct scsi_data_buffer *prot_sdb = cmd->prot_sdb; in scsi_init_io() local
1036 if (WARN_ON_ONCE(!prot_sdb)) { in scsi_init_io()
1048 if (sg_alloc_table_chained(&prot_sdb->table, ivecs, in scsi_init_io()
1049 prot_sdb->table.sgl, in scsi_init_io()
1056 prot_sdb->table.sgl); in scsi_init_io()
1060 cmd->prot_sdb = prot_sdb; in scsi_init_io()
1061 cmd->prot_sdb->table.nents = count; in scsi_init_io()
1137 void *prot = cmd->prot_sdb; in scsi_init_command()
1156 cmd->prot_sdb = prot; in scsi_init_command()
[all …]