Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 12 of 12) 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.c2349 u64 cur_offset; in btrfs_punch_hole() local
2517 cur_offset = lockstart; in btrfs_punch_hole()
2518 len = lockend - cur_offset; in btrfs_punch_hole()
2519 while (cur_offset < lockend) { in btrfs_punch_hole()
2521 cur_offset, lockend + 1, in btrfs_punch_hole()
2528 if (cur_offset < ino_size) { in btrfs_punch_hole()
2529 ret = fill_holes(trans, inode, path, cur_offset, in btrfs_punch_hole()
2537 cur_offset = drop_end; in btrfs_punch_hole()
2560 ret = find_first_non_hole(inode, &cur_offset, &len); in btrfs_punch_hole()
2593 if (cur_offset < ino_size && cur_offset < drop_end) { in btrfs_punch_hole()
[all …]
Dinode.c1255 u64 cur_offset; in run_delalloc_nocow() local
1306 cur_offset = start; in run_delalloc_nocow()
1309 cur_offset, 0); in run_delalloc_nocow()
1327 cur_offset = cow_start; in run_delalloc_nocow()
1351 if (found_key.offset > cur_offset) { in run_delalloc_nocow()
1389 disk_bytenr += cur_offset - found_key.offset; in run_delalloc_nocow()
1390 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow()
1431 cow_start = cur_offset; in run_delalloc_nocow()
1432 cur_offset = extent_end; in run_delalloc_nocow()
1433 if (cur_offset > end) in run_delalloc_nocow()
[all …]
Dtree-log.c1079 u32 cur_offset = 0; in __add_inode_ref() local
1088 while (cur_offset < item_size) { in __add_inode_ref()
1089 extref = (struct btrfs_inode_extref *)(base + cur_offset); in __add_inode_ref()
1138 cur_offset += victim_name_len + sizeof(*extref); in __add_inode_ref()
1363 u32 cur_offset = 0; in count_inode_extrefs() local
1379 cur_offset = 0; in count_inode_extrefs()
1381 while (cur_offset < item_size) { in count_inode_extrefs()
1382 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in count_inode_extrefs()
1387 cur_offset += name_len + sizeof(*extref); in count_inode_extrefs()
4500 u32 cur_offset = 0; in btrfs_check_ref_name_override() local
[all …]
Dbackref.c2175 u32 cur_offset; local
2203 cur_offset = 0;
2205 while (cur_offset < item_size) {
2208 extref = (struct btrfs_inode_extref *)(ptr + cur_offset);
2216 cur_offset += btrfs_inode_extref_name_len(eb, extref);
2217 cur_offset += sizeof(*extref);
Drelocation.c3075 u64 cur_offset; local
3085 cur_offset = prealloc_start;
3095 if (cur_offset < start)
3096 btrfs_free_reserved_data_space(inode, cur_offset,
3097 start - cur_offset);
3101 cur_offset = end + 1;
3107 if (cur_offset < prealloc_end)
3108 btrfs_free_reserved_data_space(inode, cur_offset,
3109 prealloc_end + 1 - cur_offset);
Dvolumes.c6687 u32 cur_offset; in btrfs_read_sys_array() local
6722 cur_offset = 0; in btrfs_read_sys_array()
6724 while (cur_offset < array_size) { in btrfs_read_sys_array()
6727 if (cur_offset + len > array_size) in btrfs_read_sys_array()
6734 cur_offset += len; in btrfs_read_sys_array()
6743 if (cur_offset + len > array_size) in btrfs_read_sys_array()
6750 num_stripes, cur_offset); in btrfs_read_sys_array()
6759 type, cur_offset); in btrfs_read_sys_array()
6765 if (cur_offset + len > array_size) in btrfs_read_sys_array()
6774 (u32)key.type, cur_offset); in btrfs_read_sys_array()
[all …]
Dsend.c1190 u64 cur_offset; member
1247 offset == bctx->cur_offset) { in __iterate_backrefs()
1280 if (offset + bctx->extent_len > bctx->cur_offset) in __iterate_backrefs()
1401 backref_ctx->cur_offset = data_offset; in find_extent_clone()
5927 u32 cur_offset = 0; in compare_refs() local
5942 while (cur_offset < item_size) { in compare_refs()
5944 cur_offset); in compare_refs()
5947 cur_offset += ref_name_len + sizeof(*extref); in compare_refs()
/fs/squashfs/
Dfile.c246 int cur_offset = squashfs_i(inode)->offset; in fill_meta_index() local
268 cur_offset = meta_entry->offset; in fill_meta_index()
275 cur_offset, cur_data_block); in fill_meta_index()
287 &cur_index_block, &cur_offset); in fill_meta_index()
304 meta_entry->offset = cur_offset; in fill_meta_index()
318 *index_offset = cur_offset; in fill_meta_index()
/fs/ceph/
Daddr.c1048 u64 cur_offset = page_offset(pages[i]); in ceph_writepages_start() local
1049 if (offset + len != cur_offset) { in ceph_writepages_start()
1053 cur_offset - offset); in ceph_writepages_start()
1062 offset = cur_offset; in ceph_writepages_start()
/fs/
Ddirect-io.c731 loff_t cur_offset = sdio->cur_page_fs_offset; in dio_send_cur_page() local
750 cur_offset != bio_next_offset) in dio_send_cur_page()
/fs/cifs/
Dfile.c3188 char *cur_offset; in cifs_read() local
3222 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read()
3223 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read()
3247 &bytes_read, &cur_offset, in cifs_read()