Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 12 of 12) sorted by relevance

/fs/btrfs/
Dinode-item.c19 u32 cur_offset = 0; in btrfs_find_name_in_backref() local
24 while (cur_offset < item_size) { in btrfs_find_name_in_backref()
25 ref = (struct btrfs_inode_ref *)(ptr + cur_offset); in btrfs_find_name_in_backref()
28 cur_offset += len + sizeof(*ref); in btrfs_find_name_in_backref()
45 u32 cur_offset = 0; in btrfs_find_name_in_ext_backref() local
57 while (cur_offset < item_size) { in btrfs_find_name_in_ext_backref()
58 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in btrfs_find_name_in_ext_backref()
67 cur_offset += ref_name_len + sizeof(*extref); in btrfs_find_name_in_ext_backref()
Dfile.c2618 u64 cur_offset; in btrfs_replace_file_extents() local
2657 cur_offset = start; in btrfs_replace_file_extents()
2658 while (cur_offset < end) { in btrfs_replace_file_extents()
2660 cur_offset, end + 1, &drop_end, in btrfs_replace_file_extents()
2680 if (!extent_info && cur_offset < drop_end && in btrfs_replace_file_extents()
2681 cur_offset < ino_size) { in btrfs_replace_file_extents()
2683 cur_offset, drop_end); in btrfs_replace_file_extents()
2694 } else if (!extent_info && cur_offset < drop_end) { in btrfs_replace_file_extents()
2702 cur_offset, drop_end - cur_offset); in btrfs_replace_file_extents()
2728 cur_offset = drop_end; in btrfs_replace_file_extents()
[all …]
Dinode.c1457 u64 cur_offset = start; in run_delalloc_nocow() local
1491 cur_offset, 0); in run_delalloc_nocow()
1516 cur_offset = cow_start; in run_delalloc_nocow()
1548 if (found_key.offset > cur_offset) { in run_delalloc_nocow()
1575 if (extent_end <= cur_offset) { in run_delalloc_nocow()
1613 cur_offset = cow_start; in run_delalloc_nocow()
1621 disk_bytenr += cur_offset - found_key.offset; in run_delalloc_nocow()
1622 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow()
1643 cur_offset = cow_start; in run_delalloc_nocow()
1671 cow_start = cur_offset; in run_delalloc_nocow()
[all …]
Dtree-log.c1081 u32 cur_offset = 0; in __add_inode_ref() local
1090 while (cur_offset < item_size) { in __add_inode_ref()
1091 extref = (struct btrfs_inode_extref *)(base + cur_offset); in __add_inode_ref()
1141 cur_offset += victim_name_len + sizeof(*extref); in __add_inode_ref()
1623 u32 cur_offset = 0; in count_inode_extrefs() local
1639 cur_offset = 0; in count_inode_extrefs()
1641 while (cur_offset < item_size) { in count_inode_extrefs()
1642 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in count_inode_extrefs()
1647 cur_offset += name_len + sizeof(*extref); in count_inode_extrefs()
4829 u32 cur_offset = 0; in btrfs_check_ref_name_override() local
[all …]
Dbackref.c2190 u32 cur_offset; local
2214 cur_offset = 0;
2216 while (cur_offset < item_size) {
2219 extref = (struct btrfs_inode_extref *)(ptr + cur_offset);
2227 cur_offset += btrfs_inode_extref_name_len(eb, extref);
2228 cur_offset += sizeof(*extref);
Dsend.c1189 u64 cur_offset; member
1244 offset == bctx->cur_offset) { in __iterate_backrefs()
1401 backref_ctx->cur_offset = data_offset; in find_extent_clone()
3628 u32 cur_offset = 0; in is_ancestor() local
3648 while (cur_offset < item_size) { in is_ancestor()
3658 (ptr + cur_offset); in is_ancestor()
3661 cur_offset += sizeof(*extref); in is_ancestor()
3662 cur_offset += btrfs_inode_extref_name_len(leaf, in is_ancestor()
3666 cur_offset = item_size; in is_ancestor()
6607 u32 cur_offset = 0; in compare_refs() local
[all …]
Dvolumes.c6980 u32 cur_offset; in btrfs_read_sys_array() local
7015 cur_offset = 0; in btrfs_read_sys_array()
7017 while (cur_offset < array_size) { in btrfs_read_sys_array()
7020 if (cur_offset + len > array_size) in btrfs_read_sys_array()
7027 cur_offset += len; in btrfs_read_sys_array()
7032 (u32)key.type, cur_offset); in btrfs_read_sys_array()
7043 if (cur_offset + len > array_size) in btrfs_read_sys_array()
7050 num_stripes, cur_offset); in btrfs_read_sys_array()
7059 type, cur_offset); in btrfs_read_sys_array()
7065 if (cur_offset + len > array_size) in btrfs_read_sys_array()
[all …]
Drelocation.c2618 u64 cur_offset = prealloc_start; in prealloc_file_extent_cluster() local
2639 cur_offset = end + 1; in prealloc_file_extent_cluster()
2646 if (cur_offset < prealloc_end) in prealloc_file_extent_cluster()
2648 prealloc_end + 1 - cur_offset); in prealloc_file_extent_cluster()
/fs/squashfs/
Dfile.c236 int cur_offset = squashfs_i(inode)->offset; in fill_meta_index() local
258 cur_offset = meta_entry->offset; in fill_meta_index()
265 cur_offset, cur_data_block); in fill_meta_index()
277 &cur_index_block, &cur_offset); in fill_meta_index()
294 meta_entry->offset = cur_offset; in fill_meta_index()
308 *index_offset = cur_offset; in fill_meta_index()
/fs/
Ddirect-io.c754 loff_t cur_offset = sdio->cur_page_fs_offset; in dio_send_cur_page() local
779 cur_offset != bio_next_offset || in dio_send_cur_page()
781 cur_offset >> dio->inode->i_blkbits)) in dio_send_cur_page()
/fs/ceph/
Daddr.c1092 u64 cur_offset = page_offset(pages[i]); in ceph_writepages_start() local
1093 if (offset + len != cur_offset) { in ceph_writepages_start()
1097 cur_offset - offset); in ceph_writepages_start()
1106 offset = cur_offset; in ceph_writepages_start()
/fs/cifs/
Dfile.c4054 char *cur_offset; in cifs_read() local
4088 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read()
4089 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read()
4114 &bytes_read, &cur_offset, in cifs_read()