from_dblock 374 drivers/md/dm-cache-metadata.c disk_super->discard_nr_blocks = cpu_to_le64(from_dblock(cmd->discard_nr_blocks)); from_dblock 698 drivers/md/dm-cache-metadata.c disk_super->discard_nr_blocks = cpu_to_le64(from_dblock(cmd->discard_nr_blocks)); from_dblock 1098 drivers/md/dm-cache-metadata.c from_dblock(cmd->discard_nr_blocks), from_dblock 1099 drivers/md/dm-cache-metadata.c from_dblock(new_nr_entries), from_dblock 1115 drivers/md/dm-cache-metadata.c from_dblock(b), &cmd->discard_root); from_dblock 1121 drivers/md/dm-cache-metadata.c from_dblock(b), &cmd->discard_root); from_dblock 1156 drivers/md/dm-cache-metadata.c if (from_dblock(cmd->discard_nr_blocks) == 0) from_dblock 1166 drivers/md/dm-cache-metadata.c from_dblock(cmd->discard_nr_blocks), &c); from_dblock 1176 drivers/md/dm-cache-metadata.c if (b >= (from_dblock(cmd->discard_nr_blocks) - 1)) from_dblock 1187 drivers/md/dm-cache-metadata.c for (b = 0; b < from_dblock(cmd->discard_nr_blocks); b++) { from_dblock 761 drivers/md/dm-cache-target.c BUG_ON(from_dblock(b) >= from_dblock(cache->discard_nr_blocks)); from_dblock 765 drivers/md/dm-cache-target.c set_bit(from_dblock(b), cache->discard_bitset); from_dblock 774 drivers/md/dm-cache-target.c clear_bit(from_dblock(b), cache->discard_bitset); from_dblock 784 drivers/md/dm-cache-target.c r = test_bit(from_dblock(b), cache->discard_bitset); from_dblock 796 drivers/md/dm-cache-target.c r = test_bit(from_dblock(oblock_to_dblock(cache, b)), from_dblock 1876 drivers/md/dm-cache-target.c b = to_dblock(from_dblock(b) + 1); from_dblock 2593 drivers/md/dm-cache-target.c cache->discard_bitset = alloc_bitset(from_dblock(cache->discard_nr_blocks)); from_dblock 2598 drivers/md/dm-cache-target.c clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks)); from_dblock 2802 drivers/md/dm-cache-target.c for (i = 0; i < from_dblock(cache->discard_nr_blocks); i++) { from_dblock 2950 drivers/md/dm-cache-target.c if (e > from_dblock(li->cache->discard_nr_blocks)) from_dblock 2951 drivers/md/dm-cache-target.c e = from_dblock(li->cache->discard_nr_blocks); from_dblock 2965 drivers/md/dm-cache-target.c if (from_dblock(dblock) == li->discard_end) from_dblock 2976 drivers/md/dm-cache-target.c li->discard_begin = from_dblock(dblock); from_dblock 3081 drivers/md/dm-cache-target.c clear_bitset(cache->discard_bitset, from_dblock(cache->discard_nr_blocks));