/qemu/net/ |
H A D | dgram.c | 42 SocketReadState rs; member 112 static void net_dgram_rs_finalize(SocketReadState *rs) in net_dgram_rs_finalize() argument 114 NetDgramState *s = container_of(rs, NetDgramState, rs); in net_dgram_rs_finalize() 116 if (qemu_send_packet_async(&s->nc, rs->buf, in net_dgram_rs_finalize() 117 rs->packet_len, in net_dgram_rs_finalize() 128 size = recv(s->fd, s->rs.buf, sizeof(s->rs.buf), 0); in net_dgram_send() 138 if (qemu_send_packet_async(&s->nc, s->rs.buf, size, in net_dgram_send() 273 net_socket_rs_init(&s->rs, net_dgram_rs_finalize, false); in net_dgram_fd_init()
|
H A D | filter-mirror.c | 42 SocketReadState rs; member 168 ret = net_fill_rstate(&s->rs, buf, size); in redirector_chr_read() 270 static void redirector_rs_finalize(SocketReadState *rs) in redirector_rs_finalize() argument 272 MirrorState *s = container_of(rs, MirrorState, rs); in redirector_rs_finalize() 275 redirector_to_filter(nf, rs->buf, rs->packet_len); in redirector_rs_finalize() 295 net_socket_rs_init(&s->rs, redirector_rs_finalize, s->vnet_hdr); in filter_redirector_setup()
|
H A D | filter-rewriter.c | 348 RewriterState *rs = FILTER_REWRITER(nf); in colo_rewriter_handle_event() local 352 g_hash_table_foreach(rs->connection_track_table, in colo_rewriter_handle_event() 356 if (!g_hash_table_find(rs->connection_track_table, in colo_rewriter_handle_event() 358 filter_rewriter_failover_mode(rs); in colo_rewriter_handle_event()
|
/qemu/system/ |
H A D | runstate-hmp-cmds.c | 84 void watchdog_action_completion(ReadLineState *rs, int nb_args, const char *str) in watchdog_action_completion() argument 91 readline_set_completion_index(rs, strlen(str)); in watchdog_action_completion() 93 readline_add_completion_of(rs, str, WatchdogAction_str(i)); in watchdog_action_completion()
|
H A D | qdev-monitor.c | 984 void device_add_completion(ReadLineState *rs, int nb_args, const char *str) in device_add_completion() argument 994 readline_set_completion_index(rs, len); in device_add_completion() 1001 readline_add_completion_of(rs, str, in device_add_completion() 1034 static void peripheral_device_del_completion(ReadLineState *rs, in peripheral_device_del_completion() argument 1049 readline_add_completion_of(rs, str, dev->id); in peripheral_device_del_completion() 1056 void device_del_completion(ReadLineState *rs, int nb_args, const char *str) in device_del_completion() argument 1062 readline_set_completion_index(rs, strlen(str)); in device_del_completion() 1063 peripheral_device_del_completion(rs, str); in device_del_completion()
|
/qemu/target/mips/tcg/ |
H A D | lcsr_translate.c | 24 gen_load_gpr(src1, a->rs); in trans_CPUCFG() 39 gen_load_gpr(src1, a->rs); in gen_rdcsr() 53 gen_load_gpr(addr, a->rs); in gen_wrcsr()
|
H A D | op_helper.c | 52 target_ulong helper_rotx(target_ulong rs, uint32_t shift, uint32_t shiftx, in helper_rotx() argument 56 uint64_t tmp0 = ((uint64_t)rs) << 32 | ((uint64_t)rs & 0xffffffff); in helper_rotx() 261 target_ulong helper_lcsr_cpucfg(CPUMIPSState *env, target_ulong rs) in helper_lcsr_cpucfg() argument 263 switch (rs) { in helper_lcsr_cpucfg()
|
H A D | rel6_translate.c | 26 return gen_lsa(ctx, a->rd, a->rt, a->rs, a->sa); in trans_LSA() 34 return gen_dlsa(ctx, a->rd, a->rt, a->rs, a->sa); in trans_DLSA()
|
H A D | lcsr.decode | 8 &r rs rt rd sa 10 @rs_rd ...... rs:5 ..... rd:5 ..... ...... &r rt=0 sa=0
|
H A D | vr54xx.decode | 10 &r rs rt rd 12 @rs_rt_rd ...... rs:5 rt:5 rd:5 ..... ...... &r
|
H A D | rel6.decode | 17 &r rs rt rd sa 19 @lsa ...... rs:5 rt:5 rd:5 ... sa:2 ...... &r
|
H A D | translate.h | 171 void gen_align(DisasContext *ctx, int wordsz, int rd, int rs, int rt, int bp); 179 bool gen_lsa(DisasContext *ctx, int rd, int rt, int rs, int sa); 180 bool gen_dlsa(DisasContext *ctx, int rd, int rt, int rs, int sa);
|
/qemu/tcg/tci/ |
H A D | tcg-target.c.inc | 552 tcg_out_op_rr(s, INDEX_op_ext8s_i32, rd, rs); 557 tcg_out_op_rr(s, INDEX_op_ext8s_i64, rd, rs); 569 tcg_out_op_rr(s, INDEX_op_ext8u_i64, rd, rs); 572 tcg_out_op_rr(s, INDEX_op_ext8u_i32, rd, rs); 581 tcg_out_op_rr(s, INDEX_op_ext16s_i32, rd, rs); 586 tcg_out_op_rr(s, INDEX_op_ext16s_i64, rd, rs); 609 tcg_out_op_rr(s, INDEX_op_ext32s_i64, rd, rs); 616 tcg_out_op_rr(s, INDEX_op_ext32u_i64, rd, rs); 621 tcg_out_ext32s(s, rd, rs); 626 tcg_out_ext32u(s, rd, rs); [all …]
|
/qemu/monitor/ |
H A D | hmp.c | 53 if (!mon->rs) { in monitor_read_command() 57 readline_start(mon->rs, "(qemu) ", 0, monitor_command_cb, NULL); in monitor_read_command() 59 readline_show_prompt(mon->rs); in monitor_read_command() 66 if (mon->rs) { in monitor_read_password() 1192 readline_add_completion_of(mon->rs, name, cmd); in cmd_completion() 1252 readline_add_completion(mon->rs, file); in file_completion() 1282 readline_set_completion_index(mon->rs, strlen(cmdname)); in monitor_find_completion_by_table() 1329 readline_set_completion_index(mon->rs, strlen(str)); in monitor_find_completion_by_table() 1388 if (mon->rs) { in monitor_read() 1390 readline_handle_byte(mon->rs, buf[i]); in monitor_read() [all …]
|
H A D | monitor-internal.h | 92 void (*command_completion)(ReadLineState *rs, int nb_args, const char *str); 131 ReadLineState *rs; member
|
H A D | monitor.c | 558 assert(hmp_mon->rs); in monitor_accept_input() 559 readline_restart(hmp_mon->rs); in monitor_accept_input() 561 readline_show_prompt(hmp_mon->rs); in monitor_accept_input() 642 readline_free(container_of(mon, MonitorHMP, common)->rs); in monitor_data_destroy()
|
/qemu/target/sparc/ |
H A D | insns.decode | 66 &r_r rd rs 67 @r_r1 .. rd:5 ...... rs:5 . ........ ..... &r_r 68 @r_r2 .. rd:5 ...... ..... . ........ rs:5 &r_r 69 @r_d2 .. rd:5 ...... ..... . ........ ..... &r_r rs=%dfp_rs2 71 @d_r2 .. ..... ...... ..... . ........ rs:5 &r_r rd=%dfp_rd 72 @q_r2 .. ..... ...... ..... . ........ rs:5 &r_r rd=%qfp_rd 74 &r_r rd=%dfp_rd rs=%dfp_rs1 76 &r_r rd=%dfp_rd rs=%dfp_rs2 78 &r_r rd=%dfp_rd rs=%qfp_rs2 80 &r_r rd=%qfp_rd rs=%qfp_rs2 [all …]
|
/qemu/tests/tcg/mips/user/isa/r5900/ |
H A D | test_r5900_mflohi1.c | 11 int32_t rs = 12207031, rt = 305175781; in main() local 26 : "r" (rs), "r" (rt), in main()
|
/qemu/target/arm/tcg/ |
H A D | helper-a64.c | 1248 int rs = mops_srcreg(syndrome); in do_setp() local 1250 uint8_t data = arm_reg_or_xzr(env, rs); in do_setp() 1308 int rs = mops_srcreg(syndrome); in do_setm() local 1310 uint8_t data = arm_reg_or_xzr(env, rs); in do_setm() 1371 int rs = mops_srcreg(syndrome); in do_sete() local 1373 uint8_t data = arm_reg_or_xzr(env, rs); in do_sete() 1595 int rs = mops_srcreg(syndrome); in do_cpyp() local 1601 uint64_t fromaddr = env->xregs[rs]; in do_cpyp() 1641 env->xregs[rs] = fromaddr; in do_cpyp() 1706 int rs = mops_srcreg(syndrome); in do_cpym() local [all …]
|
H A D | translate-sme.c | 35 static TCGv_ptr get_tile_rowcol(DisasContext *s, int esz, int rs, in get_tile_rowcol() argument 46 tcg_gen_trunc_tl_i32(tmp, cpu_reg(s, rs)); in get_tile_rowcol() 154 t_za = get_tile_rowcol(s, a->esz, a->rs, a->za_imm, a->v); in trans_MOVA() 220 t_za = get_tile_rowcol(s, a->esz, a->rs, a->za_imm, a->v); in trans_LDST1()
|
/qemu/target/ppc/translate/ |
H A D | fixedpoint-impl.c.inc | 893 helper(cpu_gpr[a->ra], cpu_gpr[a->rs]); 1018 tcg_gen_trunc_tl_i32(t, cpu_gpr[a->rs]); 1032 helper(cpu_gpr[a->ra], cpu_gpr[a->rs], 64); 1076 tcg_gen_ctpop_i32(cpu_gpr[a->ra], cpu_gpr[a->rs]); 1086 tcg_gen_ctpop_i64(cpu_gpr[a->ra], cpu_gpr[a->rs]); 1096 TCGv rs = cpu_gpr[a->rs]; 1100 tcg_gen_shri_tl(t0, rs, 16); 1101 tcg_gen_xor_tl(ra, rs, t0); 1111 TCGv rs = cpu_gpr[a->rs]; 1116 tcg_gen_shri_tl(t0, rs, 32); [all …]
|
/qemu/target/riscv/ |
H A D | xthead.decode | 15 %rs 15:5 30 &th_pair rd1 rs rd2 sh2 42 @th_pair ..... .. ..... ..... ... ..... ....... &th_pair %rd1 %rs %rd2 %sh2
|
/qemu/tcg/sparc64/ |
H A D | tcg-target.c.inc | 502 static void tcg_out_ext8u(TCGContext *s, TCGReg rd, TCGReg rs) 504 tcg_out_arithi(s, rd, rs, 0xff, ARITH_AND); 507 static void tcg_out_ext16u(TCGContext *s, TCGReg rd, TCGReg rs) 509 tcg_out_arithi(s, rd, rs, 16, SHIFT_SLL); 515 tcg_out_arithi(s, rd, rs, 0, SHIFT_SRA); 520 tcg_out_arithi(s, rd, rs, 0, SHIFT_SRL); 525 tcg_out_ext32s(s, rd, rs); 530 tcg_out_ext32u(s, rd, rs); 535 tcg_out_ext32u(s, rd, rs); 590 static void tcg_out_sety(TCGContext *s, TCGReg rs) [all …]
|
/qemu/include/net/ |
H A D | net.h | 66 typedef void (SocketReadStateFinalize)(SocketReadState *rs); 140 int net_fill_rstate(SocketReadState *rs, const uint8_t *buf, int size); 262 void net_socket_rs_init(SocketReadState *rs,
|
/qemu/tcg/mips/ |
H A D | tcg-target.c.inc | 374 inst |= (rs & 0x1F) << 21; 389 inst |= (rs & 0x1F) << 21; 404 inst |= (rs & 0x1F) << 21; 423 tcg_out_opc_bf(s, opc, rt, rs, msb, lsb); 431 tcg_out_opc_imm(s, opc, rt, rs, 0); 648 tcg_out_opc_imm(s, OPC_ANDI, rd, rs, 0xff); 665 tcg_out_opc_sa(s, OPC_SLL, rd, rs, 0); 670 if (rd != rs) { 671 tcg_out_ext32s(s, rd, rs); 677 tcg_out_ext32u(s, rd, rs); [all …]
|