Lines Matching refs:targ_off
2641 static inline s32 get_displacement(u32 curr_off, u32 targ_off) in get_displacement() argument
2643 return (s32)(targ_off - (curr_off & ~3L)); in get_displacement()
2677 u32 curr_off, u32 targ_off) in gen_j_eq_64() argument
2684 disp = get_displacement(curr_off + len, targ_off); in gen_j_eq_64()
2695 static u8 gen_jset_64(u8 *buf, u8 rd, u8 rs, u32 curr_off, u32 targ_off) in gen_jset_64() argument
2702 disp = get_displacement(curr_off + len, targ_off); in gen_jset_64()
2712 static bool check_jcc_64(u32 curr_off, u32 targ_off, u8 cond) in check_jcc_64() argument
2725 to = targ_off; in check_jcc_64()
2737 bool check_jmp_64(u32 curr_off, u32 targ_off, u8 cond) in check_jmp_64() argument
2750 return check_jcc_64(curr_off, targ_off, cond); in check_jmp_64()
2759 disp = get_displacement(curr_off, targ_off); in check_jmp_64()
2763 disp = get_displacement(curr_off, targ_off); in check_jmp_64()
2805 u32 curr_off, u32 targ_off) in gen_jcc_64() argument
2816 disp = get_displacement(curr_off + len, targ_off); in gen_jcc_64()
2828 disp = get_displacement(curr_off + len, targ_off); in gen_jcc_64()
2839 u8 gen_jmp_64(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off) in gen_jmp_64() argument
2847 disp = get_displacement(curr_off, targ_off); in gen_jmp_64()
2858 len = gen_jcc_64(buf, rd, rs, cond, curr_off, targ_off); in gen_jmp_64()
2864 len = gen_j_eq_64(buf, rd, rs, eq, curr_off, targ_off); in gen_jmp_64()
2867 len = gen_jset_64(buf, rd, rs, curr_off, targ_off); in gen_jmp_64()
2904 bool check_jmp_32(u32 curr_off, u32 targ_off, u8 cond) in check_jmp_32() argument
2917 disp = get_displacement(curr_off + addendum, targ_off); in check_jmp_32()
2939 u8 gen_jmp_32(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off) in gen_jmp_32() argument
2968 disp = get_displacement(curr_off + len, targ_off); in gen_jmp_32()
2972 disp = get_displacement(curr_off, targ_off); in gen_jmp_32()