Searched refs:smalloc (Results 1 - 12 of 12) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/
H A Dencode.c92 ecp = (ENCODE *)smalloc(sizeof (ENCODE));
100 ecp->data = (uchar_t *)smalloc(len);
H A Ddhcptab.c253 dhcptab = (dt_rec_list_t **)smalloc((nentries + 1) *
276 newtbl = (dt_rec_list_t **)smalloc((nentries + 1) *
674 mc = (MACRO *)smalloc(sizeof (MACRO));
801 mc->list = (VNDLIST **)smalloc(
804 mc->list[i] = (VNDLIST *)smalloc(
836 tmp = (ENCODE *)smalloc(sizeof (ENCODE));
1014 mp->list[j] = (VNDLIST *)smalloc(sizeof (VNDLIST));
H A Ddhcpd.h174 extern void *smalloc(unsigned);
H A Dinterfaces.c259 reqbuf = (struct ifreq *)smalloc(reqsize);
276 user_if = (char **)smalloc(numifs * sizeof (char *));
343 ifp = (IF *)smalloc(sizeof (IF));
583 data.buf = smalloc(ifp->mtu);
620 plp = (PKT_LIST *)smalloc(sizeof (PKT_LIST));
829 smalloc(
855 smalloc(sizeof (dsvc_thr_t));
H A Dmisc.c264 rp = (dbg_rec_t *)smalloc(sizeof (dbg_rec_t));
399 pnd->lrupage = (dn_rec_list_t **)smalloc(size);
683 * smalloc() -- safe malloc()
693 smalloc(uint_t nbytes) function
711 * Unlike smalloc(), does not initialize the buffer to all zeros.
H A Dgeneric.c233 node = (NNODE *)smalloc(sizeof (NNODE));
306 vdata = (uchar_t *)smalloc(vend_len);
H A Dhash.c179 hashtblptr = (hash_tbl *)smalloc(totalsize);
375 temp = (hash_member *)smalloc(sizeof (hash_member));
H A Dper_dnet.c134 pnd = (dsvc_dnet_t *)smalloc(sizeof (dsvc_dnet_t));
441 pcd = (dsvc_clnt_t *)smalloc(sizeof (dsvc_clnt_t));
H A Dmain.c495 owner_ip = smalloc((sizeof (struct in_addr)) * (np + 1));
781 PKT *pkt = (PKT *)smalloc(size);
H A Ddhcp.c2827 hp = (struct hostent *)smalloc(sizeof (struct hostent));
2828 hp->h_addr_list = (char **)smalloc(2 * sizeof (char **));
2830 hp->h_addr = smalloc(sizeof (struct in_addr));
2873 fqname = smalloc(ho_len + ep->len + 1 + 1 + 1);
2882 /* no need to null-terminate - smalloc() did it */
2894 hp->h_name = smalloc(ho->len + 1);
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/tests/
H A Dtest_per_net.c44 * smalloc() -- safe malloc()
52 smalloc(uint_t nbytes) function
/opensolaris-onvv-gate/usr/src/lib/watchmalloc/common/
H A Dmalloc.c113 smalloc(size_t size) function
192 return (smalloc(size));

Completed in 179 milliseconds