Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dblktrace_api.h141 __u64 start_lba; member
157 u64 start_lba; member
231 compat_u64 start_lba; member
/linux-2.6.39/kernel/trace/
Dblktrace.c164 if (sector && (sector < bt->start_lba || sector > bt->end_lba)) in act_log_check()
425 bt->start_lba = part->start_sect; in blk_trace_setup_lba()
428 bt->start_lba = 0; in blk_trace_setup_lba()
514 if (buts->start_lba) in do_blk_trace_setup()
515 bt->start_lba = buts->start_lba; in do_blk_trace_setup()
577 .start_lba = cbuts.start_lba, in compat_blk_trace_setup()
1541 static BLK_TRACE_DEVICE_ATTR(start_lba);
1668 ret = sprintf(buf, "%llu\n", q->blk_trace->start_lba); in sysfs_blk_trace_attr_show()
1735 q->blk_trace->start_lba = value; in sysfs_blk_trace_attr_store()
/linux-2.6.39/drivers/scsi/
Dsd.c1308 u64 start_lba = blk_rq_pos(scmd->request); in sd_completed_bytes() local
1333 start_lba <<= 1; in sd_completed_bytes()
1338 do_div(start_lba, factor); in sd_completed_bytes()
1345 if (bad_lba < start_lba || bad_lba >= end_lba) in sd_completed_bytes()
1351 good_bytes = (bad_lba - start_lba) * scmd->device->sector_size; in sd_completed_bytes()