Home
last modified time | relevance | path

Searched refs:start_lba (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/scsi/
Dsd_zbc.c78 sector_t start_lba, gran; in sd_zbc_parse_report() local
91 start_lba = get_unaligned_be64(&buf[16]); in sd_zbc_parse_report()
92 zone.start = logical_to_sectors(sdp, start_lba); in sd_zbc_parse_report()
100 start_lba, in sd_zbc_parse_report()
258 u64 zone_length, start_lba; in sd_zbc_report_zones() local
287 start_lba = get_unaligned_be64(&buf[offset + 16]); in sd_zbc_report_zones()
290 (lba < start_lba || in sd_zbc_report_zones()
291 lba >= start_lba + zone_length)) || in sd_zbc_report_zones()
292 (zone_idx > 0 && start_lba != lba) || in sd_zbc_report_zones()
293 start_lba + zone_length < start_lba) { in sd_zbc_report_zones()
[all …]
Dsd.c1878 u64 start_lba, end_lba, bad_lba; in sd_completed_bytes() local
1897 start_lba = sectors_to_logical(sdev, blk_rq_pos(req)); in sd_completed_bytes()
1898 end_lba = start_lba + bytes_to_logical(sdev, scsi_bufflen(scmd)); in sd_completed_bytes()
1899 if (bad_lba < start_lba || bad_lba >= end_lba) in sd_completed_bytes()
1911 good_bytes = logical_to_bytes(sdev, bad_lba - start_lba); in sd_completed_bytes()
/linux-6.1.9/include/linux/
Dblktrace_api.h22 u64 start_lba; member
101 compat_u64 start_lba; member
Dlibata.h639 u64 start_lba; member
/linux-6.1.9/kernel/trace/
Dblktrace.c190 if (sector && (sector < bt->start_lba || sector > bt->end_lba)) in act_log_check()
503 bt->start_lba = bdev->bd_start_sect; in blk_trace_setup_lba()
506 bt->start_lba = 0; in blk_trace_setup_lba()
603 if (buts->start_lba) in do_blk_trace_setup()
604 bt->start_lba = buts->start_lba; in do_blk_trace_setup()
672 .start_lba = cbuts.start_lba, in compat_blk_trace_setup()
1677 static BLK_TRACE_DEVICE_ATTR(start_lba);
1792 ret = sprintf(buf, "%llu\n", bt->start_lba); in sysfs_blk_trace_attr_show()
1856 bt->start_lba = value; in sysfs_blk_trace_attr_store()
/linux-6.1.9/include/uapi/linux/
Dblktrace_api.h141 __u64 start_lba; member
/linux-6.1.9/drivers/target/
Dtarget_core_alua.c471 u64 start_lba, last_lba; in core_alua_state_lba_dependent() local
476 start_lba = do_div(tmp, segment_size * segment_mult); in core_alua_state_lba_dependent()
479 if (start_lba >= first_lba && in core_alua_state_lba_dependent()
480 start_lba <= last_lba) { in core_alua_state_lba_dependent()
Dtarget_core_configfs.c2481 unsigned long start_lba = -1, end_lba = -1; in target_dev_lba_map_store() local
2503 if (sscanf(ptr, "%lu %lu", &start_lba, &end_lba) != 2) { in target_dev_lba_map_store()
2524 start_lba, end_lba); in target_dev_lba_map_store()
/linux-6.1.9/drivers/scsi/esas2r/
Desas2r_main.c1397 p->start_lba = le32_to_cpu(p->start_lba); in esas2r_nuxi_mgt_data()
Datvda.h468 u64 start_lba; member
/linux-6.1.9/drivers/ata/
Dlibata-scsi.c2130 put_unaligned_be64(cpr_log->cpr[i].start_lba, &desc[8]); in ata_scsiop_inq_b9()
Dlibata-core.c2494 cpr_log->cpr[i].start_lba = get_unaligned_le64(&desc[8]); in ata_dev_config_cpr()