/fs/fat/ |
D | cache.c | 310 int fat_get_mapped_cluster(struct inode *inode, sector_t sector, in fat_get_mapped_cluster() argument 318 cluster = sector >> (sbi->cluster_bits - sb->s_blocksize_bits); in fat_get_mapped_cluster() 319 offset = sector & (sbi->sec_per_clus - 1); in fat_get_mapped_cluster() 326 if (*mapped_blocks > last_block - sector) in fat_get_mapped_cluster() 327 *mapped_blocks = last_block - sector; in fat_get_mapped_cluster() 333 static int is_exceed_eof(struct inode *inode, sector_t sector, in is_exceed_eof() argument 341 if (sector >= *last_block) { in is_exceed_eof() 351 if (sector >= *last_block) in is_exceed_eof() 358 int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys, in fat_bmap() argument 367 if (sector < (sbi->dir_entries >> sbi->dir_per_block_bits)) { in fat_bmap() [all …]
|
D | fat.h | 317 extern int fat_get_mapped_cluster(struct inode *inode, sector_t sector, 320 extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys,
|
/fs/hfsplus/ |
D | wrapper.c | 48 int hfsplus_submit_bio(struct super_block *sb, sector_t sector, in hfsplus_submit_bio() argument 63 start = (loff_t)sector << HFSPLUS_SECTOR_SHIFT; in hfsplus_submit_bio() 65 sector &= ~((io_size >> HFSPLUS_SECTOR_SHIFT) - 1); in hfsplus_submit_bio() 68 bio->bi_iter.bi_sector = sector; in hfsplus_submit_bio()
|
D | extents.c | 233 sector_t sector; in hfsplus_get_block() local 282 sector = ((sector_t)dblock << sbi->fs_shift) + in hfsplus_get_block() 284 map_bh(bh_result, sb, sector); in hfsplus_get_block()
|
D | hfsplus_fs.h | 532 int hfsplus_submit_bio(struct super_block *sb, sector_t sector, void *buf,
|
/fs/xfs/ |
D | xfs_bio_io.c | 15 sector_t sector, in xfs_rw_bdev() argument 31 bio->bi_iter.bi_sector = sector; in xfs_rw_bdev()
|
D | xfs_aops.c | 700 sector_t sector, in xfs_alloc_ioend() argument 708 bio->bi_iter.bi_sector = sector; in xfs_alloc_ioend() 770 sector_t sector; in xfs_add_to_ioend() local 772 sector = xfs_fsb_to_db(ip, wpc->imap.br_startblock) + in xfs_add_to_ioend() 778 sector != bio_end_sector(wpc->ioend->io_bio) || in xfs_add_to_ioend() 783 wpc->imap.br_state, offset, bdev, sector, wbc); in xfs_add_to_ioend()
|
D | xfs_linux.h | 222 int xfs_rw_bdev(struct block_device *bdev, sector_t sector, unsigned int count,
|
D | xfs_buf.c | 1271 sector_t sector = bp->b_maps[map].bm_bn; in xfs_buf_ioapply_map() local 1297 bio->bi_iter.bi_sector = sector; in xfs_buf_ioapply_map() 1314 sector += BTOBB(nbytes); in xfs_buf_ioapply_map()
|
D | xfs_bmap_util.c | 61 xfs_daddr_t sector = xfs_fsb_to_db(ip, start_fsb); in xfs_zero_extent() local 62 sector_t block = XFS_BB_TO_FSBT(mp, sector); in xfs_zero_extent()
|
/fs/ |
D | dax.c | 684 sector_t sector, size_t size, struct page *to, in copy_user_dax() argument 692 rc = bdev_dax_pgoff(bdev, sector, size, &pgoff); in copy_user_dax() 994 const sector_t sector = dax_iomap_sector(iomap, pos); in dax_iomap_pfn() local 999 rc = bdev_dax_pgoff(iomap->bdev, sector, size, &pgoff); in dax_iomap_pfn() 1061 struct dax_device *dax_dev, sector_t sector, in __dax_zero_page_range() argument 1065 sector_t start_sector = sector + (offset >> 9); in __dax_zero_page_range() 1074 rc = bdev_dax_pgoff(bdev, sector, PAGE_SIZE, &pgoff); in __dax_zero_page_range() 1131 const sector_t sector = dax_iomap_sector(iomap, pos); in dax_iomap_actor() local 1141 ret = bdev_dax_pgoff(bdev, sector, size, &pgoff); in dax_iomap_actor() 1309 sector_t sector = dax_iomap_sector(&iomap, pos); in dax_iomap_pte_fault() local [all …]
|
D | direct-io.c | 732 sector_t sector; in dio_new_bio() local 738 sector = start_sector << (sdio->blkbits - 9); in dio_new_bio() 741 dio_bio_alloc(dio, sdio, map_bh->b_bdev, sector, nr_pages); in dio_new_bio()
|
D | block_dev.c | 699 int bdev_read_page(struct block_device *bdev, sector_t sector, in bdev_read_page() argument 711 result = ops->rw_page(bdev, sector + get_start_sect(bdev), page, in bdev_read_page() 737 int bdev_write_page(struct block_device *bdev, sector_t sector, in bdev_write_page() argument 750 result = ops->rw_page(bdev, sector + get_start_sect(bdev), page, in bdev_write_page()
|
/fs/udf/ |
D | super.c | 703 loff_t sector = VSD_FIRST_SECTOR_OFFSET; in udf_check_vsd() local 715 sector += (((loff_t)sbi->s_session) << sb->s_blocksize_bits); in udf_check_vsd() 718 (unsigned int)(sector >> sb->s_blocksize_bits), in udf_check_vsd() 730 for (; !nsr && sector < VSD_MAX_SECTOR_OFFSET; sector += sectorsize) { in udf_check_vsd() 732 bh = udf_tread(sb, sector >> sb->s_blocksize_bits); in udf_check_vsd() 737 (sector & (sb->s_blocksize - 1))); in udf_check_vsd() 760 else if (!bh && sector - (sbi->s_session << sb->s_blocksize_bits) == in udf_check_vsd()
|
/fs/iomap/ |
D | buffered-io.c | 216 sector_t sector; in iomap_readpage_actor() local 240 sector = iomap_sector(iomap, pos); in iomap_readpage_actor() 241 if (ctx->bio && bio_end_sector(ctx->bio) == sector) in iomap_readpage_actor() 272 ctx->bio->bi_iter.bi_sector = sector; in iomap_readpage_actor()
|
/fs/btrfs/ |
D | extent_io.c | 2182 u64 sector; in repair_io_failure() local 2225 sector = bbio->stripes[bbio->mirror_num - 1].physical >> 9; in repair_io_failure() 2226 bio->bi_iter.bi_sector = sector; in repair_io_failure() 2250 rcu_str_deref(dev->name), sector); in repair_io_failure() 2945 sector_t sector = offset >> 9; in submit_extent_page() local 2955 contig = bio->bi_iter.bi_sector == sector; in submit_extent_page() 2957 contig = bio_end_sector(bio) == sector; in submit_extent_page()
|
/fs/gfs2/ |
D | ops_fstype.c | 236 static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector, int silent) in gfs2_read_super() argument 252 bio->bi_iter.bi_sector = sector * (sb->s_blocksize >> 9); in gfs2_read_super()
|
/fs/f2fs/ |
D | segment.c | 1757 sector_t sector, nr_sects; in __f2fs_issue_discard_zone() local 1773 sector = SECTOR_FROM_BLOCK(blkstart); in __f2fs_issue_discard_zone() 1776 if (sector & (bdev_zone_sectors(bdev) - 1) || in __f2fs_issue_discard_zone() 1785 sector, nr_sects, GFP_NOFS); in __f2fs_issue_discard_zone()
|
/fs/befs/ |
D | ChangeLog | 244 * Fixed a problem with reading the superblock on devices with large sector
|