Lines Matching refs:offset

281 	member->offset = loc + parent->offset;  in __add_member_cb()
318 int offset, bool first) in fill_member_name() argument
328 if (offset < child->offset || offset >= child->offset + child->size) in fill_member_name()
340 return fill_member_name(buf + len, sz - len, child, offset, first) + len; in fill_member_name()
515 int offset, bool is_fbreg) in check_variable() argument
553 if ((unsigned)offset >= size) in check_variable()
560 int offset) in find_stack_state() argument
565 if (offset == stack->offset) in find_stack_state()
568 if (stack->compound && stack->offset < offset && in find_stack_state()
569 offset < stack->offset + stack->size) in find_stack_state()
575 void set_stack_state(struct type_state_stack *stack, int offset, u8 kind, in set_stack_state() argument
588 stack->offset = offset; in set_stack_state()
603 int offset, u8 kind, in findnew_stack_state() argument
606 struct type_state_stack *stack = find_stack_state(state, offset); in findnew_stack_state()
609 set_stack_state(stack, offset, kind, type_die); in findnew_stack_state()
615 set_stack_state(stack, offset, kind, type_die); in findnew_stack_state()
785 int offset; in get_global_var_type() local
804 if (die_find_variable_by_addr(cu_die, var_addr, &var_die, &offset) && in get_global_var_type()
805 check_variable(dloc, &var_die, type_die, DWARF_REG_PC, offset, in get_global_var_type()
808 *var_offset = offset; in get_global_var_type()
868 int offset = var->offset; in update_var_state() local
872 offset -= fb_offset; in update_var_state()
874 stack = find_stack_state(state, offset); in update_var_state()
879 findnew_stack_state(state, offset, TSR_KIND_TYPE, in update_var_state()
884 insn_offset, offset, state->stack_reg); in update_var_state()
887 insn_offset, -offset); in update_var_state()
890 } else if (has_reg_type(state, var->reg) && var->offset == 0) { in update_var_state()
976 last_bb->end->al.offset, first_bb->begin->al.offset); in prepend_basic_blocks()
1036 dloc->op->offset = 40; in setup_stack_canary()
1052 u32 insn_offset = dl->al.offset; in check_matching_type()
1054 int offset = dloc->op->offset; in check_matching_type() local
1058 if (offset < 0) { in check_matching_type()
1059 offset = -offset; in check_matching_type()
1065 insn_offset, reg, offset_sign, offset, in check_matching_type()
1085 if (dloc->op->offset < 0 && reg != state->stack_reg) in check_matching_type()
1095 dloc->type_offset = dloc->op->offset; in check_matching_type()
1119 dloc->type_offset = dloc->op->offset; in check_matching_type()
1143 u64 var_addr = dloc->op->offset; in check_matching_type()
1197 dloc->type_offset -= stack->offset; in check_matching_type()
1238 dloc->type_offset -= fboff + stack->offset; in check_matching_type()
1252 addr = dloc->op->offset; in check_matching_type()
1255 &offset, type_die)) { in check_matching_type()
1256 dloc->type_offset = offset; in check_matching_type()
1263 if (dloc->op->offset < 0 && reg != state->stack_reg) { in check_matching_type()
1264 addr = (s64) dloc->op->offset; in check_matching_type()
1267 &offset, type_die)) { in check_matching_type()
1270 dloc->type_offset = offset; in check_matching_type()
1298 BUG_ON(bb->begin->al.offset == -1 || bb->end->al.offset == -1); in find_data_type_insn()
1301 bb->begin->al.offset, bb->end->al.offset); in find_data_type_insn()
1304 u64 this_ip = sym->start + dl->al.offset; in find_data_type_insn()
1308 if (dl->al.offset == -1) in find_data_type_insn()
1312 update_var_state(&state, dloc, addr, dl->al.offset, var_types); in find_data_type_insn()
1398 int offset = dloc->op->offset; in find_data_type_block() local
1401 if (offset < 0) { in find_data_type_block()
1402 offset = -offset; in find_data_type_block()
1413 offset_sign, offset, buf, dloc->type_offset); in find_data_type_block()
1436 int reg, offset = loc->offset; in find_data_type_die() local
1455 if (offset < 0) { in find_data_type_die()
1456 offset = -offset; in find_data_type_die()
1462 offset_sign, offset, buf, in find_data_type_die()
1480 offset = loc->offset; in find_data_type_die()
1487 &offset, type_die)) { in find_data_type_die()
1488 dloc->type_offset = offset; in find_data_type_die()
1491 dloc->var_addr, offset); in find_data_type_die()
1530 offset = loc->offset - fb_offset; in find_data_type_die()
1535 int type_offset = offset; in find_data_type_die()
1650 dloc->type_offset = dloc->op->offset; in find_data_type()
1730 struct evsel *evsel, int offset, in annotated_data_type__update_samples() argument
1745 if (offset < 0 || offset >= adt->self.size) in annotated_data_type__update_samples()
1751 h->addr[offset].nr_samples += nr_samples; in annotated_data_type__update_samples()
1753 h->addr[offset].period += period; in annotated_data_type__update_samples()
1837 samples += h->addr[member->offset + i].nr_samples; in print_annotated_data_type()
1838 period += h->addr[member->offset + i].period; in print_annotated_data_type()
1845 member->offset, member->size, indent, "", member->type_name, in print_annotated_data_type()