Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/vhost/
Dscsi.c682 int sgl_count = 0; in vhost_scsi_calc_sgls() local
690 sgl_count = iov_iter_npages(iter, 0xffff); in vhost_scsi_calc_sgls()
691 if (sgl_count > max_sgls) { in vhost_scsi_calc_sgls()
693 " max_sgls: %d\n", __func__, sgl_count, max_sgls); in vhost_scsi_calc_sgls()
696 return sgl_count; in vhost_scsi_calc_sgls()
727 int sgl_count, ret; in vhost_scsi_mapal() local
731 sgl_count = vhost_scsi_calc_sgls(prot_iter, prot_bytes, in vhost_scsi_mapal()
733 if (sgl_count < 0) in vhost_scsi_mapal()
734 return sgl_count; in vhost_scsi_mapal()
736 sg_init_table(cmd->tvc_prot_sgl, sgl_count); in vhost_scsi_mapal()
[all …]
/Linux-v5.10/crypto/
Daf_alg.c540 unsigned int sgl_count = 0; in af_alg_count_tsgl() local
561 sgl_count++; in af_alg_count_tsgl()
565 return sgl_count; in af_alg_count_tsgl()
571 return sgl_count; in af_alg_count_tsgl()
/Linux-v5.10/fs/cifs/
Dsmbdirect.h288 int sgl_count; member
Dsmbdirect.c2216 mr->sgl_count, mr->dir); in destroy_mr_list()
2358 smbdirect_mr->sgl_count = num_pages; in smbd_register_mr()
2428 smbdirect_mr->sgl_count, smbdirect_mr->dir); in smbd_register_mr()
2496 smbdirect_mr->sgl_count, in smbd_deregister_mr()
/Linux-v5.10/drivers/target/
Dtarget_core_transport.c1541 u32 sgl_count, struct scatterlist *sgl_bidi, u32 sgl_bidi_count) in transport_generic_map_mem_to_cmd() argument
1543 if (!sgl || !sgl_count) in transport_generic_map_mem_to_cmd()
1558 cmd->t_data_nents = sgl_count; in transport_generic_map_mem_to_cmd()
1598 struct scatterlist *sgl, u32 sgl_count, in target_submit_cmd_map_sgls() argument
1679 if (sgl_count != 0) { in target_submit_cmd_map_sgls()
1703 rc = transport_generic_map_mem_to_cmd(se_cmd, sgl, sgl_count, in target_submit_cmd_map_sgls()