Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dblktrace_api.h23 u64 end_lba; member
106 compat_u64 end_lba; member
/linux-6.6.21/kernel/trace/
Dblktrace.c190 if (sector && (sector < bt->start_lba || sector > bt->end_lba)) in act_log_check()
504 bt->end_lba = bdev->bd_start_sect + bdev_nr_sectors(bdev); in blk_trace_setup_lba()
507 bt->end_lba = -1ULL; in blk_trace_setup_lba()
605 if (buts->end_lba) in do_blk_trace_setup()
606 bt->end_lba = buts->end_lba; in do_blk_trace_setup()
673 .end_lba = cbuts.end_lba, in compat_blk_trace_setup()
1674 static BLK_TRACE_DEVICE_ATTR(end_lba);
1790 ret = sprintf(buf, "%llu\n", bt->end_lba); in sysfs_blk_trace_attr_show()
1854 bt->end_lba = value; in sysfs_blk_trace_attr_store()
/linux-6.6.21/drivers/target/
Dtarget_core_sbc.c278 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()
Dtarget_core_xcopy.c661 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()
Dtarget_core_configfs.c2528 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()
/linux-6.6.21/include/uapi/linux/
Dblktrace_api.h142 __u64 end_lba; member
/linux-6.6.21/drivers/scsi/
Dsd.c2070 u64 start_lba, end_lba, bad_lba; in sd_completed_bytes() local
2090 end_lba = start_lba + bytes_to_logical(sdev, scsi_bufflen(scmd)); in sd_completed_bytes()
2091 if (bad_lba < start_lba || bad_lba >= end_lba) in sd_completed_bytes()