Searched refs:bdev_logical_block_size (Results 1 – 25 of 47) sorted by relevance
12
50 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in __blkdev_issue_discard()146 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in __blkdev_issue_write_same()163 bio->bi_io_vec->bv_len = bdev_logical_block_size(bdev); in __blkdev_issue_write_same()331 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in __blkdev_issue_zeroout()367 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in blkdev_issue_zeroout()
50 if (p.start & (bdev_logical_block_size(bdev) - 1)) in blkpg_ioctl()552 return put_int(arg, bdev_logical_block_size(bdev)); in blkdev_ioctl()
375 return compat_put_int(arg, bdev_logical_block_size(bdev)); in compat_blkdev_ioctl()
139 bdev_logical_block_size(bdev)) - 1ULL; in last_lba()242 sector_t n = lba * (bdev_logical_block_size(bdev) / 512); in read_lba()312 unsigned ssz = bdev_logical_block_size(state->bdev); in alloc_read_gpt_header()359 bdev_logical_block_size(state->bdev)) { in is_gpt_valid()362 bdev_logical_block_size(state->bdev)); in is_gpt_valid()683 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()
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()
572 lc->sectorsize = bdev_logical_block_size(lc->dev->bdev); in log_writes_ctr()897 limits->logical_block_size = bdev_logical_block_size(lc->dev->bdev); in log_writes_io_hints()
1005 num < bdev_logical_block_size(v->data_dev->bdev) || in verity_ctr()1015 num < bdev_logical_block_size(v->hash_dev->bdev) || in verity_ctr()
324 bdev_logical_block_size(dm_snap_cow(ps->store->snap)-> in read_header()
447 bdev_logical_block_size(lc->header_location. in create_log_context()
108 dev->dev_attrib.hw_block_size = bdev_logical_block_size(bd); in iblock_configure_device()197 bdev_logical_block_size(bd)) - 1); in iblock_emulate_read_cap_with_block_size()198 u32 block_size = bdev_logical_block_size(bd); in iblock_emulate_read_cap_with_block_size()810 return ret / bdev_logical_block_size(bd); in iblock_get_alignment_offset_lbas()817 int logs_per_phys = bdev_physical_block_size(bd) / bdev_logical_block_size(bd); in iblock_get_lbppbe()
18 p_bd->sector_size = bdev_logical_block_size(sb->s_bdev); in bdev_open()
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()215 (bdev_logical_block_size(bdev) - 1)) in __blkdev_direct_IO_simple()353 (bdev_logical_block_size(bdev) - 1)) in __blkdev_direct_IO()2079 if ((start | len) & (bdev_logical_block_size(bdev) - 1)) in blkdev_fallocate()
79 err = set_blocksize(bdev, bdev_logical_block_size(bdev)); in raw_open()
604 int hw_blocksize = bdev_logical_block_size(sb->s_bdev); in init_nilfs()667 bdev_logical_block_size(nilfs->ns_bdev); in nilfs_discard_segments()
66 ns->blksize_shift = blksize_bits(bdev_logical_block_size(ns->bdev)); in nvmet_bdev_ns_enable()
1728 btp->bt_logical_sectorsize = bdev_logical_block_size(btp->bt_bdev); in xfs_setsize_buftarg()1729 btp->bt_logical_sectormask = bdev_logical_block_size(btp->bt_bdev) - 1; in xfs_setsize_buftarg()1744 return xfs_setsize_buftarg(btp, bdev_logical_block_size(bdev)); in xfs_setsize_buftarg_early()
235 blksize = bdev_logical_block_size(inode->i_bdev); in fsg_lun_open()
307 return max_t(unsigned short, bdev_logical_block_size(sb->s_bdev), in hfsplus_min_io_size()
201 unsigned int blkbits = blksize_bits(bdev_logical_block_size(iomap->bdev)); in iomap_dio_bio_actor()
398 i = bdev_logical_block_size(sb->s_bdev); in affs_fill_super()
655 if (bdev_logical_block_size(s->s_bdev) > 2048) { in isofs_fill_super()658 bdev_logical_block_size(s->s_bdev)); in isofs_fill_super()
484 if (sdp->sd_sb.sb_bsize < bdev_logical_block_size(sb->s_bdev)) { in init_sb()488 sdp->sd_sb.sb_bsize, bdev_logical_block_size(sb->s_bdev)); in init_sb()