Home
last modified time | relevance | path

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

12

/linux/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/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()
/linux/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/drivers/infiniband/hw/hfi1/
H A Dtrace_misc.h74 __field(u64, eflags)
82 __entry->eflags = rhf_err_flags(packet->rhf);
93 __entry->eflags,
/linux/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/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()
H A Dapm.c62 if ((oreg.eflags & X86_EFLAGS_CF) || oreg.bx != 0x504d) { in query_apm_bios()
H A Dtty.c105 return !(oreg.eflags & X86_EFLAGS_ZF); in kbd_pending()
/linux/arch/x86/kvm/
H A Demulate.c280 unsigned long flags = (ctxt->eflags & EFLAGS_MASK) | X86_EFLAGS_IF; \
312 ctxt->eflags = (ctxt->eflags & ~EFLAGS_MASK) | (flags & EFLAGS_MASK); \
393 ctxt->dst.val = 0xFF * !!(ctxt->eflags & X86_EFLAGS_CF); in em_salc()
748 if (ctxt->eflags & X86_EFLAGS_VM) { in emulator_recalc_and_set_mode()
1373 in_page = (ctxt->eflags & X86_EFLAGS_DF) ? in pio_in_emulated()
1386 !(ctxt->eflags & X86_EFLAGS_DF)) { in pio_in_emulated()
1850 int iopl = (ctxt->eflags & X86_EFLAGS_IOPL) >> X86_EFLAGS_IOPL_BIT; in emulate_popf()
1882 (ctxt->eflags & ~change_mask) | (val & change_mask); in emulate_popf()
1890 ctxt->dst.addr.reg = &ctxt->eflags; in em_popf()
1978 ctxt->src.val = (unsigned long)ctxt->eflags & ~X86_EFLAGS_VM; in em_pushf()
[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()
471 ctxt->eflags = smstate->eflags | X86_EFLAGS_FIXED; in rsm_load_state_32()
527 ctxt->eflags = smstate->rflags | X86_EFLAGS_FIXED; in rsm_load_state_64()
H A Dtss.h15 u32 eflags; member
/linux/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/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/drivers/ata/
H A Dlibata-eh.c370 static void ata_ering_record(struct ata_ering *ering, unsigned int eflags, in ata_ering_record() argument
381 ent->eflags = eflags; in ata_ering_record()
418 ent->eflags |= ATA_EFLAG_OLD_ER; in ata_ering_clear_cb()
1708 static int ata_eh_categorize_error(unsigned int eflags, unsigned int err_mask, in ata_eh_categorize_error() argument
1713 if (!(eflags & ATA_EFLAG_DUBIOUS_XFER)) in ata_eh_categorize_error()
1725 if (eflags & ATA_EFLAG_IS_IO) { in ata_eh_categorize_error()
1747 if ((ent->eflags & ATA_EFLAG_OLD_ER) || (ent->timestamp < arg->since)) in speed_down_verdict_cb()
1750 cat = ata_eh_categorize_error(ent->eflags, ent->err_mask, in speed_down_verdict_cb()
1875 unsigned int eflags, unsigned int err_mask) in ata_eh_speed_down() argument
1883 if (ata_eh_categorize_error(eflags, err_mask, &xfer_ok) == 0) in ata_eh_speed_down()
[all …]
/linux/arch/x86/include/uapi/asm/
H A Dsigcontext.h317 __u32 eflags; member
343 __u64 eflags; /* RFLAGS */ member
H A Dvm86.h81 long eflags; member
/linux/arch/loongarch/include/uapi/asm/
H A Dsigcontext.h66 __u32 eflags; member
H A Dptrace.h57 __u32 eflags; member
/linux/include/uapi/video/
H A Duvesafb.h16 __u32 eflags; member
/linux/arch/x86/include/asm/
H A Duser32.h42 __u32 eflags, esp; member
/linux/include/xen/interface/hvm/
H A Dhvm_vcpu.h21 uint32_t eflags; member
/linux/drivers/soc/apple/
H A Dsart.c310 u8 eflags; in apple_sart_remove_allowed_region() local
317 sart->ops->get_entry(sart, i, &eflags, &epaddr, &esize); in apple_sart_remove_allowed_region()

12