Home
last modified time | relevance | path

Searched refs:eflags (Results 1 – 25 of 61) sorted by relevance

123

/linux-6.12.1/arch/arm/kernel/
Delf.c12 unsigned int eflags; in elf_check_arch() local
25 eflags = x->e_flags; in elf_check_arch()
26 if ((eflags & EF_ARM_EABI_MASK) == EF_ARM_EABI_UNKNOWN) { in elf_check_arch()
30 if ((eflags & EF_ARM_APCS_26) && !(elf_hwcap & HWCAP_26BIT)) in elf_check_arch()
33 flt_fmt = eflags & (EF_ARM_VFP_FLOAT | EF_ARM_SOFT_FLOAT); in elf_check_arch()
45 unsigned int eflags = x->e_flags; in elf_set_personality() local
57 if ((eflags & EF_ARM_EABI_MASK) == EF_ARM_EABI_UNKNOWN && in elf_set_personality()
58 (eflags & EF_ARM_APCS_26)) in elf_set_personality()
72 eflags & (EF_ARM_EABI_MASK | EF_ARM_SOFT_FLOAT)) { in elf_set_personality()
/linux-6.12.1/tools/testing/selftests/x86/
Dhelpers.h16 static inline void set_eflags(unsigned long eflags) in set_eflags() argument
19 __builtin_ia32_writeeflags_u64(eflags); in set_eflags()
21 __builtin_ia32_writeeflags_u32(eflags); in set_eflags()
Dentry_from_vm86.c300 v86.regs.eflags |= X86_EFLAGS_VIP; in main()
301 v86.regs.eflags &= ~X86_EFLAGS_IF; in main()
305 v86.regs.eflags = X86_EFLAGS_VIP; in main()
310 v86.regs.eflags = X86_EFLAGS_VIP; in main()
315 v86.regs.eflags = 0; in main()
319 v86.regs.eflags = 0; in main()
/linux-6.12.1/arch/loongarch/kernel/
Dsignal.c69 extern asmlinkage int _save_lbt_context(void __user *regs, void __user *eflags);
70 extern asmlinkage int _restore_lbt_context(void __user *regs, void __user *eflags);
237 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in copy_lbt_to_sigcontext() local
243 err |= __put_user(current->thread.lbt.eflags, eflags); in copy_lbt_to_sigcontext()
252 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in copy_lbt_from_sigcontext() local
258 err |= __get_user(current->thread.lbt.eflags, eflags); in copy_lbt_from_sigcontext()
342 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in save_hw_lbt_context() local
344 return _save_lbt_context(regs, eflags); in save_hw_lbt_context()
350 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in restore_hw_lbt_context() local
352 return _restore_lbt_context(regs, eflags); in restore_hw_lbt_context()
[all …]
Dlbt.S36 x86mfflag t1, 0x3f # save eflags
55 ldptr.d t1, a0, THREAD_EFLAGS # restore eflags
88 x86mfflag t1, 0x3f # save eflags
108 EX ld.w t1, a1, 0 # restore eflags
/linux-6.12.1/arch/x86/include/uapi/asm/
Dptrace.h33 long eflags; member
73 unsigned long eflags; member
Dsigcontext.h317 __u32 eflags; member
343 __u64 eflags; /* RFLAGS */ member
Dvm86.h81 long eflags; member
/linux-6.12.1/drivers/infiniband/hw/qib/
Dqib_driver.c287 u32 ctxt, u32 eflags, u32 l, u32 etail, in qib_rcv_hdrerr() argument
292 if (eflags & (QLOGIC_IB_RHF_H_ICRCERR | QLOGIC_IB_RHF_H_VCRCERR)) in qib_rcv_hdrerr()
294 else if (eflags == QLOGIC_IB_RHF_H_TIDERR) { in qib_rcv_hdrerr()
445 u32 eflags, etype, tlen, i = 0, updegr = 0, crcs = 0; in qib_kreceive() local
467 eflags = qib_hdrget_err_flags(rhf_addr); in qib_kreceive()
483 if (!eflags) { in qib_kreceive()
491 if (etype == RCVHQ_RCV_TYPE_NON_KD && !eflags && in qib_kreceive()
502 if (unlikely(eflags)) in qib_kreceive()
503 crcs += qib_rcv_hdrerr(rcd, ppd, rcd->ctxt, eflags, l, in qib_kreceive()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dtrace_misc.h74 __field(u64, eflags)
82 __entry->eflags = rhf_err_flags(packet->rhf);
93 __entry->eflags,
Dtrace_rx.h28 __field(u64, eflags)
37 __entry->eflags = rhf_err_flags(packet->rhf);
49 __entry->eflags,
/linux-6.12.1/arch/arc/kernel/
Dprocess.c279 unsigned int eflags; in elf_check_arch() local
287 eflags = x->e_flags; in elf_check_arch()
288 if ((eflags & EF_ARC_OSABI_MSK) != EF_ARC_OSABI_CURRENT) { in elf_check_arch()
/linux-6.12.1/arch/x86/boot/
Dedd.c35 return -(oreg.eflags & X86_EFLAGS_CF); /* 0 or -1 */ in read_mbr()
87 if (oreg.eflags & X86_EFLAGS_CF) in get_edd_info()
111 if (!(oreg.eflags & X86_EFLAGS_CF)) { in get_edd_info()
Dmemory.c52 if (oreg.eflags & X86_EFLAGS_CF) in detect_memory_e820()
80 if (oreg.eflags & X86_EFLAGS_CF) in detect_memory_e801()
Dregs.c22 reg->eflags |= X86_EFLAGS_CF; in initregs()
Dapm.c62 if ((oreg.eflags & X86_EFLAGS_CF) || oreg.bx != 0x504d) { in query_apm_bios()
/linux-6.12.1/arch/x86/kvm/
Demulate.c798 if (ctxt->eflags & X86_EFLAGS_VM) { in emulator_recalc_and_set_mode()
1435 in_page = (ctxt->eflags & X86_EFLAGS_DF) ? in pio_in_emulated()
1448 !(ctxt->eflags & X86_EFLAGS_DF)) { in pio_in_emulated()
1868 int iopl = (ctxt->eflags & X86_EFLAGS_IOPL) >> X86_EFLAGS_IOPL_BIT; in emulate_popf()
1900 (ctxt->eflags & ~change_mask) | (val & change_mask); in emulate_popf()
1908 ctxt->dst.addr.reg = &ctxt->eflags; in em_popf()
1996 ctxt->src.val = (unsigned long)ctxt->eflags & ~X86_EFLAGS_VM; in em_pushf()
2031 ctxt->src.val = ctxt->eflags; in __emulate_int_real()
2036 ctxt->eflags &= ~(X86_EFLAGS_IF | X86_EFLAGS_TF | X86_EFLAGS_AC); in __emulate_int_real()
2139 ctxt->eflags = ((temp_eflags & mask) | (ctxt->eflags & vm86_mask)); in emulate_iret_real()
[all …]
Dsmm.c56 CHECK_SMRAM32_OFFSET(eflags, 0xFFF4); in check_smram_offsets()
191 smram->eflags = kvm_get_rflags(vcpu); in enter_smm_save_state_32()
466 ctxt->eflags = smstate->eflags | X86_EFLAGS_FIXED; in rsm_load_state_32()
522 ctxt->eflags = smstate->rflags | X86_EFLAGS_FIXED; in rsm_load_state_64()
/linux-6.12.1/drivers/gpio/
Dgpiolib-cdev.c839 static int hte_edge_setup(struct line *line, u64 eflags) in hte_edge_setup() argument
845 if (eflags & GPIO_V2_LINE_FLAG_EDGE_RISING) in hte_edge_setup()
849 if (eflags & GPIO_V2_LINE_FLAG_EDGE_FALLING) in hte_edge_setup()
869 static int hte_edge_setup(struct line *line, u64 eflags) in hte_edge_setup() argument
973 u64 eflags, edflags = READ_ONCE(line->edflags); in debounce_work_func() local
994 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS; in debounce_work_func()
995 if (!eflags) in debounce_work_func()
1003 if (((eflags == GPIO_V2_LINE_FLAG_EDGE_RISING) && !level) || in debounce_work_func()
1004 ((eflags == GPIO_V2_LINE_FLAG_EDGE_FALLING) && level)) in debounce_work_func()
1149 u64 eflags; in edge_detector_setup() local
[all …]
/linux-6.12.1/drivers/s390/scsi/
Dzfcp_qdio.h133 sbale->eflags = 0; in zfcp_qdio_req_init()
178 sbale->eflags |= SBAL_EFLAGS_LAST_ENTRY; in zfcp_qdio_set_sbale_last()
/linux-6.12.1/drivers/ata/
Dlibata-eh.c372 static void ata_ering_record(struct ata_ering *ering, unsigned int eflags, in ata_ering_record() argument
383 ent->eflags = eflags; in ata_ering_record()
420 ent->eflags |= ATA_EFLAG_OLD_ER; in ata_ering_clear_cb()
1703 static int ata_eh_categorize_error(unsigned int eflags, unsigned int err_mask, in ata_eh_categorize_error() argument
1708 if (!(eflags & ATA_EFLAG_DUBIOUS_XFER)) in ata_eh_categorize_error()
1720 if (eflags & ATA_EFLAG_IS_IO) { in ata_eh_categorize_error()
1742 if ((ent->eflags & ATA_EFLAG_OLD_ER) || (ent->timestamp < arg->since)) in speed_down_verdict_cb()
1745 cat = ata_eh_categorize_error(ent->eflags, ent->err_mask, in speed_down_verdict_cb()
1870 unsigned int eflags, unsigned int err_mask) in ata_eh_speed_down() argument
1878 if (ata_eh_categorize_error(eflags, err_mask, &xfer_ok) == 0) in ata_eh_speed_down()
[all …]
/linux-6.12.1/arch/loongarch/include/uapi/asm/
Dptrace.h61 uint32_t eflags; member
Dsigcontext.h66 __u32 eflags; member
/linux-6.12.1/include/uapi/video/
Duvesafb.h16 __u32 eflags; member
/linux-6.12.1/arch/x86/include/asm/
Duser32.h42 __u32 eflags, esp; member

123