Home
last modified time | relevance | path

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

123

/linux/arch/arm/vdso/
H A Dvdsomunge.c121 Elf32_Word e_flags; in main() local
167 e_flags = read_elf_word(inhdr->e_flags, swap); in main()
169 if (EF_ARM_EABI_VERSION(e_flags) != EF_ARM_EABI_VER5) { in main()
171 EF_ARM_EABI_VERSION(e_flags)); in main()
174 if (e_flags & EF_ARM_ABI_FLOAT_HARD) in main()
177 clear_soft_float = !!(e_flags & EF_ARM_ABI_FLOAT_SOFT); in main()
199 e_flags &= ~EF_ARM_ABI_FLOAT_SOFT; in main()
200 write_elf_word(e_flags, &outhdr->e_flags, swap); in main()
/linux/arch/mips/kernel/
H A Delf.c92 flags = elf32 ? ehdr->e32.e_flags : ehdr->e64.e_flags; in arch_elf_pt_proc()
152 flags = elf32 ? ehdr->e32.e_flags : ehdr->e64.e_flags; in arch_check_elf()
174 iflags = ielf32 ? iehdr->e32.e_flags : iehdr->e64.e_flags; in arch_check_elf()
/linux/tools/perf/util/
H A Dthread.c452 static uint16_t read_proc_e_machine_for_pid(pid_t pid, uint32_t *e_flags) in read_proc_e_machine_for_pid() argument
461 e_machine = dso__read_e_machine(/*optional_dso=*/NULL, fd, e_flags); in read_proc_e_machine_for_pid()
469 uint32_t e_flags; member
481 args->e_machine = dso__e_machine(dso, args->machine, &args->e_flags); in thread__e_machine_callback()
485 uint16_t thread__e_machine(struct thread *thread, struct machine *machine, uint32_t *e_flags) in thread__e_machine() argument
492 .e_flags = 0, in thread__e_machine()
497 if (e_flags) in thread__e_machine()
498 *e_flags = thread__e_flags(thread); in thread__e_machine()
524 local_e_flags = args.e_flags; in thread__e_machine()
549 if (e_flags) in thread__e_machine()
[all …]
H A Dunwind-libdw.c262 int e_flags = ui->e_flags; in libdw_set_initial_registers() local
275 e_flags, in libdw_set_initial_registers()
290 e_flags, in libdw_set_initial_registers()
350 uint32_t e_flags = 0; in unwind__get_entries() local
351 uint16_t e_machine = thread__e_machine(thread, machine, &e_flags); in unwind__get_entries()
373 .e_flags = e_flags, in unwind__get_entries()
H A Dthread.h66 uint16_t e_flags; in DECLARE_RC_STRUCT() local
314 uint16_t thread__e_machine(struct thread *thread, struct machine *machine, uint32_t *e_flags);
323 return RC_CHK_ACCESS(thread)->e_flags; in thread__e_flags()
326 static inline void thread__set_e_flags(struct thread *thread, uint32_t e_flags) in thread__set_e_flags() argument
328 RC_CHK_ACCESS(thread)->e_flags = e_flags; in thread__set_e_flags()
H A Ddso.c1223 uint16_t dso__read_e_machine(struct dso *optional_dso, int fd, uint32_t *e_flags) in dso__read_e_machine() argument
1230 if (e_flags) in dso__read_e_machine()
1231 *e_flags = 0; in dso__read_e_machine()
1273 need_e_flags = e_flags && e_machine == EM_CSKY; in dso__read_e_machine()
1276 need_e_flags = e_flags != NULL; in dso__read_e_machine()
1280 ? offsetof(Elf32_Ehdr, e_flags) in dso__read_e_machine()
1281 : offsetof(Elf64_Ehdr, e_flags); in dso__read_e_machine()
1283 if (pread(fd, e_flags, sizeof(*e_flags), offset) != sizeof(*e_flags)) { in dso__read_e_machine()
1284 *e_flags = 0; in dso__read_e_machine()
1291 uint16_t dso__e_machine(struct dso *dso, struct machine *machine, uint32_t *e_flags) in dso__e_machine() argument
[all …]
H A Dsession.c962 static void regs_dump__printf(u64 mask, u64 *regs, uint16_t e_machine, uint32_t e_flags) in regs_dump__printf() argument
970 perf_reg_name(rid, e_machine, e_flags), val); in regs_dump__printf()
989 uint16_t e_machine, uint32_t e_flags) in regs__printf() argument
998 regs_dump__printf(mask, regs->regs, e_machine, e_flags); in regs__printf()
1001 static void regs_user__printf(struct perf_sample *sample, uint16_t e_machine, uint32_t e_flags) in regs_user__printf() argument
1011 regs__printf("user", user_regs, e_machine, e_flags); in regs_user__printf()
1014 static void regs_intr__printf(struct perf_sample *sample, uint16_t e_machine, uint32_t e_flags) in regs_intr__printf() argument
1024 regs__printf("intr", intr_regs, e_machine, e_flags); in regs_intr__printf()
1119 uint32_t e_flags = 0; in dump_sample() local
1129 e_machine = thread__e_machine(thread, machine, &e_flags); in dump_sample()
[all …]
H A Dperf_regs.h19 const char *perf_reg_name(int id, uint16_t e_machine, uint32_t e_flags);
36 const char *__perf_reg_name_csky(int id, uint32_t e_flags);
H A Dperf_regs.c121 const char *perf_reg_name(int id, uint16_t e_machine, uint32_t e_flags) in perf_reg_name() argument
133 reg_name = __perf_reg_name_csky(id, e_flags); in perf_reg_name()
H A Ddisasm.h21 uint32_t e_flags; member
111 const struct arch *arch__find(uint16_t e_machine, uint32_t e_flags, const char *cpuid);
H A Dunwind-libdw.h23 uint32_t e_flags; member
H A Ddisasm.c115 if ((val1->e_flags & EF_CSKY_ABIMASK) < (val2->e_flags & EF_CSKY_ABIMASK)) in e_machine_and_eflags__cmp()
117 return (val1->e_flags & EF_CSKY_ABIMASK) > (val2->e_flags & EF_CSKY_ABIMASK); in e_machine_and_eflags__cmp()
137 const struct arch *arch__find(uint16_t e_machine, uint32_t e_flags, const char *cpuid) in arch__find() argument
160 .e_flags = e_flags, in arch__find()
/linux/arch/mips/include/asm/
H A Delf.h291 if ((__h->e_flags & EF_MIPS_ABI2) != 0) { \
293 (__h->e_flags & EF_MIPS_ABI)) \
298 if (((__h->e_flags & EF_MIPS_ABI) != 0) && \
299 ((__h->e_flags & EF_MIPS_ABI) != EF_MIPS_ABI_O32)) \
301 if (__h->e_flags & __MIPS_O32_FP64_MUST_BE_ZERO) \
381 if ((((ex).e_flags & EF_MIPS_ABI2) != 0) && \
382 ((ex).e_flags & EF_MIPS_ABI) == 0) \
/linux/fs/
H A Dmbcache.c103 entry->e_flags = 0; in mb_cache_entry_create()
105 set_bit(MBE_REUSABLE_B, &entry->e_flags); in mb_cache_entry_create()
170 test_bit(MBE_REUSABLE_B, &entry->e_flags) && in __entry_find()
289 set_bit(MBE_REFERENCED_B, &entry->e_flags); in mb_cache_entry_touch()
313 if (test_bit(MBE_REFERENCED_B, &entry->e_flags) || in mb_cache_shrink()
315 clear_bit(MBE_REFERENCED_B, &entry->e_flags); in mb_cache_shrink()
/linux/tools/perf/util/perf-regs-arch/
H A Dperf_regs_csky.c19 const char *__perf_reg_name_csky(int id, uint32_t e_flags) in __perf_reg_name_csky() argument
21 if (id >= PERF_REG_CSKY_EXREGS0 && (e_flags & EF_CSKY_ABIMASK) == EF_CSKY_ABIV2) in __perf_reg_name_csky()
/linux/arch/arm/kernel/
H A Delf.c25 eflags = x->e_flags; in elf_check_arch()
45 unsigned int eflags = x->e_flags; in elf_set_personality()
/linux/arch/powerpc/boot/
H A Delf.h63 Elf32_Word e_flags; member
80 Elf64_Word e_flags; member
/linux/arch/sh/include/asm/
H A Delf.h97 #define elf_check_fdpic(x) ((x)->e_flags & EF_SH_FDPIC)
98 #define elf_check_const_displacement(x) ((x)->e_flags & EF_SH_PIC)
/linux/fs/ocfs2/
H A Dextent_map.c225 ins.ei_flags = rec->e_flags; in ocfs2_extent_map_insert_rec()
598 *extent_flags = rec->e_flags; in ocfs2_xattr_get_clusters()
651 flags = rec.e_flags; in ocfs2_get_clusters()
802 if (rec.e_flags & OCFS2_EXT_UNWRITTEN) in ocfs2_fiemap()
804 if (rec.e_flags & OCFS2_EXT_REFCOUNTED) in ocfs2_fiemap()
867 if (rec.e_flags & OCFS2_EXT_REFCOUNTED) in ocfs2_overwrite_io()
933 is_data = (rec.e_flags & OCFS2_EXT_UNWRITTEN) ? 0 : 1; in ocfs2_seek_data_hole_offset()
/linux/include/linux/
H A Dmbcache.h35 unsigned long e_flags; member
/linux/arch/alpha/include/asm/
H A Delf.h77 #define elf_check_arch(x) (((x)->e_machine == EM_ALPHA) && !((x)->e_flags & EF_ALPHA_32BIT))
/linux/arch/arm/include/asm/
H A Delf.h113 #define elf_check_const_displacement(x) ((x)->e_flags & EF_ARM_PIC)
/linux/arch/powerpc/include/asm/
H A Delf.h85 if (((ex).e_flags & 0x3) == 2) \
/linux/arch/arc/kernel/
H A Dprocess.c287 eflags = x->e_flags; in elf_check_arch()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c408 u8 e_flags = 0; in enetc_map_tx_buffs() local
427 e_flags |= ENETC_TXBD_E_FLAGS_VLAN_INS; in enetc_map_tx_buffs()
433 e_flags |= ENETC_TXBD_E_FLAGS_ONE_STEP_PTP; in enetc_map_tx_buffs()
436 e_flags |= ENETC_TXBD_E_FLAGS_TWO_STEP_PTP; in enetc_map_tx_buffs()
439 temp_bd.ext.e_flags = e_flags; in enetc_map_tx_buffs()
506 u8 flags = 0, e_flags = 0; in enetc_map_tx_tso_hdr() local
546 e_flags |= ENETC_TXBD_E_FLAGS_VLAN_INS; in enetc_map_tx_tso_hdr()
549 txbd_tmp.ext.e_flags = e_flags; in enetc_map_tx_tso_hdr()
691 u8 flags, e_flags = 0; in enetc_lso_map_hdr() local
759 e_flags = ENETC_TXBD_E_FLAGS_VLAN_INS; in enetc_lso_map_hdr()
[all …]

123