Searched refs:listbuf (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/lib/libadm/common/ |
H A D | listdgrp.c | 101 char **listbuf; /* Buffer allocated for addrs */ in listdgrp() local 124 if (listbuf = malloc(n*sizeof (char **))) { in listdgrp() 131 pp = listbuf; in listdgrp() 150 rtnval = listbuf; in listdgrp() 153 for (pp = listbuf; *pp; pp++) free(*pp); in listdgrp() 154 free(listbuf); in listdgrp()
|
/titanic_41/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 73 char **listbuf; variable 114 if ((listbuf = (char **)malloc(sizeof (char *) * CHUNK)) == NULL) { in main() 159 listp = listbuf; in main() 183 listbuf = (char **)realloc(listbuf, in main() 185 if (listbuf == NULL) { in main() 190 listp = &listbuf[listcnt]; in main() 195 listp = listbuf; in main()
|
/titanic_41/usr/src/cmd/fs.d/ufs/repquota/ |
H A D | repquota.c | 87 static char **listbuf; variable 111 if ((listbuf = malloc(sizeof (char *) * CHUNK)) == NULL) { in main() 164 listp = listbuf; in main() 187 listbuf = realloc(listbuf, in main() 189 if (listbuf == NULL) { in main() 194 listp = &listbuf[listcnt]; in main() 199 listp = listbuf; in main()
|
/titanic_41/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()
|
/titanic_41/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 114 char **listbuf; variable 131 if ((listbuf = (char **)malloc(sizeof (char *) * CHUNK)) == NULL) { in main() 190 listp = listbuf; in main() 211 listbuf = (char **)realloc(listbuf, in main() 213 if (listbuf == NULL) { in main() 218 listp = &listbuf[listcnt]; in main() 223 listp = listbuf; in main()
|