/openbmc/linux/net/ipv6/ |
H A D | mip6.c | 291 struct rt2_hdr *rt2 = (struct rt2_hdr *)skb->data; in mip6_rthdr_input() local 292 int err = rt2->rt_hdr.nexthdr; in mip6_rthdr_input() 309 struct rt2_hdr *rt2; in mip6_rthdr_output() local 318 rt2 = (struct rt2_hdr *)skb_transport_header(skb); in mip6_rthdr_output() 319 rt2->rt_hdr.nexthdr = nexthdr; in mip6_rthdr_output() 320 rt2->rt_hdr.hdrlen = (x->props.header_len >> 3) - 1; in mip6_rthdr_output() 321 rt2->rt_hdr.type = IPV6_SRCRT_TYPE_2; in mip6_rthdr_output() 322 rt2->rt_hdr.segments_left = 1; in mip6_rthdr_output() 323 memset(&rt2->reserved, 0, sizeof(rt2->reserved)); in mip6_rthdr_output() 325 WARN_ON(rt2->rt_hdr.hdrlen != 2); in mip6_rthdr_output() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | icmp.c | 494 struct rtable *rt, *rt2; in icmp_route_lookup() local 517 rt2 = rt; in icmp_route_lookup() 522 if (rt != rt2) in icmp_route_lookup() 535 rt2 = __ip_route_output_key(net, &fl4_dec); in icmp_route_lookup() 536 if (IS_ERR(rt2)) in icmp_route_lookup() 537 err = PTR_ERR(rt2); in icmp_route_lookup() 543 rt2 = ip_route_output_key(net, &fl4_2); in icmp_route_lookup() 544 if (IS_ERR(rt2)) { in icmp_route_lookup() 545 err = PTR_ERR(rt2); in icmp_route_lookup() 552 dscp, rt2->dst.dev); in icmp_route_lookup() [all …]
|
H A D | ip_options.c | 593 struct rtable *rt2; in ip_options_rcv_srr() local 622 rt2 = skb_rtable(skb); in ip_options_rcv_srr() 623 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr() 629 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | dsp_helper.c | 1257 uint8_t rt3, rt2, rt1, rt0; \ 1261 MIPSDSP_SPLIT32_8(rt, rt3, rt2, rt1, rt0); \ 1264 tempC = ((uint16_t)rs2 - (uint16_t)rt2 + var) >> 1; \ 1430 uint8_t rt6, rt4, rt2, rt0; in helper_precr_ob_qh() local 1439 rt2 = (rt >> 16) & MIPSDSP_Q0; in helper_precr_ob_qh() 1445 ((uint64_t)rt2 << 8) | (uint64_t)rt0; in helper_precr_ob_qh() 1461 uint16_t rt3, rt2, rt1, rt0; \ 1465 MIPSDSP_SPLIT64_16(rt, rt3, rt2, rt1, rt0); \ 1468 tempD = rt2 << var; \ 1490 uint8_t rt6, rt4, rt2, rt0; in helper_precrq_ob_qh() local [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | t32.decode | 41 &strex !extern rn rd rt rt2 imm 42 &ldrex !extern rn rt rt2 imm 49 &mcrr !extern cp opc1 crm rt rt2 550 &ldst_ri2 p w u rn rt rt2 imm 551 @ldstd_ri8 .... .... u:1 ... rn:4 rt:4 rt2:4 ........ \ 569 &strex rt2=15 imm=%imm8x4 571 &strex rt2=15 imm=0 572 @strex_d .... .... .... rn:4 rt:4 rt2:4 .... rd:4 \ 576 &ldrex rt2=15 imm=%imm8x4 578 &ldrex rt2=15 imm=0 [all …]
|
H A D | a32.decode | 44 &strex rn rd rt rt2 imm 45 &ldrex rn rt rt2 imm 51 &mcrr cp opc1 crm rt rt2 368 @swp ---- .... .... rn:4 rt:4 .... .... rt2:4 375 # Note rt2 for STREXD/LDREXD is set by the helper after checking rt is even. 378 &strex imm=0 rt2=15 380 &ldrex imm=0 rt2=15 382 &ldrex imm=0 rt2=15 547 @mcrr ---- .... .... rt2:4 rt:4 cp:4 opc1:4 crm:4 &mcrr
|
H A D | translate.c | 2934 bool isread, int rt, int rt2) in do_coproc_insn() argument 2954 syndrome = syn_cp14_rrt_trap(1, 0xe, opc1, crm, rt, rt2, in do_coproc_insn() 2963 syndrome = syn_cp15_rrt_trap(1, 0xe, opc1, crm, rt, rt2, in do_coproc_insn() 3130 store_reg(s, rt2, tmp); in do_coproc_insn() 3164 tmphi = load_reg(s, rt2); in do_coproc_insn() 3263 static void gen_load_exclusive(DisasContext *s, int rt, int rt2, in gen_load_exclusive() argument 3292 store_reg(s, rt2, tmp2); in gen_load_exclusive() 3307 static void gen_store_exclusive(DisasContext *s, int rd, int rt, int rt2, in gen_store_exclusive() argument 3336 t2 = load_reg(s, rt2); in gen_store_exclusive() 3623 false, a->rt, a->rt2); in trans_MCRR() 5153 op_ldrd_ri(DisasContext * s,arg_ldst_ri * a,int rt2) op_ldrd_ri() argument 5192 op_strd_ri(DisasContext * s,arg_ldst_ri * a,int rt2) op_strd_ri() argument [all...] |
H A D | vfp.decode | 80 VMOV_64_sp ---- 1100 010 op:1 rt2:4 rt:4 1010 00.1 .... vm=%vm_sp 81 VMOV_64_dp ---- 1100 010 op:1 rt2:4 rt:4 1011 00.1 .... vm=%vm_dp
|
H A D | translate-mve.c | 2193 a->rt == 13 || a->rt == 15 || a->rt2 == 13 || a->rt2 == 15 || in DO_VABAV() 2194 a->rt == a->rt2) { in DO_VABAV() 2213 store_reg(s, a->rt2, tmp); in DO_VABAV() 2236 a->rt == 13 || a->rt == 15 || a->rt2 == 13 || a->rt2 == 15) { in trans_VMOV_from_2gp() 2252 tmp = load_reg(s, a->rt2); in trans_VMOV_from_2gp()
|
H A D | a64.decode | 296 &stxr rn rt rt2 rs sz lasr 298 @stxr sz:2 ...... ... rs:5 lasr:1 rt2:5 rn:5 rt:5 &stxr 301 @stxp .. ...... ... rs:5 lasr:1 rt2:5 rn:5 rt:5 &stxr sz=%imm1_30_p2 329 &ldstpair rt2 rt rn imm sz sign w p 330 @ldstpair .. ... . ... . imm:s7 rt2:5 rn:5 rt:5 &ldstpair
|
H A D | translate-a64.c | 2681 static void gen_load_exclusive(DisasContext *s, int rt, int rt2, int rn, in gen_load_exclusive() 2699 tcg_gen_extract_i64(cpu_reg(s, rt2), cpu_exclusive_val, 32, 32); in gen_load_exclusive() 2702 tcg_gen_extract_i64(cpu_reg(s, rt2), cpu_exclusive_val, 0, 32); in gen_load_exclusive() 2717 tcg_gen_mov_i64(cpu_reg(s, rt2), cpu_exclusive_high); in gen_load_exclusive() 2726 static void gen_store_exclusive(DisasContext *s, int rd, int rt, int rt2, in gen_store_exclusive() 2788 tcg_gen_concat32_i64(tmp, cpu_reg(s, rt), cpu_reg(s, rt2)); in gen_store_exclusive() 2790 tcg_gen_concat32_i64(tmp, cpu_reg(s, rt2), cpu_reg(s, rt)); in gen_store_exclusive() 2802 tcg_gen_concat_i64_i128(t16, cpu_reg(s, rt), cpu_reg(s, rt2)); in gen_store_exclusive() 2806 tcg_gen_concat_i64_i128(t16, cpu_reg(s, rt2), cpu_reg(s, rt)); in gen_store_exclusive() 2950 gen_store_exclusive(s, a->rs, a->rt, a->rt2, in trans_STXR() 2680 gen_load_exclusive(DisasContext * s,int rt,int rt2,int rn,int size,bool is_pair) gen_load_exclusive() argument 2725 gen_store_exclusive(DisasContext * s,int rd,int rt,int rt2,int rn,int size,int is_pair) gen_store_exclusive() argument [all...] |
H A D | mve.decode | 207 VMOV_to_2gp 1110 1100 0 . 00 rt2:4 ... 0 1111 000 idx:1 rt:4 qd=%qd 208 VMOV_from_2gp 1110 1100 0 . 01 rt2:4 ... 0 1111 000 idx:1 rt:4 qd=%qd
|
H A D | translate-vfp.c | 977 store_reg(s, a->rt2, tmp); in trans_VMOV_64_sp() 982 tmp = load_reg(s, a->rt2); in trans_VMOV_64_sp() 1018 store_reg(s, a->rt2, tmp); in trans_VMOV_64_dp() 1023 tmp = load_reg(s, a->rt2); in trans_VMOV_64_dp()
|
/openbmc/qemu/target/arm/ |
H A D | syndrome.h | 192 int rt, int rt2, int isread, in syn_cp14_rrt_trap() argument 198 | (rt2 << 10) | (rt << 5) | (crm << 1) | isread; in syn_cp14_rrt_trap() 202 int rt, int rt2, int isread, in syn_cp15_rrt_trap() argument 208 | (rt2 << 10) | (rt << 5) | (crm << 1) | isread; in syn_cp15_rrt_trap()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | armv8_deprecated.c | 170 int rn, rt2, res = 0; in swp_handler() local 190 rt2 = aarch32_insn_extract_reg_num(instr, A32_RT2_OFFSET); in swp_handler() 193 data = (u32)regs->user_regs.regs[rt2]; in swp_handler()
|
H A D | traps.c | 772 int rt2 = (esr & ESR_ELx_CP15_64_ISS_RT2_MASK) >> ESR_ELx_CP15_64_ISS_RT2_SHIFT; in compat_cntvct_read_handler() local 776 pt_regs_write_reg(regs, rt2, upper_32_bits(val)); in compat_cntvct_read_handler()
|
/openbmc/linux/net/mpls/ |
H A D | af_mpls.c | 2511 struct mpls_route *rt0 = NULL, *rt2 = NULL; in resize_platform_label_table() local 2537 rt2 = mpls_rt_alloc(1, lo->addr_len, 0); in resize_platform_label_table() 2538 if (IS_ERR(rt2)) in resize_platform_label_table() 2540 rt2->rt_nh->nh_dev = lo; in resize_platform_label_table() 2541 rt2->rt_protocol = RTPROT_KERNEL; in resize_platform_label_table() 2542 rt2->rt_payload_type = MPT_IPV6; in resize_platform_label_table() 2543 rt2->rt_ttl_propagate = MPLS_TTL_PROP_DEFAULT; in resize_platform_label_table() 2544 rt2->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table() 2545 rt2->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table() 2546 memcpy(__mpls_nh_via(rt2, rt2->rt_nh), lo->dev_addr, in resize_platform_label_table() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_h323_main.c | 683 struct rtable *rt1, *rt2; in callforward_do_filter() local 692 if (!nf_ip_route(net, (struct dst_entry **)&rt2, in callforward_do_filter() 695 rt_nexthop(rt2, fl2.daddr) && in callforward_do_filter() 696 rt1->dst.dev == rt2->dst.dev) in callforward_do_filter() 698 dst_release(&rt2->dst); in callforward_do_filter() 706 struct rt6_info *rt1, *rt2; in callforward_do_filter() local 716 if (!nf_ip6_route(net, (struct dst_entry **)&rt2, in callforward_do_filter() 719 rt6_nexthop(rt2, &fl2.daddr)) && in callforward_do_filter() 720 rt1->dst.dev == rt2->dst.dev) in callforward_do_filter() 722 dst_release(&rt2->dst); in callforward_do_filter()
|
/openbmc/linux/arch/arm/probes/kprobes/ |
H A D | actions-thumb.c | 163 int rt2 = (insn >> 8) & 0xf; in t32_emulate_ldrdstrd() local 167 register unsigned long rt2v asm("r1") = regs->uregs[rt2]; in t32_emulate_ldrdstrd() 181 regs->uregs[rt2] = rt2v; in t32_emulate_ldrdstrd()
|
/openbmc/linux/net/mctp/ |
H A D | route.c | 743 struct mctp_route *rt2) in mctp_rt_compare_exact() argument 746 return rt1->dev->net == rt2->dev->net && in mctp_rt_compare_exact() 747 rt1->min == rt2->min && in mctp_rt_compare_exact() 748 rt1->max == rt2->max; in mctp_rt_compare_exact()
|
/openbmc/qemu/docs/devel/ |
H A D | decodetree.rst | 230 or 000010 rt2:5 r1:5 cf:4 001001 0 rt:5 235 is discarded and so the instruction has no effect. When the *rt2*
|
/openbmc/linux/arch/mips/crypto/ |
H A D | crc32-mips.c | 32 _ASM_MACRO_3R(OP, rt, rs, rt2, \
|
/openbmc/qemu/target/ppc/translate/ |
H A D | vsx-impl.c.inc | 2184 int rt1, rt2; 2195 rt2 = rt; 2198 rt2 = rt + 1; 2206 get_vsr_full(data, rt2); 2215 set_vsr_full(rt2, data);
|
/openbmc/qemu/tcg/aarch64/ |
H A D | tcg-target.c.inc | 664 TCGReg rt, TCGReg rt2, TCGReg rn) 666 tcg_out32(s, insn | rs << 16 | rt2 << 10 | rn << 5 | rt);
|