Home
last modified time | relevance | path

Searched refs:bdev_discard_granularity (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/block/
Dblk-lib.c15 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()
/linux-6.6.21/fs/jfs/
Dioctl.c129 bdev_discard_granularity(sb->s_bdev)); in jfs_ioctl()
/linux-6.6.21/fs/xfs/
Dxfs_discard.c370 bdev_discard_granularity(mp->m_ddev_targp->bt_bdev); in xfs_ioc_trim()
/linux-6.6.21/fs/exfat/
Dfile.c334 bdev_discard_granularity(inode->i_sb->s_bdev)); in exfat_ioctl_fitrim()
/linux-6.6.21/drivers/nvme/target/
Dio-cmd-bdev.c43 id->npdg = to0based(bdev_discard_granularity(bdev) / in nvmet_bdev_set_limits()
/linux-6.6.21/fs/fat/
Dfile.c144 bdev_discard_granularity(sb->s_bdev)); in fat_ioctl_fitrim()
/linux-6.6.21/drivers/block/rnbd/
Drnbd-srv.c549 rsp->discard_granularity = cpu_to_le32(bdev_discard_granularity(bdev)); in rnbd_srv_fill_msg_open_rsp()
/linux-6.6.21/fs/ntfs3/
Dsuper.c1188 if (bdev_max_discard_sectors(bdev) && bdev_discard_granularity(bdev)) { in ntfs_fill_super()
1189 sbi->discard_granularity = bdev_discard_granularity(bdev); in ntfs_fill_super()
Dfile.c39 range.minlen = max_t(u32, range.minlen, bdev_discard_granularity(dev)); in ntfs_ioctl_fitrim()
/linux-6.6.21/fs/ocfs2/
Dioctl.c933 range.minlen = max_t(u64, bdev_discard_granularity(sb->s_bdev), in ocfs2_ioctl()
/linux-6.6.21/fs/nilfs2/
Dioctl.c1068 bdev_discard_granularity(nilfs->ns_bdev)); in nilfs_ioctl_trim_fs()
/linux-6.6.21/drivers/target/
Dtarget_core_device.c814 attrib->unmap_granularity = bdev_discard_granularity(bdev) / block_size; in target_configure_unmap_from_queue()
/linux-6.6.21/drivers/block/xen-blkback/
Dxenbus.c580 bdev_discard_granularity(bdev)); in xen_blkbk_discard()
/linux-6.6.21/include/linux/
Dblkdev.h1209 static inline unsigned int bdev_discard_granularity(struct block_device *bdev) in bdev_discard_granularity() function
/linux-6.6.21/drivers/block/
Dloop.c773 granularity = bdev_discard_granularity(I_BDEV(inode)) ?: in loop_config_discard()
/linux-6.6.21/fs/gfs2/
Drgrp.c1420 minlen = max_t(u64, minlen, bdev_discard_granularity(bdev)) >> bs_shift; in gfs2_fitrim()
/linux-6.6.21/fs/btrfs/
Dioctl.c516 minlen = min_t(u64, bdev_discard_granularity(device->bdev), in btrfs_ioctl_fitrim()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_nl.c1459 unsigned int discard_granularity = bdev_discard_granularity(bdev); in sanitize_disk_conf()
Ddrbd_receiver.c1525 granularity = max(bdev_discard_granularity(bdev) >> 9, 1U); in drbd_issue_discard_or_zero_out()
/linux-6.6.21/fs/f2fs/
Dfile.c2313 bdev_discard_granularity(sb->s_bdev)); in f2fs_ioc_fitrim()
/linux-6.6.21/fs/ext4/
Dmballoc.c7051 unsigned int discard_granularity = bdev_discard_granularity(sb->s_bdev); in ext4_trim_fs()