Lines Matching refs:lab
413 void uasm_build_label(struct uasm_label **lab, u32 *addr, int lid) in uasm_build_label() argument
415 (*lab)->addr = addr; in uasm_build_label()
416 (*lab)->lab = lid; in uasm_build_label()
417 (*lab)++; in uasm_build_label()
495 (*rel)->lab = lid; in uasm_r_mips_pc16()
501 struct uasm_label *lab);
504 struct uasm_label *lab) in uasm_resolve_relocs() argument
508 for (; rel->lab != UASM_LABEL_INVALID; rel++) in uasm_resolve_relocs()
509 for (l = lab; l->lab != UASM_LABEL_INVALID; l++) in uasm_resolve_relocs()
510 if (rel->lab == l->lab) in uasm_resolve_relocs()
518 for (; rel->lab != UASM_LABEL_INVALID; rel++) in uasm_move_relocs()
524 void uasm_move_labels(struct uasm_label *lab, u32 *first, u32 *end, in uasm_move_labels() argument
527 for (; lab->lab != UASM_LABEL_INVALID; lab++) in uasm_move_labels()
528 if (lab->addr >= first && lab->addr < end) in uasm_move_labels()
529 lab->addr += off; in uasm_move_labels()
533 void uasm_copy_handler(struct uasm_reloc *rel, struct uasm_label *lab, in uasm_copy_handler() argument
541 uasm_move_labels(lab, first, end, off); in uasm_copy_handler()
547 for (; rel->lab != UASM_LABEL_INVALID; rel++) { in uasm_insn_has_bdelay()