Searched refs:malloc (Results 201 - 225 of 5274) sorted by relevance

1234567891011>>

/freebsd-11-stable/cddl/compat/opensolaris/lib/libumem/
H A Dumem.c51 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 Dsetenv.c110 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 Dhash.c137 * 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 Dn-fold.c47 tmp = malloc(bytes);
107 unsigned char *tmp = malloc(maxlen);
108 unsigned char *buf = malloc(len);
/freebsd-11-stable/lib/libc/iconv/
H A Dcitrus_stdenc.c64 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 Dgss_accept_sec_context.c35 #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 Dsubr_hash.c42 #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 Dg_uzip_zlib.c34 #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 Dosm_mad_pool.c88 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 Dfreebsd32_capability.c38 #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 Ddevicename.c116 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 Dgss_names.c208 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 Dattach_test.sh16 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 Dmemcheck.c57 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 Dmain.c40 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 Dmm-internal.h76 #define mm_malloc(sz) malloc(sz)
/freebsd-11-stable/contrib/gcclibs/libssp/
H A Dgets-chk.c68 buf = malloc (slen + 1);
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dpublic_namespace.h3 #define je_malloc JEMALLOC_N(malloc)
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_subr.c55 return (malloc(size));
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dspawnvp.c50 # 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 Ddecompress_unxz.c157 #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 Dcfi_bus_nexus.c41 #include <sys/malloc.h>
/freebsd-11-stable/sys/arm/versatile/
H A Dversatile_timer.c35 #include <sys/malloc.h>
/freebsd-11-stable/sys/dev/bhnd/
H A Dbhndvar.h37 #include <sys/malloc.h>
/freebsd-11-stable/sys/arm/arm/
H A Dautoconf.c59 #include <sys/malloc.h>

Completed in 200 milliseconds

1234567891011>>