Searched refs:malloc (Results 1501 - 1525 of 2509) sorted by relevance

<<61626364656667686970>>

/illumos-gate/usr/src/cmd/rpcsvc/
H A Drstat_proc.c329 malloc(stats_s4.cp_time.cp_time_len * sizeof (int));
540 temp = malloc(sizeof (mib_item_t));
542 perror("mibget malloc failed");
554 last_item->valp = malloc(req->len);
663 if ((*ptr = malloc(size)) == NULL)
664 fail(1, "malloc failed");
879 * This prevents a lot of malloc/free activity, and it's simpler.
1034 * This prevents a lot of malloc/free activity, and it's simpler.
/illumos-gate/usr/src/cmd/sa/
H A Dsadp.c240 char *malloc();
472 sbuf = malloc(sizeof (struct buf) * tbl.v_buf);
474 fail("malloc of sbuf failed", 1);
475 phybuf = malloc(sizeof (struct buf) * tbl.v_pbuf);
477 fail("malloc of physbuf failed", 1);
1268 msg = (char *)malloc(strlen(errmsg) +
/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb.c41 db = (SMDB_DATABASE *) malloc(sizeof(SMDB_DATABASE));
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dmain.c111 new = (char *)malloc(strlen(argv[1]) + 2);
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dmain.c87 apath = (char *)malloc(strlen(optarg) +
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgetdata.c273 if ((d->db_buf = malloc(d->db_data.d_size)) == 0) {
/illumos-gate/usr/src/cmd/abi/apptracecmd/
H A Dapptrace.c288 if ((stuff = malloc(lenvar + lenval + 1)) == NULL) {
289 (void) fprintf(stderr, gettext("%s: malloc failed\n"), command);
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dinterceptor.c108 buf = malloc(s);
H A Dutil.c113 if ((string = malloc(vlen+1)) == NULL) {
114 errlog(FATAL, "malloc ran out of space");
/illumos-gate/usr/src/cmd/allocate/
H A Ddminfo.c33 #include <malloc.h>
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dmain.cc314 outfile = (char *)malloc((unsigned)i);
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioGain.cc30 #include <malloc.h>
/illumos-gate/usr/src/cmd/auditd/
H A Ddoorway.c592 node = malloc(sizeof (audit_q_t));
616 node = malloc(AUDIT_REC_HEADER + DEFAULT_BUF_SZ);
676 node = malloc(sizeof (audit_q_t));
729 node = malloc(AUDIT_REC_HEADER + new_length);
/illumos-gate/usr/src/cmd/avs/dsw/
H A Diicpshd.c348 char *temp_string = malloc(len-1);
/illumos-gate/usr/src/cmd/avs/nsctl/
H A Dnscadm.c227 if ((addr = (char *)malloc(size * 2)) == NULL) {
/illumos-gate/usr/src/cmd/awk/
H A Dparse.c42 x = (Node *)malloc(sizeof (Node) + (n - 1) * sizeof (Node *));
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.h22 #include <malloc.h>
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_util.c48 pres = malloc(sizeof (mechlist_t));
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dadopt.c118 * going to be a mess, especially with handling malloc() and
247 *kernel_cachep = malloc(*kcache_size);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dsecure.c264 malloc((size_t)out_buf.length);
269 secure_error("%s (in malloc of PROT buffer)",
/illumos-gate/usr/src/cmd/fs.d/nfs/nfs4cbd/
H A Dnfs4cbd.c194 protobp = (struct protob *)malloc(sizeof (struct protob));
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dreadbuf.c100 if ((lbp = malloc(sizeof (struct nfslog_buf))) == NULL) {
372 lrp = (struct nfslog_lr *)malloc(sizeof (*lrp));
420 if ((lrp->buffer = malloc(lrp->recsize)) == NULL) {
639 prp = malloc(sizeof (*prp));
/illumos-gate/usr/src/cmd/fs.d/nfs/rp_basic/
H A Dlibnfs_basic.c196 malloc(sizeof (utf8string));
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c276 entry = (name_addr_entry_t *)malloc(sizeof (*entry));
334 addr = (addr_entry_t *)malloc(sizeof (*addr));
335 tmp_n_bytes = (char *)malloc(regargs->address.n_len);
411 if ((new = (mon_entry *) malloc(sizeof (mon_entry))) == 0) {
413 "statd: insert_mon: malloc error on mon %s (id=%d)\n",
425 "statd: insert_mon: malloc error on mon %s (id=%d)\n",
436 "statd: insert_mon: malloc error on mon %s (id=%d)\n",
661 "malloc error on mon %s (id=%d)\n",
671 "malloc error on mon %s (id=%d)\n",
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dmain.c36 #include <malloc.h>

Completed in 218 milliseconds

<<61626364656667686970>>