Searched refs:bdev_logical_block_size (Results 1 – 25 of 49) sorted by relevance
12
58 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in __blkdev_issue_discard()227 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in __blkdev_issue_zeroout()263 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in blkdev_issue_zeroout()308 sector_t bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in blkdev_issue_secure_erase()
58 (bdev_logical_block_size(bdev) - 1)) in __blkdev_direct_IO_simple()177 (bdev_logical_block_size(bdev) - 1)) in __blkdev_direct_IO()302 (bdev_logical_block_size(bdev) - 1)) in __blkdev_direct_IO_async()634 if ((start | len) & (bdev_logical_block_size(bdev) - 1)) in blkdev_fallocate()
42 if (p.start & (bdev_logical_block_size(bdev) - 1)) in blkpg_do_ioctl()502 return put_int(argp, bdev_logical_block_size(bdev)); in blkdev_common_ioctl()664 return put_int(argp, bdev_logical_block_size(bdev)); in compat_blkdev_ioctl()
128 unsigned int bsize = bdev_logical_block_size(bdev); in set_init_blocksize()146 if (size < bdev_logical_block_size(bdev)) in set_blocksize()175 int minsize = bdev_logical_block_size(sb->s_bdev); in sb_min_blocksize()
172 (bdev_logical_block_size(dm_snap_cow(store->snap)->bdev) >> 9) || in dm_exception_store_set_chunk_size()174 (bdev_logical_block_size(dm_snap_origin(store->snap)->bdev) >> 9)) { in dm_exception_store_set_chunk_size()
549 lc->sectorsize = bdev_logical_block_size(lc->dev->bdev); in log_writes_ctr()875 limits->logical_block_size = bdev_logical_block_size(lc->dev->bdev); in log_writes_io_hints()
300 ec->u_bs = to_sector(bdev_logical_block_size(ec->dev->bdev)); in ebs_ctr()
1110 num < bdev_logical_block_size(v->data_dev->bdev) || in verity_ctr()1120 num < bdev_logical_block_size(v->hash_dev->bdev) || in verity_ctr()
446 bdev_logical_block_size(lc->header_location. in create_log_context()
317 bdev_logical_block_size(dm_snap_cow(ps->store->snap)-> in read_header()
1656 if (region_size % (bdev_logical_block_size(clone->source_dev->bdev) >> 9) || in parse_region_size()1657 region_size % (bdev_logical_block_size(clone->dest_dev->bdev) >> 9)) { in parse_region_size()
118 dev->dev_attrib.hw_block_size = bdev_logical_block_size(bd); in iblock_configure_device()234 u32 block_size = bdev_logical_block_size(bd); in iblock_emulate_read_cap_with_block_size()848 return ret / bdev_logical_block_size(bd); in iblock_get_alignment_offset_lbas()856 bdev_physical_block_size(bd) / bdev_logical_block_size(bd); in iblock_get_lbppbe()
599 int hw_blocksize = bdev_logical_block_size(sb->s_bdev); in init_nilfs()662 bdev_logical_block_size(nilfs->ns_bdev); in nilfs_discard_segments()
309 blocksize = bdev_logical_block_size(bdev); in ibm_partition()
235 blksize = bdev_logical_block_size(I_BDEV(inode)); in fsg_lun_open()
1936 btp->bt_logical_sectorsize = bdev_logical_block_size(btp->bt_bdev); in xfs_setsize_buftarg()1937 btp->bt_logical_sectormask = bdev_logical_block_size(btp->bt_bdev) - 1; in xfs_setsize_buftarg()1952 return xfs_setsize_buftarg(btp, bdev_logical_block_size(bdev)); in xfs_setsize_buftarg_early()
100 ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); in nvmet_bdev_ns_enable()
68 ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); in nvmet_bdev_zns_enable()
378 blksize_mask = (1 << ilog2(bdev_logical_block_size(bdev))) - 1; in erofs_prepare_dio()
307 return max_t(unsigned short, bdev_logical_block_size(sb->s_bdev), in hfsplus_min_io_size()
652 if (bdev_logical_block_size(s->s_bdev) > 2048) { in isofs_fill_super()655 bdev_logical_block_size(s->s_bdev)); in isofs_fill_super()
243 unsigned int blkbits = blksize_bits(bdev_logical_block_size(iomap->bdev)); in iomap_dio_bio_iter()
398 i = bdev_logical_block_size(sb->s_bdev); in affs_fill_super()
544 cpu_to_le16(bdev_logical_block_size(rnbd_dev->bdev)); in rnbd_srv_fill_msg_open_rsp()
507 if (sdp->sd_sb.sb_bsize < bdev_logical_block_size(sb->s_bdev)) { in init_sb()511 sdp->sd_sb.sb_bsize, bdev_logical_block_size(sb->s_bdev)); in init_sb()