Searched refs:bdev_logical_block_size (Results 1 – 25 of 27) sorted by relevance
12
51 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in __blkdev_issue_discard()147 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in __blkdev_issue_write_same()164 bio->bi_io_vec->bv_len = bdev_logical_block_size(bdev); in __blkdev_issue_write_same()332 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in __blkdev_issue_zeroout()368 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in blkdev_issue_zeroout()
49 if (p.start & (bdev_logical_block_size(bdev) - 1)) in blkpg_ioctl()547 return put_int(arg, bdev_logical_block_size(bdev)); in blkdev_ioctl()
378 return compat_put_int(arg, bdev_logical_block_size(bdev)); in compat_blkdev_ioctl()
153 bdev_logical_block_size(bdev)) - 1ULL; in last_lba()256 sector_t n = lba * (bdev_logical_block_size(bdev) / 512); in read_lba()326 unsigned ssz = bdev_logical_block_size(state->bdev); in alloc_read_gpt_header()373 bdev_logical_block_size(state->bdev)) { in is_gpt_valid()376 bdev_logical_block_size(state->bdev)); in is_gpt_valid()697 unsigned ssz = bdev_logical_block_size(state->bdev) / 512; in efi_partition()
50 if (bdev_logical_block_size(state->bdev) != 512) in atari_partition()
129 sector_t sector_size = bdev_logical_block_size(state->bdev) / 512; in parse_extended()454 sector_t sector_size = bdev_logical_block_size(state->bdev) / 512; in msdos_partition()
303 blocksize = bdev_logical_block_size(bdev); in ibm_partition()
109 unsigned bsize = bdev_logical_block_size(bdev); in set_init_blocksize()128 if (size < bdev_logical_block_size(bdev)) in set_blocksize()158 int minsize = bdev_logical_block_size(sb->s_bdev); in sb_min_blocksize()216 (bdev_logical_block_size(bdev) - 1)) in __blkdev_direct_IO_simple()351 (bdev_logical_block_size(bdev) - 1)) in __blkdev_direct_IO()2041 if ((start | len) & (bdev_logical_block_size(bdev) - 1)) in blkdev_fallocate()
1198 blkbits = blksize_bits(bdev_logical_block_size(bdev)); in do_blockdev_direct_IO()
1025 if (unlikely(size & (bdev_logical_block_size(bdev)-1) || in __getblk_slow()1030 bdev_logical_block_size(bdev)); in __getblk_slow()
1145 unsigned short sector_size = bdev_logical_block_size(bdev); in dax_range_is_aligned()
1618 unsigned int blkbits = blksize_bits(bdev_logical_block_size(iomap->bdev)); in iomap_dio_bio_actor()
78 err = set_blocksize(bdev, bdev_logical_block_size(bdev)); in raw_open()
681 int hw_blocksize = bdev_logical_block_size(sb->s_bdev); in init_nilfs()740 bdev_logical_block_size(nilfs->ns_bdev); in nilfs_discard_segments()
1048 bdev_logical_block_size(nilfs->ns_bdev); in nilfs_sufile_trim_fs()
1800 btp->bt_logical_sectorsize = bdev_logical_block_size(btp->bt_bdev); in xfs_setsize_buftarg()1801 btp->bt_logical_sectormask = bdev_logical_block_size(btp->bt_bdev) - 1; in xfs_setsize_buftarg()1816 return xfs_setsize_buftarg(btp, bdev_logical_block_size(bdev)); in xfs_setsize_buftarg_early()
309 return max_t(unsigned short, bdev_logical_block_size(sb->s_bdev), in hfsplus_min_io_size()
399 i = bdev_logical_block_size(sb->s_bdev); in affs_fill_super()
658 if (bdev_logical_block_size(s->s_bdev) > 2048) { in isofs_fill_super()661 bdev_logical_block_size(s->s_bdev)); in isofs_fill_super()
485 if (sdp->sd_sb.sb_bsize < bdev_logical_block_size(sb->s_bdev)) { in init_sb()489 sdp->sd_sb.sb_bsize, bdev_logical_block_size(sb->s_bdev)); in init_sb()
2767 if (bdev_logical_block_size(sb->s_bdev) > PAGE_SIZE) { in ntfs_fill_super()2773 bdev_logical_block_size(sb->s_bdev), in ntfs_fill_super()
1496 static inline unsigned int bdev_logical_block_size(struct block_device *bdev) in bdev_logical_block_size() function
1881 sectsize = bdev_logical_block_size(reg->hr_bdev); in o2hb_region_dev_store()
767 *sector_size = bdev_logical_block_size(sb->s_bdev); in ocfs2_sb_probe()
2192 uopt.blocksize = bdev_logical_block_size(sb->s_bdev); in udf_fill_super()