Home
last modified time | relevance | path

Searched refs:end_lba (Results 1 – 4 of 4) sorted by relevance

/drivers/target/
Dtarget_core_sbc.c285 sector_t end_lba = dev->transport->get_blocks(dev) + 1; in sbc_setup_write_same() local
304 ((cmd->t_task_lba + sectors) > end_lba)) { in sbc_setup_write_same()
306 (unsigned long long)end_lba, cmd->t_task_lba, sectors); in sbc_setup_write_same()
1112 unsigned long long end_lba; in sbc_parse_cdb() local
1114 end_lba = dev->transport->get_blocks(dev) + 1; in sbc_parse_cdb()
1116 ((cmd->t_task_lba + sectors) > end_lba)) { in sbc_parse_cdb()
1119 end_lba, cmd->t_task_lba, sectors); in sbc_parse_cdb()
Dtarget_core_xcopy.c730 sector_t src_lba, dst_lba, end_lba; in target_xcopy_do_work() local
746 end_lba = src_lba + nolb; in target_xcopy_do_work()
758 nolb, max_nolb, (unsigned long long)end_lba); in target_xcopy_do_work()
762 while (src_lba < end_lba) { in target_xcopy_do_work()
Dtarget_core_configfs.c2351 unsigned long start_lba = -1, end_lba = -1; in target_dev_lba_map_store() local
2373 if (sscanf(ptr, "%lu %lu", &start_lba, &end_lba) != 2) { in target_dev_lba_map_store()
2394 start_lba, end_lba); in target_dev_lba_map_store()
/drivers/scsi/
Dsd.c1917 u64 start_lba, end_lba, bad_lba; in sd_completed_bytes() local
1937 end_lba = start_lba + bytes_to_logical(sdev, scsi_bufflen(scmd)); in sd_completed_bytes()
1938 if (bad_lba < start_lba || bad_lba >= end_lba) in sd_completed_bytes()