Searched refs:bdev_discard_granularity (Results 1 – 21 of 21) sorted by relevance
15 unsigned int discard_granularity = bdev_discard_granularity(bdev); in bio_discard_limit()50 if (WARN_ON_ONCE(!bdev_discard_granularity(bdev))) { in __blkdev_issue_discard()
129 bdev_discard_granularity(sb->s_bdev)); in jfs_ioctl()
156 bdev_discard_granularity(mp->m_ddev_targp->bt_bdev); in xfs_ioc_trim()
337 bdev_discard_granularity(inode->i_sb->s_bdev)); in exfat_ioctl_fitrim()
43 id->npdg = to0based(bdev_discard_granularity(bdev) / in nvmet_bdev_set_limits()
144 bdev_discard_granularity(sb->s_bdev)); in fat_ioctl_fitrim()
928 if (bdev_max_discard_sectors(bdev) && bdev_discard_granularity(bdev)) { in ntfs_fill_super()929 sbi->discard_granularity = bdev_discard_granularity(bdev); in ntfs_fill_super()
38 bdev_discard_granularity(sbi->sb->s_bdev)); in ntfs_ioctl_fitrim()
551 rsp->discard_granularity = cpu_to_le32(bdev_discard_granularity(bdev)); in rnbd_srv_fill_msg_open_rsp()
918 range.minlen = max_t(u64, bdev_discard_granularity(sb->s_bdev), in ocfs2_ioctl()
1068 bdev_discard_granularity(nilfs->ns_bdev)); in nilfs_ioctl_trim_fs()
582 bdev_discard_granularity(bdev)); in xen_blkbk_discard()
858 attrib->unmap_granularity = bdev_discard_granularity(bdev) / block_size; in target_configure_unmap_from_queue()
1240 static inline unsigned int bdev_discard_granularity(struct block_device *bdev) in bdev_discard_granularity() function
775 granularity = bdev_discard_granularity(I_BDEV(inode)) ?: in loop_config_discard()
1420 minlen = max_t(u64, minlen, bdev_discard_granularity(bdev)) >> bs_shift; in gfs2_fitrim()
1445 unsigned int discard_granularity = bdev_discard_granularity(bdev); in sanitize_disk_conf()
1523 granularity = max(bdev_discard_granularity(bdev) >> 9, 1U); in drbd_issue_discard_or_zero_out()
2283 bdev_discard_granularity(sb->s_bdev)); in f2fs_ioc_fitrim()
503 minlen = min_t(u64, bdev_discard_granularity(device->bdev), in btrfs_ioctl_fitrim()
6474 unsigned int discard_granularity = bdev_discard_granularity(sb->s_bdev); in ext4_trim_fs()