Home
last modified time | relevance | path

Searched refs:bdev_max_discard_sectors (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.1.9/fs/jfs/
Dioctl.c119 if (!bdev_max_discard_sectors(sb->s_bdev)) { in jfs_ioctl()
Dsuper.c380 if (bdev_max_discard_sectors(sb->s_bdev)) in parse_options()
394 if (bdev_max_discard_sectors(sb->s_bdev)) { in parse_options()
/linux-6.1.9/fs/xfs/
Dxfs_discard.c165 if (!bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev)) in xfs_ioc_trim()
Dxfs_super.c1635 if (xfs_has_discard(mp) && !bdev_max_discard_sectors(sb->s_bdev)) { in xfs_fs_fill_super()
/linux-6.1.9/drivers/md/
Dmd-linear.c245 !bdev_max_discard_sectors(bio->bi_bdev))) { in linear_make_request()
Ddm-io.c315 special_cmd_max_sectors = bdev_max_discard_sectors(where->bdev); in do_region()
Ddm-log-writes.c870 if (!bdev_max_discard_sectors(lc->dev->bdev)) { in log_writes_io_hints()
/linux-6.1.9/block/
Dblk-lib.c46 if (!bdev_max_discard_sectors(bdev)) in __blkdev_issue_discard()
Dioctl.c96 if (!bdev_max_discard_sectors(bdev)) in blk_ioctl_discard()
Dblk-core.c746 if (!bdev_max_discard_sectors(bdev)) in submit_bio_noacct()
/linux-6.1.9/fs/exfat/
Dfile.c330 if (!bdev_max_discard_sectors(inode->i_sb->s_bdev)) in exfat_ioctl_fitrim()
Dsuper.c637 if (opts->discard && !bdev_max_discard_sectors(sb->s_bdev)) { in exfat_fill_super()
/linux-6.1.9/drivers/target/
Dtarget_core_device.c849 if (!bdev_max_discard_sectors(bdev)) in target_configure_unmap_from_queue()
853 bdev_max_discard_sectors(bdev) >> (ilog2(block_size) - 9); in target_configure_unmap_from_queue()
/linux-6.1.9/fs/fat/
Dfile.c136 if (!bdev_max_discard_sectors(sb->s_bdev)) in fat_ioctl_fitrim()
/linux-6.1.9/drivers/md/bcache/
Drequest.c1008 !bdev_max_discard_sectors(dc->bdev)) in cached_dev_write()
1124 !bdev_max_discard_sectors(dc->bdev)) in detached_dev_do_request()
Dsysfs.c1154 if (bdev_max_discard_sectors(ca->bdev)) in STORE()
/linux-6.1.9/fs/ext4/
Dioctl.c1067 !bdev_max_discard_sectors(EXT4_SB(sb)->s_journal->j_dev)) in ext4_ioctl_checkpoint()
1473 if (!bdev_max_discard_sectors(sb->s_bdev)) in __ext4_ioctl()
/linux-6.1.9/drivers/block/rnbd/
Drnbd-srv.c550 rsp->max_discard_sectors = cpu_to_le32(bdev_max_discard_sectors(bdev)); in rnbd_srv_fill_msg_open_rsp()
/linux-6.1.9/fs/ocfs2/
Dioctl.c912 if (!bdev_max_discard_sectors(sb->s_bdev)) in ocfs2_ioctl()
/linux-6.1.9/fs/nilfs2/
Dioctl.c1061 if (!bdev_max_discard_sectors(nilfs->ns_bdev)) in nilfs_ioctl_trim_fs()
/linux-6.1.9/drivers/block/xen-blkback/
Dxenbus.c579 if (bdev_max_discard_sectors(bdev)) { in xen_blkbk_discard()
/linux-6.1.9/include/linux/
Dblkdev.h1235 static inline unsigned int bdev_max_discard_sectors(struct block_device *bdev) in bdev_max_discard_sectors() function
/linux-6.1.9/fs/ntfs3/
Dfile.c30 if (!bdev_max_discard_sectors(sbi->sb->s_bdev)) in ntfs_ioctl_fitrim()
Dsuper.c928 if (bdev_max_discard_sectors(bdev) && bdev_discard_granularity(bdev)) { in ntfs_fill_super()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_nl.c1215 if (bdev && !bdev_max_discard_sectors(bdev->backing_bdev)) in decide_on_discard_support()
1435 if (!bdev_max_discard_sectors(bdev)) { in sanitize_disk_conf()
1444 sector_t discard_size = bdev_max_discard_sectors(bdev) << 9; in sanitize_disk_conf()

12