Searched refs:prot_sdb (Results 1 – 3 of 3) sorted by relevance
99 struct scsi_data_buffer *prot_sdb; member310 return cmd->prot_sdb ? cmd->prot_sdb->table.nents : 0; in scsi_prot_sg_count()315 return cmd->prot_sdb ? cmd->prot_sdb->table.sgl : NULL; in scsi_prot_sglist()320 return cmd->prot_sdb; in scsi_prot()
185 if (cmd->prot_sdb) in scsi_host_free_command()186 kmem_cache_free(scsi_sdb_cache, cmd->prot_sdb); in scsi_host_free_command()215 cmd->prot_sdb = kmem_cache_zalloc(scsi_sdb_cache, gfp_mask); in scsi_host_alloc_command()216 if (!cmd->prot_sdb) in scsi_host_alloc_command()258 prot = cmd->prot_sdb; in __scsi_get_command()263 cmd->prot_sdb = prot; in __scsi_get_command()
631 scsi_free_sgtable(cmd->prot_sdb, true); in scsi_mq_free_sgtables()675 scsi_free_sgtable(cmd->prot_sdb, false); in scsi_release_buffers()1146 struct scsi_data_buffer *prot_sdb = cmd->prot_sdb; in scsi_init_io() local1149 if (prot_sdb == NULL) { in scsi_init_io()1162 if (scsi_alloc_sgtable(prot_sdb, ivecs, is_mq)) { in scsi_init_io()1168 prot_sdb->table.sgl); in scsi_init_io()1172 cmd->prot_sdb = prot_sdb; in scsi_init_io()1173 cmd->prot_sdb->table.nents = count; in scsi_init_io()1934 cmd->prot_sdb = (void *)sg + in scsi_mq_prep_fn()1938 memset(cmd->prot_sdb, 0, sizeof(struct scsi_data_buffer)); in scsi_mq_prep_fn()[all …]