Home
last modified time | relevance | path

Searched refs:start_sector (Results 1 – 15 of 15) sorted by relevance

/drivers/md/
Dlinear.c252 sector_t start_sector, end_sector, data_offset; in linear_make_request() local
261 start_sector = tmp_dev->end_sector - tmp_dev->rdev->sectors; in linear_make_request()
266 bio_sector < start_sector)) in linear_make_request()
280 start_sector + data_offset; in linear_make_request()
303 (unsigned long long)start_sector); in linear_make_request()
Draid1.c526 static sector_t align_to_barrier_unit_end(sector_t start_sector, in align_to_barrier_unit_end() argument
536 len = round_up(start_sector + 1, BARRIER_UNIT_SECTOR_SIZE) - in align_to_barrier_unit_end()
537 start_sector; in align_to_barrier_unit_end()
/drivers/scsi/
Dps3rom.c172 struct scsi_cmnd *cmd, u32 start_sector, in ps3rom_read_request() argument
178 __func__, __LINE__, sectors, start_sector); in ps3rom_read_request()
181 dev->regions[dev->region_idx].id, start_sector, in ps3rom_read_request()
193 struct scsi_cmnd *cmd, u32 start_sector, in ps3rom_write_request() argument
199 __func__, __LINE__, sectors, start_sector); in ps3rom_write_request()
204 dev->regions[dev->region_idx].id, start_sector, in ps3rom_write_request()
/drivers/char/
Dps3flash.c46 u64 start_sector, int write) in ps3flash_read_write_sectors() argument
50 start_sector, priv->chunk_sectors, in ps3flash_read_write_sectors()
76 static int ps3flash_fetch(struct ps3_storage_device *dev, u64 start_sector) in ps3flash_fetch() argument
81 if (start_sector == priv->tag) in ps3flash_fetch()
90 res = ps3flash_read_write_sectors(dev, start_sector, 0); in ps3flash_fetch()
94 priv->tag = start_sector; in ps3flash_fetch()
/drivers/ps3/
Dps3stor_lib.c277 u64 start_sector, u64 sectors, int write) in ps3stor_read_write_sectors() argument
284 __func__, __LINE__, op, sectors, start_sector); in ps3stor_read_write_sectors()
288 start_sector, sectors, 0, lpar, in ps3stor_read_write_sectors()
291 start_sector, sectors, 0, lpar, in ps3stor_read_write_sectors()
/drivers/block/
Dps3disk.c127 u64 start_sector, sectors; in ps3disk_submit_request_sg() local
142 start_sector = blk_rq_pos(req) * priv->blocking_factor; in ps3disk_submit_request_sg()
145 __func__, __LINE__, op, sectors, start_sector); in ps3disk_submit_request_sg()
151 start_sector, sectors, 0, in ps3disk_submit_request_sg()
155 start_sector, sectors, 0, in ps3disk_submit_request_sg()
/drivers/nvdimm/
Dcore.c424 sector_t start_sector, end_sector; in __add_badblock_range() local
428 start_sector = div_u64(ns_offset, sector_size); in __add_badblock_range()
432 num_sectors = end_sector - start_sector; in __add_badblock_range()
436 sector_t s = start_sector; in __add_badblock_range()
446 set_badblock(bb, start_sector, num_sectors); in __add_badblock_range()
/drivers/staging/rts5208/
Dxd.h182 u32 start_sector, u16 sector_cnt);
Dms.h205 u32 start_sector, u16 sector_cnt);
Dsd.h283 u32 start_sector, u16 sector_cnt);
Dms.c2950 struct rtsx_chip *chip, u32 start_sector, argument
2964 if ((start_sector % 4) || (sector_cnt % 4)) {
3012 start_sector) ||
3035 if ((ms_card->capacity - start_sector) > 0xFE00)
3038 count = (u16)(ms_card->capacity - start_sector);
3049 retval = mspro_set_rw_cmd(chip, start_sector, count, rw_cmd);
3087 ms_card->pre_sec_addr = start_sector;
3826 u32 start_sector, u16 sector_cnt) argument
3852 log_blk = (u16)(start_sector >> ms_card->block_shift);
3853 start_page = (u8)(start_sector & ms_card->page_off);
[all …]
Dsd.c3693 int sd_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 start_sector, argument
3704 start_sector);
3708 start_sector);
3731 data_addr = start_sector << 9;
3733 data_addr = start_sector;
3747 start_sector))) {
3957 sd_card->pre_sec_addr = start_sector;
Dxd.c1990 u32 start_sector, u16 sector_cnt) in xd_rw() argument
2026 log_blk = start_sector >> xd_card->block_shift; in xd_rw()
2027 start_page = (u8)start_sector & xd_card->page_off; in xd_rw()
/drivers/memstick/core/
Dmspro_block.c91 __be16 start_sector; member
108 unsigned char start_sector; member
376 be16_to_cpu(x_sys->start_sector)); in mspro_block_attr_show_sysinfo()
420 x_mbr->start_sector); in mspro_block_attr_show_mbr()
/drivers/cdrom/
Dcdrom.c1834 layer->start_sector = base[5] << 16 | base[6] << 8 | base[7]; in dvd_read_physical()