Searched refs:bdev_discard_granularity (Results 1 – 19 of 19) sorted by relevance
129 bdev_discard_granularity(sb->s_bdev)); in jfs_ioctl()
837 bdev_discard_granularity(mp->m_ddev_targp->bt_bdev); in xfs_ioc_trim()855 bdev_discard_granularity(rt_bdev)); in xfs_ioc_trim()
15 unsigned int discard_granularity = bdev_discard_granularity(bdev); in bio_discard_limit()
43 id->npdg = to0based(bdev_discard_granularity(bdev) / in nvmet_bdev_set_limits()
144 bdev_discard_granularity(sb->s_bdev)); in fat_ioctl_fitrim()
464 bdev_discard_granularity(inode->i_sb->s_bdev)); in exfat_ioctl_fitrim()
1195 if (bdev_max_discard_sectors(bdev) && bdev_discard_granularity(bdev)) { in ntfs_fill_super()1196 sbi->discard_granularity = bdev_discard_granularity(bdev); in ntfs_fill_super()
40 range.minlen = max_t(u32, range.minlen, bdev_discard_granularity(dev)); in ntfs_ioctl_fitrim()
557 rsp->discard_granularity = cpu_to_le32(bdev_discard_granularity(bdev)); in rnbd_srv_fill_msg_open_rsp()
1080 bdev_discard_granularity(nilfs->ns_bdev)); in nilfs_ioctl_trim_fs()
814 attrib->unmap_granularity = bdev_discard_granularity(bdev) / block_size; in target_configure_unmap_from_queue()
580 bdev_discard_granularity(bdev)); in xen_blkbk_discard()
1301 static inline unsigned int bdev_discard_granularity(struct block_device *bdev) in bdev_discard_granularity() function
791 *granularity = bdev_discard_granularity(bdev); in loop_get_discard_config()
1451 unsigned int discard_granularity = bdev_discard_granularity(bdev); in sanitize_disk_conf()
1525 granularity = max(bdev_discard_granularity(bdev) >> 9, 1U); in drbd_issue_discard_or_zero_out()
2454 bdev_discard_granularity(sb->s_bdev)); in f2fs_ioc_fitrim()
527 minlen = min_t(u64, bdev_discard_granularity(device->bdev), in btrfs_ioctl_fitrim()
6909 unsigned int discard_granularity = bdev_discard_granularity(sb->s_bdev); in ext4_trim_fs()