Searched refs:sgl_nents (Results 1 – 5 of 5) sorted by relevance
/drivers/target/ |
D | target_core_file.c | 262 fd_execute_rw_aio(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents, in fd_execute_rw_aio() argument 275 aio_cmd = kmalloc(struct_size(aio_cmd, bvecs, sgl_nents), GFP_KERNEL); in fd_execute_rw_aio() 279 for_each_sg(sgl, sg, sgl_nents, i) { in fd_execute_rw_aio() 287 iov_iter_bvec(&iter, is_write, aio_cmd->bvecs, sgl_nents, len); in fd_execute_rw_aio() 312 u32 sgl_nents, u32 data_length, int is_write) in fd_do_rw() argument 321 bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); in fd_do_rw() 327 for_each_sg(sgl, sg, sgl_nents, i) { in fd_do_rw() 335 iov_iter_bvec(&iter, is_write, bvec, sgl_nents, len); in fd_do_rw() 587 fd_execute_rw_buffered(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents, in fd_execute_rw_buffered() argument 610 sgl, sgl_nents, cmd->data_length, 0); in fd_execute_rw_buffered() [all …]
|
D | target_core_iblock.c | 716 iblock_execute_rw(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents, in iblock_execute_rw() argument 725 u32 sg_num = sgl_nents; in iblock_execute_rw() 757 if (!sgl_nents) { in iblock_execute_rw() 763 bio = iblock_get_bio(cmd, block_lba, sgl_nents, opf); in iblock_execute_rw() 777 for_each_sg(sgl, sg, sgl_nents, i) { in iblock_execute_rw()
|
D | target_core_pscsi.c | 845 pscsi_map_sg(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents, in pscsi_map_sg() argument 862 for_each_sg(sgl, sg, sgl_nents, i) { in pscsi_map_sg() 964 u32 sgl_nents = cmd->t_data_nents; in pscsi_execute_cmd() local 993 ret = pscsi_map_sg(cmd, sgl, sgl_nents, req); in pscsi_execute_cmd()
|
D | target_core_rd.c | 417 rd_execute_rw(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents, in rd_execute_rw() argument 461 sg_miter_start(&m, sgl, sgl_nents, in rd_execute_rw()
|
/drivers/crypto/ccree/ |
D | cc_buffer_mgr.c | 538 static bool cc_is_icv_frag(unsigned int sgl_nents, unsigned int authsize, in cc_is_icv_frag() argument 541 return ((sgl_nents > 1) && (last_entry_data_size < authsize)); in cc_is_icv_frag()
|