Home
last modified time | relevance | path

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

/fs/btrfs/
Dinode-item.c33 u32 cur_offset = 0; in find_name_in_backref() local
39 while (cur_offset < item_size) { in find_name_in_backref()
40 ref = (struct btrfs_inode_ref *)(ptr + cur_offset); in find_name_in_backref()
43 cur_offset += len + sizeof(*ref); in find_name_in_backref()
63 u32 cur_offset = 0; in btrfs_find_name_in_ext_backref() local
76 while (cur_offset < item_size) { in btrfs_find_name_in_ext_backref()
77 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in btrfs_find_name_in_ext_backref()
89 cur_offset += ref_name_len + sizeof(*extref); in btrfs_find_name_in_ext_backref()
Dfile.c2310 u64 cur_offset; in btrfs_punch_hole() local
2478 cur_offset = lockstart; in btrfs_punch_hole()
2479 len = lockend - cur_offset; in btrfs_punch_hole()
2480 while (cur_offset < lockend) { in btrfs_punch_hole()
2482 cur_offset, lockend + 1, in btrfs_punch_hole()
2489 if (cur_offset < ino_size) { in btrfs_punch_hole()
2490 ret = fill_holes(trans, inode, path, cur_offset, in btrfs_punch_hole()
2498 cur_offset = drop_end; in btrfs_punch_hole()
2521 ret = find_first_non_hole(inode, &cur_offset, &len); in btrfs_punch_hole()
2554 if (cur_offset < ino_size && cur_offset < drop_end) { in btrfs_punch_hole()
[all …]
Dinode.c1246 u64 cur_offset; in run_delalloc_nocow() local
1295 cur_offset = start; in run_delalloc_nocow()
1298 cur_offset, 0); in run_delalloc_nocow()
1316 cur_offset = cow_start; in run_delalloc_nocow()
1340 if (found_key.offset > cur_offset) { in run_delalloc_nocow()
1383 cur_offset = cow_start; in run_delalloc_nocow()
1391 disk_bytenr += cur_offset - found_key.offset; in run_delalloc_nocow()
1392 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow()
1415 cur_offset = cow_start; in run_delalloc_nocow()
1439 cow_start = cur_offset; in run_delalloc_nocow()
[all …]
Dtree-log.c1061 u32 cur_offset = 0; in __add_inode_ref() local
1070 while (cur_offset < item_size) { in __add_inode_ref()
1071 extref = (struct btrfs_inode_extref *)(base + cur_offset); in __add_inode_ref()
1120 cur_offset += victim_name_len + sizeof(*extref); in __add_inode_ref()
1345 u32 cur_offset = 0; in count_inode_extrefs() local
1361 cur_offset = 0; in count_inode_extrefs()
1363 while (cur_offset < item_size) { in count_inode_extrefs()
1364 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in count_inode_extrefs()
1369 cur_offset += name_len + sizeof(*extref); in count_inode_extrefs()
4488 u32 cur_offset = 0; in btrfs_check_ref_name_override() local
[all …]
Dbackref.c1860 u32 cur_offset; local
1888 cur_offset = 0;
1890 while (cur_offset < item_size) {
1893 extref = (struct btrfs_inode_extref *)(ptr + cur_offset);
1901 cur_offset += btrfs_inode_extref_name_len(eb, extref);
1902 cur_offset += sizeof(*extref);
Dvolumes.c6585 u32 cur_offset; in btrfs_read_sys_array() local
6620 cur_offset = 0; in btrfs_read_sys_array()
6622 while (cur_offset < array_size) { in btrfs_read_sys_array()
6625 if (cur_offset + len > array_size) in btrfs_read_sys_array()
6632 cur_offset += len; in btrfs_read_sys_array()
6641 if (cur_offset + len > array_size) in btrfs_read_sys_array()
6648 num_stripes, cur_offset); in btrfs_read_sys_array()
6657 type, cur_offset); in btrfs_read_sys_array()
6663 if (cur_offset + len > array_size) in btrfs_read_sys_array()
6675 cur_offset += len; in btrfs_read_sys_array()
[all …]
Dsend.c1158 u64 cur_offset; member
1215 offset == bctx->cur_offset) { in __iterate_backrefs()
1248 if (offset + bctx->extent_len > bctx->cur_offset) in __iterate_backrefs()
1368 backref_ctx->cur_offset = data_offset; in find_extent_clone()
5788 u32 cur_offset = 0; in compare_refs() local
5803 while (cur_offset < item_size) { in compare_refs()
5805 cur_offset); in compare_refs()
5808 cur_offset += ref_name_len + sizeof(*extref); in compare_refs()
/fs/squashfs/
Dfile.c253 int cur_offset = squashfs_i(inode)->offset; in fill_meta_index() local
275 cur_offset = meta_entry->offset; in fill_meta_index()
282 cur_offset, cur_data_block); in fill_meta_index()
294 &cur_index_block, &cur_offset); in fill_meta_index()
311 meta_entry->offset = cur_offset; in fill_meta_index()
325 *index_offset = cur_offset; in fill_meta_index()
/fs/
Ddirect-io.c719 loff_t cur_offset = sdio->cur_page_fs_offset; in dio_send_cur_page() local
738 cur_offset != bio_next_offset) in dio_send_cur_page()
/fs/cifs/
Dfile.c3190 char *cur_offset; in cifs_read() local
3224 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read()
3225 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read()
3249 &bytes_read, &cur_offset, in cifs_read()