Searched refs:extent_offset (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/fs/btrfs/
H A Dbackref.h45 u64 extent_offset, int search_commit_root,
H A Dinode.c1219 u64 extent_offset; run_delalloc_nocow() local
1322 extent_offset = btrfs_file_extent_offset(leaf, fi); run_delalloc_nocow()
1343 extent_offset, disk_bytenr)) run_delalloc_nocow()
1345 disk_bytenr += extent_offset; run_delalloc_nocow()
1410 em->orig_start = found_key.offset - extent_offset; run_delalloc_nocow()
2134 u64 extent_offset; member in struct:sa_defrag_extent_backref
2143 u64 extent_offset; member in struct:old_sa_defrag_extent
2236 u64 extent_offset; record_one_backref() local
2306 * (key.offset - extent_offset). record_one_backref()
2311 extent_offset = btrfs_file_extent_offset(leaf, extent); record_one_backref()
2314 if (extent_offset >= old->extent_offset + old->offset + record_one_backref()
2315 old->len || extent_offset + num_bytes <= record_one_backref()
2316 old->extent_offset + old->offset) record_one_backref()
2331 backref->extent_offset = extent_offset; record_one_backref()
2353 old->extent_offset, fs_info, record_extent_backrefs()
2499 if (backref->extent_offset < old->extent_offset + old->offset) relink_extent_backref()
2500 start += old->extent_offset + old->offset - relink_extent_backref()
2501 backref->extent_offset; relink_extent_backref()
2503 len = min(backref->extent_offset + backref->num_bytes, relink_extent_backref()
2504 old->extent_offset + old->offset + old->len); relink_extent_backref()
2505 len -= max(backref->extent_offset, old->extent_offset + old->offset); relink_extent_backref()
2578 new->file_pos, 0); /* start - extent_offset */ relink_extent_backref()
2709 u64 extent_offset; record_old_file_extents() local
2742 extent_offset = btrfs_file_extent_offset(l, extent); record_old_file_extents()
2752 old->extent_offset = extent_offset; record_old_file_extents()
4247 u64 extent_offset = 0; btrfs_truncate_inode_items() local
4400 extent_offset = found_key.offset - btrfs_truncate_inode_items()
4481 ino, extent_offset, 0); btrfs_truncate_inode_items()
6633 size_t pg_offset, u64 extent_offset, uncompress_inline()
6658 extent_offset, inline_size, max_size); uncompress_inline()
6810 size_t extent_offset; btrfs_get_extent() local
6817 extent_offset = page_offset(page) + pg_offset - extent_start; btrfs_get_extent()
6819 size - extent_offset); btrfs_get_extent()
6820 em->start = extent_start + extent_offset; btrfs_get_extent()
6824 ptr = btrfs_file_extent_inline_start(item) + extent_offset; btrfs_get_extent()
6830 extent_offset, item); btrfs_get_extent()
6631 uncompress_inline(struct btrfs_path *path, struct inode *inode, struct page *page, size_t pg_offset, u64 extent_offset, struct btrfs_file_extent_item *item) uncompress_inline() argument
H A Dfile.c707 u64 extent_offset = 0; __btrfs_drop_extents() local
779 extent_offset = btrfs_file_extent_offset(leaf, fi); __btrfs_drop_extents()
847 extent_offset += start - key.offset; __btrfs_drop_extents()
848 btrfs_set_file_extent_offset(leaf, fi, extent_offset); __btrfs_drop_extents()
858 start - extent_offset, 1); __btrfs_drop_extents()
877 extent_offset += end - key.offset; __btrfs_drop_extents()
878 btrfs_set_file_extent_offset(leaf, fi, extent_offset); __btrfs_drop_extents()
936 extent_offset, 0); __btrfs_drop_extents()
H A Dextent_io.c2919 u64 extent_offset; __do_readpage() local
2987 extent_offset = cur - em->start; __do_readpage()
3004 sector = (em->block_start + extent_offset) >> 9; __do_readpage()
3376 u64 extent_offset; __extent_writepage_io() local
3438 extent_offset = cur - em->start; __extent_writepage_io()
3444 sector = (em->block_start + extent_offset) >> 9; __extent_writepage_io()
H A Dtree-log.c3941 u64 extent_offset = em->start - em->orig_start; log_one_extent() local
4000 extent_offset, &token); log_one_extent()
4009 btrfs_set_token_file_extent_offset(leaf, fi, extent_offset, &token); log_one_extent()
/linux-4.1.27/fs/ecryptfs/
H A Dcrypto.c420 * @extent_offset: Page extent offset for use in generating IV
430 unsigned long extent_offset, int op) crypt_extent()
441 (extent_base + extent_offset)); crypt_extent()
445 (unsigned long long)(extent_base + extent_offset), rc); crypt_extent()
453 extent_offset * extent_size); crypt_extent()
455 extent_offset * extent_size); crypt_extent()
461 "page_index = [%ld], extent_offset = [%ld]; " crypt_extent()
462 "rc = [%d]\n", __func__, page_index, extent_offset, rc); crypt_extent()
492 loff_t extent_offset; ecryptfs_encrypt_page() local
508 for (extent_offset = 0; ecryptfs_encrypt_page()
509 extent_offset < (PAGE_CACHE_SIZE / crypt_stat->extent_size); ecryptfs_encrypt_page()
510 extent_offset++) { ecryptfs_encrypt_page()
512 extent_offset, ENCRYPT); ecryptfs_encrypt_page()
560 unsigned long extent_offset; ecryptfs_decrypt_page() local
581 for (extent_offset = 0; ecryptfs_decrypt_page()
582 extent_offset < (PAGE_CACHE_SIZE / crypt_stat->extent_size); ecryptfs_decrypt_page()
583 extent_offset++) { ecryptfs_decrypt_page()
585 extent_offset, DECRYPT); ecryptfs_decrypt_page()
427 crypt_extent(struct ecryptfs_crypt_stat *crypt_stat, struct page *dst_page, struct page *src_page, unsigned long extent_offset, int op) crypt_extent() argument

Completed in 1164 milliseconds