discard_granularity 846 arch/um/drivers/ubd_kern.c ubd_dev->queue->limits.discard_granularity = SECTOR_SIZE; discard_granularity 74 block/blk-merge.c granularity = max(q->limits.discard_granularity >> 9, 1U); discard_granularity 53 block/blk-settings.c lim->discard_granularity = 0; discard_granularity 590 block/blk-settings.c if (b->discard_granularity) { discard_granularity 593 block/blk-settings.c if (t->discard_granularity != 0 && discard_granularity 595 block/blk-settings.c top = t->discard_granularity + t->discard_alignment; discard_granularity 596 block/blk-settings.c bottom = b->discard_granularity + alignment; discard_granularity 607 block/blk-settings.c t->discard_granularity = max(t->discard_granularity, discard_granularity 608 block/blk-settings.c b->discard_granularity); discard_granularity 610 block/blk-settings.c t->discard_granularity; discard_granularity 165 block/blk-sysfs.c return queue_var_show(q->limits.discard_granularity, page); discard_granularity 190 block/blk-sysfs.c if (max_discard & (q->limits.discard_granularity - 1)) discard_granularity 1192 drivers/block/drbd/drbd_nl.c q->limits.discard_granularity = granularity; discard_granularity 1533 drivers/block/drbd/drbd_nl.c if (q->limits.discard_granularity > disk_conf->rs_discard_granularity) discard_granularity 1534 drivers/block/drbd/drbd_nl.c disk_conf->rs_discard_granularity = q->limits.discard_granularity; discard_granularity 1536 drivers/block/drbd/drbd_nl.c remainder = disk_conf->rs_discard_granularity % q->limits.discard_granularity; discard_granularity 1524 drivers/block/drbd/drbd_receiver.c granularity = max(q->limits.discard_granularity >> 9, 1U); discard_granularity 598 drivers/block/drbd/drbd_worker.c int discard_granularity = 0; discard_granularity 620 drivers/block/drbd/drbd_worker.c discard_granularity = rcu_dereference(device->ldev->disk_conf)->rs_discard_granularity; discard_granularity 688 drivers/block/drbd/drbd_worker.c if (discard_granularity && size == discard_granularity) discard_granularity 738 drivers/block/drbd/drbd_worker.c size == discard_granularity ? P_RS_THIN_REQ : P_RS_DATA_REQUEST, discard_granularity 891 drivers/block/loop.c q->limits.discard_granularity = 0; discard_granularity 897 drivers/block/loop.c q->limits.discard_granularity = inode->i_sb->s_blocksize; discard_granularity 305 drivers/block/nbd.c nbd->disk->queue->limits.discard_granularity = config->blksize; discard_granularity 1214 drivers/block/nbd.c nbd->disk->queue->limits.discard_granularity = 0; discard_granularity 1714 drivers/block/nbd.c disk->queue->limits.discard_granularity = 0; discard_granularity 1422 drivers/block/null_blk_main.c nullb->q->limits.discard_granularity = nullb->dev->blocksize; discard_granularity 5174 drivers/block/rbd.c q->limits.discard_granularity = rbd_dev->opts->alloc_size; discard_granularity 282 drivers/block/rsxx/dev.c card->queue->limits.discard_granularity = RSXX_HW_BLK_SIZE; discard_granularity 956 drivers/block/virtio_blk.c q->limits.discard_granularity = blk_size; discard_granularity 558 drivers/block/xen-blkback/xenbus.c q->limits.discard_granularity); discard_granularity 212 drivers/block/xen-blkfront.c unsigned int discard_granularity; discard_granularity 939 drivers/block/xen-blkfront.c rq->limits.discard_granularity = info->discard_granularity; discard_granularity 2173 drivers/block/xen-blkfront.c unsigned int discard_granularity; discard_granularity 2178 drivers/block/xen-blkfront.c "discard-granularity", "%u", &discard_granularity, discard_granularity 2182 drivers/block/xen-blkfront.c info->discard_granularity = discard_granularity; discard_granularity 1936 drivers/block/zram/zram_drv.c zram->disk->queue->limits.discard_granularity = PAGE_SIZE; discard_granularity 1247 drivers/lightnvm/pblk-init.c tqueue->limits.discard_granularity = geo->clba * geo->csecs; discard_granularity 874 drivers/md/bcache/super.c q->limits.discard_granularity = 512; discard_granularity 3478 drivers/md/dm-cache-target.c limits->discard_granularity = cache->discard_block_size << SECTOR_SHIFT; discard_granularity 3488 drivers/md/dm-cache-target.c limits->discard_granularity = origin_limits->discard_granularity; discard_granularity 2078 drivers/md/dm-clone-target.c limits->discard_granularity = clone->region_size << SECTOR_SHIFT; discard_granularity 2090 drivers/md/dm-clone-target.c limits->discard_granularity = dest_limits->discard_granularity; discard_granularity 894 drivers/md/dm-log-writes.c limits->discard_granularity = lc->sectorsize; discard_granularity 3751 drivers/md/dm-raid.c limits->discard_granularity = chunk_size_bytes; discard_granularity 2398 drivers/md/dm-snap.c limits->discard_granularity = snap->store->chunk_size; discard_granularity 1907 drivers/md/dm-table.c q->limits.discard_granularity = 0; discard_granularity 4109 drivers/md/dm-thin.c limits->discard_granularity = 0; discard_granularity 4498 drivers/md/dm-thin.c limits->discard_granularity = pool->sectors_per_block << SECTOR_SHIFT; discard_granularity 907 drivers/md/dm-zoned-target.c limits->discard_granularity = DMZ_BLOCK_SIZE; discard_granularity 7451 drivers/md/raid5.c mddev->queue->limits.discard_granularity = stripe; discard_granularity 7480 drivers/md/raid5.c mddev->queue->limits.discard_granularity >= stripe) discard_granularity 184 drivers/mmc/core/queue.c q->limits.discard_granularity = card->pref_erase << 9; discard_granularity 187 drivers/mmc/core/queue.c q->limits.discard_granularity = 0; discard_granularity 1700 drivers/nvme/host/core.c queue->limits.discard_granularity = size; discard_granularity 43 drivers/nvme/target/io-cmd-bdev.c id->npdg = to0based(ql->discard_granularity / ql->logical_block_size); discard_granularity 792 drivers/s390/block/dasd_fba.c q->limits.discard_granularity = logical_block_size; discard_granularity 778 drivers/scsi/sd.c q->limits.discard_granularity = discard_granularity 829 drivers/target/target_core_device.c attrib->unmap_granularity = q->limits.discard_granularity / block_size; discard_granularity 514 fs/btrfs/ioctl.c minlen = min_t(u64, q->limits.discard_granularity, discard_granularity 1124 fs/ext4/ioctl.c q->limits.discard_granularity); discard_granularity 341 fs/f2fs/f2fs.h unsigned int discard_granularity; /* discard granularity */ discard_granularity 2144 fs/f2fs/file.c q->limits.discard_granularity); discard_granularity 1679 fs/f2fs/segment.c dcc->discard_granularity); discard_granularity 1704 fs/f2fs/segment.c dcc->discard_granularity); discard_granularity 2046 fs/f2fs/segment.c dcc->discard_granularity = DEFAULT_DISCARD_GRANULARITY; discard_granularity 862 fs/f2fs/segment.h if (i + 1 < dcc->discard_granularity) discard_granularity 3178 fs/f2fs/super.c sm_i->dcc_info->discard_granularity = 1; discard_granularity 447 fs/f2fs/sysfs.c F2FS_RW_ATTR(DCC_INFO, discard_cmd_control, discard_granularity, discard_granularity); discard_granularity 514 fs/f2fs/sysfs.c ATTR_LIST(discard_granularity), discard_granularity 144 fs/fat/file.c q->limits.discard_granularity); discard_granularity 1426 fs/gfs2/rgrp.c q->limits.discard_granularity) >> bs_shift; discard_granularity 142 fs/jfs/ioctl.c q->limits.discard_granularity); discard_granularity 1084 fs/nilfs2/ioctl.c range.minlen = max_t(u64, range.minlen, q->limits.discard_granularity); discard_granularity 934 fs/ocfs2/ioctl.c range.minlen = max_t(u64, q->limits.discard_granularity, discard_granularity 151 fs/xfs/xfs_discard.c unsigned int granularity = q->limits.discard_granularity; discard_granularity 339 include/linux/blkdev.h unsigned int discard_granularity; discard_granularity 1389 include/linux/blkdev.h granularity = lim->discard_granularity >> SECTOR_SHIFT;