Home
last modified time | relevance | path

Searched refs:sm_malloc (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dheap.h32 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup) macro
44 # define sm_malloc_tagged(size, file, line, grp) sm_malloc(size)
51 extern void *sm_malloc __P((size_t));
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsm_resolve.c178 r = (DNS_REPLY_T *) sm_malloc(sizeof(*r));
238 *rr = (RESOURCE_RECORD_T *) sm_malloc(sizeof(**rr));
286 sm_malloc(sizeof(*((*rr)->rr_u.rr_mx)) + l);
307 sm_malloc(sizeof(*((*rr)->rr_u.rr_srv)) + l);
342 (*rr)->rr_u.rr_txt = (char *) sm_malloc(txtlen + 1);
353 (*rr)->rr_u.rr_data = (unsigned char*) sm_malloc(size);
H A Dsasl.c55 return sm_malloc((size_t) size);
81 p = sm_malloc(size);
H A Dbf.c132 bfp = (struct bf *) sm_malloc(sizeof(struct bf));
143 bfp->bf_buf = (char *) sm_malloc(bsize);
162 bfp->bf_filename = (char *) sm_malloc(l);
843 bfp->bf_buf = (char *) sm_malloc(bsize);
H A Dsfsasl.c110 so = (struct sasl_obj *) sm_malloc(sizeof(struct sasl_obj));
501 so = (struct tls_obj *) sm_malloc(sizeof(struct tls_obj));
H A Ddomain.c700 buf = (char *) sm_malloc(len);
H A Dqueue.c7709 WorkGrp[j].wg_qgs = (QUEUEGRP **)sm_malloc(sizeof(QUEUEGRP *) * in makeworkgroups()
8268 lsplits = sm_malloc(l);
8393 lsplits = sm_malloc(l);
H A Dmap.c1231 appdomain = (char *) sm_malloc(len);
7943 replybuf = (char *) sm_malloc(replylen + 1);
H A Dsrvrsmtp.c3102 new = (QUEUE_CHAR *) sm_malloc(sizeof(QUEUE_CHAR));
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dsetvbuf.c115 if ((buf = sm_malloc(size)) == NULL)
126 buf = sm_malloc(size);
H A Dt-heap.c37 p = sm_malloc(10);
H A Dvasprintf.c70 fake.f_bf.smb_base = fake.f_p = (unsigned char *)sm_malloc(SM_VA_BUFSIZE);
H A Dmakebuf.c55 if ((p = sm_malloc(size)) == NULL)
H A Dconfig.c83 newenv = (char **) sm_malloc(sizeof(char *) * (envlen + 2));
H A Dniprop.c185 propval = p = sm_malloc(alen);
H A Dsem.c58 semvals = (unsigned short *) sm_malloc(nsem * sizeof semvals);
H A Dheap.c29 #undef sm_malloc
120 sm_malloc(size) in sm_malloc() function
H A Dstrio.c228 s = sm_malloc(sizeof(SM_STR_OBJ_T));
H A Drpool.c90 p = sm_malloc(sizeof(SM_POOLHDR_T) + size);
H A Dmbdb.c458 new = sm_malloc(len);
H A Dvfprintf.c1021 sm_malloc(sizeof(va_list) * (tablemax + 1));