Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 9 of 9) 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.c1954 u64 cur_offset = lockstart; in btrfs_punch_hole() local
2065 while (cur_offset < lockend) { in btrfs_punch_hole()
2067 cur_offset, lockend + 1, in btrfs_punch_hole()
2074 ret = fill_holes(trans, inode, path, cur_offset, drop_end); in btrfs_punch_hole()
2080 cur_offset = drop_end; in btrfs_punch_hole()
2110 ret = fill_holes(trans, inode, path, cur_offset, drop_end); in btrfs_punch_hole()
2145 u64 cur_offset; in btrfs_fallocate() local
2227 cur_offset = alloc_start; in btrfs_fallocate()
2231 em = btrfs_get_extent(inode, NULL, 0, cur_offset, in btrfs_fallocate()
2232 alloc_end - cur_offset, 0); in btrfs_fallocate()
[all …]
Dinode.c1201 u64 cur_offset; in run_delalloc_nocow() local
1254 cur_offset = start; in run_delalloc_nocow()
1257 cur_offset, 0); in run_delalloc_nocow()
1294 if (found_key.offset > cur_offset) { in run_delalloc_nocow()
1332 disk_bytenr += cur_offset - found_key.offset; in run_delalloc_nocow()
1333 num_bytes = min(end + 1, extent_end) - cur_offset; in run_delalloc_nocow()
1356 cow_start = cur_offset; in run_delalloc_nocow()
1357 cur_offset = extent_end; in run_delalloc_nocow()
1358 if (cur_offset > end) in run_delalloc_nocow()
1382 em->start = cur_offset; in run_delalloc_nocow()
[all …]
Dbackref.c1623 u32 cur_offset; in iterate_inode_extrefs() local
1649 cur_offset = 0; in iterate_inode_extrefs()
1651 while (cur_offset < item_size) { in iterate_inode_extrefs()
1654 extref = (struct btrfs_inode_extref *)(ptr + cur_offset); in iterate_inode_extrefs()
1662 cur_offset += btrfs_inode_extref_name_len(leaf, extref); in iterate_inode_extrefs()
1663 cur_offset += sizeof(*extref); in iterate_inode_extrefs()
Dtree-log.c936 u32 cur_offset = 0; in __add_inode_ref() local
945 while (cur_offset < item_size) { in __add_inode_ref()
946 extref = (struct btrfs_inode_extref *)base + cur_offset; in __add_inode_ref()
993 cur_offset += victim_name_len + sizeof(*extref); in __add_inode_ref()
1211 u32 cur_offset = 0; in count_inode_extrefs() local
1228 while (cur_offset < item_size) { in count_inode_extrefs()
1229 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in count_inode_extrefs()
1234 cur_offset += name_len + sizeof(*extref); in count_inode_extrefs()
Dsend.c1047 u64 cur_offset; member
1101 offset == bctx->cur_offset) { in __iterate_backrefs()
1133 if (offset + bctx->extent_len > bctx->cur_offset) in __iterate_backrefs()
1246 backref_ctx->cur_offset = data_offset; in find_extent_clone()
/fs/squashfs/
Dfile.c248 int cur_offset = squashfs_i(inode)->offset; in fill_meta_index() local
270 cur_offset = meta_entry->offset; in fill_meta_index()
277 cur_offset, cur_data_block); in fill_meta_index()
289 &cur_index_block, &cur_offset); in fill_meta_index()
306 meta_entry->offset = cur_offset; in fill_meta_index()
320 *index_offset = cur_offset; in fill_meta_index()
/fs/
Ddirect-io.c709 loff_t cur_offset = sdio->cur_page_fs_offset; in dio_send_cur_page() local
728 cur_offset != bio_next_offset) in dio_send_cur_page()
/fs/cifs/
Dfile.c2969 char *cur_offset; in cifs_read() local
3003 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read()
3004 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read()
3027 &bytes_read, &cur_offset, in cifs_read()