Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/fs/jfs/
Dioctl.c129 bdev_discard_granularity(sb->s_bdev)); in jfs_ioctl()
/linux-6.1.9/fs/xfs/
Dxfs_discard.c156 bdev_discard_granularity(mp->m_ddev_targp->bt_bdev); in xfs_ioc_trim()
/linux-6.1.9/fs/exfat/
Dfile.c337 bdev_discard_granularity(inode->i_sb->s_bdev)); in exfat_ioctl_fitrim()
/linux-6.1.9/drivers/nvme/target/
Dio-cmd-bdev.c43 id->npdg = to0based(bdev_discard_granularity(bdev) / in nvmet_bdev_set_limits()
/linux-6.1.9/fs/fat/
Dfile.c144 bdev_discard_granularity(sb->s_bdev)); in fat_ioctl_fitrim()
/linux-6.1.9/fs/ntfs3/
Dsuper.c928 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()
Dfile.c38 bdev_discard_granularity(sbi->sb->s_bdev)); in ntfs_ioctl_fitrim()
/linux-6.1.9/drivers/block/rnbd/
Drnbd-srv.c551 rsp->discard_granularity = cpu_to_le32(bdev_discard_granularity(bdev)); in rnbd_srv_fill_msg_open_rsp()
/linux-6.1.9/fs/ocfs2/
Dioctl.c918 range.minlen = max_t(u64, bdev_discard_granularity(sb->s_bdev), in ocfs2_ioctl()
/linux-6.1.9/fs/nilfs2/
Dioctl.c1068 bdev_discard_granularity(nilfs->ns_bdev)); in nilfs_ioctl_trim_fs()
/linux-6.1.9/drivers/block/xen-blkback/
Dxenbus.c582 bdev_discard_granularity(bdev)); in xen_blkbk_discard()
/linux-6.1.9/drivers/target/
Dtarget_core_device.c858 attrib->unmap_granularity = bdev_discard_granularity(bdev) / block_size; in target_configure_unmap_from_queue()
/linux-6.1.9/include/linux/
Dblkdev.h1240 static inline unsigned int bdev_discard_granularity(struct block_device *bdev) in bdev_discard_granularity() function
/linux-6.1.9/drivers/block/
Dloop.c775 granularity = bdev_discard_granularity(I_BDEV(inode)) ?: in loop_config_discard()
/linux-6.1.9/fs/gfs2/
Drgrp.c1420 minlen = max_t(u64, minlen, bdev_discard_granularity(bdev)) >> bs_shift; in gfs2_fitrim()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_nl.c1445 unsigned int discard_granularity = bdev_discard_granularity(bdev); in sanitize_disk_conf()
Ddrbd_receiver.c1523 granularity = max(bdev_discard_granularity(bdev) >> 9, 1U); in drbd_issue_discard_or_zero_out()
/linux-6.1.9/fs/f2fs/
Dfile.c2283 bdev_discard_granularity(sb->s_bdev)); in f2fs_ioc_fitrim()
/linux-6.1.9/fs/btrfs/
Dioctl.c503 minlen = min_t(u64, bdev_discard_granularity(device->bdev), in btrfs_ioctl_fitrim()
/linux-6.1.9/fs/ext4/
Dmballoc.c6474 unsigned int discard_granularity = bdev_discard_granularity(sb->s_bdev); in ext4_trim_fs()