Searched refs:malloc (Results 776 - 800 of 2509) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/cmd/syseventd/modules/datalink_mod/
H A Ddatalink_mod.c132 if ((newp = malloc(sizeof (struct event_list))) == NULL)
/illumos-gate/usr/src/boot/lib/libz/
H A Dgzguts.h113 extern voidp malloc OF((uInt size));
H A Dgzlib.c114 state = (gz_statep)malloc(sizeof(gz_state));
203 state->path = (char *)malloc(len + 1);
294 if (fd == -1 || (path = (char *)malloc(7 + 3 * sizeof(int))) == NULL)
604 if ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) ==
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Dhandles.c54 entry = (entry == NULL) ? malloc(sz) : realloc(entry, sz);
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Ddevicename.c106 idev = malloc(sizeof(struct i386_devdesc));
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Ddevicename.c110 idev = malloc(sizeof(struct ofw_devdesc));
112 printf("ofw_parsedev: malloc failed\n");
H A Dofw_copy.c146 buf = malloc(chunk);
148 printf("ofw_readin: buf malloc failed\n");
/illumos-gate/usr/src/boot/sys/boot/uboot/fdt/
H A Duboot_fdt.c124 ethstr = (char *)malloc(len * sizeof(char));
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Ddevicename.c108 idev = malloc(sizeof(struct uboot_devdesc));
/illumos-gate/usr/src/cmd/acpi/acpixtract/
H A Daxutils.c336 Info = malloc (sizeof (AX_TABLE_INFO));
/illumos-gate/usr/src/lib/libproc/common/
H A DPcore.c190 *pprv = malloc(core->core_priv_size);
757 if (nbytes != 0 && ((plat = malloc(nbytes + 1)) != NULL)) {
785 if (nbytes != 0 && ((psf = malloc(nbytes)) != NULL)) {
808 if ((utsp = malloc(ubytes)) == NULL)
868 if ((pcrp = malloc(nbytes)) == NULL)
901 if ((pldt = malloc(nbytes)) == NULL)
925 if ((pprvp = malloc(nbytes)) == NULL)
950 if ((ppii = malloc(nbytes)) == NULL)
975 if ((zonename = malloc(nbytes)) == NULL)
1009 if ((P->auxv = malloc(sizeo
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c447 argp = (struct nfs_args *)malloc(sizeof (*argp));
618 newpath = malloc(strlen(path)+2);
992 newopts = malloc(optlen);
1143 nfs_proto = (char *)malloc(strlen(val)+1);
1341 args->syncaddr = malloc(sizeof (struct netbuf));
1342 args->syncaddr->buf = malloc(syncaddr->len);
1594 *fhp = malloc(sizeof (wnl_fh));
1616 fh3p = (nfs_fh3 *)malloc(sizeof (*fh3p));
1664 nb = (struct netbuf *)malloc(sizeof (*nb));
1670 nb->buf = (char *)malloc(n
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeysUtil.c328 if ((OBJ_SEC_VALUE(secret_key) = malloc(keylen)) == NULL) {
648 D = (CK_BYTE *)malloc(Dlen);
654 B = (CK_BYTE *)malloc(Blen);
677 I = (CK_BYTE *)malloc(Ilen);
729 A = (CK_BYTE *)malloc(Alen);
735 Ai = (CK_BYTE *)malloc(AiLen);
1017 if ((OBJ_SEC_VALUE(secret_key) = malloc(secret_key_len)) ==
1352 salt = (CK_BYTE *)malloc(params->ulSaltSourceDataLen + 4);
1468 if ((plain_data = malloc(plain_len)) == NULL)
1516 if ((padded_data = malloc(padded_le
[all...]
H A DsoftDH.c112 template.pValue = malloc(sizeof (CK_ULONG));
246 if ((OBJ_SEC_VALUE(secretkey) = malloc(keylen)) == NULL) {
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c211 seqdata->bv_val = malloc(size);
233 seqdata->bv_val = malloc(size);
302 algoid->parameters.Data = malloc(size);
329 dst->Data = malloc(dst->Length);
556 signature->Data = malloc(signature->Length);
641 newspki = malloc(sizeof (KMF_X509_SPKI));
808 newname = malloc(sizeof (KMF_X509_NAME));
814 newname->RelativeDistinguishedName = malloc(newname->numberOfRDNs *
829 av = malloc(dstrdn->numberOfPairs *
954 newpair = malloc(sizeo
[all...]
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dcompat_common.c116 * === Should get smart and malloc the string and pointer as one
142 if (0 == (new = (strset_t)malloc(sizeof (*new)))) {
145 if (0 == (new->name = malloc(strlen(nam) + 1))) {
231 (be->netgr_buffer = malloc(NSS_BUFLEN_NETGROUP)) == 0) {
304 char *s = malloc(len + 1);
533 (be->buf = malloc(be->minbuf)) == 0) {
743 (be->buf = malloc(be->minbuf)) == 0) {
744 return (NSS_UNAVAIL); /* really panic, malloc failed */
995 (be->buf = malloc(be->minbuf)) == 0) {
996 return (NSS_UNAVAIL); /* really panic, malloc faile
[all...]
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacker.c249 if ((buf = malloc(statbuf.st_size + 1)) == NULL) {
303 if ((words[ti] = malloc(MAXWORDLEN)) == NULL) {
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Ddig_mgr.c316 malloc(ctx->context_len);
327 malloc(ctx->context_len);
H A Dsign_mgr.c127 ctx->context = (CK_BYTE *)malloc(
204 ptr = (CK_BYTE *)malloc(mech->ulParameterLen);
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dscsi_subr.c153 if ((mem = malloc(size)) == NULL)
196 if ((hp = malloc(sizeof (libscsi_hdl_t))) == NULL) {
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_heap.c55 * operations this will be the only time we need to malloc memory
58 * second malloc. Make sure that sizeof(ndr_heap_t) is smaller
73 if ((heap = malloc(allocsize)) == NULL)
92 * space obtained by individual malloc calls.
142 if ((p = (char *)malloc(incr_size)) == NULL)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/
H A Dk5_md5des.c79 xorkey.contents = (krb5_octet *)malloc(key->length);
190 xorkey.contents = (krb5_octet *)malloc(key->length);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktbase.c107 if (!(newt = (struct krb5_kt_typelist *) malloc(sizeof(*t)))) {
155 pfx = malloc (pfxlen+1);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnsglue.c90 *dsp = ds = malloc(sizeof(*ds));
118 ? malloc(nextincr) : realloc(ds->ansp, nextincr);
H A Dread_pwd.c59 verify_data.data = malloc(*size_return);
164 if (! (tmpstr = (char *)malloc(*pwsize))) {

Completed in 183 milliseconds

<<31323334353637383940>>