Home
last modified time | relevance | path

Searched defs:sector (Results 1 – 25 of 145) sorted by relevance

123456

/linux-6.12.1/block/
Dblk-lib.c13 static sector_t bio_discard_limit(struct block_device *bdev, sector_t sector) in bio_discard_limit()
39 sector_t *sector, sector_t *nr_sects, gfp_t gfp_mask) in blk_alloc_discard_bio()
63 int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, in __blkdev_issue_discard()
85 int blkdev_issue_discard(struct block_device *bdev, sector_t sector, in blkdev_issue_discard()
122 sector_t sector, sector_t nr_sects, gfp_t gfp_mask, in __blkdev_issue_write_zeroes()
148 static int blkdev_issue_write_zeroes(struct block_device *bdev, sector_t sector, in blkdev_issue_write_zeroes()
196 sector_t sector, sector_t nr_sects, gfp_t gfp_mask, in __blkdev_issue_zero_pages()
227 static int blkdev_issue_zero_pages(struct block_device *bdev, sector_t sector, in blkdev_issue_zero_pages()
273 int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in __blkdev_issue_zeroout()
308 int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, in blkdev_issue_zeroout()
[all …]
Dblk-zoned.c137 int blkdev_report_zones(struct block_device *bdev, sector_t sector, in blkdev_report_zones()
177 sector_t sector, sector_t nr_sectors) in blkdev_zone_mgmt()
351 static inline bool disk_zone_is_conv(struct gendisk *disk, sector_t sector) in disk_zone_is_conv()
404 sector_t sector) in disk_get_zone_wplug()
501 sector_t sector, gfp_t gfp_mask, in disk_get_and_lock_zone_wplug()
708 sector_t sector = bio->bi_iter.bi_sector; in blk_zone_wplug_handle_reset_or_finish() local
737 sector_t sector; in blk_zone_wplug_handle_reset_all() local
947 sector_t sector = bio->bi_iter.bi_sector; in blk_zone_wplug_handle_write() local
1530 sector_t sector; member
Dblk-ia-ranges.c178 sector_t sector) in disk_find_ia_range()
198 sector_t sector = 0; in disk_check_ia_ranges() local
Dblk-settings.c441 sector_t sector) in queue_limit_alignment_offset()
451 const struct queue_limits *lim, sector_t sector) in queue_limit_discard_alignment()
/linux-6.12.1/drivers/block/
Dbrd.c49 static struct page *brd_lookup_page(struct brd_device *brd, sector_t sector) in brd_lookup_page()
57 static int brd_insert_page(struct brd_device *brd, sector_t sector, gfp_t gfp) in brd_insert_page()
105 static int copy_to_brd_setup(struct brd_device *brd, sector_t sector, size_t n, in copy_to_brd_setup()
127 sector_t sector, size_t n) in copy_to_brd()
159 sector_t sector, size_t n) in copy_from_brd()
194 sector_t sector) in brd_do_bvec()
225 static void brd_do_discard(struct brd_device *brd, sector_t sector, u32 size) in brd_do_discard()
245 sector_t sector = bio->bi_iter.bi_sector; in brd_submit_bio() local
/linux-6.12.1/drivers/block/null_blk/
Dzoned.c56 sector_t sector = 0; in null_init_zoned_dev() local
193 int null_report_zones(struct gendisk *disk, sector_t sector, in null_report_zones()
241 sector_t sector, unsigned int len) in null_zone_valid_read_len()
350 static blk_status_t null_zone_write(struct nullb_cmd *cmd, sector_t sector, in null_zone_write()
635 sector_t sector) in null_zone_mgmt()
697 sector_t sector, sector_t nr_sectors) in null_process_zoned_cmd()
769 unsigned long long sector; in zone_cond_store() local
Dmain.c866 static void null_free_sector(struct nullb *nullb, sector_t sector, in null_free_sector()
939 sector_t sector, bool for_write, bool is_cache) in __null_lookup_page()
960 sector_t sector, bool for_write, bool ignore_cache) in null_lookup_page()
972 sector_t sector, bool ignore_cache) in null_insert_page()
1109 unsigned int off, sector_t sector, size_t n, bool is_fua) in copy_to_nullb()
1141 unsigned int off, sector_t sector, size_t n) in copy_from_nullb()
1173 sector_t sector, sector_t nr_sectors) in null_handle_discard()
1214 unsigned int len, unsigned int off, bool is_write, sector_t sector, in null_transfer()
1250 sector_t sector = blk_rq_pos(rq); in null_handle_rq() local
1291 sector_t sector, in null_handle_badblocks()
[all …]
/linux-6.12.1/drivers/block/drbd/
Ddrbd_interval.c69 drbd_contains_interval(struct rb_root *root, sector_t sector, in drbd_contains_interval()
118 drbd_find_overlap(struct rb_root *root, sector_t sector, unsigned int size) in drbd_find_overlap()
148 drbd_next_overlap(struct drbd_interval *i, sector_t sector, unsigned int size) in drbd_next_overlap()
Ddrbd_interval.h10 sector_t sector; /* start sector of the interval */ member
38 #define drbd_for_each_overlap(i, root, sector, size) \ argument
Ddrbd_actlog.c127 sector_t sector, enum req_op op) in _drbd_md_sync_page_io()
178 sector_t sector, enum req_op op) in drbd_md_sync_page_io()
319 sector_t sector; in __al_write_transaction() local
847 int __drbd_change_sync(struct drbd_peer_device *peer_device, sector_t sector, int size, in __drbd_change_sync()
964 int drbd_rs_begin_io(struct drbd_device *device, sector_t sector) in drbd_rs_begin_io()
1018 int drbd_try_rs_begin_io(struct drbd_peer_device *peer_device, sector_t sector) in drbd_try_rs_begin_io()
1141 void drbd_rs_complete_io(struct drbd_device *device, sector_t sector) in drbd_rs_complete_io()
Ddrbd_receiver.c360 drbd_alloc_peer_req(struct drbd_peer_device *peer_device, u64 id, sector_t sector, in drbd_alloc_peer_req()
1640 sector_t sector = peer_req->i.sector; in drbd_submit_peer_request() local
1847 read_in_block(struct drbd_peer_device *peer_device, u64 id, sector_t sector, in read_in_block()
1983 sector_t sector, int data_size) in recv_dless_read()
2040 sector_t sector = peer_req->i.sector; in e_end_resync_block() local
2059 static int recv_resync_read(struct drbd_peer_device *peer_device, sector_t sector, in recv_resync_read()
2101 sector_t sector, bool missing_ok, const char *func) in find_request()
2121 sector_t sector; in receive_DataReply() local
2152 sector_t sector; in receive_RSDataReply() local
2184 sector_t sector, int size) in restart_conflicting_writes()
[all …]
Ddrbd_worker.c356 sector_t sector = peer_req->i.sector; in w_e_send_csum() local
387 static int read_for_csum(struct drbd_peer_device *peer_device, sector_t sector, int size) in read_for_csum()
590 sector_t sector; in make_resync_request() local
769 sector_t sector; in make_ov_request() local
1236 sector_t sector = peer_req->i.sector; in w_e_end_ov_req() local
1277 void drbd_ov_out_of_sync_found(struct drbd_peer_device *peer_device, sector_t sector, int size) in drbd_ov_out_of_sync_found()
1296 sector_t sector = peer_req->i.sector; in w_e_end_ov_reply() local
/linux-6.12.1/fs/btrfs/
Draid56.c952 struct sector_ptr *sector; in sector_in_rbio() local
1124 struct sector_ptr *sector, in rbio_add_io_sector()
1209 struct sector_ptr *sector = &rbio->bio_sectors[index]; in index_one_bio() local
1298 struct sector_ptr *sector; in generate_pq_vertical() local
1362 struct sector_ptr *sector; in rmw_assemble_write_bios() local
1397 struct sector_ptr *sector; in rmw_assemble_write_bios() local
1487 struct sector_ptr *sector = &rbio->stripe_sectors[i]; in find_stripe_sector() local
1508 struct sector_ptr *sector; in set_bio_pages_uptodate() local
1527 struct sector_ptr *sector; in get_bio_sector_nr() local
1792 struct sector_ptr *sector; in verify_one_sector() local
[all …]
/linux-6.12.1/drivers/md/
Ddm-ebs-target.c37 static inline sector_t __sector_to_block(struct ebs_c *ec, sector_t sector) in __sector_to_block()
42 static inline sector_t __block_mod(sector_t sector, unsigned int bs) in __block_mod()
145 sector_t block, blocks, sector = bio->bi_iter.bi_sector; in __ebs_discard_bio() local
169 sector_t blocks, sector = bio->bi_iter.bi_sector; in __ebs_forget_bio() local
Ddm-zone.c20 sector_t sector, unsigned int nr_zones, in dm_blk_do_report_zones()
54 int dm_blk_report_zones(struct gendisk *disk, sector_t sector, in dm_blk_report_zones()
116 int dm_report_zones(struct block_device *bdev, sector_t start, sector_t sector, in dm_report_zones()
454 sector_t sector, unsigned int nr_zones, in dm_zone_get_reset_bitmap()
Draid0.c305 sector_t sector = *sectorp; in find_zone() local
321 sector_t sector, sector_t *sector_offset) in map_sector()
553 sector_t sector = bio_sector; in raid0_map_submit_bio() local
587 sector_t sector; in raid0_make_request() local
Ddm-log-writes.c97 __le64 sector; member
126 sector_t sector; member
214 sector_t sector) in write_metadata()
260 sector_t sector) in write_inline_data()
319 struct pending_block *block, sector_t sector) in log_one_block()
433 sector_t sector = 0; in log_writes_kthread() local
/linux-6.12.1/drivers/scsi/
Dsd_zbc.c222 int sd_zbc_report_zones(struct gendisk *disk, sector_t sector, in sd_zbc_report_zones()
300 sector_t sector = blk_rq_pos(rq); in sd_zbc_cmnd_checks() local
330 sector_t sector = blk_rq_pos(rq); in sd_zbc_setup_zone_mgmt_cmnd() local
/linux-6.12.1/drivers/nvdimm/
Dpmem.c59 static phys_addr_t to_offset(struct pmem_device *pmem, sector_t sector) in to_offset()
89 static void pmem_clear_bb(struct pmem_device *pmem, sector_t sector, long blks) in pmem_clear_bb()
167 sector_t sector, unsigned int len) in pmem_do_read()
183 sector_t sector, unsigned int len) in pmem_do_write()
248 sector_t sector = PFN_PHYS(pgoff) >> SECTOR_SHIFT; in __pmem_direct_access() local
/linux-6.12.1/drivers/mtd/
Drfd_ftl.c240 static int rfd_ftl_readsect(struct mtd_blktrans_dev *dev, u_long sector, char *buf) in rfd_ftl_readsect()
601 static int do_writesect(struct mtd_blktrans_dev *dev, u_long sector, char *buf, ulong *old_addr) in do_writesect()
667 static int rfd_ftl_writesect(struct mtd_blktrans_dev *dev, u_long sector, char *buf) in rfd_ftl_writesect()
709 unsigned long sector, unsigned int nr_sects) in rfd_ftl_discardsect()
/linux-6.12.1/fs/fat/
Dcache.c310 int fat_get_mapped_cluster(struct inode *inode, sector_t sector, in fat_get_mapped_cluster()
333 static int is_exceed_eof(struct inode *inode, sector_t sector, in is_exceed_eof()
358 int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys, in fat_bmap()
/linux-6.12.1/include/uapi/linux/
Dblkzoned.h130 __u64 sector; member
144 __u64 sector; member
/linux-6.12.1/drivers/nvme/target/
Dio-cmd-bdev.c250 sector_t sector; in nvmet_bdev_execute_rw() local
434 sector_t sector; in nvmet_bdev_execute_write_zeroes() local
/linux-6.12.1/drivers/mtd/nand/raw/atmel/
Dpmecc.c105 #define ATMEL_PMECC_ECC(sector, n) \ argument
108 #define ATMEL_PMECC_REM(sector, n) \ argument
429 static void atmel_pmecc_gen_syndrome(struct atmel_pmecc_user *user, int sector) in atmel_pmecc_gen_syndrome()
690 int atmel_pmecc_correct_sector(struct atmel_pmecc_user *user, int sector, in atmel_pmecc_correct_sector()
753 int sector, void *ecc) in atmel_pmecc_get_generated_eccbytes()
/linux-6.12.1/drivers/mtd/devices/
Ddocg3.c418 static void doc_setup_addr_sector(struct docg3 *docg3, int sector) in doc_setup_addr_sector()
433 static void doc_setup_writeaddr_sector(struct docg3 *docg3, int sector, int ofs) in doc_setup_writeaddr_sector()
459 int sector, ret = 0; in doc_read_seek() local
508 int ret = 0, sector; in doc_write_seek() local
835 uint sector, pages_biblock; in calc_block_sector() local
1144 int ret, sector; in doc_erase_block() local

123456