Searched refs:listbuf (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | listdgrp.c | 100 char **listbuf; /* Buffer allocated for addrs */ in listdgrp() local 123 if (listbuf = malloc(n*sizeof (char **))) { in listdgrp() 130 pp = listbuf; in listdgrp() 149 rtnval = listbuf; in listdgrp() 152 for (pp = listbuf; *pp; pp++) free(*pp); in listdgrp() 153 free(listbuf); in listdgrp()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 71 char **listbuf; variable 112 if ((listbuf = (char **)malloc(sizeof (char *) * CHUNK)) == NULL) { in main() 157 listp = listbuf; in main() 181 listbuf = (char **)realloc(listbuf, in main() 183 if (listbuf == NULL) { in main() 188 listp = &listbuf[listcnt]; in main() 193 listp = listbuf; in main()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/ |
H A D | repquota.c | 85 static char **listbuf; variable 109 if ((listbuf = malloc(sizeof (char *) * CHUNK)) == NULL) { in main() 162 listp = listbuf; in main() 185 listbuf = realloc(listbuf, in main() 187 if (listbuf == NULL) { in main() 192 listp = &listbuf[listcnt]; in main() 197 listp = listbuf; in main()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devpool.c | 226 char *listbuf; in pool_ioctl() local 573 listbuf = kmem_alloc(propput.pp_o_bufsize, KM_SLEEP); in pool_ioctl() 574 if (ddi_copyin(propput.pp_o_buf, listbuf, in pool_ioctl() 576 kmem_free(listbuf, propput.pp_o_bufsize); in pool_ioctl() 579 if (nvlist_unpack(listbuf, propput.pp_o_bufsize, in pool_ioctl() 581 kmem_free(listbuf, propput.pp_o_bufsize); in pool_ioctl() 586 kmem_free(listbuf, propput.pp_o_bufsize); in pool_ioctl() 602 kmem_free(listbuf, propput.pp_o_bufsize); in pool_ioctl()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 112 char **listbuf; variable 129 if ((listbuf = (char **)malloc(sizeof (char *) * CHUNK)) == NULL) { in main() 188 listp = listbuf; in main() 209 listbuf = (char **)realloc(listbuf, in main() 211 if (listbuf == NULL) { in main() 216 listp = &listbuf[listcnt]; in main() 221 listp = listbuf; in main()
|