Lines Matching refs:file_pos
1891 struct inode *inode, u64 file_pos, in insert_reserved_file_extent() argument
1919 ret = btrfs_drop_extents(trans, root, inode, file_pos, in insert_reserved_file_extent()
1920 file_pos + num_bytes, 0); in insert_reserved_file_extent()
1925 ins.offset = file_pos; in insert_reserved_file_extent()
1954 btrfs_ino(inode), file_pos, &ins); in insert_reserved_file_extent()
1967 u64 file_pos; member
1989 u64 file_pos; member
2009 if (b1->file_pos < b2->file_pos) in backref_comp()
2011 else if (b1->file_pos > b2->file_pos) in backref_comp()
2159 backref->file_pos = offset + extent_offset; in record_one_backref()
2248 prev->file_pos + prev->num_bytes == backref->file_pos) in relink_extent_backref()
2286 lock_start = backref->file_pos; in relink_extent_backref()
2287 lock_end = backref->file_pos + backref->num_bytes - 1; in relink_extent_backref()
2305 key.offset = backref->file_pos; in relink_extent_backref()
2324 start = backref->file_pos; in relink_extent_backref()
2388 btrfs_set_file_extent_offset(leaf, item, start - new->file_pos); in relink_extent_backref()
2404 new->file_pos, 0); /* start - extent_offset */ in relink_extent_backref()
2496 new->file_pos = ordered->file_offset; in record_old_file_extents()
2510 key.offset = new->file_pos; in record_old_file_extents()
2547 if (key.offset >= new->file_pos + new->len) in record_old_file_extents()
2553 if (key.offset + num_bytes < new->file_pos) in record_old_file_extents()
2566 offset = max(new->file_pos, key.offset); in record_old_file_extents()
2567 end = min(new->file_pos + new->len, key.offset + num_bytes); in record_old_file_extents()