Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/jfs/
H A Dioctl.c119 if (!bdev_max_discard_sectors(sb->s_bdev)) { in jfs_ioctl()
H A 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()
/openbmc/linux/drivers/md/
H A Draid1-10.c126 !bdev_max_discard_sectors(bio->bi_bdev))) in raid1_submit_write()
H A Dmd-linear.c247 !bdev_max_discard_sectors(bio->bi_bdev))) { in linear_make_request()
H A Ddm-io.c325 special_cmd_max_sectors = bdev_max_discard_sectors(where->bdev); in do_region()
H A Ddm-log-writes.c871 if (!bdev_max_discard_sectors(lc->dev->bdev)) { in log_writes_io_hints()
/openbmc/linux/fs/xfs/
H A Dxfs_discard.c379 if (!bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev)) in xfs_ioc_trim()
/openbmc/linux/block/
H A Dblk-lib.c46 if (!bdev_max_discard_sectors(bdev)) in __blkdev_issue_discard()
H A Dioctl.c99 if (!bdev_max_discard_sectors(bdev)) in blk_ioctl_discard()
H A Dblk-core.c779 if (!bdev_max_discard_sectors(bdev)) in submit_bio_noacct()
/openbmc/linux/fs/exfat/
H A Dfile.c327 if (!bdev_max_discard_sectors(inode->i_sb->s_bdev)) in exfat_ioctl_fitrim()
H A Dsuper.c626 if (opts->discard && !bdev_max_discard_sectors(sb->s_bdev)) { in exfat_fill_super()
/openbmc/linux/drivers/target/
H A Dtarget_core_device.c805 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()
/openbmc/linux/fs/fat/
H A Dfile.c136 if (!bdev_max_discard_sectors(sb->s_bdev)) in fat_ioctl_fitrim()
/openbmc/linux/drivers/md/bcache/
H A Drequest.c1008 !bdev_max_discard_sectors(dc->bdev)) in cached_dev_write()
1124 !bdev_max_discard_sectors(dc->bdev)) in detached_dev_do_request()
H A Dsysfs.c1153 if (bdev_max_discard_sectors(ca->bdev)) in STORE()
/openbmc/linux/fs/ext4/
H A Dioctl.c1084 !bdev_max_discard_sectors(EXT4_SB(sb)->s_journal->j_dev)) in ext4_ioctl_checkpoint()
1490 if (!bdev_max_discard_sectors(sb->s_bdev)) in __ext4_ioctl()
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-srv.c548 rsp->max_discard_sectors = cpu_to_le32(bdev_max_discard_sectors(bdev)); in rnbd_srv_fill_msg_open_rsp()
/openbmc/linux/fs/ocfs2/
H A Dioctl.c927 if (!bdev_max_discard_sectors(sb->s_bdev)) in ocfs2_ioctl()
/openbmc/linux/fs/nilfs2/
H A Dioctl.c1061 if (!bdev_max_discard_sectors(nilfs->ns_bdev)) in nilfs_ioctl_trim_fs()
/openbmc/linux/drivers/block/xen-blkback/
H A Dxenbus.c577 if (bdev_max_discard_sectors(bdev)) { in xen_blkbk_discard()
/openbmc/linux/fs/ntfs3/
H A Dfile.c32 if (!bdev_max_discard_sectors(dev)) in ntfs_ioctl_fitrim()
H A Dsuper.c1188 if (bdev_max_discard_sectors(bdev) && bdev_discard_granularity(bdev)) { in ntfs_fill_super()
/openbmc/linux/include/linux/
H A Dblkdev.h1217 static inline unsigned int bdev_max_discard_sectors(struct block_device *bdev) in bdev_max_discard_sectors() function
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_nl.c1215 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()

12