Home
last modified time | relevance | path

Searched refs:bdev_logical_block_size (Results 1 – 25 of 27) sorted by relevance

12

/linux-4.19.296/block/
Dblk-lib.c51 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()
Dioctl.c49 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()
Dcompat_ioctl.c378 return compat_put_int(arg, bdev_logical_block_size(bdev)); in compat_blkdev_ioctl()
/linux-4.19.296/block/partitions/
Defi.c153 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()
Datari.c50 if (bdev_logical_block_size(state->bdev) != 512) in atari_partition()
Dmsdos.c129 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()
Dibm.c303 blocksize = bdev_logical_block_size(bdev); in ibm_partition()
/linux-4.19.296/fs/
Dblock_dev.c109 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()
Ddirect-io.c1198 blkbits = blksize_bits(bdev_logical_block_size(bdev)); in do_blockdev_direct_IO()
Dbuffer.c1025 if (unlikely(size & (bdev_logical_block_size(bdev)-1) || in __getblk_slow()
1030 bdev_logical_block_size(bdev)); in __getblk_slow()
Ddax.c1145 unsigned short sector_size = bdev_logical_block_size(bdev); in dax_range_is_aligned()
Diomap.c1618 unsigned int blkbits = blksize_bits(bdev_logical_block_size(iomap->bdev)); in iomap_dio_bio_actor()
/linux-4.19.296/drivers/char/
Draw.c78 err = set_blocksize(bdev, bdev_logical_block_size(bdev)); in raw_open()
/linux-4.19.296/fs/nilfs2/
Dthe_nilfs.c681 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()
Dsufile.c1048 bdev_logical_block_size(nilfs->ns_bdev); in nilfs_sufile_trim_fs()
/linux-4.19.296/fs/xfs/
Dxfs_buf.c1800 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()
/linux-4.19.296/fs/hfsplus/
Dhfsplus_fs.h309 return max_t(unsigned short, bdev_logical_block_size(sb->s_bdev), in hfsplus_min_io_size()
/linux-4.19.296/fs/affs/
Dsuper.c399 i = bdev_logical_block_size(sb->s_bdev); in affs_fill_super()
/linux-4.19.296/fs/isofs/
Dinode.c658 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()
/linux-4.19.296/fs/gfs2/
Dops_fstype.c485 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()
/linux-4.19.296/fs/ntfs/
Dsuper.c2767 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()
/linux-4.19.296/include/linux/
Dblkdev.h1496 static inline unsigned int bdev_logical_block_size(struct block_device *bdev) in bdev_logical_block_size() function
/linux-4.19.296/fs/ocfs2/cluster/
Dheartbeat.c1881 sectsize = bdev_logical_block_size(reg->hr_bdev); in o2hb_region_dev_store()
/linux-4.19.296/fs/ocfs2/
Dsuper.c767 *sector_size = bdev_logical_block_size(sb->s_bdev); in ocfs2_sb_probe()
/linux-4.19.296/fs/udf/
Dsuper.c2192 uopt.blocksize = bdev_logical_block_size(sb->s_bdev); in udf_fill_super()

12