Searched refs:file_pos (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/fs/reiserfs/
H A Dxattr.c506 size_t file_pos = 0; reiserfs_xattr_set_handle() local
529 size_t page_offset = (file_pos & (PAGE_CACHE_SIZE - 1)); reiserfs_xattr_set_handle()
536 page = reiserfs_get_page(d_inode(dentry), file_pos); reiserfs_xattr_set_handle()
545 if (file_pos == 0) { reiserfs_xattr_set_handle()
548 skip = file_pos = sizeof(struct reiserfs_xattr_header); reiserfs_xattr_set_handle()
569 file_pos += chunk; reiserfs_xattr_set_handle()
637 size_t file_pos = 0; reiserfs_xattr_get() local
673 while (file_pos < isize) { reiserfs_xattr_get()
678 if (isize - file_pos > PAGE_CACHE_SIZE) reiserfs_xattr_get()
681 chunk = isize - file_pos; reiserfs_xattr_get()
683 page = reiserfs_get_page(d_inode(dentry), file_pos); reiserfs_xattr_get()
691 if (file_pos == 0) { reiserfs_xattr_get()
694 skip = file_pos = sizeof(struct reiserfs_xattr_header); reiserfs_xattr_get()
712 file_pos += chunk; reiserfs_xattr_get()
/linux-4.1.27/tools/perf/util/
H A Dsession.c1313 u64 head, page_offset, file_offset, file_pos, size; __perf_session__process_events() local
1357 file_pos = file_offset + head; __perf_session__process_events()
1380 (skip = perf_session__process_event(session, event, file_pos)) < 0) { __perf_session__process_events()
1392 file_pos += size; __perf_session__process_events()
1399 if (file_pos < file_size) __perf_session__process_events()
/linux-4.1.27/fs/btrfs/
H A Dinode.c2052 struct inode *inode, u64 file_pos, insert_reserved_file_extent()
2079 ret = __btrfs_drop_extents(trans, root, inode, path, file_pos, insert_reserved_file_extent()
2080 file_pos + num_bytes, NULL, 0, insert_reserved_file_extent()
2087 ins.offset = file_pos; insert_reserved_file_extent()
2120 btrfs_ino(inode), file_pos, &ins); insert_reserved_file_extent()
2133 u64 file_pos; member in struct:sa_defrag_extent_backref
2155 u64 file_pos; member in struct:new_sa_defrag_extent
2175 if (b1->file_pos < b2->file_pos) backref_comp()
2177 else if (b1->file_pos > b2->file_pos) backref_comp()
2329 backref->file_pos = offset; record_one_backref()
2422 prev->file_pos + prev->num_bytes == backref->file_pos) relink_extent_backref()
2460 lock_start = backref->file_pos; relink_extent_backref()
2461 lock_end = backref->file_pos + backref->num_bytes - 1; relink_extent_backref()
2479 key.offset = backref->file_pos; relink_extent_backref()
2498 start = backref->file_pos; relink_extent_backref()
2562 btrfs_set_file_extent_offset(leaf, item, start - new->file_pos); relink_extent_backref()
2578 new->file_pos, 0); /* start - extent_offset */ relink_extent_backref()
2678 new->file_pos = ordered->file_offset; record_old_file_extents()
2692 key.offset = new->file_pos; record_old_file_extents()
2729 if (key.offset >= new->file_pos + new->len) record_old_file_extents()
2735 if (key.offset + num_bytes < new->file_pos) record_old_file_extents()
2748 offset = max(new->file_pos, key.offset); record_old_file_extents()
2749 end = min(new->file_pos + new->len, key.offset + num_bytes); record_old_file_extents()
2051 insert_reserved_file_extent(struct btrfs_trans_handle *trans, struct inode *inode, u64 file_pos, u64 disk_bytenr, u64 disk_num_bytes, u64 num_bytes, u64 ram_bytes, u8 compression, u8 encryption, u16 other_encoding, int extent_type) insert_reserved_file_extent() argument
H A Drelocation.c4481 int btrfs_reloc_clone_csums(struct inode *inode, u64 file_pos, u64 len) btrfs_reloc_clone_csums() argument
4491 ordered = btrfs_lookup_ordered_extent(inode, file_pos); btrfs_reloc_clone_csums()
4492 BUG_ON(ordered->file_offset != file_pos || ordered->len != len); btrfs_reloc_clone_csums()
4494 disk_bytenr = file_pos + BTRFS_I(inode)->index_cnt; btrfs_reloc_clone_csums()
H A Dctree.h4172 int btrfs_reloc_clone_csums(struct inode *inode, u64 file_pos, u64 len);

Completed in 273 milliseconds