Home
last modified time | relevance | path

Searched refs:nolb (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/target/
Dtarget_core_file.c435 sector_t nolb = sbc_get_write_same_sectors(cmd); in fd_execute_write_same() local
460 bvec = kcalloc(nolb, sizeof(struct bio_vec), GFP_KERNEL); in fd_execute_write_same()
464 for (i = 0; i < nolb; i++) { in fd_execute_write_same()
471 iov_iter_bvec(&iter, ITER_SOURCE, bvec, nolb, len); in fd_execute_write_same()
487 fd_do_prot_fill(struct se_device *se_dev, sector_t lba, sector_t nolb, in fd_do_prot_fill() argument
500 prot_length = nolb * se_dev->prot_length; in fd_do_prot_fill()
518 fd_do_prot_unmap(struct se_cmd *cmd, sector_t lba, sector_t nolb) in fd_do_prot_unmap() argument
529 rc = fd_do_prot_fill(cmd->se_dev, lba, nolb, buf, PAGE_SIZE); in fd_do_prot_unmap()
537 fd_execute_unmap(struct se_cmd *cmd, sector_t lba, sector_t nolb) in fd_execute_unmap() argument
543 if (!nolb) { in fd_execute_unmap()
[all …]
Dtarget_core_xcopy.c324 xop->nolb = get_unaligned_be16(&desc[10]); in target_xcopy_parse_segdesc_02()
328 xop->nolb, (unsigned long long)xop->src_lba, in target_xcopy_parse_segdesc_02()
664 unsigned short nolb; in target_xcopy_do_work() local
681 nolb = xop->nolb; in target_xcopy_do_work()
682 end_lba = src_lba + nolb; in target_xcopy_do_work()
702 nolb, max_blocks, (unsigned long long)end_lba); in target_xcopy_do_work()
706 while (nolb) { in target_xcopy_do_work()
707 u32 cur_bytes = min_t(u64, max_bytes, nolb * src_dev->dev_attrib.block_size); in target_xcopy_do_work()
749 nolb -= cur_bytes / src_dev->dev_attrib.block_size; in target_xcopy_do_work()
Dtarget_core_xcopy.h36 unsigned short nolb; member
Dtarget_core_sbc.c196 sector_t nolb = sbc_get_write_same_sectors(cmd); in sbc_execute_write_same_unmap() local
199 if (nolb) { in sbc_execute_write_same_unmap()
200 ret = ops->execute_unmap(cmd, cmd->t_task_lba, nolb); in sbc_execute_write_same_unmap()
Dtarget_core_iblock.c437 iblock_execute_unmap(struct se_cmd *cmd, sector_t lba, sector_t nolb) in iblock_execute_unmap() argument
445 target_to_linux_sector(dev, nolb), in iblock_execute_unmap()
/linux-6.6.21/include/target/
Dtarget_core_backend.h71 sector_t lba, sector_t nolb);