Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 25 of 168) sorted by relevance

1234567

/arch/mips/dec/prom/
Dinit.c45 void __init which_prom(s32 magic, s32 *prom_vec) in which_prom() argument
51 if (prom_is_rex(magic)) { in which_prom()
96 u32 magic = fw_arg2; in prom_init() local
103 which_prom(magic, prom_vec); in prom_init()
105 if (prom_is_rex(magic)) in prom_init()
134 prom_meminit(magic); in prom_init()
135 prom_identify_arch(magic); in prom_init()
136 prom_init_cmdline(argc, argv, magic); in prom_init()
Dcmdline.c18 void __init prom_init_cmdline(s32 argc, s32 *argv, u32 magic) in prom_init_cmdline() argument
26 if (!prom_is_rex(magic)) in prom_init_cmdline()
Dmemory.c86 void __init prom_meminit(u32 magic) in prom_meminit() argument
88 if (!prom_is_rex(magic)) in prom_meminit()
Didentify.c115 void __init prom_identify_arch(u32 magic) in prom_identify_arch() argument
120 if (!prom_is_rex(magic)) { in prom_identify_arch()
/arch/um/drivers/
Dcow_user.c24 __s32 magic; member
43 __u32 magic; member
87 __u32 magic; member
99 __u32 magic; member
217 header->magic = htobe32(COW_MAGIC); in write_cow_header()
287 unsigned long version, magic; in read_cow_header() local
301 magic = header->v1.magic; in read_cow_header()
302 if (magic == COW_MAGIC) in read_cow_header()
304 else if (magic == be32toh(COW_MAGIC)) in read_cow_header()
Dmconsole.h22 u32 magic; member
36 u32 magic; member
/arch/mips/boot/
Decoff.h38 int16_t magic; /* see above */ member
60 ((a).magic == ZMAGIC || (a).magic == LIBMAGIC ? 0 : \
/arch/mips/fw/arc/
Dinit.c33 if (pb->magic != 0x53435241) { in prom_init()
35 (unsigned long) pb->magic); in prom_init()
/arch/arm/include/asm/
Ducontext.h52 unsigned long magic; member
63 unsigned long magic; member
/arch/x86/xen/
Dplatform-pci-unplug.c30 short magic; in check_platform_magic() local
33 magic = inw(XEN_IOPORT_MAGIC); in check_platform_magic()
34 if (magic != XEN_IOPORT_MAGIC_VAL) { in check_platform_magic()
/arch/arc/kernel/
Dsignal.c187 static inline int is_do_ss_needed(unsigned int magic) in is_do_ss_needed() argument
189 if (MAGIC_SIGALTSTK == magic) in is_do_ss_needed()
198 unsigned int magic; in SYSCALL_DEFINE0() local
216 if (__get_user(magic, &sf->sigret_magic)) in SYSCALL_DEFINE0()
219 if (unlikely(is_do_ss_needed(magic))) in SYSCALL_DEFINE0()
273 unsigned int magic = 0; in setup_rt_frame() local
309 magic = MAGIC_SIGALTSTK; in setup_rt_frame()
312 err |= __put_user(magic, &sf->sigret_magic); in setup_rt_frame()
/arch/x86/power/
Dhibernate.c61 unsigned long magic; member
97 rdr->magic = RESTORE_MAGIC; in arch_hibernation_header_save()
133 if (rdr->magic != RESTORE_MAGIC) { in arch_hibernation_header_restore()
/arch/riscv/kernel/
Dsignal.c101 err |= __put_user(RISCV_V_MAGIC, &hdr->magic); in save_v_state()
175 __u32 magic, size; in restore_sigcontext() local
178 err |= __get_user(magic, &head->magic); in restore_sigcontext()
184 switch (magic) { in restore_sigcontext()
291 err |= __put_user(END_MAGIC, &sc_ext_ptr->magic); in setup_sigcontext()
/arch/mips/sgi-ip30/
Dip30-smp.c30 u32 magic; member
86 if (mpc->magic == MPCONF_MAGIC) { in ip30_smp_setup()
/arch/powerpc/boot/
Dwii.c30 char magic[3]; member
65 if (memcmp(hdr->magic, "IPC", 3)) { in mipc_get_infohdr()
/arch/x86/platform/pvh/
Denlighten.c129 if (pvh_start_info.magic != XEN_HVM_START_MAGIC_VALUE) { in xen_prepare_pvh()
131 pvh_start_info.magic); in xen_prepare_pvh()
/arch/arm64/kernel/
Dsignal32.c24 compat_ulong_t magic; member
96 compat_ulong_t magic = VFP_MAGIC; in compat_preserve_vfp_context() local
109 __put_user_error(magic, &frame->magic, err); in compat_preserve_vfp_context()
145 compat_ulong_t magic = VFP_MAGIC; in compat_restore_vfp_context() local
150 __get_user_error(magic, &frame->magic, err); in compat_restore_vfp_context()
155 if (magic != VFP_MAGIC || size != VFP_STORAGE_SIZE) in compat_restore_vfp_context()
Dkexec_image.c30 if (memcmp(&h->magic, ARM64_IMAGE_MAGIC, sizeof(h->magic))) in image_probe()
Dsignal.c201 __put_user_error(FPSIMD_MAGIC, &ctx->head.magic, err); in preserve_fpsimd_context()
253 __put_user_error(SVE_MAGIC, &ctx->head.magic, err); in preserve_sve_context()
387 __put_user_error(TPIDR2_MAGIC, &ctx->head.magic, err); in preserve_tpidr2_context()
423 __put_user_error(ZA_MAGIC, &ctx->head.magic, err); in preserve_za_context()
510 __put_user_error(ZT_MAGIC, &ctx->head.magic, err); in preserve_zt_context()
601 u32 magic, size; in parse_user_sigframe() local
616 __get_user_error(magic, &head->magic, err); in parse_user_sigframe()
624 switch (magic) { in parse_user_sigframe()
714 __get_user_error(end_magic, &end->magic, err); in parse_user_sigframe()
968 __put_user_error(ESR_MAGIC, &esr_ctx->head.magic, err); in setup_sigframe()
[all …]
/arch/s390/include/asm/
Duser.h67 unsigned long magic; /* To uniquely identify a core file */ member
/arch/sparc/include/asm/
Dptrace.h16 return regs->magic & 0x1ff; in pt_regs_trap_type()
86 #define MAX_REG_OFFSET (offsetof(struct pt_regs, magic))
/arch/alpha/include/asm/
Duser.h44 unsigned long magic; /* identifies a core file */ member
/arch/powerpc/include/asm/
Duser.h43 unsigned long magic; /* identifies a core file */ member
/arch/ia64/include/asm/
Duser.h49 unsigned long magic; /* identifies a core file */ member
/arch/mips/include/uapi/asm/
Ducontext.h21 unsigned int magic; member

1234567