Searched refs:sgl_nents (Results 1 – 5 of 5) sorted by relevance
/drivers/target/ |
D | target_core_file.c | 319 u32 sgl_nents, int is_write) in fd_do_rw() argument 330 iov = kzalloc(sizeof(struct iovec) * sgl_nents, GFP_KERNEL); in fd_do_rw() 336 for_each_sg(sgl, sg, sgl_nents, i) { in fd_do_rw() 345 ret = vfs_writev(fd, &iov[0], sgl_nents, &pos); in fd_do_rw() 347 ret = vfs_readv(fd, &iov[0], sgl_nents, &pos); in fd_do_rw() 351 for_each_sg(sgl, sg, sgl_nents, i) in fd_do_rw() 668 fd_execute_rw(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents, in fd_execute_rw() argument 698 ret = fd_do_rw(cmd, sgl, sgl_nents, 0); in fd_execute_rw() 732 ret = fd_do_rw(cmd, sgl, sgl_nents, 1); in fd_execute_rw()
|
D | target_core_iblock.c | 669 iblock_execute_rw(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents, in iblock_execute_rw() argument 677 u32 sg_num = sgl_nents; in iblock_execute_rw() 727 if (!sgl_nents) { in iblock_execute_rw() 733 bio = iblock_get_bio(cmd, block_lba, sgl_nents); in iblock_execute_rw() 744 for_each_sg(sgl, sg, sgl_nents, i) { in iblock_execute_rw()
|
D | target_core_pscsi.c | 850 pscsi_map_sg(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents, in pscsi_map_sg() argument 867 for_each_sg(sgl, sg, sgl_nents, i) { in pscsi_map_sg() 1017 u32 sgl_nents = cmd->t_data_nents; in pscsi_execute_cmd() local 1052 ret = pscsi_map_sg(cmd, sgl, sgl_nents, data_direction, &hbio); in pscsi_execute_cmd()
|
D | target_core_rd.c | 385 rd_execute_rw(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents, in rd_execute_rw() argument 444 sg_miter_start(&m, sgl, sgl_nents, in rd_execute_rw()
|
D | target_core_user.c | 1016 tcmu_execute_rw(struct se_cmd *se_cmd, struct scatterlist *sgl, u32 sgl_nents, in tcmu_execute_rw() argument
|