Searched refs:magic (Results 1 - 25 of 71) sorted by relevance

123

/barrelfish-master/kernel/include/arch/x86_32/
H A Dinit.h25 void arch_init(uint32_t magic, void *pointer) __attribute__ ((noreturn));
/barrelfish-master/kernel/include/arch/x86_64/
H A Dinit.h25 void arch_init(uint64_t magic, void *pointer) __attribute__ ((noreturn));
/barrelfish-master/include/
H A Delf-hints.h36 u_int32_t magic; /* Magic number */ member in struct:elfhints_hdr
H A Dk_r_malloc.h15 unsigned magic; /* to mark malloced region */ member in struct:header::__anon86
H A Darranet_debug.h40 uint8_t magic; member in struct:__anon1::__anon2
59 uint8_t magic; member in struct:__anon3::__anon4
/barrelfish-master/include/lwip2/netif/ppp/
H A Dmagic.h2 * magic.h - PPP Magic Number definitions.
42 * $Id: magic.h,v 1.5 2003/06/11 23:56:26 paulus Exp $
101 u32_t magic(void); /* Returns the next magic number */
H A Dmagic.c2 * magic.c - PPP Magic Number routines.
79 #include "netif/ppp/magic.h"
185 u32_t magic(void) { function
231 * magic_init - Initialize the magic number generator.
263 u32_t magic(void) { function
278 new_rand = magic();
291 return magic() & ~(~0UL<<pow);
H A Deui64.h64 (e).e32[0] = magic(); \
65 (e).e32[1] = magic(); \
/barrelfish-master/usr/eclipseclp/icparc_solvers/rxspencer/
H A Dregfree.c23 if (g == NULL || g->magic != MAGIC2) /* oops again */
26 g->magic = 0; /* mark it invalid */
/barrelfish-master/tools/usbboot/include/aboot/
H A Dbootimg.h41 unsigned char magic[BOOT_MAGIC_SIZE]; member in struct:boot_img_hdr
/barrelfish-master/lib/libc/locale/
H A Drunefile.h45 char magic[8]; member in struct:__anon1010
/barrelfish-master/tools/armv8_bootimage/
H A Dblob.h21 uint64_t magic; member in struct:Blob::__anon303::__anon304
/barrelfish-master/lib/lwip2/src/netif/ppp/
H A Dmagic.c2 * magic.c - PPP Magic Number routines.
79 #include "netif/ppp/magic.h"
185 u32_t magic(void) { function
231 * magic_init - Initialize the magic number generator.
263 u32_t magic(void) { function
278 new_rand = magic();
291 return magic() & ~(~0UL<<pow);
/barrelfish-master/usr/eclipseclp/Kernel/src/
H A Ddlfcn_simple.c134 /* Check for both possible magic numbers depending on x86/ppc byte order */
135 if ((((struct mach_header *)handle)->magic == MH_MAGIC) ||
136 (((struct mach_header *)handle)->magic == MH_CIGAM))
167 if ((((struct mach_header *)handle)->magic == MH_MAGIC) ||
168 (((struct mach_header *)handle)->magic == MH_CIGAM))
/barrelfish-master/lib/libc/regex/
H A Dregfree.c67 if (g == NULL || g->magic != MAGIC2) /* oops again */
70 g->magic = 0; /* mark it invalid */
/barrelfish-master/tools/fastmodels/
H A Dshim.S62 /* Jump to the kernel entry point, passing the multiboot magic (boot
65 ldr x0, magic
77 magic: label
/barrelfish-master/lib/cpio/
H A Dcpiobin.c26 uint8_t magic[2]; member in struct:__anon176
43 char magic[6]; member in struct:__anon177
72 return (h->magic[0] * 0x100 + h->magic[1]) == 070707;
79 return (h->magic[0] + h->magic[1] * 0x100) == 070707;
86 return strncmp(h->magic, "070701", 6) == 0;
93 return strncmp(h->magic, "070702", 6) == 0;
582 printf("newc magic %08x inode %08x\n",
583 a6u32(ph->magic), a8u3
[all...]
/barrelfish-master/lib/openssl-1.0.0d/crypto/pem/
H A Dpvkfmt.c129 /* The PVK file magic number: seems to spell out "bobsfile", who is Bob? */
251 unsigned int bitlen, magic; local
253 if (do_blob_header(&p, length, &magic, &bitlen, &isdss, &ispub) <= 0)
274 unsigned int bitlen, magic, length; local
283 if (do_blob_header(&p, 16, &magic, &bitlen, &isdss, &ispub) <= 0)
478 static int check_bitlen_rsa(RSA *rsa, int ispub, unsigned int *magic);
479 static int check_bitlen_dsa(DSA *dsa, int ispub, unsigned int *magic);
487 unsigned int bitlen, magic = 0, keyalg; local
491 bitlen = check_bitlen_dsa(pk->pkey.dsa, ispub, &magic);
496 bitlen = check_bitlen_rsa(pk->pkey.rsa, ispub, &magic);
728 unsigned int magic; local
[all...]
/barrelfish-master/lib/libc/gen/
H A Dsem.c81 u_int32_t magic; member in struct:sem
127 if ((sem != NULL) && ((*sem)->magic == SEM_MAGIC))
139 sem->magic = 0;
161 sem->magic = SEM_MAGIC;
211 (*sem)->magic = 0;
/barrelfish-master/lib/libc/iconv/
H A Dcitrus_db_factory.c249 dump_header(struct _region *r, const char *magic, size_t *rofs, argument
254 put8(r, rofs, *magic++);
260 _citrus_db_factory_serialize(struct _citrus_db_factory *df, const char *magic, argument
269 dump_header(r, magic, &ofs, 0);
308 dump_header(r, magic, &ofs, df->df_num_entries);
/barrelfish-master/lib/openssl-1.0.0d/apps/
H A Dpasswd.c302 * For magic string "1", this should be compatible to the MD5-based BSD
304 * For 'magic' string "apr1", this is compatible to the MD5-based Apache
307 * 'magic' string was changed -- the laziest application of the NIH principle
310 static char *md5crypt(const char *passwd, const char *magic, const char *salt) argument
323 assert(strlen(magic) <= 4); /* "1" or "apr1" */
324 strncat(out_buf, magic, 4);
328 salt_out = out_buf + 2 + strlen(magic);
336 EVP_DigestUpdate(&md, magic, strlen(magic));
/barrelfish-master/lib/net/
H A Dnetif.c260 assert(nb->magic == 0xdeadbeefcafebabe);
324 assert(nb->magic == 0xdeadbeefcafebabe);
465 if (nb->magic != 0xdeadbeefcafebabe || nb->enqueued != 1 || nb->allocated != 1 || nb->flags != buf.flags) {
466 debug_printf("ERROR: pbuf=%p, rid=%u, offset=%lx magic=%lx, enq=%u, alloc=%u, flags=%lx (%lx)\n",
467 p, nb->region->regionid, nb->offset, nb->magic, nb->enqueued, nb->allocated, nb->flags, buf.flags);
470 assert(nb->magic == 0xdeadbeefcafebabe);
508 assert(nb->magic == 0xdeadbeefcafebabe);
H A Dnetworking_internal.h116 uint64_t magic; member in struct:net_buf_p
/barrelfish-master/lib/libc/db/hash/
H A Dhash.h63 int32_t magic; /* Magic NO for hash tables */ member in struct:hashhdr
288 #define MAGIC hdr.magic
/barrelfish-master/kernel/arch/armv8/boot/
H A Dboot_generic.c34 void boot_bsp_init(uint32_t magic, lpaddr_t pointer)
652 Register x0 contains the multiboot magic value
656 boot_bsp_init(uint32_t magic, lpaddr_t pointer) { argument
661 debug_print_hex(magic);
666 /* Boot magic must be set */
667 if (magic != MULTIBOOT2_BOOTLOADER_MAGIC) {
668 debug_print_string("Invalid bootloader magic\n");

Completed in 195 milliseconds

123