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()
126 !bdev_max_discard_sectors(bio->bi_bdev))) in raid1_submit_write()
247 !bdev_max_discard_sectors(bio->bi_bdev))) { in linear_make_request()
325 special_cmd_max_sectors = bdev_max_discard_sectors(where->bdev); in do_region()
871 if (!bdev_max_discard_sectors(lc->dev->bdev)) { in log_writes_io_hints()
1889 return !bdev_max_discard_sectors(dev->bdev); in device_not_discard_capable()
46 if (!bdev_max_discard_sectors(bdev)) in __blkdev_issue_discard()
99 if (!bdev_max_discard_sectors(bdev)) in blk_ioctl_discard()
776 if (!bdev_max_discard_sectors(bdev)) in submit_bio_noacct()
379 if (!bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev)) in xfs_ioc_trim()
327 if (!bdev_max_discard_sectors(inode->i_sb->s_bdev)) in exfat_ioctl_fitrim()
626 if (opts->discard && !bdev_max_discard_sectors(sb->s_bdev)) { in exfat_fill_super()
805 if (!bdev_max_discard_sectors(bdev)) in target_configure_unmap_from_queue()809 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()
1153 if (bdev_max_discard_sectors(ca->bdev)) in STORE()
1075 !bdev_max_discard_sectors(EXT4_SB(sb)->s_journal->j_dev)) in ext4_ioctl_checkpoint()1481 if (!bdev_max_discard_sectors(sb->s_bdev)) in __ext4_ioctl()
548 rsp->max_discard_sectors = cpu_to_le32(bdev_max_discard_sectors(bdev)); in rnbd_srv_fill_msg_open_rsp()
927 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()
577 if (bdev_max_discard_sectors(bdev)) { in xen_blkbk_discard()
1204 static inline unsigned int bdev_max_discard_sectors(struct block_device *bdev) in bdev_max_discard_sectors() function
32 if (!bdev_max_discard_sectors(dev)) in ntfs_ioctl_fitrim()
1215 if (bdev && !bdev_max_discard_sectors(bdev->backing_bdev)) in decide_on_discard_support()1449 if (!bdev_max_discard_sectors(bdev)) { in sanitize_disk_conf()1458 sector_t discard_size = bdev_max_discard_sectors(bdev) << 9; in sanitize_disk_conf()