Home
last modified time | relevance | path

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

123456

/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.c88 void __init prom_meminit(u32 magic) in prom_meminit() argument
90 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/arm/include/asm/
Ducontext.h50 unsigned long magic; member
62 unsigned long magic; member
73 unsigned long magic; member
/arch/mips/boot/
Decoff.h35 short magic; /* see above */ member
57 ((a).magic == ZMAGIC || (a).magic == LIBMAGIC ? 0 : \
/arch/um/drivers/
Dcow_user.c23 __s32 magic; member
42 __u32 magic; member
86 __u32 magic; member
98 __u32 magic; member
216 header->magic = htobe32(COW_MAGIC); in write_cow_header()
286 unsigned long version, magic; in read_cow_header() local
300 magic = header->v1.magic; in read_cow_header()
301 if (magic == COW_MAGIC) in read_cow_header()
303 else if (magic == be32toh(COW_MAGIC)) in read_cow_header()
Dmconsole.h22 u32 magic; member
36 u32 magic; member
/arch/arc/kernel/
Dsignal.c146 static inline int is_do_ss_needed(unsigned int magic) in is_do_ss_needed() argument
148 if (MAGIC_SIGALTSTK == magic) in is_do_ss_needed()
157 unsigned int magic; in SYSCALL_DEFINE0() local
175 if (__get_user(magic, &sf->sigret_magic)) in SYSCALL_DEFINE0()
178 if (unlikely(is_do_ss_needed(magic))) in SYSCALL_DEFINE0()
232 unsigned int magic = 0; in setup_rt_frame() local
268 magic = MAGIC_SIGALTSTK; in setup_rt_frame()
271 err |= __put_user(magic, &sf->sigret_magic); in setup_rt_frame()
/arch/mips/fw/arc/
Dinit.c34 if (pb->magic != 0x53435241) { in prom_init()
36 (unsigned long) pb->magic); in prom_init()
/arch/arm64/kernel/
Dsignal.c191 __put_user_error(FPSIMD_MAGIC, &ctx->head.magic, err); in preserve_fpsimd_context()
200 __u32 magic, size; in restore_fpsimd_context() local
204 __get_user_error(magic, &ctx->head.magic, err); in restore_fpsimd_context()
208 if (magic != FPSIMD_MAGIC || size != sizeof(struct fpsimd_context)) in restore_fpsimd_context()
246 u32 magic, size; in parse_user_sigframe() local
261 __get_user_error(magic, &head->magic, err); in parse_user_sigframe()
269 switch (magic) { in parse_user_sigframe()
315 __get_user_error(end_magic, &end->magic, err); in parse_user_sigframe()
494 __put_user_error(ESR_MAGIC, &esr_ctx->head.magic, err); in setup_sigframe()
523 __put_user_error(EXTRA_MAGIC, &extra->head.magic, err); in setup_sigframe()
[all …]
/arch/x86/xen/
Dplatform-pci-unplug.c40 short magic; in check_platform_magic() local
43 magic = inw(XEN_IOPORT_MAGIC); in check_platform_magic()
44 if (magic != XEN_IOPORT_MAGIC_VAL) { in check_platform_magic()
Denlighten_pvh.c92 if (pvh_start_info.magic != XEN_HVM_START_MAGIC_VALUE) { in xen_prepare_pvh()
94 pvh_start_info.magic); in xen_prepare_pvh()
/arch/mips/include/asm/dec/
Dprom.h52 #define prom_is_rex(magic) 1 /* KN04 and KN05 are REX PROMs. */ argument
56 #define prom_is_rex(magic) ((magic) == REX_PROM_MAGIC) argument
/arch/arm/mach-netx/
Dxc.c46 unsigned int magic; member
136 if (head->magic != 0x4e657458) { in xc_request_firmware()
137 if (head->magic == 0x5874654e) { in xc_request_firmware()
144 head->magic); in xc_request_firmware()
/arch/arm/kernel/
Dsignal.c38 kframe->magic = CRUNCH_MAGIC; in preserve_crunch_context()
55 if (kframe->magic != CRUNCH_MAGIC || in restore_crunch_context()
76 kframe->magic = IWMMXT_MAGIC; in preserve_iwmmxt_context()
87 .magic = DUMMY_MAGIC, in preserve_iwmmxt_context()
116 kframe->magic != DUMMY_MAGIC) in restore_iwmmxt_context()
123 if (kframe->magic != IWMMXT_MAGIC) in restore_iwmmxt_context()
143 kframe.magic = VFP_MAGIC; in preserve_vfp_context()
162 if (frame.magic != VFP_MAGIC || frame.size != VFP_STORAGE_SIZE) in restore_vfp_context()
/arch/mips/include/asm/lasat/
Dhead.h14 u32 magic[2]; member
/arch/powerpc/platforms/powernv/
Dopal-msglog.c21 __be64 magic; member
121 if (be64_to_cpu(mc->magic) != MEMCONS_MAGIC) { in opal_msglog_init()
/arch/powerpc/boot/
Dwii.c35 char magic[3]; member
70 if (memcmp(hdr->magic, "IPC", 3)) { in mipc_get_infohdr()
/arch/powerpc/kernel/
Dmodule_64.c110 u32 magic; member
149 u32 magic; in module_trampoline_target() local
158 if (probe_kernel_read(&magic, &stub->magic, sizeof(magic))) { in module_trampoline_target()
163 if (magic != STUB_MAGIC) { in module_trampoline_target()
413 entry->magic = STUB_MAGIC; in create_stub()
788 entry->magic = STUB_MAGIC; in create_ftrace_stub()
/arch/mips/include/uapi/asm/
Ducontext.h21 unsigned int magic; member
/arch/frv/include/asm/
Duser.h71 unsigned long magic; /* To uniquely identify a core file */ member
/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/mn10300/include/asm/
Duser.h43 unsigned long magic; /* To uniquely identify a core file */ member

123456