Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/drivers/md/
Draid1-10.c126 !bdev_max_discard_sectors(bio->bi_bdev))) in raid1_submit_write()
Dmd-linear.c247 !bdev_max_discard_sectors(bio->bi_bdev))) { in linear_make_request()
Ddm-io.c325 special_cmd_max_sectors = bdev_max_discard_sectors(where->bdev); in do_region()
Ddm-log-writes.c871 if (!bdev_max_discard_sectors(lc->dev->bdev)) { in log_writes_io_hints()
Ddm-table.c1889 return !bdev_max_discard_sectors(dev->bdev); in device_not_discard_capable()
/linux-6.6.21/block/
Dblk-lib.c46 if (!bdev_max_discard_sectors(bdev)) in __blkdev_issue_discard()
Dioctl.c99 if (!bdev_max_discard_sectors(bdev)) in blk_ioctl_discard()
Dblk-core.c776 if (!bdev_max_discard_sectors(bdev)) in submit_bio_noacct()
/linux-6.6.21/fs/xfs/
Dxfs_discard.c379 if (!bdev_max_discard_sectors(mp->m_ddev_targp->bt_bdev)) in xfs_ioc_trim()
/linux-6.6.21/fs/exfat/
Dfile.c327 if (!bdev_max_discard_sectors(inode->i_sb->s_bdev)) in exfat_ioctl_fitrim()
Dsuper.c626 if (opts->discard && !bdev_max_discard_sectors(sb->s_bdev)) { in exfat_fill_super()
/linux-6.6.21/drivers/target/
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()
/linux-6.6.21/fs/fat/
Dfile.c136 if (!bdev_max_discard_sectors(sb->s_bdev)) in fat_ioctl_fitrim()
/linux-6.6.21/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.c1153 if (bdev_max_discard_sectors(ca->bdev)) in STORE()
/linux-6.6.21/fs/ext4/
Dioctl.c1075 !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()
/linux-6.6.21/drivers/block/rnbd/
Drnbd-srv.c548 rsp->max_discard_sectors = cpu_to_le32(bdev_max_discard_sectors(bdev)); in rnbd_srv_fill_msg_open_rsp()
/linux-6.6.21/fs/ocfs2/
Dioctl.c927 if (!bdev_max_discard_sectors(sb->s_bdev)) in ocfs2_ioctl()
/linux-6.6.21/fs/nilfs2/
Dioctl.c1061 if (!bdev_max_discard_sectors(nilfs->ns_bdev)) in nilfs_ioctl_trim_fs()
/linux-6.6.21/drivers/block/xen-blkback/
Dxenbus.c577 if (bdev_max_discard_sectors(bdev)) { in xen_blkbk_discard()
/linux-6.6.21/include/linux/
Dblkdev.h1204 static inline unsigned int bdev_max_discard_sectors(struct block_device *bdev) in bdev_max_discard_sectors() function
/linux-6.6.21/fs/ntfs3/
Dfile.c32 if (!bdev_max_discard_sectors(dev)) in ntfs_ioctl_fitrim()
/linux-6.6.21/drivers/block/drbd/
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