Searched refs:last_offset (Results 1 – 6 of 6) sorted by relevance
/fs/btrfs/ |
D | compression.c | 444 u64 last_offset; in add_ra_bio_pages() local 457 last_offset = (page_offset(page) + PAGE_CACHE_SIZE); in add_ra_bio_pages() 466 while (last_offset < compressed_end) { in add_ra_bio_pages() 467 pg_index = last_offset >> PAGE_CACHE_SHIFT; in add_ra_bio_pages() 493 end = last_offset + PAGE_CACHE_SIZE - 1; in add_ra_bio_pages() 500 lock_extent(tree, last_offset, end); in add_ra_bio_pages() 502 em = lookup_extent_mapping(em_tree, last_offset, in add_ra_bio_pages() 506 if (!em || last_offset < em->start || in add_ra_bio_pages() 507 (last_offset + PAGE_CACHE_SIZE > extent_map_end(em)) || in add_ra_bio_pages() 510 unlock_extent(tree, last_offset, end); in add_ra_bio_pages() [all …]
|
D | file.c | 62 u64 last_offset; member 101 if (defrag->last_offset > entry->last_offset) in __btrfs_add_inode_defrag() 102 entry->last_offset = defrag->last_offset; in __btrfs_add_inode_defrag() 256 range.start = defrag->last_offset; in btrfs_run_defrag_inodes() 265 defrag->last_offset = range.start; in btrfs_run_defrag_inodes() 272 } else if (defrag->last_offset && !defrag->cycled) { in btrfs_run_defrag_inodes() 278 defrag->last_offset = 0; in btrfs_run_defrag_inodes()
|
D | tree-log.c | 2436 u64 first_offset, u64 last_offset) in insert_dir_log_key() argument 2454 btrfs_set_dir_log_end(path->nodes[0], item, last_offset); in insert_dir_log_key() 2480 u64 last_offset = (u64)-1; in log_dir_items() local 2581 last_offset = (u64)-1; in log_dir_items() 2586 last_offset = (u64)-1; in log_dir_items() 2596 last_offset = tmp.offset; in log_dir_items() 2605 *last_offset_ret = last_offset; in log_dir_items() 2611 ino, first_offset, last_offset); in log_dir_items()
|
/fs/reiserfs/ |
D | inode.c | 2385 unsigned last_offset; in reiserfs_write_full_page() local 2387 last_offset = inode->i_size & (PAGE_CACHE_SIZE - 1); in reiserfs_write_full_page() 2389 if (page->index >= end_index + 1 || !last_offset) { in reiserfs_write_full_page() 2393 zero_user_segment(page, last_offset, PAGE_CACHE_SIZE); in reiserfs_write_full_page()
|
/fs/xfs/ |
D | xfs_inode.c | 1391 int offset, last_offset = 0; in xfs_iunlink_remove() local 1472 &last_ibp, &last_offset, 0); in xfs_iunlink_remove() 1512 offset = last_offset + offsetof(xfs_dinode_t, di_next_unlinked); in xfs_iunlink_remove()
|
/fs/ext4/ |
D | extents.c | 4528 pgoff_t last_offset; in ext4_ext_fiemap_cb() local 4543 last_offset = offset; in ext4_ext_fiemap_cb() 4604 if (ret > 0 && pages[0]->index == last_offset) in ext4_ext_fiemap_cb()
|