Lines Matching defs:ptr
796 unsigned long ptr;
882 ptr = (unsigned long)(ei + 1);
886 ptr += sizeof(struct btrfs_tree_block_info);
887 BUG_ON(ptr > end);
896 while (ptr < end) {
897 iref = (struct btrfs_extent_inline_ref *)ptr;
901 ptr += btrfs_extent_inline_ref_size(type);
912 ptr += btrfs_extent_inline_ref_size(type);
946 ptr += btrfs_extent_inline_ref_size(type);
949 if (unlikely(ptr > end)) {
977 *ref_ret = (struct btrfs_extent_inline_ref *)ptr;
1000 unsigned long ptr;
1023 ptr = (unsigned long)ei + item_offset;
1025 if (ptr < end - size)
1026 memmove_extent_buffer(leaf, ptr + size, ptr,
1027 end - size - ptr);
1029 iref = (struct btrfs_extent_inline_ref *)ptr;
1093 unsigned long ptr;
1185 ptr = (unsigned long)iref;
1187 if (ptr + size < end)
1188 memmove_extent_buffer(leaf, ptr, ptr + size,
1189 end - ptr - size);
2964 unsigned long ptr;
2972 ptr = (unsigned long)(ei + 1);
2976 if (ptr == end)
2979 iref = (struct btrfs_extent_inline_ref *)ptr;