Searched refs:end_lba (Results 1 – 4 of 4) sorted by relevance
/drivers/target/ |
D | target_core_sbc.c | 278 sector_t end_lba = dev->transport->get_blocks(dev) + 1; in sbc_setup_write_same() local 297 ((cmd->t_task_lba + sectors) > end_lba)) { in sbc_setup_write_same() 299 (unsigned long long)end_lba, cmd->t_task_lba, sectors); in sbc_setup_write_same() 1052 unsigned long long end_lba; in sbc_parse_cdb() local 1054 end_lba = dev->transport->get_blocks(dev) + 1; in sbc_parse_cdb() 1056 ((cmd->t_task_lba + sectors) > end_lba)) { in sbc_parse_cdb() 1059 end_lba, cmd->t_task_lba, sectors); in sbc_parse_cdb()
|
D | target_core_xcopy.c | 661 sector_t src_lba, dst_lba, end_lba; in target_xcopy_do_work() local 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()
|
D | target_core_configfs.c | 2528 unsigned long start_lba = -1, end_lba = -1; in target_dev_lba_map_store() local 2550 if (sscanf(ptr, "%lu %lu", &start_lba, &end_lba) != 2) { in target_dev_lba_map_store() 2571 start_lba, end_lba); in target_dev_lba_map_store()
|
/drivers/scsi/ |
D | sd.c | 2072 u64 start_lba, end_lba, bad_lba; in sd_completed_bytes() local 2092 end_lba = start_lba + bytes_to_logical(sdev, scsi_bufflen(scmd)); in sd_completed_bytes() 2093 if (bad_lba < start_lba || bad_lba >= end_lba) in sd_completed_bytes()
|