Searched refs:malloc (Results 826 - 850 of 2509) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/cmd/vntsd/
H A Dlisten.c212 clientp = (vntsd_client_t *)malloc(sizeof (vntsd_client_t));
251 thr_arg = (vntsd_thr_arg_t *)malloc(sizeof (vntsd_thr_arg_t));
/illumos-gate/usr/src/common/crypto/ecc/
H A Decc_impl.h78 #define PORT_ArenaAlloc(a, n, f) malloc((n))
82 #define PORT_Alloc(n, f) malloc((n))
/illumos-gate/usr/src/common/tsol/
H A Dltos.c57 #define malloc(l) kmem_alloc(l, KM_NOSLEEP) macro
96 if ((hex = malloc(hex_len)) == NULL) {
/illumos-gate/usr/src/cmd/pcidr/
H A Dpcidr_common.c76 buf = malloc(size);
87 buf = malloc(size);
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dmem_prop_update.c82 buf = (mde_cookie_t *)malloc(sizeof (mde_cookie_t) * num_nodes * 3);
213 dimmlistp = (mde_cookie_t *)malloc(node_count * sizeof (mde_cookie_t));
/illumos-gate/usr/src/cmd/ptools/pcred/
H A Dpcred.c165 prcred = malloc(sizeof (prcred_t) +
168 (void) perr("malloc");
296 if ((groups = malloc(ngroups_max * sizeof (gid_t))) == NULL) {
297 (void) perr("malloc");
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Ddeflate.c96 return malloc(items * size);
147 state = (struct deflate_state *) malloc(sizeof(*state));
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_nat.c128 if ((kcmd = malloc(kbufsz)) == NULL) {
129 logdebug("ilbd_show_nat: malloc(cmd)");
249 if ((kcmd = malloc(kbufsz)) == NULL) {
250 logdebug("ilbd_show_nat: malloc(cmd)");
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dmain.c184 packet = (char *)malloc(IPV6_MAX_PACKET);
186 syslog(LOG_ERR, "main: malloc: %m");
197 control = (char *)malloc(IPV6_MAX_PACKET);
199 syslog(LOG_ERR, "main: malloc: %m");
H A Dtrace.c69 malloc((size_t)NRECORDS * sizeof (struct iftrace));
129 t->ift_packet = (char *)malloc((size_t)len);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/ickey/
H A Dickey.c164 oio = malloc(sizeof (struct openpromio) + sizeof (struct wankeyio));
166 wbku_printerr("openpromio malloc (%d) failed\n",
214 oio = malloc(sizeof (struct openpromio) +
217 wbku_printerr("openpromio malloc (%d) failed\n",
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_import.c275 if ((linebuf = (char *)malloc(LINESZ)) == NULL)
306 a = (arg_t *)malloc(sizeof (*a));
/illumos-gate/usr/src/cmd/cron/
H A Datrm.c347 (struct stat **)malloc(numjobs * sizeof (struct stat ***)))
358 statptr = (struct stat *)malloc(sizeof (struct stat));
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Ddevreserv.c428 if (addrlist = (char ***) malloc(i*sizeof(char **))) {
435 if (*ppp = (char **) malloc((n+1)*sizeof(char *))) {
442 /* If there was an error, clean up the malloc()s we've made */
/illumos-gate/usr/src/cmd/dispadmin/
H A Dfxdispadmin.c177 if ((fx_dptbl = (fxdpent_t *)malloc(fxdpsz)) == NULL)
252 (fxdpent_t *)malloc(nfxdpents * sizeof (fxdpent_t))) == NULL)
H A Drtdispadmin.c174 if ((rt_dptbl = (rtdpent_t *)malloc(rtdpsz)) == NULL)
247 (rtdpent_t *)malloc(nrtdpents * sizeof (rtdpent_t))) == NULL)
/illumos-gate/usr/src/cmd/eqn/
H A Dlex.c262 char *malloc();
265 q = malloc(strlen(s)+1);
/illumos-gate/usr/src/cmd/fs.d/
H A Dfssnapsup.c139 order = (int *)malloc(orderlen * sizeof (int));
166 order = (int *)malloc(orderlen * sizeof (int));
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_stat.c133 al = (rpcbs_addrlist *) malloc(sizeof (rpcbs_addrlist));
215 rl = (rpcbs_rmtcalllist *) malloc(sizeof (rpcbs_rmtcalllist));
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_util.c418 name = malloc(nlen);
420 (void) fprintf(stderr, "failed in malloc");
435 if ((ptr = malloc(sizeof (bas_type))) == NULL) {
436 (void) fprintf(stderr, "failed in malloc");
/illumos-gate/usr/src/cmd/saf/
H A Dreadtab.c338 (void) sprintf(Scratch, "about to 'info' malloc %d entries", Nentries);
348 if ((info = (char **) malloc(Nentries * sizeof(char *))) == NULL) {
360 if ((p = malloc((unsigned) size)) == NULL) {
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dcomm.c54 ** (malloc()ed here, should be free()d)
141 buf = malloc(expl + 1);
143 buf = malloc(expl);
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Ddepend.c102 if (((flt = malloc(sizeof (Flt_desc))) == NULL) ||
104 ((flt->f_str = malloc(flt->f_strsz)) == NULL)) {
H A Dutil.c134 if (((env = malloc(sizeof (Env_desc))) == 0) ||
256 if ((_arg = malloc(strlen(arg) + 1)) == 0)
/illumos-gate/usr/src/cmd/acpihpd/
H A Dnotify.c92 if ((opt = malloc(len)) != NULL) {
104 if ((opt = malloc(len)) != NULL) {

Completed in 120 milliseconds

<<31323334353637383940>>