Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dblktrace_api.h142 __u64 start_lba; member
158 u64 start_lba; member
233 compat_u64 start_lba; member
/linux-3.4.99/kernel/trace/
Dblktrace.c165 if (sector && (sector < bt->start_lba || sector > bt->end_lba)) in act_log_check()
414 bt->start_lba = part->start_sect; in blk_trace_setup_lba()
417 bt->start_lba = 0; in blk_trace_setup_lba()
503 if (buts->start_lba) in do_blk_trace_setup()
504 bt->start_lba = buts->start_lba; in do_blk_trace_setup()
566 .start_lba = cbuts.start_lba, in compat_blk_trace_setup()
1535 static BLK_TRACE_DEVICE_ATTR(start_lba);
1663 ret = sprintf(buf, "%llu\n", q->blk_trace->start_lba); in sysfs_blk_trace_attr_show()
1730 q->blk_trace->start_lba = value; in sysfs_blk_trace_attr_store()
/linux-3.4.99/drivers/scsi/
Dsd.c1424 u64 start_lba = blk_rq_pos(scmd->request); in sd_completed_bytes() local
1449 start_lba <<= 1; in sd_completed_bytes()
1454 do_div(start_lba, factor); in sd_completed_bytes()
1461 if (bad_lba < start_lba || bad_lba >= end_lba) in sd_completed_bytes()
1467 good_bytes = (bad_lba - start_lba) * scmd->device->sector_size; in sd_completed_bytes()