Home
last modified time | relevance | path

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

123

/Linux-v5.4/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-v5.4/tools/testing/selftests/x86/
Dsyscall_nt.c28 unsigned long eflags; in get_eflags() local
29 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags)); in get_eflags()
30 return eflags; in get_eflags()
33 static void set_eflags(unsigned long eflags) in set_eflags() argument
36 : : "rm" (eflags) : "flags"); in set_eflags()
Dsingle_step_syscall.c60 unsigned long eflags; in get_eflags() local
61 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags)); in get_eflags()
62 return eflags; in get_eflags()
65 static void set_eflags(unsigned long eflags) in set_eflags() argument
68 : : "rm" (eflags) : "flags"); in set_eflags()
Dsyscall_arg_fault.c29 unsigned long eflags; in get_eflags() local
30 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags)); in get_eflags()
31 return eflags; in get_eflags()
34 static void set_eflags(unsigned long eflags) in set_eflags() argument
37 : : "rm" (eflags) : "flags"); in set_eflags()
Dunwind_vdso.c64 unsigned long eflags; in get_eflags() local
65 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags)); in get_eflags()
66 return eflags; in get_eflags()
69 static void set_eflags(unsigned long eflags) in set_eflags() argument
72 : : "rm" (eflags) : "flags"); 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()
Dtest_vsyscall.c501 unsigned long eflags; in get_eflags() local
502 asm volatile ("pushfq\n\tpopq %0" : "=rm" (eflags)); in get_eflags()
503 return eflags; in get_eflags()
506 static void set_eflags(unsigned long eflags) in set_eflags() argument
508 asm volatile ("pushq %0\n\tpopfq" : : "rm" (eflags) : "flags"); in set_eflags()
/Linux-v5.4/arch/arc/kernel/
Dprocess.c280 regs->eflags = 0; in start_thread()
302 unsigned int eflags; in elf_check_arch() local
310 eflags = x->e_flags; in elf_check_arch()
311 if ((eflags & EF_ARC_OSABI_MSK) != EF_ARC_OSABI_CURRENT) { in elf_check_arch()
/Linux-v5.4/arch/arc/plat-eznps/
Dctop.c16 prev_task_dp->eflags = read_aux_reg(CTOP_AUX_EFLAGS); in dp_save_restore()
17 write_aux_reg(CTOP_AUX_EFLAGS, next_task_dp->eflags); in dp_save_restore()
/Linux-v5.4/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-v5.4/drivers/infiniband/hw/qib/
Dqib_driver.c292 u32 ctxt, u32 eflags, u32 l, u32 etail, in qib_rcv_hdrerr() argument
297 if (eflags & (QLOGIC_IB_RHF_H_ICRCERR | QLOGIC_IB_RHF_H_VCRCERR)) in qib_rcv_hdrerr()
299 else if (eflags == QLOGIC_IB_RHF_H_TIDERR) { in qib_rcv_hdrerr()
450 u32 eflags, etype, tlen, i = 0, updegr = 0, crcs = 0; in qib_kreceive() local
472 eflags = qib_hdrget_err_flags(rhf_addr); in qib_kreceive()
488 if (!eflags) { in qib_kreceive()
496 if (etype == RCVHQ_RCV_TYPE_NON_KD && !eflags && in qib_kreceive()
507 if (unlikely(eflags)) in qib_kreceive()
508 crcs += qib_rcv_hdrerr(rcd, ppd, rcd->ctxt, eflags, l, in qib_kreceive()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dtrace_misc.h115 __field(u64, eflags)
123 __entry->eflags = rhf_err_flags(packet->rhf);
134 __entry->eflags,
Dtrace_rx.h69 __field(u64, eflags)
78 __entry->eflags = rhf_err_flags(packet->rhf);
90 __entry->eflags,
/Linux-v5.4/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-v5.4/arch/x86/kvm/
Demulate.c1491 in_page = (ctxt->eflags & X86_EFLAGS_DF) ? in pio_in_emulated()
1504 !(ctxt->eflags & X86_EFLAGS_DF)) { in pio_in_emulated()
1894 int iopl = (ctxt->eflags & X86_EFLAGS_IOPL) >> X86_EFLAGS_IOPL_BIT; in emulate_popf()
1926 (ctxt->eflags & ~change_mask) | (val & change_mask); in emulate_popf()
1934 ctxt->dst.addr.reg = &ctxt->eflags; in em_popf()
2022 ctxt->src.val = (unsigned long)ctxt->eflags & ~X86_EFLAGS_VM; in em_pushf()
2057 ctxt->src.val = ctxt->eflags; in __emulate_int_real()
2062 ctxt->eflags &= ~(X86_EFLAGS_IF | X86_EFLAGS_TF | X86_EFLAGS_AC); in __emulate_int_real()
2165 ctxt->eflags = ((temp_eflags & mask) | (ctxt->eflags & vm86_mask)); in emulate_iret_real()
2167 ctxt->eflags &= ~0xffff; in emulate_iret_real()
[all …]
/Linux-v5.4/include/linux/
Dtrace_events.h463 unsigned long eflags = file->flags; in trace_trigger_soft_disabled() local
465 if (!(eflags & EVENT_FILE_FL_TRIGGER_COND)) { in trace_trigger_soft_disabled()
466 if (eflags & EVENT_FILE_FL_TRIGGER_MODE) in trace_trigger_soft_disabled()
468 if (eflags & EVENT_FILE_FL_SOFT_DISABLED) in trace_trigger_soft_disabled()
470 if (eflags & EVENT_FILE_FL_PID_FILTER) in trace_trigger_soft_disabled()
/Linux-v5.4/drivers/s390/scsi/
Dzfcp_qdio.h126 sbale->eflags = 0; in zfcp_qdio_req_init()
171 sbale->eflags |= SBAL_EFLAGS_LAST_ENTRY; in zfcp_qdio_set_sbale_last()
/Linux-v5.4/drivers/ata/
Dlibata-eh.c361 static void ata_ering_record(struct ata_ering *ering, unsigned int eflags, in ata_ering_record() argument
372 ent->eflags = eflags; in ata_ering_record()
409 ent->eflags |= ATA_EFLAG_OLD_ER; in ata_ering_clear_cb()
1823 static int ata_eh_categorize_error(unsigned int eflags, unsigned int err_mask, in ata_eh_categorize_error() argument
1828 if (!(eflags & ATA_EFLAG_DUBIOUS_XFER)) in ata_eh_categorize_error()
1840 if (eflags & ATA_EFLAG_IS_IO) { in ata_eh_categorize_error()
1862 if ((ent->eflags & ATA_EFLAG_OLD_ER) || (ent->timestamp < arg->since)) in speed_down_verdict_cb()
1865 cat = ata_eh_categorize_error(ent->eflags, ent->err_mask, in speed_down_verdict_cb()
1990 unsigned int eflags, unsigned int err_mask) in ata_eh_speed_down() argument
1998 if (ata_eh_categorize_error(eflags, err_mask, &xfer_ok) == 0) in ata_eh_speed_down()
[all …]
/Linux-v5.4/include/uapi/video/
Duvesafb.h16 __u32 eflags; member
/Linux-v5.4/arch/x86/include/asm/
Duser32.h42 __u32 eflags, esp; member

123