Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/vhost/
Dscsi.c644 int sgl_count = 0; in vhost_scsi_calc_sgls() local
652 sgl_count = iov_iter_npages(iter, 0xffff); in vhost_scsi_calc_sgls()
653 if (sgl_count > max_sgls) { in vhost_scsi_calc_sgls()
655 " max_sgls: %d\n", __func__, sgl_count, max_sgls); in vhost_scsi_calc_sgls()
658 return sgl_count; in vhost_scsi_calc_sgls()
689 int sgl_count, ret; in vhost_scsi_mapal() local
693 sgl_count = vhost_scsi_calc_sgls(prot_iter, prot_bytes, in vhost_scsi_mapal()
695 if (sgl_count < 0) in vhost_scsi_mapal()
696 return sgl_count; in vhost_scsi_mapal()
698 sg_init_table(cmd->tvc_prot_sgl, sgl_count); in vhost_scsi_mapal()
[all …]
/Linux-v4.19/crypto/
Daf_alg.c539 unsigned int sgl_count = 0; in af_alg_count_tsgl() local
560 sgl_count++; in af_alg_count_tsgl()
564 return sgl_count; in af_alg_count_tsgl()
570 return sgl_count; in af_alg_count_tsgl()
/Linux-v4.19/fs/cifs/
Dsmbdirect.h310 int sgl_count; member
Dsmbdirect.c2327 smbdirect_mr->sgl_count, in smbd_mr_recovery_work()
2353 mr->sgl_count, mr->dir); in destroy_mr_list()
2496 smbdirect_mr->sgl_count = num_pages; in smbd_register_mr()
2566 smbdirect_mr->sgl_count, smbdirect_mr->dir); in smbd_register_mr()
/Linux-v4.19/drivers/target/
Dtarget_core_transport.c1460 u32 sgl_count, struct scatterlist *sgl_bidi, u32 sgl_bidi_count) in transport_generic_map_mem_to_cmd() argument
1462 if (!sgl || !sgl_count) in transport_generic_map_mem_to_cmd()
1477 cmd->t_data_nents = sgl_count; in transport_generic_map_mem_to_cmd()
1517 struct scatterlist *sgl, u32 sgl_count, in target_submit_cmd_map_sgls() argument
1589 if (sgl_count != 0) { in target_submit_cmd_map_sgls()
1613 rc = transport_generic_map_mem_to_cmd(se_cmd, sgl, sgl_count, in target_submit_cmd_map_sgls()