Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/nvdimm/
Dbadrange.c188 sector_t start_sector, end_sector; in __add_badblock_range() local
192 start_sector = div_u64(ns_offset, sector_size); in __add_badblock_range()
196 num_sectors = end_sector - start_sector; in __add_badblock_range()
200 sector_t s = start_sector; in __add_badblock_range()
210 set_badblock(bb, start_sector, num_sectors); in __add_badblock_range()
/linux-6.6.21/drivers/md/
Dmd-linear.c210 sector_t start_sector, end_sector, data_offset; in linear_make_request() local
218 start_sector = tmp_dev->end_sector - tmp_dev->rdev->sectors; in linear_make_request()
223 bio_sector < start_sector)) in linear_make_request()
244 start_sector + data_offset; in linear_make_request()
265 (unsigned long long)start_sector); in linear_make_request()
Ddm-writecache.c146 sector_t start_sector; member
339 wc->memory_map += (size_t)wc->start_sector << SECTOR_SHIFT; in persistent_memory_claim()
340 wc->memory_map_size -= (size_t)wc->start_sector << SECTOR_SHIFT; in persistent_memory_claim()
360 vunmap(wc->memory_map - ((size_t)wc->start_sector << SECTOR_SHIFT)); in persistent_memory_release()
405 return wc->start_sector + wc->metadata_sectors + in cache_sector()
524 region.sector += wc->start_sector; in ssd_commit_flushed()
562 region.sector += wc->start_sector; in ssd_commit_superblock()
985 region.sector = wc->start_sector; in writecache_read_metadata()
2405 unsigned long long start_sector; in writecache_ctr() local
2408 if (sscanf(string, "%llu%c", &start_sector, &dummy) != 1) in writecache_ctr()
[all …]
Draid1.c565 static sector_t align_to_barrier_unit_end(sector_t start_sector, in align_to_barrier_unit_end() argument
575 len = round_up(start_sector + 1, BARRIER_UNIT_SECTOR_SIZE) - in align_to_barrier_unit_end()
576 start_sector; in align_to_barrier_unit_end()
/linux-6.6.21/drivers/scsi/
Dps3rom.c160 struct scsi_cmnd *cmd, u32 start_sector, in ps3rom_read_request() argument
166 __func__, __LINE__, sectors, start_sector); in ps3rom_read_request()
169 dev->regions[dev->region_idx].id, start_sector, in ps3rom_read_request()
181 struct scsi_cmnd *cmd, u32 start_sector, in ps3rom_write_request() argument
187 __func__, __LINE__, sectors, start_sector); in ps3rom_write_request()
192 dev->regions[dev->region_idx].id, start_sector, in ps3rom_write_request()
/linux-6.6.21/drivers/char/
Dps3flash.c34 u64 start_sector, int write) in ps3flash_read_write_sectors() argument
38 start_sector, priv->chunk_sectors, in ps3flash_read_write_sectors()
64 static int ps3flash_fetch(struct ps3_storage_device *dev, u64 start_sector) in ps3flash_fetch() argument
69 if (start_sector == priv->tag) in ps3flash_fetch()
78 res = ps3flash_read_write_sectors(dev, start_sector, 0); in ps3flash_fetch()
82 priv->tag = start_sector; in ps3flash_fetch()
/linux-6.6.21/drivers/ps3/
Dps3stor_lib.c265 u64 start_sector, u64 sectors, int write) in ps3stor_read_write_sectors() argument
272 __func__, __LINE__, op, sectors, start_sector); in ps3stor_read_write_sectors()
276 start_sector, sectors, 0, lpar, in ps3stor_read_write_sectors()
279 start_sector, sectors, 0, lpar, in ps3stor_read_write_sectors()
/linux-6.6.21/drivers/vdpa/vdpa_sim/
Dvdpa_sim_blk.c79 static bool vdpasim_blk_check_range(struct vdpasim *vdpasim, u64 start_sector, in vdpasim_blk_check_range() argument
82 if (start_sector > VDPASIM_BLK_CAPACITY) { in vdpasim_blk_check_range()
85 start_sector, VDPASIM_BLK_CAPACITY); in vdpasim_blk_check_range()
95 if (num_sectors > VDPASIM_BLK_CAPACITY - start_sector) { in vdpasim_blk_check_range()
98 start_sector, num_sectors, VDPASIM_BLK_CAPACITY); in vdpasim_blk_check_range()
/linux-6.6.21/drivers/block/
Dps3disk.c101 u64 start_sector, sectors; in ps3disk_submit_request_sg() local
116 start_sector = blk_rq_pos(req) * priv->blocking_factor; in ps3disk_submit_request_sg()
119 __func__, __LINE__, op, sectors, start_sector); in ps3disk_submit_request_sg()
125 start_sector, sectors, 0, in ps3disk_submit_request_sg()
129 start_sector, sectors, 0, in ps3disk_submit_request_sg()
Dublk_drv.c410 iod->start_sector = pdu->sector; in ublk_setup_iod_zoned()
424 iod->start_sector = blk_rq_pos(req); in ublk_setup_iod_zoned()
997 iod->start_sector = blk_rq_pos(req); in ublk_setup_iod()
/linux-6.6.21/arch/powerpc/include/asm/
Dps3stor.h54 u64 start_sector, u64 sectors,
/linux-6.6.21/Documentation/admin-guide/device-mapper/
Dstatistics.rst49 "<start_sector>+<length>"
51 starting with <start_sector>.
126 <region_id>: <start_sector>+<length> <step> <program_id> <aux_data>
148 <start_sector>+<length>
Ddm-init.rst31 <table> ::= <start_sector> <num_sectors> <target_type> <target_args>
Dwritecache.rst24 start_sector n (default: 0)
/linux-6.6.21/block/partitions/
Defi.h96 u8 start_sector; /* unused by EFI, pt start in CHS */ member
/linux-6.6.21/drivers/staging/rts5208/
Dxd.h170 u32 start_sector, u16 sector_cnt);
Dms.h193 u32 start_sector, u16 sector_cnt);
Dsd.h271 u32 start_sector, u16 sector_cnt);
Dms.c2610 struct rtsx_chip *chip, u32 start_sector, argument
2624 if ((start_sector % 4) || (sector_cnt % 4)) {
2668 start_sector) ||
2689 if ((ms_card->capacity - start_sector) > 0xFE00)
2692 count = (u16)(ms_card->capacity - start_sector);
2703 retval = mspro_set_rw_cmd(chip, start_sector, count, rw_cmd);
2738 ms_card->pre_sec_addr = start_sector;
3393 u32 start_sector, u16 sector_cnt) argument
3418 log_blk = (u16)(start_sector >> ms_card->block_shift);
3419 start_page = (u8)(start_sector & ms_card->page_off);
[all …]
Dsd.c3286 int sd_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 start_sector, argument
3297 start_sector);
3301 start_sector);
3323 data_addr = start_sector << 9;
3325 data_addr = start_sector;
3338 start_sector))) {
3538 sd_card->pre_sec_addr = start_sector;
Dxd.c1820 u32 start_sector, u16 sector_cnt) in xd_rw() argument
1853 log_blk = start_sector >> xd_card->block_shift; in xd_rw()
1854 start_page = (u8)start_sector & xd_card->page_off; in xd_rw()
/linux-6.6.21/include/uapi/linux/
Dublk_cmd.h288 __u64 start_sector; member
Dcdrom.h560 __u32 start_sector; member
/linux-6.6.21/drivers/memstick/core/
Dmspro_block.c87 __be16 start_sector; member
104 unsigned char start_sector; member
321 rc += sysfs_emit_at(buffer, rc, "start sector: %x\n", be16_to_cpu(x_sys->start_sector)); in mspro_block_attr_show_sysinfo()
356 rc += sysfs_emit_at(buffer, rc, "start sector: %x\n", x_mbr->start_sector); in mspro_block_attr_show_mbr()
/linux-6.6.21/fs/
Ddirect-io.c663 sector_t start_sector, struct buffer_head *map_bh) in dio_new_bio() argument
671 sector = start_sector << (sdio->blkbits - 9); in dio_new_bio()

12