Searched refs:malloc (Results 1 - 25 of 5209) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/unbound/compat/
H A Dmalloc.c1 /* Just a replacement, if the original malloc is not
5 #undef malloc macro
9 void *malloc ();
12 void *malloc (size_t n);
23 return malloc (n);
/freebsd-13-stable/contrib/ldns/compat/
H A Dmalloc.c1 /* Just a replacement, if the original malloc is not
7 #undef malloc macro
11 void *malloc (size_t n);
21 return malloc (n);
H A Drealloc.c1 /* Just a replacement, if the original malloc is not
2 GNU-compliant. Based on malloc.c */
12 void *malloc (size_t);
15 * if oldptr is NULL, does a malloc.
26 return malloc(n);
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/
H A Dtst.sym.d41 printf("symbol = %a", &`malloc);
/freebsd-13-stable/sys/contrib/zstd/lib/freebsd/
H A Dstdlib.h34 #include <sys/malloc.h>
38 #undef malloc macro
39 #define malloc(x) (malloc)((x), M_ZSTD, M_WAITOK) macro
H A Dzstd_kmalloc.c31 #include <sys/malloc.h>
/freebsd-13-stable/tests/sys/geom/class/concat/
H A D1_test.sh8 us0=$(attach_md -t malloc -s 1M) || exit 1
9 us1=$(attach_md -t malloc -s 2M) || exit 1
10 us2=$(attach_md -t malloc -s 3M) || exit 1
/freebsd-13-stable/tests/sys/geom/class/mirror/
H A D1_test.sh8 us0=$(attach_md -t malloc -s 1M) || exit 1
9 us1=$(attach_md -t malloc -s 2M) || exit 1
10 us2=$(attach_md -t malloc -s 3M) || exit 1
/freebsd-13-stable/tests/sys/geom/class/stripe/
H A D1_test.sh8 us0=$(attach_md -t malloc -s 1M) || exit 1
9 us1=$(attach_md -t malloc -s 2M) || exit 1
10 us2=$(attach_md -t malloc -s 3M) || exit 1
/freebsd-13-stable/contrib/tcp_wrappers/
H A Dsetenv.c4 * and malloc(). It should therefore be safe to use on every UNIX system.
24 char *malloc();
30 if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0)
/freebsd-13-stable/share/doc/papers/malloc/
H A DMakefile5 DOC= malloc
6 SRCS= abs.ms intro.ms kernel.ms malloc.ms problems.ms alternatives.ms \
/freebsd-13-stable/tools/test/malloc/
H A DMakefile2 PROG= malloc
8 test: malloc
10 @csh -x -c "time ./malloc 500000 2000 8192"
11 @csh -x -c "time ./malloc 50000000 2000 8192"
12 @csh -x -c "time ./malloc 500000 14000 8192"
13 @csh -x -c "time ./malloc 20000000 20000 2048"
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dbsd-malloc.c18 #undef malloc macro
31 return malloc(size);
54 return malloc(size);
/freebsd-13-stable/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dkmem.h38 #define kmem_alloc(size, flags) malloc(size)
/freebsd-13-stable/sys/contrib/openzfs/module/zstd/include/
H A Dstdlib.h47 * Define calloc, malloc, free to make building work. They are never really used
51 #define malloc(sz) NULL macro
/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Demalloc.c42 * Like malloc but never fails.
48 void *tmp = malloc (sz);
51 errx (1, "malloc %lu failed", (unsigned long)sz);
H A Drealloc.c44 return malloc(size);
H A Dstrdup.c42 char *t = malloc(strlen(old)+1);
/freebsd-13-stable/share/doc/papers/
H A DMakefile12 malloc \
/freebsd-13-stable/sys/contrib/ck/include/
H A Dck_malloc.h34 void *(*malloc)(size_t); member in struct:ck_malloc
/freebsd-13-stable/sys/libkern/
H A Dstrndup.c38 #include <sys/malloc.h>
47 copy = malloc(len, type, M_WAITOK);
/freebsd-13-stable/tests/sys/geom/class/raid3/
H A D1_test.sh8 us0=$(attach_md -t malloc -s 1M) || exit 1
9 us1=$(attach_md -t malloc -s 2M) || exit 1
10 us2=$(attach_md -t malloc -s 3M) || exit 1
/freebsd-13-stable/tests/sys/geom/class/shsec/
H A D1_test.sh8 us0=$(attach_md -t malloc -s 1M) || exit 1
9 us1=$(attach_md -t malloc -s 2M) || exit 1
10 us2=$(attach_md -t malloc -s 3M) || exit 1
/freebsd-13-stable/sys/netgraph/atm/ccatm/
H A Dng_ccatm_cust.h39 #include <sys/malloc.h>
52 #define CCMALLOC(S) (malloc((S), M_NG_CCATM, M_NOWAIT))
53 #define CCZALLOC(S) (malloc((S), M_NG_CCATM, M_NOWAIT | M_ZERO))
/freebsd-13-stable/sys/contrib/dpdk_rte_lpm/
H A Drte_shim.h4 #define rte_malloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT)
6 #define rte_zmalloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO)
7 #define rte_zmalloc_socket(_type, _size, _align, _s) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO)

Completed in 238 milliseconds

1234567891011>>