Home
last modified time | relevance | path

Searched defs:lba (Results 1 – 25 of 67) sorted by relevance

123

/Linux-v4.19/drivers/scsi/
Dscsi_trace.c33 sector_t lba = 0, txlen = 0; in scsi_trace_rw6() local
51 sector_t lba = 0, txlen = 0; in scsi_trace_rw10() local
76 sector_t lba = 0, txlen = 0; in scsi_trace_rw12() local
99 sector_t lba = 0, txlen = 0; in scsi_trace_rw16() local
130 sector_t lba = 0, txlen = 0; in scsi_trace_rw32() local
197 sector_t lba = 0; in scsi_trace_service_action_in() local
Dsd_zbc.c74 unsigned int buflen, sector_t lba) in sd_zbc_report_zones()
122 sector_t lba, sector = blk_rq_pos(rq); in sd_zbc_setup_report_cmnd() local
353 sector_t lba; in sd_zbc_check_capacity() local
514 sector_t lba, next_lba = sdkp->capacity; in sd_zbc_get_seq_zones() local
552 sector_t lba = 0; in sd_zbc_setup_seq_zones_bitmap() local
Dscsi_debug.c738 static void *fake_store(unsigned long long lba) in fake_store()
2459 unsigned long long lba, unsigned int num) in check_device_access_params()
2475 static int do_device_access(struct scsi_cmnd *scmd, u32 sg_skip, u64 lba, in do_device_access()
2520 static bool comp_write_worker(u64 lba, u32 num, const u8 *arr) in comp_write_worker()
2663 u64 lba; in resp_read_dt0() local
2894 static unsigned long lba_to_map_index(sector_t lba) in lba_to_map_index()
2904 sector_t lba = index * sdebug_unmap_granularity; in map_index_to_lba() local
2911 static unsigned int map_state(sector_t lba, unsigned int *num) in map_state()
2931 static void map_region(sector_t lba, unsigned int len) in map_region()
2945 static void unmap_region(sector_t lba, unsigned int len) in unmap_region()
[all …]
Dsr_ioctl.c472 static int sr_read_cd(Scsi_CD *cd, unsigned char *dest, int lba, int format, int blksize) in sr_read_cd()
514 static int sr_read_sector(Scsi_CD *cd, int lba, int blksize, unsigned char *dest) in sr_read_sector()
/Linux-v4.19/drivers/lightnvm/
Dpblk-read.c28 sector_t lba, struct ppa_addr ppa, in pblk_read_from_cache()
55 sector_t lba = blba + i; in pblk_read_ppalist_rq() local
114 u64 lba = le64_to_cpu(meta_lba_list[i].lba); in pblk_read_check_seq() local
143 u64 lba = lba_list[i]; in pblk_read_check_rand() local
405 sector_t lba, unsigned long *read_bitmap) in pblk_read_rq()
583 struct pblk_line *line, sector_t lba, in read_rq_gc()
Dpblk-cache.c24 sector_t lba = pblk_get_lba(bio); in pblk_write_to_cache() local
Dpblk-recovery.c202 u64 lba = le64_to_cpu(meta_list[i].lba); in pblk_recov_read_oob() local
476 u64 lba = le64_to_cpu(meta_list[i].lba); in pblk_recov_scan_all_oob() local
622 u64 lba = le64_to_cpu(meta_list[i].lba); in pblk_recov_scan_oob() local
Dpblk-core.c213 sector_t lba; in pblk_invalidate_range() local
1933 void pblk_update_map(struct pblk *pblk, sector_t lba, struct ppa_addr ppa) in pblk_update_map()
1953 void pblk_update_map_cache(struct pblk *pblk, sector_t lba, struct ppa_addr ppa) in pblk_update_map_cache()
1965 int pblk_update_map_gc(struct pblk *pblk, sector_t lba, struct ppa_addr ppa_new, in pblk_update_map_gc()
2003 void pblk_update_map_dev(struct pblk *pblk, sector_t lba, in pblk_update_map_dev()
2075 u64 lba; in pblk_lookup_l2p_rand() local
/Linux-v4.19/drivers/memstick/core/
Dms_block.c137 static int msb_get_zone_from_lba(int lba) in msb_get_zone_from_lba()
1001 u16 pba, u32 lba, struct scatterlist *sg, int offset) in msb_write_block()
1115 static int msb_update_block(struct msb_data *msb, u16 lba, in msb_update_block()
1371 u16 pba, lba, other_block; in msb_ftl_scan() local
1535 u16 pba, lba; in msb_cache_flush() local
1603 static int msb_cache_write(struct msb_data *msb, int lba, in msb_cache_write()
1644 static int msb_cache_read(struct msb_data *msb, int lba, in msb_cache_read()
1806 static int msb_do_write_request(struct msb_data *msb, int lba, in msb_do_write_request()
1846 static int msb_do_read_request(struct msb_data *msb, int lba, in msb_do_read_request()
1875 sector_t lba; in msb_io_work() local
/Linux-v4.19/tools/lib/traceevent/
Dplugin_scsi.c159 sector_t lba = 0, txlen = 0; in scsi_trace_rw6() local
176 sector_t lba = 0, txlen = 0; in scsi_trace_rw10() local
200 sector_t lba = 0, txlen = 0; in scsi_trace_rw12() local
222 sector_t lba = 0, txlen = 0; in scsi_trace_rw16() local
252 sector_t lba = 0, txlen = 0; in scsi_trace_rw32() local
317 sector_t lba = 0; in scsi_trace_service_action_in() local
/Linux-v4.19/block/partitions/
Defi.c252 u64 lba, u8 *buffer, size_t count) in read_lba()
323 u64 lba) in alloc_read_gpt_header()
351 static int is_gpt_valid(struct parsed_partitions *state, u64 lba, in is_gpt_valid()
Daix.c96 static size_t read_lba(struct parsed_partitions *state, u64 lba, u8 *buffer, in read_lba()
130 static struct pvd *alloc_pvd(struct parsed_partitions *state, u32 lba) in alloc_pvd()
155 static struct lvname *alloc_lvn(struct parsed_partitions *state, u32 lba) in alloc_lvn()
/Linux-v4.19/drivers/nvdimm/
Dblk.c72 struct bio_integrity_payload *bip, u64 lba, int rw) in nd_blk_rw_integrity()
118 struct bio_integrity_payload *bip, u64 lba, int rw) in nd_blk_rw_integrity()
133 u64 lba; in nsblk_do_bvec() local
Dbtt.c102 static int __btt_map_write(struct arena_info *arena, u32 lba, __le32 mapping, in __btt_map_write()
114 static int btt_map_write(struct arena_info *arena, u32 lba, u32 mapping, in btt_map_write()
158 static int btt_map_read(struct arena_info *arena, u32 lba, u32 *mapping, in btt_map_read()
508 static u64 to_namespace_offset(struct arena_info *arena, u64 lba) in to_namespace_offset()
519 u32 lba = arena->freelist[lane].block; in arena_clear_freelist_error() local
1071 __u64 lba = div_u64(sector << SECTOR_SHIFT, btt->sector_size); in lba_to_arena() local
1106 unsigned int off, u32 lba, u32 len) in btt_data_read()
1118 static int btt_data_write(struct arena_info *arena, u32 lba, in btt_data_write()
/Linux-v4.19/drivers/mtd/
Dsm_ftl.c132 static int sm_get_lba(uint8_t *lba) in sm_get_lba()
157 int lba; in sm_read_lba() local
177 static void sm_write_lba(struct sm_oob *oob, uint16_t lba) in sm_write_lba()
367 int zone, int block, int lba, in sm_write_block()
746 int lba; in sm_init_zone() local
/Linux-v4.19/drivers/usb/storage/
Dsddr55.c187 unsigned int lba, in sddr55_read_data()
306 unsigned int lba, in sddr55_write_data()
645 unsigned short lba; in sddr55_read_map() local
788 unsigned int lba; in sddr55_transport() local
Dsddr09.c737 unsigned int lba, maxlba, pba; in sddr09_read_data() local
824 sddr09_find_unused_pba(struct sddr09_card_info *info, unsigned int lba) { in sddr09_find_unused_pba()
850 sddr09_write_lba(struct us_data *us, unsigned int lba, in sddr09_write_lba()
962 unsigned int lba, maxlba, page, pages; in sddr09_write_data() local
1202 unsigned int lba, lbact; in sddr09_read_map() local
Dalauda.c799 static int alauda_write_lba(struct us_data *us, u16 lba, in alauda_write_lba()
909 u16 lba, max_lba; in alauda_read_data() local
1010 u16 lba, max_lba; in alauda_write_data() local
/Linux-v4.19/drivers/scsi/aacraid/
Daachba.c1199 static int aac_bounds_32(struct aac_dev * dev, struct scsi_cmnd * cmd, u64 lba) in aac_bounds_32()
1218 static int aac_bounds_64(struct aac_dev * dev, struct scsi_cmnd * cmd, u64 lba) in aac_bounds_64()
1225 static int aac_read_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) in aac_read_raw_io()
1283 static int aac_read_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) in aac_read_block64()
1318 static int aac_read_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count) in aac_read_block()
1353 static int aac_write_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_raw_io()
1417 static int aac_write_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_block64()
1452 static int aac_write_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_block()
2337 u64 lba; in io_callback() local
2422 u64 lba; in aac_read() local
[all …]
/Linux-v4.19/drivers/char/agp/
Dparisc-agp.c376 struct parisc_device **lba = data; in find_quicksilver() local
391 struct parisc_device *sba = NULL, *lba = NULL; in parisc_agp_init() local
/Linux-v4.19/drivers/cdrom/
Dcdrom.c1566 int lba = addr->lba; in sanitize_format() local
2069 struct packet_command *cgc, int lba, in cdrom_read_cd()
2090 int lba, int nblocks, int format, int blksize) in cdrom_read_block()
2121 int lba, int nframes) in cdrom_read_cdda_old()
2167 int lba, int nframes) in cdrom_read_cdda_bpc()
2250 int lba, int nframes) in cdrom_read_cdda()
2952 int blocksize = 0, format = 0, lba; in mmc_ioctl_cdrom_read_data() local
3008 int lba; in mmc_ioctl_cdrom_read_audio() local
/Linux-v4.19/drivers/target/
Dtarget_core_file.c507 fd_do_prot_fill(struct se_device *se_dev, sector_t lba, sector_t nolb, in fd_do_prot_fill()
537 fd_do_prot_unmap(struct se_cmd *cmd, sector_t lba, sector_t nolb) in fd_do_prot_unmap()
557 fd_execute_unmap(struct se_cmd *cmd, sector_t lba, sector_t nolb) in fd_execute_unmap()
Dtarget_core_iblock.c320 iblock_get_bio(struct se_cmd *cmd, sector_t lba, u32 sg_num, int op, in iblock_get_bio()
405 iblock_execute_unmap(struct se_cmd *cmd, sector_t lba, sector_t nolb) in iblock_execute_unmap()
/Linux-v4.19/drivers/ide/
Dide-cd.h61 unsigned lba; member
/Linux-v4.19/drivers/usb/gadget/function/
Df_mass_storage.c615 u32 lba; in do_read() local
743 u32 lba; in do_write() local
955 u32 lba; in do_verify() local
1139 u32 lba = get_unaligned_be32(&common->cmnd[2]); in do_read_capacity() local
1159 u32 lba = get_unaligned_be32(&common->cmnd[2]); in do_read_header() local

123