Home
last modified time | relevance | path

Searched refs:sector_t (Results 1 – 25 of 32) sorted by relevance

12

/include/linux/
Ddm-bufio.h47 void dm_bufio_set_sector_offset(struct dm_bufio_client *c, sector_t start);
63 void *dm_bufio_read(struct dm_bufio_client *c, sector_t block,
70 void *dm_bufio_get(struct dm_bufio_client *c, sector_t block,
77 void *dm_bufio_new(struct dm_bufio_client *c, sector_t block,
86 sector_t block, unsigned int n_blocks);
132 int dm_bufio_issue_discard(struct dm_bufio_client *c, sector_t block, sector_t count);
138 void dm_bufio_release_move(struct dm_buffer *b, sector_t new_block);
145 void dm_bufio_forget(struct dm_bufio_client *c, sector_t block);
152 void dm_bufio_forget_buffers(struct dm_bufio_client *c, sector_t block, sector_t n_blocks);
160 sector_t dm_bufio_get_device_size(struct dm_bufio_client *c);
[all …]
Dbadblocks.h40 sector_t sector;
41 sector_t size; /* in sectors */
44 int badblocks_check(struct badblocks *bb, sector_t s, int sectors,
45 sector_t *first_bad, int *bad_sectors);
46 int badblocks_set(struct badblocks *bb, sector_t s, int sectors,
48 int badblocks_clear(struct badblocks *bb, sector_t s, int sectors);
Dbuffer_head.h66 sector_t b_blocknr; /* start block number */
211 void clean_bdev_aliases(struct block_device *bdev, sector_t block,
212 sector_t len);
221 struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block,
223 struct buffer_head *__getblk_gfp(struct block_device *bdev, sector_t block,
227 void __breadahead(struct block_device *, sector_t block, unsigned int size);
229 sector_t block, unsigned size, gfp_t gfp);
242 sector_t bblock, unsigned blocksize);
293 sector_t generic_block_bmap(struct address_space *, sector_t, get_block_t *);
336 sb_bread(struct super_block *sb, sector_t block) in sb_bread()
[all …]
Ddevice-mapper.h123 sector_t start, sector_t len,
306 sector_t begin;
307 sector_t len;
498 sector_t next_sector;
505 sector_t start;
507 int dm_report_zones(struct block_device *bdev, sector_t start, sector_t sector,
541 sector_t start, sector_t len, char *params);
564 int __must_check dm_set_target_max_io_len(struct dm_target *ti, sector_t len);
576 sector_t dm_table_get_size(struct dm_table *t);
661 sector_t _r = ((n) + (sz) - 1); \
[all …]
Dblkdev.h348 int blkdev_report_zones(struct block_device *bdev, sector_t sector,
352 sector_t sectors, sector_t nr_sectors,
401 sector_t sector;
402 sector_t nr_sectors;
699 static inline unsigned int disk_zone_no(struct gendisk *disk, sector_t sector) in disk_zone_no()
706 static inline bool disk_zone_is_seq(struct gendisk *disk, sector_t sector) in disk_zone_is_seq()
742 static inline bool disk_zone_is_seq(struct gendisk *disk, sector_t sector) in disk_zone_is_seq()
746 static inline unsigned int disk_zone_no(struct gendisk *disk, sector_t sector) in disk_zone_no()
801 bool set_capacity_and_notify(struct gendisk *disk, sector_t size);
807 static inline sector_t get_start_sect(struct block_device *bdev) in get_start_sect()
[all …]
Ddm-region-hash.h40 sector_t target_begin, unsigned int max_recovery,
51 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region);
57 sector_t dm_rh_get_region_size(struct dm_region_hash *rh);
Ddm-io.h20 sector_t sector;
21 sector_t count; /* If this is zero the region is ignored. */
Dpktcdvd.h73 sector_t last_write; /* The sector where the last write ended */
120 sector_t sector; /* First sector in this packet */
180 sector_t current_sector; /* Keep track of where the elevator is */
Diomap.h97 static inline sector_t iomap_sector(const struct iomap *iomap, loff_t pos) in iomap_sector()
254 sector_t iomap_bmap(struct address_space *mapping, sector_t bno,
268 sector_t io_sector; /* start sector of ioend */
373 struct file *swap_file, sector_t *pagespan,
Dswap.h192 sector_t start_block;
465 unsigned long nr_pages, sector_t start_block);
467 sector_t *);
507 int swap_type_of(dev_t device, sector_t offset);
510 extern sector_t swapdev_block(int, pgoff_t);
520 sector_t swap_page_sector(struct page *page);
521 extern sector_t alloc_swapdev_block(int swap);
620 unsigned long nr_pages, sector_t start_block) in add_swap_extent()
Dblktrace_api.h115 static inline sector_t blk_rq_trace_sector(struct request *rq) in blk_rq_trace_sector()
121 if (blk_rq_is_passthrough(rq) || blk_rq_pos(rq) == (sector_t)-1) in blk_rq_trace_sector()
Dblk_types.h42 sector_t bd_start_sect;
43 sector_t bd_nr_sectors;
230 static inline sector_t bio_issue_size(struct bio_issue *issue) in bio_issue_size()
236 sector_t size) in bio_issue_init()
Ddm-dirty-log.h18 typedef sector_t region_t;
Dblk-integrity.h19 sector_t seed;
Ddax.h35 sector_t, sector_t);
Dtypes.h125 typedef u64 sector_t; typedef
Dbio.h365 static inline sector_t bip_get_seed(struct bio_integrity_payload *bip) in bip_get_seed()
371 sector_t seed) in bip_set_seed()
378 void bio_trim(struct bio *bio, sector_t offset, sector_t size);
Dbvec.h54 sector_t bi_sector; /* device address in 512 byte
Dfscrypt.h371 sector_t pblk, unsigned int len);
661 sector_t pblk, unsigned int len) in fscrypt_zeroout_range()
/include/target/
Dtarget_core_backend.h49 sector_t (*get_blocks)(struct se_device *);
50 sector_t (*get_alignment_offset_lbas)(struct se_device *);
71 sector_t lba, sector_t nolb);
92 sector_t sbc_get_write_same_sectors(struct se_cmd *cmd);
94 sense_reason_t sbc_dif_verify(struct se_cmd *, sector_t, unsigned int,
119 sector_t target_to_linux_sector(struct se_device *dev, sector_t lb);
/include/scsi/
Dscsicam.h16 int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip);
17 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
Dscsi_cmnd.h224 static inline sector_t scsi_get_sector(struct scsi_cmnd *scmd) in scsi_get_sector()
229 static inline sector_t scsi_get_lba(struct scsi_cmnd *scmd) in scsi_get_lba()
/include/trace/events/
Dblock.h23 __field( sector_t, sector )
81 __field( sector_t, sector )
111 __field( sector_t, sector )
178 __field( sector_t, sector )
264 __field( sector_t, sector )
292 __field( sector_t, sector )
449 __field( sector_t, sector )
450 __field( sector_t, new_sector )
481 TP_PROTO(struct bio *bio, dev_t dev, sector_t from),
487 __field( sector_t, sector )
[all …]
Dbcache.h18 __field(sector_t, sector )
96 __field(sector_t, sector )
129 __field(sector_t, sector )
159 __field(sector_t, sector )
230 __field(sector_t, sector )
Df2fs.h1106 __field(sector_t, sector)
2135 TP_PROTO(struct inode *inode, sector_t lblock, sector_t pblock),
2142 __field(sector_t, lblock)
2143 __field(sector_t, pblock)
2161 TP_PROTO(struct inode *inode, sector_t lblock, sector_t pblock,
2169 __field(sector_t, lblock)
2170 __field(sector_t, pblock)

12