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

/linux-4.4.14/include/scsi/
H A Dscsi_cmnd.h99 struct scsi_data_buffer *prot_sdb; member in struct:scsi_cmnd
310 return cmd->prot_sdb ? cmd->prot_sdb->table.nents : 0; scsi_prot_sg_count()
315 return cmd->prot_sdb ? cmd->prot_sdb->table.sgl : NULL; scsi_prot_sglist()
320 return cmd->prot_sdb; scsi_prot()
/linux-4.4.14/drivers/scsi/
H A Dscsi.c139 if (cmd->prot_sdb) scsi_host_free_command()
140 kmem_cache_free(scsi_sdb_cache, cmd->prot_sdb); scsi_host_free_command()
169 cmd->prot_sdb = kmem_cache_zalloc(scsi_sdb_cache, gfp_mask); scsi_host_alloc_command()
170 if (!cmd->prot_sdb) scsi_host_alloc_command()
212 prot = cmd->prot_sdb; __scsi_get_command()
217 cmd->prot_sdb = prot; __scsi_get_command()
H A Dscsi_lib.c632 scsi_free_sgtable(cmd->prot_sdb, true); scsi_mq_free_sgtables()
676 scsi_free_sgtable(cmd->prot_sdb, false); scsi_release_buffers()
1147 struct scsi_data_buffer *prot_sdb = cmd->prot_sdb; scsi_init_io() local
1150 if (prot_sdb == NULL) { scsi_init_io()
1163 if (scsi_alloc_sgtable(prot_sdb, ivecs, is_mq)) { scsi_init_io()
1169 prot_sdb->table.sgl); scsi_init_io()
1173 cmd->prot_sdb = prot_sdb; scsi_init_io()
1174 cmd->prot_sdb->table.nents = count; scsi_init_io()
1934 cmd->prot_sdb = (void *)sg + scsi_mq_prep_fn()
1938 memset(cmd->prot_sdb, 0, sizeof(struct scsi_data_buffer)); scsi_mq_prep_fn()
1940 cmd->prot_sdb->table.sgl = scsi_mq_prep_fn()
1941 (struct scatterlist *)(cmd->prot_sdb + 1); scsi_mq_prep_fn()

Completed in 126 milliseconds