Lines Matching refs:cur_offset
1150 u32 cur_offset = 0; in __add_inode_ref() local
1159 while (cur_offset < item_size) { in __add_inode_ref()
1162 extref = (struct btrfs_inode_extref *)(base + cur_offset); in __add_inode_ref()
1203 cur_offset += victim_name.len + sizeof(*extref); in __add_inode_ref()
1511 u32 cur_offset = 0; in count_inode_extrefs() local
1527 cur_offset = 0; in count_inode_extrefs()
1529 while (cur_offset < item_size) { in count_inode_extrefs()
1530 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in count_inode_extrefs()
1535 cur_offset += name_len + sizeof(*extref); in count_inode_extrefs()
5298 u32 cur_offset = 0; in btrfs_check_ref_name_override() local
5307 while (cur_offset < item_size) { in btrfs_check_ref_name_override()
5318 iref = (struct btrfs_inode_ref *)(ptr + cur_offset); in btrfs_check_ref_name_override()
5327 cur_offset); in btrfs_check_ref_name_override()
5375 cur_offset += this_len; in btrfs_check_ref_name_override()
6775 u32 cur_offset = 0; in btrfs_log_all_parents() local
6795 while (cur_offset < item_size) { in btrfs_log_all_parents()
6806 (ptr + cur_offset); in btrfs_log_all_parents()
6809 cur_offset += sizeof(*extref); in btrfs_log_all_parents()
6810 cur_offset += btrfs_inode_extref_name_len(leaf, in btrfs_log_all_parents()
6814 cur_offset = item_size; in btrfs_log_all_parents()