/linux-master/fs/btrfs/ |
H A D | inode.c | 117 * update the disk_i_size, but lockdep will complain because our io_tree we hold 1110 struct extent_io_tree *io_tree = &inode->io_tree; local 1135 lock_extent(io_tree, start, end, NULL); 1643 unlock_extent(&inode->io_tree, start, end, NULL); 1766 struct extent_io_tree *io_tree = &inode->io_tree; local 1803 count = count_range_bits(io_tree, &range_start, end, range_bytes, 1818 clear_extent_bit(io_tree, start, end, EXTENT_NORESERVE, 2252 test_range_bit_exists(&inode->io_tree, star 3050 struct extent_io_tree *io_tree = &inode->io_tree; local 4722 struct extent_io_tree *io_tree = &inode->io_tree; local 4918 struct extent_io_tree *io_tree = &inode->io_tree; local 5145 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; local 7117 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; local 7212 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; local 8188 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; local 9939 struct extent_io_tree *io_tree = &inode->io_tree; local 10095 struct extent_io_tree *io_tree = &inode->io_tree; local 10157 struct extent_io_tree *io_tree = &inode->io_tree; local 10301 struct extent_io_tree *io_tree = &inode->io_tree; local 10680 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; local [all...] |
H A D | defrag.c | 757 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; local 789 lock_extent(io_tree, start, end, &cached); 792 unlock_extent(io_tree, start, end, &cached); 904 lock_extent(&inode->io_tree, page_start, page_end, &cached_state); 906 unlock_extent(&inode->io_tree, page_start, page_end, 1037 if (test_range_bit_exists(&inode->io_tree, cur, cur + range_len - 1, 1183 clear_extent_bit(&inode->io_tree, start, start + len - 1, 1186 set_extent_bit(&inode->io_tree, start, start + len - 1, 1236 lock_extent(&inode->io_tree, start_inde [all...] |
H A D | reflink.c | 97 clear_extent_bit(&inode->io_tree, file_offset, range_end, 622 unlock_extent(&BTRFS_I(inode1)->io_tree, loff1, loff1 + len - 1, NULL); 623 unlock_extent(&BTRFS_I(inode2)->io_tree, loff2, loff2 + len - 1, NULL); 641 lock_extent(&BTRFS_I(inode1)->io_tree, loff1, range1_end, NULL); 642 lock_extent(&BTRFS_I(inode2)->io_tree, loff2, range2_end, NULL);
|
H A D | ordered-data.c | 1091 lock_extent(&inode->io_tree, start, end, cachedp); 1104 unlock_extent(&inode->io_tree, start, end, cachedp); 1122 if (!try_lock_extent(&inode->io_tree, start, end, cached_state)) 1130 unlock_extent(&inode->io_tree, start, end, cached_state);
|
H A D | file.c | 157 clear_extent_bit(&inode->io_tree, start_pos, end_of_last_block, 999 if (!try_lock_extent(&inode->io_tree, start_pos, last_pos, 1010 lock_extent(&inode->io_tree, start_pos, last_pos, cached_state); 1018 unlock_extent(&inode->io_tree, start_pos, last_pos, 1103 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); 1396 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, 2225 lock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, 2241 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, 2740 unlock_extent(&BTRFS_I(inode)->io_tree, lockstart, lockend, 3011 unlock_extent(&BTRFS_I(inode)->io_tree, lockstar [all...] |
H A D | relocation.c | 1130 ret = try_lock_extent(&BTRFS_I(inode)->io_tree, 1138 unlock_extent(&BTRFS_I(inode)->io_tree, 1583 lock_extent(&BTRFS_I(inode)->io_tree, start, end, &cached_state); 1585 unlock_extent(&BTRFS_I(inode)->io_tree, start, end, &cached_state); 2890 clear_extent_bits(&inode->io_tree, i_size, 2922 lock_extent(&inode->io_tree, start, end, &cached_state); 2928 unlock_extent(&inode->io_tree, start, end, &cached_state); 2957 lock_extent(&BTRFS_I(inode)->io_tree, start, end, &cached_state); 2959 unlock_extent(&BTRFS_I(inode)->io_tree, start, end, &cached_state); 3059 lock_extent(&BTRFS_I(inode)->io_tree, clamped_star [all...] |
H A D | btrfs_inode.h | 78 * the file range, inode's io_tree). 125 /* the io_tree does range state (DIRTY, LOCKED etc) */ 126 struct extent_io_tree io_tree; member in struct:btrfs_inode
|
H A D | free-space-cache.c | 344 lock_extent(&inode->io_tree, 0, (u64)-1, &cached_state); 356 unlock_extent(&inode->io_tree, 0, (u64)-1, &cached_state); 1165 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, 1177 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, 1273 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, 1294 unlock_extent(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, 1419 lock_extent(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1, 1475 unlock_extent(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1,
|
H A D | extent_map.c | 965 lock_extent(&inode->io_tree, start, start + len - 1, NULL); 1020 unlock_extent(&inode->io_tree, start, start + len - 1, NULL);
|
H A D | extent_io.c | 326 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; 418 clear_extent_bit(&inode->io_tree, start, end, clear_bits, NULL); 553 tree = &processed->inode->io_tree; 1018 struct extent_io_tree *tree = &BTRFS_I(inode)->io_tree; 2382 struct extent_io_tree *tree = &btrfs_inode->io_tree; 3104 lock_extent(&inode->io_tree, range_start, range_end, &cached_state); 3284 unlock_extent(&inode->io_tree, range_start, range_end, &cached_state);
|
H A D | qgroup.c | 4030 clear_ret = clear_extent_bits(&inode->io_tree, entry_start, 4133 ret = set_record_extent_bits(&inode->io_tree, start, 4227 ret = clear_record_extent_bits(&inode->io_tree, free_start, 4254 return clear_record_extent_bits(&inode->io_tree, start, 4264 ret = clear_record_extent_bits(&inode->io_tree, start, start + len -1, 4285 * Free a reserved space range from io_tree and related qgroups 4304 * Release a reserved space range from io_tree only. 4313 * But we should release the range from io_tree, to allow further write to be 4512 ret = clear_record_extent_bits(&inode->io_tree, 0, (u64)-1,
|
H A D | compression.c | 429 tree = &BTRFS_I(inode)->io_tree;
|
H A D | file-item.c | 437 set_extent_bit(&inode->io_tree, file_offset,
|
H A D | disk-io.c | 532 tree = &folio_to_inode(folio)->io_tree; 1939 extent_io_tree_init(fs_info, &BTRFS_I(inode)->io_tree,
|
/linux-master/fs/btrfs/tests/ |
H A D | inode-tests.c | 964 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, 1032 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, 1067 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1, 1083 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1,
|
H A D | extent-io-tests.c | 146 tmp = &BTRFS_I(inode)->io_tree;
|