Searched refs:malloc (Results 701 - 725 of 2509) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_auth.c205 asp = malloc(sizeof (*asp));
H A Dsvc_dg.c154 su = malloc(sizeof (*su) + ucred_sz);
158 if ((rpc_buffer(xprt) = malloc(su->su_iosz)) == NULL)
235 xprt->xp_rtaddr.buf = malloc(xprt->xp_rtaddr.maxlen);
244 if ((su = malloc(sizeof (struct svc_dg_data) + ucred_sz)) == NULL) {
250 if ((rpc_buffer(xprt) = malloc(su->su_iosz)) == NULL) {
709 uc = malloc(sizeof (struct cl_cache));
799 victim = malloc(sizeof (struct cache_node));
805 newbuf = malloc(su->su_iosz);
828 newbuf2 = malloc(sizeof (char) * xprt->xp_rtaddr.len);
H A Dxdr_sizeof.c96 if ((xdrs->x_private = malloc(len)) == NULL) {
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_master.c206 if (!retval && ((*master = malloc(strlen(resp.master) + 1)) == NULL))
/illumos-gate/usr/src/lib/libpcidb/common/
H A Dpcidb.c135 v = malloc(sizeof (pcidb_vendor_t));
178 d = malloc(sizeof (pcidb_device_t));
222 s = malloc(sizeof (pcidb_subvd_t));
329 h = malloc(sizeof (pcidb_hdl_t));
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Ddns.c115 res = (struct __res_state *)malloc(sizeof *res);
H A Dlcl.c102 res = (struct __res_state *)malloc(sizeof *res);
H A Dnis.c115 res = (struct __res_state *)malloc(sizeof *res);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dfstab.c101 pfs = (struct fstab *)malloc(sizeof (struct fstab));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dhsearch.c170 new = (ENTRY *) malloc(sizeof (ENTRY));
175 new->key = malloc((unsigned)strlen(line) + 1);
181 new->data = malloc(sizeof (int));
256 * This is a locking vs malloc() violation.
461 * This is a locking vs malloc() violation.
464 NODE *p = (NODE *) malloc(sizeof (NODE));
H A Drctlops.c55 if ((ctl_names = malloc(sz)) == NULL)
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dclock_timer.c59 timer_tcd = malloc(timer_max * sizeof (*timer_tcd));
/illumos-gate/usr/src/lib/libgss/
H A Dg_canon_name.c110 (gss_union_name_t)malloc(sizeof (gss_union_name_desc));
H A Dg_exp_sec_context.c112 interprocess_token->value = malloc(length);
/illumos-gate/usr/src/lib/libidmap/common/
H A Dsidutil.c121 if ((sid = malloc(size)) == NULL)
/illumos-gate/usr/src/lib/libinetutil/common/
H A Difaddrlistx.c130 if ((ifaddrp = malloc(sizeof (ifaddrlistx_t))) == NULL)
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcram_md5.c104 if ((resp.bv_val = (char *)malloc(resp.bv_len+1)) == NULL) {
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/
H A Dlog.c82 if ((returnCtx = (LogCtx *)malloc(sizeof (LogCtx))) == NULL)
/illumos-gate/usr/src/cmd/ul/
H A Dul.c330 scp = (wchar_t *)malloc(sizeof (wchar_t) * szbf);
333 (void) fprintf(stderr, "malloc failed\n");
344 (void) malloc(1024 * 1024);
360 (void) fprintf(stderr, "malloc failed\n");
417 scp = (wchar_t *)malloc(sizeof (wchar_t) * szbf);
420 (void) fprintf(stderr, "malloc failed\n");
431 (void) malloc(1024 * 1024);
454 (void) fprintf(stderr, "malloc failed\n");
/illumos-gate/usr/src/cmd/valtools/
H A Dckgid.c218 gid = (char *)malloc(len);
H A Dckuid.c221 strval = (char *)malloc(len);
H A Dckyorn.c209 ynval = (char *)malloc(len);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_ancil.c141 if ((map = (struct ypmaplist *)malloc(
/illumos-gate/usr/src/cmd/newtask/
H A Dutils.c102 if ((a = malloc(size)) == NULL)
/illumos-gate/usr/src/cmd/ptools/pwait/
H A Dpwait.c98 pollfd = (struct pollfd *)malloc(argc*sizeof (struct pollfd));
100 perror("malloc");

Completed in 119 milliseconds

<<21222324252627282930>>