Searched refs:cur_offset (Results 1 – 12 of 12) sorted by relevance
/fs/btrfs/ |
D | inode-item.c | 19 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()
|
D | file.c | 2530 u64 cur_offset; in btrfs_punch_hole_range() local 2569 cur_offset = start; in btrfs_punch_hole_range() 2570 while (cur_offset < end) { in btrfs_punch_hole_range() 2572 cur_offset, end + 1, &drop_end, in btrfs_punch_hole_range() 2589 if (!clone_info && cur_offset < drop_end && in btrfs_punch_hole_range() 2590 cur_offset < ino_size) { in btrfs_punch_hole_range() 2592 cur_offset, drop_end); in btrfs_punch_hole_range() 2619 cur_offset = drop_end; in btrfs_punch_hole_range() 2641 ret = find_first_non_hole(inode, &cur_offset, &len); in btrfs_punch_hole_range() 2685 if (!clone_info && cur_offset < ino_size && cur_offset < drop_end) { in btrfs_punch_hole_range() [all …]
|
D | inode.c | 1342 u64 cur_offset = start; in run_delalloc_nocow() local 1376 cur_offset, 0); in run_delalloc_nocow() 1401 cur_offset = cow_start; in run_delalloc_nocow() 1433 if (found_key.offset > cur_offset) { in run_delalloc_nocow() 1460 if (extent_end <= cur_offset) { in run_delalloc_nocow() 1498 cur_offset = cow_start; in run_delalloc_nocow() 1506 disk_bytenr += cur_offset - found_key.offset; in run_delalloc_nocow() 1507 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow() 1528 cur_offset = cow_start; in run_delalloc_nocow() 1556 cow_start = cur_offset; in run_delalloc_nocow() [all …]
|
D | tree-log.c | 1091 u32 cur_offset = 0; in __add_inode_ref() local 1100 while (cur_offset < item_size) { in __add_inode_ref() 1101 extref = (struct btrfs_inode_extref *)(base + cur_offset); in __add_inode_ref() 1148 cur_offset += victim_name_len + sizeof(*extref); in __add_inode_ref() 1605 u32 cur_offset = 0; in count_inode_extrefs() local 1621 cur_offset = 0; in count_inode_extrefs() 1623 while (cur_offset < item_size) { in count_inode_extrefs() 1624 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in count_inode_extrefs() 1629 cur_offset += name_len + sizeof(*extref); in count_inode_extrefs() 4885 u32 cur_offset = 0; in btrfs_check_ref_name_override() local [all …]
|
D | backref.c | 2073 u32 cur_offset; local 2097 cur_offset = 0; 2099 while (cur_offset < item_size) { 2102 extref = (struct btrfs_inode_extref *)(ptr + cur_offset); 2110 cur_offset += btrfs_inode_extref_name_len(eb, extref); 2111 cur_offset += sizeof(*extref);
|
D | relocation.c | 3193 u64 cur_offset; in prealloc_file_extent_cluster() local 3204 cur_offset = prealloc_start; in prealloc_file_extent_cluster() 3214 if (cur_offset < start) in prealloc_file_extent_cluster() 3216 cur_offset, start - cur_offset); in prealloc_file_extent_cluster() 3220 cur_offset = end + 1; in prealloc_file_extent_cluster() 3226 if (cur_offset < prealloc_end) in prealloc_file_extent_cluster() 3228 cur_offset, prealloc_end + 1 - cur_offset); in prealloc_file_extent_cluster()
|
D | send.c | 1194 u64 cur_offset; member 1249 offset == bctx->cur_offset) { in __iterate_backrefs() 1397 backref_ctx->cur_offset = data_offset; in find_extent_clone() 3612 u32 cur_offset = 0; in is_ancestor() local 3632 while (cur_offset < item_size) { in is_ancestor() 3642 (ptr + cur_offset); in is_ancestor() 3645 cur_offset += sizeof(*extref); in is_ancestor() 3646 cur_offset += btrfs_inode_extref_name_len(leaf, in is_ancestor() 3650 cur_offset = item_size; in is_ancestor() 6414 u32 cur_offset = 0; in compare_refs() local [all …]
|
D | volumes.c | 7021 u32 cur_offset; in btrfs_read_sys_array() local 7056 cur_offset = 0; in btrfs_read_sys_array() 7058 while (cur_offset < array_size) { in btrfs_read_sys_array() 7061 if (cur_offset + len > array_size) in btrfs_read_sys_array() 7068 cur_offset += len; in btrfs_read_sys_array() 7077 if (cur_offset + len > array_size) in btrfs_read_sys_array() 7084 num_stripes, cur_offset); in btrfs_read_sys_array() 7093 type, cur_offset); in btrfs_read_sys_array() 7099 if (cur_offset + len > array_size) in btrfs_read_sys_array() 7108 (u32)key.type, cur_offset); in btrfs_read_sys_array() [all …]
|
/fs/squashfs/ |
D | file.c | 236 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/ceph/ |
D | addr.c | 1058 u64 cur_offset = page_offset(pages[i]); in ceph_writepages_start() local 1059 if (offset + len != cur_offset) { in ceph_writepages_start() 1063 cur_offset - offset); in ceph_writepages_start() 1072 offset = cur_offset; in ceph_writepages_start()
|
/fs/ |
D | direct-io.c | 792 loff_t cur_offset = sdio->cur_page_fs_offset; in dio_send_cur_page() local 811 cur_offset != bio_next_offset) in dio_send_cur_page()
|
/fs/cifs/ |
D | file.c | 3950 char *cur_offset; in cifs_read() local 3984 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read() 3985 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read() 4009 &bytes_read, &cur_offset, in cifs_read()
|