Home
last modified time | relevance | path

Searched refs:last_offset (Results 1 – 6 of 6) sorted by relevance

/fs/btrfs/
Dcompression.c549 u64 last_offset; in add_ra_bio_pages() local
560 last_offset = bio_end_offset(cb->orig_bio); in add_ra_bio_pages()
579 while (last_offset < compressed_end) { in add_ra_bio_pages()
580 pg_index = last_offset >> PAGE_SHIFT; in add_ra_bio_pages()
615 end = last_offset + PAGE_SIZE - 1; in add_ra_bio_pages()
616 lock_extent(tree, last_offset, end); in add_ra_bio_pages()
618 em = lookup_extent_mapping(em_tree, last_offset, in add_ra_bio_pages()
622 if (!em || last_offset < em->start || in add_ra_bio_pages()
623 (last_offset + PAGE_SIZE > extent_map_end(em)) || in add_ra_bio_pages()
626 unlock_extent(tree, last_offset, end); in add_ra_bio_pages()
[all …]
Dfile.c54 u64 last_offset; member
110 if (defrag->last_offset > entry->last_offset) in __btrfs_add_inode_defrag()
111 entry->last_offset = defrag->last_offset; in __btrfs_add_inode_defrag()
302 range.start = defrag->last_offset; in __btrfs_run_defrag_inode()
314 defrag->last_offset = range.start; in __btrfs_run_defrag_inode()
316 } else if (defrag->last_offset && !defrag->cycled) { in __btrfs_run_defrag_inode()
322 defrag->last_offset = 0; in __btrfs_run_defrag_inode()
Dscrub.c2744 u64 last_offset; in get_raid56_logic_offset() local
2749 last_offset = (physical - map->stripes[num].physical) * data_stripes; in get_raid56_logic_offset()
2751 *stripe_start = last_offset; in get_raid56_logic_offset()
2753 *offset = last_offset; in get_raid56_logic_offset()
2755 *offset = last_offset + i * map->stripe_len; in get_raid56_logic_offset()
2770 *offset = last_offset + j * map->stripe_len; in get_raid56_logic_offset()
Dtree-log.c3618 u64 first_offset, u64 last_offset) in insert_dir_log_key() argument
3636 btrfs_set_dir_log_end(path->nodes[0], item, last_offset); in insert_dir_log_key()
3662 u64 last_offset = (u64)-1; in log_dir_items() local
3804 last_offset = (u64)-1; in log_dir_items()
3811 last_offset = (u64)-1; in log_dir_items()
3821 last_offset = tmp.offset; in log_dir_items()
3830 *last_offset_ret = last_offset; in log_dir_items()
3836 ino, first_offset, last_offset); in log_dir_items()
/fs/reiserfs/
Dinode.c2563 unsigned last_offset; in reiserfs_write_full_page() local
2565 last_offset = inode->i_size & (PAGE_SIZE - 1); in reiserfs_write_full_page()
2567 if (page->index >= end_index + 1 || !last_offset) { in reiserfs_write_full_page()
2571 zero_user_segment(page, last_offset, PAGE_SIZE); in reiserfs_write_full_page()
/fs/f2fs/
Dnode.c2825 int i, idx, last_offset, nrpages; in f2fs_restore_node_summary() local
2828 last_offset = sbi->blocks_per_seg; in f2fs_restore_node_summary()
2832 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { in f2fs_restore_node_summary()
2833 nrpages = bio_max_segs(last_offset - i); in f2fs_restore_node_summary()