Searched refs:Malloc (Results 1 - 25 of 77) sorted by relevance

1234

/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_mem.c47 Malloc( function
68 return (memset(Malloc(s), 0, s));
H A Dmed_hash.c39 #define Malloc bkmem_alloc macro
74 if ((*cp = (Cache *) Malloc(sizeof (**cp))) == NULL) {
75 (void) fprintf(stderr, "Malloc(Cache **cp)");
78 (*cp)->bp = (Bucket *) Malloc(sizeof (*(*cp)->bp) * hsz);
80 (void) fprintf(stderr, "Malloc(Bucket cp->bp)");
133 (Item **) Malloc(sizeof (*bp->itempp) * cp->bsz);
141 (Item **) Malloc(sizeof (*bp->itempp) *
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_mem.c41 Malloc( function
59 return (memset(Malloc(s), 0, s));
/illumos-gate/usr/src/cmd/prstat/
H A Dprutil.h51 extern void *Malloc(size_t);
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Daddstring.c65 if (!(*dst = Malloc(len))) {
H A Dappendlist.c72 *plist = (char **)Malloc(2 * sizeof(char *));
H A Dduplist.c58 if (!(dst = (char **)Malloc((nitems + 1) * sizeof(char *)))) {
H A Dsprintlist.c65 if (!(ret = Malloc(len))) {
H A Daddlist.c81 *plist = (char **)Malloc(2 * sizeof(char *));
H A Dgetname.c90 logname = Malloc(10 + 1);
H A Dsop.c69 str = Malloc(size + add_size + 1);
H A Dgetlist.c92 if (!(sep = Malloc(len))) {
155 if (!(list = (char **)Malloc((n+2) * sizeof(char *)))) {
221 if (!(q = ret = Malloc(len + 1)))
H A Dmakepath.c88 if (!(ret = Malloc(len))) {
H A Dmakestr.c85 if (!(ret = Malloc(len + 1))) {
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmwrite.c126 if ((p = (MQUE *)Malloc(sizeof(MQUE))) == NULL
127 || (p->dat = (struct strbuf *)Malloc(sizeof(struct strbuf))) == NULL
128 || (p->dat->buf = (char *)Malloc(size)) == NULL)
H A Dmcreate.c63 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)
H A Dmconnect.c120 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)
144 if ((md = (MESG *)Malloc(MDSIZE)) == NULL)
H A Dmgetputm.c87 if ((MBG = (char *)Malloc(needsize)) == NULL)
132 if ((MBP = (char *)Malloc(needsize)) == NULL)
H A Dmdisconnect.c121 if ((msgbuf = (char *)Malloc((unsigned)size)))
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dconv.c230 if (!(dst = (TYPE *)Malloc((nitems + 1) * sizeof(TYPE)))) {
267 if (!(dst = (TEMPLATE *)Malloc((nitems + 1) * sizeof(TEMPLATE)))){
330 ret = Malloc(len + 1);
382 if (!(dst = (char **)Malloc((nitems + 1) * sizeof(char *)))) {
421 if (!(dst = (char **)Malloc((nitems + 1) * sizeof(char *)))) {
483 if (!(ret = q = Malloc(len + 1)))
H A Dputfilter.c109 pf = filters = (_FILTER *)Malloc(
/illumos-gate/usr/src/boot/lib/libstand/
H A Dzalloc_malloc.c54 Malloc(size_t bytes, const char *file, int line) function
132 if ((res = Malloc(bytes, file, line)) != NULL) {
154 if ((res = Malloc(size, file, line)) != NULL) {
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mem.c84 Malloc( function
121 return (memset(Malloc(s), 0, s));
H A Dmeta_tab.c87 linep->argv = Malloc(argc * sizeof (*linep->argv));
119 tabp->lines = Malloc(nlines * sizeof (*tabp->lines));
159 context = Malloc(len);
277 tabp->data = Malloc(tabp->total);
H A Dmetasplitname.c83 name = Malloc(prefixlen + suffixlen + 2);

Completed in 84 milliseconds

1234