/freebsd-11-stable/cddl/compat/opensolaris/lib/libumem/ |
H A D | umem.c | 51 void *ret = malloc(size); 110 umem_cache_t *cache = malloc(sizeof(umem_cache_t)); 127 void *buf = malloc(cache->bufsize);
|
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | setenv.c | 110 new_environ = (char **) malloc ((size + 2) * sizeof (char *)); 118 new_environ[size] = (char *) malloc (namelen + 1 + vallen); 144 /* The existing string is too short; malloc a new one. */ 145 char *new_string = (char *) malloc (namelen + 1 + vallen);
|
/freebsd-11-stable/libexec/revnetgroup/ |
H A D | hash.c | 137 * One way to deal with this is to malloc(2) a second table and start 154 new = (struct group_entry *)malloc(sizeof(struct group_entry)); 185 tmp = (struct grouplist *)malloc(sizeof(struct grouplist)); 200 new = (struct member_entry *)malloc(sizeof(struct member_entry));
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | n-fold.c | 47 tmp = malloc(bytes); 107 unsigned char *tmp = malloc(maxlen); 108 unsigned char *buf = malloc(len);
|
/freebsd-11-stable/lib/libc/iconv/ |
H A D | citrus_stdenc.c | 64 ce = malloc(sizeof(*ce)); 87 ce->ce_ops = (struct _citrus_stdenc_ops *)malloc(sizeof(*ce->ce_ops)); 111 ce->ce_traits = malloc(sizeof(*ce->ce_traits));
|
/freebsd-11-stable/sys/kgssapi/ |
H A D | gss_accept_sec_context.c | 35 #include <sys/malloc.h> 110 name = malloc(sizeof(struct _gss_name_t), M_GSSAPI, M_WAITOK); 125 cred = malloc(sizeof(struct _gss_cred_id_t), M_GSSAPI, M_WAITOK);
|
/freebsd-11-stable/sys/kern/ |
H A D | subr_hash.c | 42 #include <sys/malloc.h> 71 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl), type, 99 "(malloc type %s)", __func__, hashtbl, type->ks_shortdesc)); 132 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl), type,
|
/freebsd-11-stable/sys/geom/uzip/ |
H A D | g_uzip_zlib.c | 34 #include <sys/malloc.h> 112 zp = malloc(sizeof(struct g_uzip_zlib), M_GEOM_UZIP, M_WAITOK); 135 ptr = malloc(type * size, M_GEOM_UZIP, M_NOWAIT);
|
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_mad_pool.c | 88 p_madw = malloc(sizeof(*p_madw)); 130 p_madw = malloc(sizeof(*p_madw)); 149 p_madw = malloc(sizeof(*p_madw));
|
/freebsd-11-stable/sys/compat/freebsd32/ |
H A D | freebsd32_capability.c | 38 #include <sys/malloc.h> 69 cmds32 = malloc(sizeof(cmds32[0]) * ncmds, M_FILECAPS, M_WAITOK); 75 cmds = malloc(sizeof(cmds[0]) * ncmds, M_FILECAPS, M_WAITOK);
|
/freebsd-11-stable/stand/i386/libi386/ |
H A D | devicename.c | 116 idev = malloc(sizeof(struct i386_devdesc)); 126 idev = malloc(sizeof (struct zfs_devdesc)); 136 idev = malloc(sizeof (struct devdesc));
|
/freebsd-11-stable/lib/libgssapi/ |
H A D | gss_names.c | 208 mn = malloc(sizeof(struct _gss_mechanism_name)); 241 name = malloc(sizeof(struct _gss_name)); 246 mn = malloc(sizeof(struct _gss_mechanism_name));
|
/freebsd-11-stable/tests/sys/geom/class/eli/ |
H A D | attach_test.sh | 16 md=$(attach_md -t malloc -s `expr $sectors + 1`) 54 md=$(attach_md -t malloc -s `expr $sectors + 1`) 82 md=$(attach_md -t malloc -s `expr $sectors + 1`)
|
/freebsd-11-stable/contrib/expat/tests/ |
H A D | memcheck.c | 57 AllocationEntry *entry = malloc(sizeof(AllocationEntry)); 64 entry->allocation = malloc(size); 130 /* By definition, this is equivalent to malloc(size) */ 143 entry = malloc(sizeof(AllocationEntry));
|
/freebsd-11-stable/contrib/sendmail/libmilter/ |
H A D | main.c | 40 smfi = (smfiDesc_ptr) malloc(sizeof *smfi); 49 smfi->xxfi_name = (char *) malloc(len); 180 if ((conn = (char *) malloc(l)) == NULL)
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | mm-internal.h | 76 #define mm_malloc(sz) malloc(sz)
|
/freebsd-11-stable/contrib/gcclibs/libssp/ |
H A D | gets-chk.c | 68 buf = malloc (slen + 1);
|
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/ |
H A D | public_namespace.h | 3 #define je_malloc JEMALLOC_N(malloc)
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_subr.c | 55 return (malloc(size));
|
/freebsd-11-stable/contrib/groff/src/libs/libgroff/ |
H A D | spawnvp.c | 50 # define ARGV_MALLOC_ERROR "malloc: Allocation for 'argv' failed" 87 if ((quoted_argv = (char **)malloc(++argc * sizeof(char **))) == NULL) {
|
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/ |
H A D | decompress_unxz.c | 157 #define kmalloc(size, flags) malloc(size) 159 #define vmalloc(size) malloc(size) 282 b.out = malloc(XZ_IOBUF_SIZE); 289 in = malloc(XZ_IOBUF_SIZE);
|
/freebsd-11-stable/sys/dev/cfi/ |
H A D | cfi_bus_nexus.c | 41 #include <sys/malloc.h>
|
/freebsd-11-stable/sys/arm/versatile/ |
H A D | versatile_timer.c | 35 #include <sys/malloc.h>
|
/freebsd-11-stable/sys/dev/bhnd/ |
H A D | bhndvar.h | 37 #include <sys/malloc.h>
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | autoconf.c | 59 #include <sys/malloc.h>
|