Home
last modified time | relevance | path

Searched refs:bs_mask (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dblk-lib.c42 sector_t bs_mask; in __blkdev_issue_discard() local
56 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in __blkdev_issue_discard()
57 if ((sector | nr_sects) & bs_mask) in __blkdev_issue_discard()
223 sector_t bs_mask; in __blkdev_issue_zeroout() local
225 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in __blkdev_issue_zeroout()
226 if ((sector | nr_sects) & bs_mask) in __blkdev_issue_zeroout()
256 sector_t bs_mask; in blkdev_issue_zeroout() local
261 bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in blkdev_issue_zeroout()
262 if ((sector | nr_sects) & bs_mask) in blkdev_issue_zeroout()
315 max_sectors &= ~bs_mask; in blkdev_issue_secure_erase()
[all …]