Searched refs:bdev_max_discard_sectors (Results 1 – 25 of 47) sorted by relevance
12
119 if (!bdev_max_discard_sectors(sb->s_bdev)) { in jfs_ioctl()
380 if (bdev_max_discard_sectors(sb->s_bdev)) in parse_options()394 if (bdev_max_discard_sectors(sb->s_bdev)) { in parse_options()
165 if (!bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev)) in xfs_ioc_trim()
1635 if (xfs_has_discard(mp) && !bdev_max_discard_sectors(sb->s_bdev)) { in xfs_fs_fill_super()
245 !bdev_max_discard_sectors(bio->bi_bdev))) { in linear_make_request()
315 special_cmd_max_sectors = bdev_max_discard_sectors(where->bdev); in do_region()
870 if (!bdev_max_discard_sectors(lc->dev->bdev)) { in log_writes_io_hints()
46 if (!bdev_max_discard_sectors(bdev)) in __blkdev_issue_discard()
96 if (!bdev_max_discard_sectors(bdev)) in blk_ioctl_discard()
746 if (!bdev_max_discard_sectors(bdev)) in submit_bio_noacct()
330 if (!bdev_max_discard_sectors(inode->i_sb->s_bdev)) in exfat_ioctl_fitrim()
637 if (opts->discard && !bdev_max_discard_sectors(sb->s_bdev)) { in exfat_fill_super()
849 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()
136 if (!bdev_max_discard_sectors(sb->s_bdev)) in fat_ioctl_fitrim()
1008 !bdev_max_discard_sectors(dc->bdev)) in cached_dev_write()1124 !bdev_max_discard_sectors(dc->bdev)) in detached_dev_do_request()
1154 if (bdev_max_discard_sectors(ca->bdev)) in STORE()
1067 !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()
550 rsp->max_discard_sectors = cpu_to_le32(bdev_max_discard_sectors(bdev)); in rnbd_srv_fill_msg_open_rsp()
912 if (!bdev_max_discard_sectors(sb->s_bdev)) in ocfs2_ioctl()
1061 if (!bdev_max_discard_sectors(nilfs->ns_bdev)) in nilfs_ioctl_trim_fs()
579 if (bdev_max_discard_sectors(bdev)) { in xen_blkbk_discard()
1235 static inline unsigned int bdev_max_discard_sectors(struct block_device *bdev) in bdev_max_discard_sectors() function
30 if (!bdev_max_discard_sectors(sbi->sb->s_bdev)) in ntfs_ioctl_fitrim()
928 if (bdev_max_discard_sectors(bdev) && bdev_discard_granularity(bdev)) { in ntfs_fill_super()
1215 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()