Home
last modified time | relevance | path

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

123

/linux-6.15/arch/arm/kernel/
H A 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.15/tools/testing/selftests/x86/
H A Dhelpers.h21 static inline void set_eflags(unsigned long eflags) in set_eflags() argument
24 __builtin_ia32_writeeflags_u64(eflags); in set_eflags()
26 __builtin_ia32_writeeflags_u32(eflags); in set_eflags()
H A Dentry_from_vm86.c280 v86.regs.eflags |= X86_EFLAGS_VIP; in main()
281 v86.regs.eflags &= ~X86_EFLAGS_IF; in main()
285 v86.regs.eflags = X86_EFLAGS_VIP; in main()
290 v86.regs.eflags = X86_EFLAGS_VIP; in main()
295 v86.regs.eflags = 0; in main()
299 v86.regs.eflags = 0; in main()
/linux-6.15/arch/loongarch/kernel/
H A Dsignal.c216 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in copy_lbt_to_sigcontext() local
222 err |= __put_user(current->thread.lbt.eflags, eflags); in copy_lbt_to_sigcontext()
231 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in copy_lbt_from_sigcontext() local
237 err |= __get_user(current->thread.lbt.eflags, eflags); in copy_lbt_from_sigcontext()
321 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in save_hw_lbt_context() local
323 return _save_lbt_context(regs, eflags); in save_hw_lbt_context()
329 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in restore_hw_lbt_context() local
331 return _restore_lbt_context(regs, eflags); in restore_hw_lbt_context()
604 uint32_t __user *eflags = (uint32_t *)&lbt_ctx->eflags; in protected_save_lbt_context() local
624 err = __put_user(0, &regs[0]) | __put_user(0, eflags); in protected_save_lbt_context()
[all …]
H A Dlbt.S36 x86mfflag t1, 0x3f # save eflags
55 ldptr.d t1, a0, THREAD_EFLAGS # restore eflags
88 x86mfflag t1, 0x3f # save eflags
109 EX ld.w t1, a1, 0 # restore eflags
/linux-6.15/arch/x86/include/uapi/asm/
H A Dptrace.h33 long eflags; member
73 unsigned long eflags; member
H A Dsigcontext.h317 __u32 eflags; member
343 __u64 eflags; /* RFLAGS */ member
H A Dvm86.h81 long eflags; member
/linux-6.15/drivers/infiniband/hw/qib/
H A 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.15/drivers/infiniband/hw/hfi1/
H A Dtrace_rx.h28 __field(u64, eflags)
37 __entry->eflags = rhf_err_flags(packet->rhf);
49 __entry->eflags,
H A Dtrace_misc.h74 __field(u64, eflags)
82 __entry->eflags = rhf_err_flags(packet->rhf);
93 __entry->eflags,
/linux-6.15/arch/arc/kernel/
H A 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.15/arch/x86/boot/
H A 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()
H A Dmemory.c52 if (oreg.eflags & X86_EFLAGS_CF) in detect_memory_e820()
80 if (oreg.eflags & X86_EFLAGS_CF) in detect_memory_e801()
H A Dregs.c22 reg->eflags |= X86_EFLAGS_CF; in initregs()
/linux-6.15/arch/x86/kvm/
H A Demulate.c2036 ctxt->src.val = ctxt->eflags; in __emulate_int_real()
2144 ctxt->eflags = ((temp_eflags & mask) | (ctxt->eflags & vm86_mask)); in emulate_iret_real()
2146 ctxt->eflags &= ~0xffff; in emulate_iret_real()
2414 ctxt->eflags &= ~msr_data; in em_syscall()
2647 tss->flag = ctxt->eflags; in save_state_to_tss16()
2760 tss->eflags = ctxt->eflags; in save_state_to_tss32()
2787 ctxt->eflags = tss->eflags | 2; in load_state_from_tss32()
2959 ctxt->eflags = ctxt->eflags & ~X86_EFLAGS_NT; in emulator_do_task_switch()
2975 ctxt->eflags = ctxt->eflags | X86_EFLAGS_NT; in emulator_do_task_switch()
3632 ctxt->eflags &= ~0xffUL; in em_sahf()
[all …]
H A Dsmm.c56 CHECK_SMRAM32_OFFSET(eflags, 0xFFF4); in check_smram_offsets()
192 smram->eflags = kvm_get_rflags(vcpu); in enter_smm_save_state_32()
467 ctxt->eflags = smstate->eflags | X86_EFLAGS_FIXED; in rsm_load_state_32()
523 ctxt->eflags = smstate->rflags | X86_EFLAGS_FIXED; in rsm_load_state_64()
/linux-6.15/drivers/gpio/
H A Dgpiolib-cdev.c727 if (eflags & GPIO_V2_LINE_FLAG_EDGE_RISING) in hte_edge_setup()
876 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS; in debounce_work_func()
877 if (!eflags) in debounce_work_func()
1033 u64 eflags; in edge_detector_setup() local
1037 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS; in edge_detector_setup()
1038 if (eflags) { in edge_detector_setup()
1063 if (eflags & GPIO_V2_LINE_FLAG_EDGE_RISING) in edge_detector_setup()
1794 u32 eflags; member
2048 u32 eflags; in lineevent_create() local
2059 eflags = eventreq.eventflags; in lineevent_create()
[all …]
/linux-6.15/arch/loongarch/include/asm/
H A Dlbt.h18 asmlinkage int _save_lbt_context(void __user *regs, void __user *eflags);
19 asmlinkage int _restore_lbt_context(void __user *regs, void __user *eflags);
/linux-6.15/drivers/s390/scsi/
H A 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.15/drivers/ata/
H A Dlibata-eh.c383 ent->eflags = eflags; in ata_ering_record()
420 ent->eflags |= ATA_EFLAG_OLD_ER; in ata_ering_clear_cb()
1715 if (!(eflags & ATA_EFLAG_DUBIOUS_XFER)) in ata_eh_categorize_error()
1727 if (eflags & ATA_EFLAG_IS_IO) { in ata_eh_categorize_error()
1877 unsigned int eflags, unsigned int err_mask) in ata_eh_speed_down() argument
1889 ata_ering_record(&dev->ering, eflags, err_mask); in ata_eh_speed_down()
2093 unsigned int all_err_mask = 0, eflags = 0; in ata_eh_link_autopsy() local
2168 eflags |= ATA_EFLAG_IS_IO; in ata_eh_link_autopsy()
2210 eflags |= ATA_EFLAG_DUBIOUS_XFER; in ata_eh_link_autopsy()
3263 ent->eflags &= ~ATA_EFLAG_DUBIOUS_XFER; in ata_set_mode()
[all …]
/linux-6.15/arch/loongarch/include/uapi/asm/
H A Dsigcontext.h66 __u32 eflags; member
H A Dptrace.h61 uint32_t eflags; member
/linux-6.15/include/uapi/video/
H A Duvesafb.h16 __u32 eflags; member
/linux-6.15/arch/x86/include/asm/
H A Duser32.h42 __u32 eflags, esp; member

123