Home
last modified time | relevance | path

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

/fs/
Ddirect-io.c1109 unsigned blocksize_mask = (1 << blkbits) - 1; in do_blockdev_direct_IO() local
1127 if (offset & blocksize_mask) { in do_blockdev_direct_IO()
1130 blocksize_mask = (1 << blkbits) - 1; in do_blockdev_direct_IO()
1131 if (offset & blocksize_mask) in do_blockdev_direct_IO()
1140 if (unlikely((addr & blocksize_mask) || in do_blockdev_direct_IO()
1141 (size & blocksize_mask))) { in do_blockdev_direct_IO()
1145 blocksize_mask = (1 << blkbits) - 1; in do_blockdev_direct_IO()
1146 if ((addr & blocksize_mask) || (size & blocksize_mask)) in do_blockdev_direct_IO()
/fs/btrfs/
Dinode.c7340 unsigned blocksize_mask = root->sectorsize - 1; in check_direct_IO() local
7344 if (offset & blocksize_mask) in check_direct_IO()
7352 if ((addr & blocksize_mask) || (size & blocksize_mask)) in check_direct_IO()