Searched refs:sgl_count (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/scsi/elx/efct/ |
H A D | efct_scsi.c | 202 struct efct_scsi_sgl *sgl, u32 sgl_count, in efct_scsi_build_sgls() argument 216 for (i = 0; i < sgl_count; i++) { in efct_scsi_build_sgls() 221 sgl_count, rc); in efct_scsi_build_sgls() 303 io->sgl, io->sgl_count, io->hio_type); in efct_scsi_io_dispatch_hw_io() 626 io->sgl_count = sgl_count; in efct_scsi_xfer_data() 672 struct efct_scsi_sgl *sgl_ptr = &io->sgl[sgl_count - 1]; in efct_scsi_xfer_data() 683 io->sgl_count--; in efct_scsi_xfer_data() 712 struct efct_scsi_sgl *sgl, u32 sgl_count, u64 len, in efct_scsi_send_rd_data() argument 715 return efct_scsi_xfer_data(io, flags, sgl, sgl_count, in efct_scsi_send_rd_data() 827 io->sgl_count = 1; in efct_scsi_send_resp() [all …]
|
H A D | efct_scsi.h | 171 u32 sgl_count, u64 wire_len, efct_scsi_io_cb_t cb, void *arg); 174 u32 sgl_count, u64 wire_len, efct_scsi_io_cb_t cb, void *arg);
|
H A D | efct_io.c | 66 io->sgl_count = 0; in efct_io_pool_create() 132 io->sgl_count = 0; in efct_io_pool_io_alloc()
|
H A D | efct_io.h | 112 u32 sgl_count; member
|
H A D | efct_hw.h | 250 u32 sgl_count; member 624 u32 sgl_count);
|
H A D | efct_hw.c | 357 io->sgl_count = io->def_sgl_count; in efct_hw_io_restore_sgl() 575 io->sgl_count = io->def_sgl_count; in efct_hw_setup_io() 1703 io->sgl_count = io->def_sgl_count; in efct_hw_io_init_sges()
|
/linux/drivers/vhost/ |
H A D | scsi.c | 736 int sgl_count = 0; in vhost_scsi_calc_sgls() local 745 if (sgl_count > max_sgls) { in vhost_scsi_calc_sgls() 750 return sgl_count; in vhost_scsi_calc_sgls() 836 int sgl_count, ret; in vhost_scsi_mapal() local 841 if (sgl_count < 0) in vhost_scsi_mapal() 842 return sgl_count; in vhost_scsi_mapal() 845 cmd->tvc_prot_sgl_count = sgl_count; in vhost_scsi_mapal() 859 if (sgl_count < 0) in vhost_scsi_mapal() 860 return sgl_count; in vhost_scsi_mapal() 862 sg_init_table(cmd->tvc_sgl, sgl_count); in vhost_scsi_mapal() [all …]
|
/linux/crypto/ |
H A D | af_alg.c | 652 unsigned int sgl_count = 0; in af_alg_count_tsgl() local 673 sgl_count++; in af_alg_count_tsgl() 677 return sgl_count; in af_alg_count_tsgl() 683 return sgl_count; in af_alg_count_tsgl()
|
/linux/include/target/ |
H A D | target_core_fabric.h | 175 struct scatterlist *sgl, u32 sgl_count,
|
/linux/drivers/target/ |
H A D | target_core_transport.c | 1642 u32 sgl_count, struct scatterlist *sgl_bidi, u32 sgl_bidi_count) in transport_generic_map_mem_to_cmd() argument 1644 if (!sgl || !sgl_count) in transport_generic_map_mem_to_cmd() 1659 cmd->t_data_nents = sgl_count; in transport_generic_map_mem_to_cmd() 1746 struct scatterlist *sgl, u32 sgl_count, in target_submit_prep() argument 1783 if (sgl_count != 0) { in target_submit_prep() 1786 rc = transport_generic_map_mem_to_cmd(se_cmd, sgl, sgl_count, in target_submit_prep()
|