Searched refs:lockend (Results 1 – 2 of 2) sorted by relevance
/fs/btrfs/ |
D | file.c | 1743 u64 lockend = i_size_read(inode); in find_desired_extent() local 1750 lockend = max_t(u64, root->sectorsize, lockend); in find_desired_extent() 1751 if (lockend <= lockstart) in find_desired_extent() 1752 lockend = lockstart + root->sectorsize; in find_desired_extent() 1754 len = lockend - lockstart + 1; in find_desired_extent() 1760 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, 0, in find_desired_extent() 1843 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in find_desired_extent()
|
D | inode.c | 6350 u64 lockstart, lockend; in btrfs_direct_IO() local 6362 lockend = offset + count - 1; in btrfs_direct_IO() 6371 lock_extent_bits(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_direct_IO() 6379 lockend - lockstart + 1); in btrfs_direct_IO() 6382 unlock_extent_cached(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_direct_IO() 6395 ret = set_extent_bit(&BTRFS_I(inode)->io_tree, lockstart, lockend, in btrfs_direct_IO() 6400 lockend, EXTENT_LOCKED | write_bits, in btrfs_direct_IO()
|