Searched refs:bs_mask (Results 1 – 3 of 3) sorted by relevance
108 sector_t bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in bio_write_zeroes_limit() local111 (UINT_MAX >> SECTOR_SHIFT) & ~bs_mask); in bio_write_zeroes_limit()332 sector_t bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in blkdev_issue_secure_erase() local341 max_sectors &= ~bs_mask; in blkdev_issue_secure_erase()345 if ((sector | nr_sects) & bs_mask) in blkdev_issue_secure_erase()
106 unsigned int bs_mask = bdev_logical_block_size(bdev) - 1; in blk_validate_byte_range() local109 if ((start | len) & bs_mask) in blk_validate_byte_range()
2918 unsigned int bs_mask = queue_logical_block_size(q) - 1; in bio_unaligned() local2921 if ((bio->bi_iter.bi_size & bs_mask) || in bio_unaligned()2922 ((bio->bi_iter.bi_sector << SECTOR_SHIFT) & bs_mask)) in bio_unaligned()