Searched defs:listbuf (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libadm/common/
H A Dlistdgrp.c101 char **listbuf; /* Buffer allocated for addrs */ local
124 if (listbuf = malloc(n*sizeof (char **))) {
131 pp = listbuf;
150 rtnval = listbuf;
153 for (pp = listbuf; *pp; pp++) free(*pp);
154 free(listbuf);
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c73 char **listbuf; variable
114 if ((listbuf = (char **)malloc(sizeof (char *) * CHUNK)) == NULL) {
159 listp = listbuf;
180 /* grow listbuf if needed */
183 listbuf = (char **)realloc(listbuf,
185 if (listbuf == NULL) {
187 "Can't grow listbuf.\n");
190 listp = &listbuf[listcnt];
195 listp = listbuf;
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Ddevpool.c226 char *listbuf; local
573 listbuf = kmem_alloc(propput.pp_o_bufsize, KM_SLEEP);
574 if (ddi_copyin(propput.pp_o_buf, listbuf,
576 kmem_free(listbuf, propput.pp_o_bufsize);
579 if (nvlist_unpack(listbuf, propput.pp_o_bufsize,
581 kmem_free(listbuf, propput.pp_o_bufsize);
586 kmem_free(listbuf, propput.pp_o_bufsize);
602 kmem_free(listbuf, propput.pp_o_bufsize);
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c87 static char **listbuf; variable
111 if ((listbuf = malloc(sizeof (char *) * CHUNK)) == NULL) {
164 listp = listbuf;
184 /* grow listbuf if needed */
187 listbuf = realloc(listbuf,
189 if (listbuf == NULL) {
191 "Can't grow listbuf.\n");
194 listp = &listbuf[listcnt];
199 listp = listbuf;
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c114 char **listbuf; variable
131 if ((listbuf = (char **)malloc(sizeof (char *) * CHUNK)) == NULL) {
190 listp = listbuf;
208 /* grow listbuf if needed */
211 listbuf = (char **)realloc(listbuf,
213 if (listbuf == NULL) {
215 "Can't grow listbuf.\n");
218 listp = &listbuf[listcnt];
223 listp = listbuf;
[all...]

Completed in 220 milliseconds