Home
last modified time | relevance | path

Searched refs:sgl_count (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/scsi/elx/efct/
Defct_scsi.c202 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()
619 struct efct_scsi_sgl *sgl, u32 sgl_count, u64 xwire_len, in efct_scsi_xfer_data() argument
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()
[all …]
Defct_scsi.h171 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);
Defct_io.c66 io->sgl_count = 0; in efct_io_pool_create()
132 io->sgl_count = 0; in efct_io_pool_io_alloc()
Defct_io.h112 u32 sgl_count; member
Defct_hw.h250 u32 sgl_count; member
624 u32 sgl_count);
Defct_hw.c357 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-6.1.9/drivers/vhost/
Dscsi.c669 int sgl_count = 0; in vhost_scsi_calc_sgls() local
677 sgl_count = iov_iter_npages(iter, 0xffff); in vhost_scsi_calc_sgls()
678 if (sgl_count > max_sgls) { in vhost_scsi_calc_sgls()
680 " max_sgls: %d\n", __func__, sgl_count, max_sgls); in vhost_scsi_calc_sgls()
683 return sgl_count; in vhost_scsi_calc_sgls()
714 int sgl_count, ret; in vhost_scsi_mapal() local
718 sgl_count = vhost_scsi_calc_sgls(prot_iter, prot_bytes, in vhost_scsi_mapal()
720 if (sgl_count < 0) in vhost_scsi_mapal()
721 return sgl_count; in vhost_scsi_mapal()
723 sg_init_table(cmd->tvc_prot_sgl, sgl_count); in vhost_scsi_mapal()
[all …]
/linux-6.1.9/crypto/
Daf_alg.c541 unsigned int sgl_count = 0; in af_alg_count_tsgl() local
562 sgl_count++; in af_alg_count_tsgl()
566 return sgl_count; in af_alg_count_tsgl()
572 return sgl_count; in af_alg_count_tsgl()
/linux-6.1.9/fs/cifs/
Dsmbdirect.h292 int sgl_count; member
Dsmbdirect.c2195 mr->sgl_count, mr->dir); in destroy_mr_list()
2337 smbdirect_mr->sgl_count = num_pages; in smbd_register_mr()
2407 smbdirect_mr->sgl_count, smbdirect_mr->dir); in smbd_register_mr()
2475 smbdirect_mr->sgl_count, in smbd_deregister_mr()
/linux-6.1.9/include/target/
Dtarget_core_fabric.h159 struct scatterlist *sgl, u32 sgl_count,
/linux-6.1.9/drivers/target/
Dtarget_core_transport.c1589 u32 sgl_count, struct scatterlist *sgl_bidi, u32 sgl_bidi_count) in transport_generic_map_mem_to_cmd() argument
1591 if (!sgl || !sgl_count) in transport_generic_map_mem_to_cmd()
1606 cmd->t_data_nents = sgl_count; in transport_generic_map_mem_to_cmd()
1692 struct scatterlist *sgl, u32 sgl_count, in target_submit_prep() argument
1729 if (sgl_count != 0) { in target_submit_prep()
1732 rc = transport_generic_map_mem_to_cmd(se_cmd, sgl, sgl_count, in target_submit_prep()