Home
last modified time | relevance | path

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

/linux-6.12.1/block/
Dblk-lib.c108 sector_t bs_mask = (bdev_logical_block_size(bdev) >> 9) - 1; in bio_write_zeroes_limit() local
111 (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() local
341 max_sectors &= ~bs_mask; in blkdev_issue_secure_erase()
345 if ((sector | nr_sects) & bs_mask) in blkdev_issue_secure_erase()
Dioctl.c106 unsigned int bs_mask = bdev_logical_block_size(bdev) - 1; in blk_validate_byte_range() local
109 if ((start | len) & bs_mask) in blk_validate_byte_range()
Dblk-mq.c2918 unsigned int bs_mask = queue_logical_block_size(q) - 1; in bio_unaligned() local
2921 if ((bio->bi_iter.bi_size & bs_mask) || in bio_unaligned()
2922 ((bio->bi_iter.bi_sector << SECTOR_SHIFT) & bs_mask)) in bio_unaligned()