Searched refs:malloc (Results 1151 - 1175 of 2509) sorted by relevance

<<41424344454647484950>>

/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_rules.c207 if ((tmp_rbuf = malloc(*rbufsz)) == NULL)
241 if ((rbuf = malloc(rbufsz)) == NULL) {
/illumos-gate/usr/src/cmd/vgrind/
H A Dregexp.c111 char *malloc();
124 cre = malloc (4 * strlen(re) + 3);
/illumos-gate/usr/src/cmd/wall/
H A Dwall.c236 malloc(sizeof (zoneid_t))) == NULL ||
245 if ((zoneidlist = malloc(nzids * sizeof (zoneid_t))) == NULL)
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dfuncs.c165 arg = malloc(len);
281 authtoks = malloc(strlen(authname) + sizeof ("grant"));
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/
H A Dpsvcplugin.c150 #define MALLOC_FAILED_MSG gettext("%s: malloc failed, %s\n")
640 ip = (EInterval_t *)malloc(sizeof (EInterval_t));
649 ip->task_list = (ETask_t *)malloc(ip->num_tasks * sizeof (ETask_t));
674 (EName_t *)malloc(tp->num_objects * sizeof (EName_t));
1191 dep_list = (picl_nodehdl_t *)malloc(sizeof (picl_nodehdl_t) *
1285 prop_list = (struct proj_prop *)malloc(sizeof (struct proj_prop)
1422 assoc_tbl = (struct assoc_pair *)malloc(
1638 if ((psvc_hdl.objects = (picl_psvc_t *)malloc(sizeof (picl_psvc_t) *
1654 psvc_paths = (psvc_name_t *)malloc(sizeof (psvc_name_t) *
/illumos-gate/usr/src/cmd/power/
H A Dparse.c231 if ((buf = malloc(size + 1)) == NULL)
411 if ((cline = malloc(llen + 1)) == NULL)
/illumos-gate/usr/src/cmd/ptools/psig/
H A Dpsig.c213 action = malloc(maxsig * sizeof (struct sigaction));
216 "%s: cannot malloc() space for %d sigaction structures\n",
259 aharr = malloc(aharrlen);
262 "%s: cannot malloc() space for actual handler array\n",
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Drevarp.c127 if (((req = malloc(ifrarplen)) == NULL) ||
128 ((ans = malloc(ifrarplen)) == NULL)) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dipaddrsel.c313 if ((*new_policy = malloc(entryindex * sizeof (ip6_asp_t))) == NULL) {
314 perror("malloc");
368 policy_ptr = malloc(count * sizeof (ip6_asp_t));
370 perror("malloc");
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c196 n = (struct hostdata *)malloc(sizeof (struct hostdata4));
211 n = (struct hostdata *)malloc(sizeof (struct hostdata6));
/illumos-gate/usr/src/cmd/cron/
H A Datq.c129 uidlist = (uid_t *)malloc(argc * sizeof (uid_t));
160 if ((uidlist = (uid_t *)malloc(sizeof (uid_t))) == NULL)
/illumos-gate/usr/src/cmd/dispadmin/
H A Diadispadmin.c176 if ((ia_dptbl = (iadpent_t *)malloc(iadpsz)) == NULL)
253 (iadpent_t *)malloc(niadpents * sizeof (iadpent_t))) == NULL)
H A Dtsdispadmin.c174 if ((ts_dptbl = (tsdpent_t *)malloc(tsdpsz)) == NULL)
249 (tsdpent_t *)malloc(ntsdpents * sizeof (tsdpent_t))) == NULL)
/illumos-gate/usr/src/cmd/mail/
H A Dprintmail.c57 if ((hmbox = malloc(strlen(home) + strlen(mbox) + 1)) == NULL) {
70 if ((p = malloc(strlen(maildir) + strlen(my_name) + 1))
/illumos-gate/usr/src/cmd/file/
H A Delf_read.c354 if ((psinfo = malloc(dsz)) == NULL) {
356 (void) fprintf(stderr, gettext("%s: malloc "
439 if ((strtab = malloc(shdr->sh_size)) == NULL)
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Ddebug_alloc.c70 alist = (struct alloc_list *)malloc(sizeof (*alist));
123 addr = (void *)malloc(size);
/illumos-gate/usr/src/cmd/rpcbind/
H A Dcheck_bound.c157 fdl = (struct fdlist *)malloc((uint_t)sizeof (struct fdlist));
386 ma.m_uaddr = malloc(strlen(ma.s_uaddr) + strlen(uport) + 1);
/illumos-gate/usr/src/cmd/sed/
H A Dmain.c482 if ((cu = malloc(sizeof (struct s_compunit))) == NULL)
483 err(1, "malloc");
499 if ((fp = malloc(sizeof (struct s_flist))) == NULL)
500 err(1, "malloc");
/illumos-gate/usr/src/cmd/setuname/
H A Dsetuname.c83 * malloc() Allocate a block of main memory
97 extern void *malloc(); /* Get a chunk of main memory */
416 (symbtbl = (struct s3bsym *) malloc(symbtblsz))) {
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dprocess_buffer.c107 buffer_inprog = (char *)malloc(buffer_inprog_len);
110 "process_buffer: malloc failed"));
433 if ((lp = (struct nfs_log_list *)malloc(sizeof (*lp))) != NULL) {
/illumos-gate/usr/src/cmd/fs.d/
H A Dswitchout.c194 newargv[newargc] = (char *)malloc(3);
203 newargv[newargc] = (char *)malloc(3);
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb.c259 addr = malloc(NBUF * udh->udfs.lbsize);
836 de = malloc(nent * sizeof (struct ext));
1109 malloc(sizeof (struct recu_dir));
1116 temp->nm = malloc(strlen(nm) + 1 +
1174 buf = malloc(lcount);
1259 buf = malloc(lcount);
1377 malloc(sizeof (struct recu_dir));
1384 temp->nm = malloc(strlen(dir) + 1 +
/illumos-gate/usr/src/cmd/fs.d/udfs/fstyp/
H A Dfstyp.c195 if ((buf = (uint8_t *)malloc(len)) == NULL) {
250 if ((buf = (uint8_t *)malloc(len)) == NULL) {
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c225 path = malloc(size);
226 rpath = malloc(size);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddd.c128 uchar_t *tmp = (uchar_t *)malloc(len);
546 *p = (bmp_t *)malloc(*n * sizeof (bmp_t));
603 *p = (bmp_t *)malloc(*n * sizeof (bmp_t));
866 lcp->data[i].ptr = (uchar_t *)malloc(attr->len);
883 lcp->data[i].ptr = (uchar_t *)malloc(attr->len);
895 lcp->data[i].ip = (in6_addr_t *)malloc(attr->len);
912 lcp->data[i].ip = (in6_addr_t *)malloc(attr->len);
949 matrix = (matrix_t *)malloc(sizeof (matrix_t));

Completed in 251 milliseconds

<<41424344454647484950>>