Lines Matching refs:orc
15 static int init_orc_entry(struct orc_entry *orc, struct cfi_state *cfi,
20 memset(orc, 0, sizeof(*orc));
23 orc->end = 0;
24 orc->sp_reg = ORC_REG_UNDEFINED;
28 orc->end = cfi->end;
31 orc->sp_reg = ORC_REG_UNDEFINED;
37 orc->sp_reg = ORC_REG_SP;
40 orc->sp_reg = ORC_REG_SP_INDIRECT;
43 orc->sp_reg = ORC_REG_BP;
46 orc->sp_reg = ORC_REG_BP_INDIRECT;
49 orc->sp_reg = ORC_REG_R10;
52 orc->sp_reg = ORC_REG_R13;
55 orc->sp_reg = ORC_REG_DI;
58 orc->sp_reg = ORC_REG_DX;
68 orc->bp_reg = ORC_REG_UNDEFINED;
71 orc->bp_reg = ORC_REG_PREV_SP;
74 orc->bp_reg = ORC_REG_BP;
82 orc->sp_offset = cfi->cfa.offset;
83 orc->bp_offset = bp->offset;
84 orc->type = cfi->type;
94 struct orc_entry *orc;
97 orc = (struct orc_entry *)orc_sec->data->d_buf + idx;
98 memcpy(orc, o, sizeof(*orc));
110 struct orc_entry orc;
115 static int orc_list_add(struct list_head *orc_list, struct orc_entry *orc,
125 entry->orc = *orc;
156 struct orc_entry orc, prev_orc = {0};
168 if (init_orc_entry(&orc, insn->cfi, insn))
170 if (!memcmp(&prev_orc, &orc, sizeof(orc)))
172 if (orc_list_add(&orc_list, &orc, sec,
176 prev_orc = orc;
193 if (init_orc_entry(&orc, cfi, insn))
195 if (!memcmp(&prev_orc, &orc, sizeof(orc)))
197 if (orc_list_add(&orc_list, &orc, insn->sec,
201 prev_orc = orc;
237 &entry->orc))