Lines Matching refs:cur_offset
1106 u32 cur_offset = 0; in __add_inode_ref() local
1115 while (cur_offset < item_size) { in __add_inode_ref()
1116 extref = (struct btrfs_inode_extref *)(base + cur_offset); in __add_inode_ref()
1163 cur_offset += victim_name_len + sizeof(*extref); in __add_inode_ref()
1645 u32 cur_offset = 0; in count_inode_extrefs() local
1661 cur_offset = 0; in count_inode_extrefs()
1663 while (cur_offset < item_size) { in count_inode_extrefs()
1664 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in count_inode_extrefs()
1669 cur_offset += name_len + sizeof(*extref); in count_inode_extrefs()
4783 u32 cur_offset = 0; in btrfs_check_ref_name_override() local
4792 while (cur_offset < item_size) { in btrfs_check_ref_name_override()
4802 iref = (struct btrfs_inode_ref *)(ptr + cur_offset); in btrfs_check_ref_name_override()
4811 cur_offset); in btrfs_check_ref_name_override()
4856 cur_offset += this_len; in btrfs_check_ref_name_override()
5790 u32 cur_offset = 0; in btrfs_log_all_parents() local
5810 while (cur_offset < item_size) { in btrfs_log_all_parents()
5821 (ptr + cur_offset); in btrfs_log_all_parents()
5824 cur_offset += sizeof(*extref); in btrfs_log_all_parents()
5825 cur_offset += btrfs_inode_extref_name_len(leaf, in btrfs_log_all_parents()
5829 cur_offset = item_size; in btrfs_log_all_parents()