Lines Matching defs:code
141 static int check_ll(uint64_t pc, uint32_t *code, size_t sz)
151 if (!is_sync(le32toh(code[-1]))) {
159 if (is_sc(le32toh(code[sc_pos])))
173 if (!is_branch(le32toh(code[i]), &off))
184 if (is_sync(le32toh(code[i + off])))
196 static int check_code(uint64_t pc, uint32_t *code, size_t sz)
207 if (is_ll(le32toh(code[0]))) {
214 code++, \
225 /* Now scan through the code looking for LL instructions */
227 if (is_ll(le32toh(code[0])))
228 err |= check_ll(pc, code, sz);