Searched refs:bdev_nr_bytes (Results 1 – 25 of 26) sorted by relevance
12
112 if (start + len > bdev_nr_bytes(bdev)) in blk_ioctl_discard()143 if (start + len > bdev_nr_bytes(bdev)) in blk_ioctl_secure_erase()178 if (end >= (uint64_t)bdev_nr_bytes(bdev)) in blk_ioctl_zeroout()615 return put_u64(argp, bdev_nr_bytes(bdev)); in blkdev_ioctl()675 return put_u64(argp, bdev_nr_bytes(bdev)); in compat_blkdev_ioctl()
649 loff_t size = bdev_nr_bytes(bdev); in blkdev_write_iter()696 loff_t size = bdev_nr_bytes(bdev); in blkdev_read_iter()756 isize = bdev_nr_bytes(bdev); in blkdev_fallocate()
98 ns->size = bdev_nr_bytes(ns->bdev); in nvmet_bdev_ns_enable()119 ns->size = bdev_nr_bytes(ns->bdev); in nvmet_bdev_ns_revalidate()
211 ddev_end = ddev_start + bdev_nr_bytes(mp->m_ddev_targp->bt_bdev) - 1; in xfs_dax_notify_failure()
256 d->len = bdev_nr_bytes(d->bdev); in bl_parse_simple()352 d->len = bdev_nr_bytes(d->bdev); in bl_parse_scsi()
225 bdev_nr_bytes(I_BDEV(psblk_file->f_mapping->host)); in __register_pstore_blk()
201 sbi->direct_inode->i_size = bdev_nr_bytes(sb->s_bdev); in jfs_extendfs()
549 inode->i_size = bdev_nr_bytes(sb->s_bdev); in jfs_fill_super()
136 return div_u64(bdev_nr_bytes(disk->part0), in last_lba()
255 msblk->bytes_used > bdev_nr_bytes(sb->s_bdev)) in squashfs_fill_super()
452 if (buf_size > bdev_nr_bytes(dev->bdev)) { in create_log_context()
2368 wc->memory_map_size = bdev_nr_bytes(wc->ssd_dev->bdev); in writecache_ctr()
594 u64 sb2off, devsize = bdev_nr_bytes(nilfs->ns_bdev); in nilfs_load_super_block()
1110 if (range[1] > bdev_nr_bytes(inode->i_sb->s_bdev)) in nilfs_ioctl_set_alloc_range()
429 devsize = bdev_nr_bytes(sb->s_bdev); in nilfs_resize_fs()
214 devsize = bdev_nr_bytes(sb->s_bdev) >> PAGE_SHIFT; in cramfs_blkdev_read()
242 div_u64(bdev_nr_bytes(ib_dev->ibd_bd), block_size) - 1; in iblock_get_blocks()
286 if (bdev_nr_bytes(bdev) < btrfs_device_get_total_bytes(srcdev)) { in btrfs_init_dev_replace_tgtdev()
1169 new_size = bdev_nr_bytes(device->bdev); in btrfs_ioctl_resize()1210 if (new_size > bdev_nr_bytes(device->bdev)) { in btrfs_ioctl_resize()
1310 if (bytenr + PAGE_SIZE >= bdev_nr_bytes(bdev)) in btrfs_read_disk_super()2688 round_down(bdev_nr_bytes(bdev), fs_info->sectorsize); in btrfs_init_new_device()7029 u64 max_total_bytes = bdev_nr_bytes(device->bdev); in read_one_dev()
3671 if (bytenr + BTRFS_SUPER_INFO_SIZE >= bdev_nr_bytes(bdev)) in btrfs_read_dev_one_super()
770 static inline loff_t bdev_nr_bytes(struct block_device *bdev) in bdev_nr_bytes() function
1185 bdev_nr_bytes(bdev), &boot2); in ntfs_fill_super()
1981 if (bdev_nr_bytes(s->s_bdev) < sb_block_count(rs) * sb_blocksize(rs)) { in reiserfs_fill_super()
991 loff_t sz = bdev_nr_bytes(bdev); in blkdev_max_block()