Home
last modified time | relevance | path

Searched refs:i_format (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/kernel/
Dbranch.c429 switch (insn.i_format.opcode) { in __compute_return_epc_for_insn()
452 switch (insn.i_format.rt) { in __compute_return_epc_for_insn()
458 if ((long)regs->regs[insn.i_format.rs] < 0) { in __compute_return_epc_for_insn()
459 epc = epc + 4 + (insn.i_format.simmediate << 2); in __compute_return_epc_for_insn()
460 if (insn.i_format.rt == bltzl_op) in __compute_return_epc_for_insn()
472 if ((long)regs->regs[insn.i_format.rs] >= 0) { in __compute_return_epc_for_insn()
473 epc = epc + 4 + (insn.i_format.simmediate << 2); in __compute_return_epc_for_insn()
474 if (insn.i_format.rt == bgezl_op) in __compute_return_epc_for_insn()
483 if (NO_R6EMU && (insn.i_format.rs || in __compute_return_epc_for_insn()
484 insn.i_format.rt == bltzall_op)) in __compute_return_epc_for_insn()
[all …]
Dprocess.c247 switch (ip->i_format.opcode) { in is_ra_save_ins()
249 if (ip->i_format.rs != 29) in is_ra_save_ins()
251 if (ip->i_format.rt != 31) in is_ra_save_ins()
254 *poff = ip->i_format.simmediate / sizeof(ulong); in is_ra_save_ins()
278 if ((ip->i_format.opcode == sw_op || ip->i_format.opcode == sd_op) && in is_ra_save_ins()
279 ip->i_format.rs == 29 && ip->i_format.rt == 31) { in is_ra_save_ins()
280 *poff = ip->i_format.simmediate / sizeof(ulong); in is_ra_save_ins()
373 *frame_size = -ip->i_format.simmediate; in is_sp_move_ins()
378 if (ip->i_format.rs != 29 || ip->i_format.rt != 29) in is_sp_move_ins()
381 if (ip->i_format.opcode == addiu_op || in is_sp_move_ins()
[all …]
Dprobes-common.h16 switch (insn.i_format.opcode) { in __insn_has_delay_slot()
34 switch (insn.i_format.rt) { in __insn_has_delay_slot()
Dunaligned.c128 switch (insn.i_format.opcode) { in emulate_load_store_insn()
285 regs->regs[insn.i_format.rt] = value; in emulate_load_store_insn()
304 regs->regs[insn.i_format.rt] = value; in emulate_load_store_insn()
323 regs->regs[insn.i_format.rt] = value; in emulate_load_store_insn()
342 regs->regs[insn.i_format.rt] = value; in emulate_load_store_insn()
365 regs->regs[insn.i_format.rt] = value; in emulate_load_store_insn()
377 value = regs->regs[insn.i_format.rt]; in emulate_load_store_insn()
397 value = regs->regs[insn.i_format.rt]; in emulate_load_store_insn()
425 value = regs->regs[insn.i_format.rt]; in emulate_load_store_insn()
Duprobes.c68 switch (inst.i_format.opcode) { in is_trap_insn()
Dkprobes.c61 switch (insn.i_format.opcode) { in insn_has_ll_or_sc()
Dtraps.c824 switch (inst.i_format.opcode) { in simulate_fp()
/kernel/linux/linux-5.10/arch/mips/kvm/
Ddyntrans.c86 synci_inst.i_format.opcode = bcond_op; in kvm_mips_trans_cache_va()
87 synci_inst.i_format.rs = inst.i_format.rs; in kvm_mips_trans_cache_va()
88 synci_inst.i_format.rt = synci_op; in kvm_mips_trans_cache_va()
90 synci_inst.i_format.simmediate = inst.spec3_format.simmediate; in kvm_mips_trans_cache_va()
92 synci_inst.i_format.simmediate = inst.i_format.simmediate; in kvm_mips_trans_cache_va()
111 mfc0_inst.i_format.opcode = lw_op; in kvm_mips_trans_mfc0()
112 mfc0_inst.i_format.rt = inst.c0r_format.rt; in kvm_mips_trans_mfc0()
113 mfc0_inst.i_format.simmediate = KVM_GUEST_COMMPAGE_ADDR | in kvm_mips_trans_mfc0()
117 mfc0_inst.i_format.simmediate |= 4; in kvm_mips_trans_mfc0()
133 mtc0_inst.i_format.opcode = sw_op; in kvm_mips_trans_mtc0()
[all …]
Demulate.c61 switch (insn.i_format.opcode) { in kvm_compute_return_epc()
82 switch (insn.i_format.rt) { in kvm_compute_return_epc()
85 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
86 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc()
94 if ((long)arch->gprs[insn.i_format.rs] >= 0) in kvm_compute_return_epc()
95 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc()
104 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
105 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc()
114 if ((long)arch->gprs[insn.i_format.rs] >= 0) in kvm_compute_return_epc()
115 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc()
[all …]
Dvz.c1095 base = inst.i_format.rs; in kvm_vz_gpsi_cache()
1096 op_inst = inst.i_format.rt; in kvm_vz_gpsi_cache()
1100 offset = inst.i_format.simmediate; in kvm_vz_gpsi_cache()
/kernel/linux/linux-5.10/arch/mips/oprofile/
Dbacktrace.c35 return (ip->i_format.opcode == sw_op || ip->i_format.opcode == sd_op) in is_ra_save_ins()
36 && ip->i_format.rs == 29 && ip->i_format.rt == 31; in is_ra_save_ins()
42 if (ip->i_format.rs != 29 || ip->i_format.rt != 29) in is_sp_move_ins()
44 if (ip->i_format.opcode == addiu_op || ip->i_format.opcode == daddiu_op) in is_sp_move_ins()
59 if (ip->i_format.opcode == lui_op && ip->i_format.rt == 28) in is_end_of_function_marker()
91 int stack_adjustment = ip.i_format.simmediate; in unwind_user_frame()
98 int ra_slot = ip.i_format.simmediate; in unwind_user_frame()
/kernel/linux/linux-5.10/arch/mips/math-emu/
Dcp1emu.c433 switch (insn.i_format.opcode) { in isBranchInstr()
452 switch (insn.i_format.rt) { in isBranchInstr()
455 if (NO_R6EMU && (insn.i_format.rs || in isBranchInstr()
456 insn.i_format.rt == bltzall_op)) in isBranchInstr()
468 if ((long)regs->regs[insn.i_format.rs] < 0) in isBranchInstr()
471 (insn.i_format.simmediate << 2); in isBranchInstr()
479 if (NO_R6EMU && (insn.i_format.rs || in isBranchInstr()
480 insn.i_format.rt == bgezall_op)) in isBranchInstr()
492 if ((long)regs->regs[insn.i_format.rs] >= 0) in isBranchInstr()
495 (insn.i_format.simmediate << 2); in isBranchInstr()
[all …]
/kernel/linux/linux-5.10/arch/mips/dec/
Dkn01-berr.c101 vaddr = regs->regs[insn.i_format.rs] + in dec_kn01_be_backend()
102 insn.i_format.simmediate; in dec_kn01_be_backend()
/kernel/linux/linux-5.10/fs/erofs/
Derofs_fs.h83 __le16 i_format; /* inode format hints */ member
112 __le16 i_format; /* inode format hints */ member
Dinode.c45 ifmt = le16_to_cpu(dic->i_format); in erofs_read_inode()
/kernel/linux/linux-5.10/Documentation/filesystems/
Derofs.rst143 field which all inode versions have -- i_format::
146 | i_format | | i_format |
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dinst.h749 struct i_format { struct
942 struct i_format i_format; member
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dinst.h632 struct i_format { /* signed immediate format */ struct
1088 struct i_format i_format; member