HomeSort by: relevance | last modified time | path
    Searched defs:MALLOC (Results 1 - 7 of 7) sorted by relevancy

  /src/sys/arch/atari/stand/tostools/libtos/
aout.c 41 #define MALLOC(x) malloc(x)
50 #define MALLOC(x) alloc(x)
123 if ((od->kstart = (u_char *)MALLOC(od->ksize)) == NULL)
161 /* 4 */ "Cannot malloc kernel image space",
elf.c 40 #define MALLOC(x) malloc(x)
49 #define MALLOC(x) alloc(x)
91 if ((phdrs = (Elf32_Phdr *)MALLOC(i)) == NULL)
142 if ((od->kstart = (u_char *)MALLOC(od->ksize)) == NULL)
224 /* 1 */ "Cannot malloc Elf phdr storage space",
228 /* 5 */ "Cannot malloc kernel image space",
  /src/lib/libc/gdtoa/
gdtoaimp.h 120 * #define MALLOC your_malloc, where your_malloc(n) acts like malloc(n)
122 * appropriate. If MALLOC is undefined, malloc will be invoked
125 * recycle memory acquired from MALLOC, #define FREE to be the
133 * suffices to get rid of MALLOC calls except for unusual cases,
223 #ifdef MALLOC
224 extern Char *MALLOC ANSI((size_t));
226 #define MALLOC malloc
    [all...]
  /src/usr.sbin/syslogd/
syslogd.h 141 #define D_MEM 256 /* malloc/free */
142 #define D_MEM2 1024 /* every single malloc/free */
205 * - malloc()/calloc() only fails if not enough memory available
210 #define MALLOC(ptr, size) do { \
211 while(!(ptr = malloc(size))) { \
215 DPRINTF(D_MEM2, "MALLOC(%s@%p, %zu)\n", #ptr, ptr, size); \
  /src/usr.sbin/route6d/
route6d.c 266 #define MALLOC(type) (malloc(sizeof(type)))
345 if ((ripbuf = malloc(RIP6_MAXMTU)) == NULL)
346 fatal("malloc");
377 if ((ripbuf = malloc(RIP6_MAXMTU)) == NULL) {
378 fatal("malloc");
1206 if ((rrt = MALLOC(struct riprt)) == NULL) {
1207 fatal("malloc: struct riprt");
1333 if ((ifcp = MALLOC(struct ifc)) == NULL) {
1334 fatal("malloc: struct ifc")
    [all...]
  /src/sys/dev/pci/
pci_subr.c 57 #define MALLOC(sz) kmem_alloc(sz, KM_SLEEP)
68 #define MALLOC(sz) malloc(sz)
5134 regs = MALLOC(PCI_EXTCONF_SIZE);
  /src/sys/dev/stbi/
stb_image.c 438 #include <sys/malloc.h>
447 #define MALLOC(size) malloc((size), M_TEMP, M_WAITOK)
452 #define MALLOC(size) malloc((size))
972 // assume data buffer is malloced, so malloc a new one and free that one
973 // only failure mode is malloc failing
988 good = MALLOC(req_comp * x * y);
1040 float *output = MALLOC(x * y * comp * sizeof(float));
1058 stbi_uc *output = MALLOC(x * y * comp)
    [all...]

Completed in 22 milliseconds