Home
last modified time | relevance | path

Searched refs:eflags (Results 1 - 25 of 111) sorted by relevance

12345

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
H A Dhelpers.h9 unsigned long eflags; in get_eflags() local
21 : "=r" (eflags) :: "memory"); in get_eflags()
23 return eflags; in get_eflags()
26 static inline void set_eflags(unsigned long eflags) in set_eflags() argument
38 :: "r" (eflags) : "flags", "memory"); in set_eflags()
H A 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()
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
H A 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()
H A 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()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dsignal.c68 extern asmlinkage int _save_lbt_context(void __user *regs, void __user *eflags);
69 extern asmlinkage int _restore_lbt_context(void __user *regs, void __user *eflags);
236 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in copy_lbt_to_sigcontext() local
242 err |= __put_user(current->thread.lbt.eflags, eflags); in copy_lbt_to_sigcontext()
251 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in copy_lbt_from_sigcontext() local
257 err |= __get_user(current->thread.lbt.eflags, eflags); in copy_lbt_from_sigcontext()
341 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; save_hw_lbt_context() local
349 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; restore_hw_lbt_context() local
624 uint32_t __user *eflags = (uint32_t *)&lbt_ctx->eflags; protected_save_lbt_context() local
660 uint32_t __user *eflags = (uint32_t *)&lbt_ctx->eflags; protected_restore_lbt_context() local
[all...]
H A Dlbt.S35 x86mfflag t1, 0x3f # save eflags
54 ldptr.d t1, a0, THREAD_EFLAGS # restore eflags
87 x86mfflag t1, 0x3f # save eflags
107 EX ld.w t1, a1, 0 # restore eflags
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpiolib-cdev.c415 * @eflags: the edge flags, GPIO_V2_LINE_FLAG_EDGE_RISING and/or
434 u64 eflags; member
558 if (line->eflags == (GPIO_V2_LINE_FLAG_EDGE_RISING | in edge_irq_thread()
568 } else if (line->eflags == GPIO_V2_LINE_FLAG_EDGE_RISING) { in edge_irq_thread()
571 } else if (line->eflags == GPIO_V2_LINE_FLAG_EDGE_FALLING) { in edge_irq_thread()
653 if (!line->eflags) in debounce_work_func()
661 if (((line->eflags == GPIO_V2_LINE_FLAG_EDGE_RISING) && !level) || in debounce_work_func()
662 ((line->eflags == GPIO_V2_LINE_FLAG_EDGE_FALLING) && level)) in debounce_work_func()
761 line->eflags = 0; in edge_detector_stop()
770 u64 eflags) in edge_detector_setup()
767 edge_detector_setup(struct line *line, struct gpio_v2_line_config *lc, unsigned int line_idx, u64 eflags) edge_detector_setup() argument
817 edge_detector_update(struct line *line, struct gpio_v2_line_config *lc, unsigned int line_idx, u64 eflags, bool polarity_change) edge_detector_update() argument
1473 u32 eflags; global() member
1723 u32 eflags; lineevent_create() local
[all...]
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dsignal.c185 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in copy_lbt_to_sigcontext() local
191 err |= __put_user(current->thread.lbt.eflags, eflags); in copy_lbt_to_sigcontext()
200 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in copy_lbt_from_sigcontext() local
206 err |= __get_user(current->thread.lbt.eflags, eflags); in copy_lbt_from_sigcontext()
273 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; in save_hw_lbt_context() local
281 uint32_t __user *eflags = (uint32_t *)&ctx->eflags; restore_hw_lbt_context() local
522 uint32_t __user *eflags = (uint32_t *)&lbt_ctx->eflags; protected_save_lbt_context() local
553 uint32_t __user *eflags = (uint32_t *)&lbt_ctx->eflags; protected_restore_lbt_context() local
[all...]
H A Dsignal-common.h61 _save_scr_context(void __user *scr, void __user *eflags);
63 _restore_scr_context(void __user *scr, void __user *eflags);
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
H A Dptrace.h33 long eflags; member
73 unsigned long eflags; member
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/
H A Dptrace.h33 long eflags; member
73 unsigned long eflags; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
H A Dptrace.h41 long eflags; member
65 unsigned long eflags; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-x86/asm/
H A Dptrace.h41 long eflags; member
65 unsigned long eflags; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dtrace_rx.h69 __field(u64, eflags)
78 __entry->eflags = rhf_err_flags(packet->rhf);
87 "[%s] ctxt %d eflags 0x%llx etype %d,%s hlen %d tlen %d updegr %d etail %d",
90 __entry->eflags,
H A Dtrace_misc.h115 __field(u64, eflags)
123 __entry->eflags = rhf_err_flags(packet->rhf);
131 "[%s] ctxt %d eflags 0x%llx hlen %d tlen %d updegr %d etail %d",
134 __entry->eflags,
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dtrace_rx.h28 __field(u64, eflags)
37 __entry->eflags = rhf_err_flags(packet->rhf);
46 "[%s] ctxt %d eflags 0x%llx etype %d,%s hlen %d tlen %d updegr %d etail %d",
49 __entry->eflags,
H A Dtrace_misc.h74 __field(u64, eflags)
82 __entry->eflags = rhf_err_flags(packet->rhf);
90 "[%s] ctxt %d eflags 0x%llx hlen %d tlen %d updegr %d etail %d",
93 __entry->eflags,
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_driver.c292 u32 ctxt, u32 eflags, u32 l, u32 etail, in qib_rcv_hdrerr()
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()
291 qib_rcv_hdrerr(struct qib_ctxtdata *rcd, struct qib_pportdata *ppd, u32 ctxt, u32 eflags, u32 l, u32 etail, __le32 *rhf_addr, struct qib_message_header *rhdr) qib_rcv_hdrerr() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_driver.c293 u32 ctxt, u32 eflags, u32 l, u32 etail, in qib_rcv_hdrerr()
298 if (eflags & (QLOGIC_IB_RHF_H_ICRCERR | QLOGIC_IB_RHF_H_VCRCERR)) in qib_rcv_hdrerr()
300 else if (eflags == QLOGIC_IB_RHF_H_TIDERR) { in qib_rcv_hdrerr()
451 u32 eflags, etype, tlen, i = 0, updegr = 0, crcs = 0; in qib_kreceive() local
473 eflags = qib_hdrget_err_flags(rhf_addr); in qib_kreceive()
489 if (!eflags) { in qib_kreceive()
497 if (etype == RCVHQ_RCV_TYPE_NON_KD && !eflags && in qib_kreceive()
508 if (unlikely(eflags)) in qib_kreceive()
509 crcs += qib_rcv_hdrerr(rcd, ppd, rcd->ctxt, eflags, l, in qib_kreceive()
292 qib_rcv_hdrerr(struct qib_ctxtdata *rcd, struct qib_pportdata *ppd, u32 ctxt, u32 eflags, u32 l, u32 etail, __le32 *rhf_addr, struct qib_message_header *rhdr) qib_rcv_hdrerr() argument
/kernel/linux/linux-5.10/arch/arc/kernel/
H A Dprocess.c286 unsigned int eflags; in elf_check_arch() local
294 eflags = x->e_flags; in elf_check_arch()
295 if ((eflags & EF_ARC_OSABI_MSK) != EF_ARC_OSABI_CURRENT) { in elf_check_arch()
/kernel/linux/linux-6.6/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()

Completed in 12 milliseconds

12345