Searched defs:ud_buf (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dsetup.c210 void *ud_buf; local
306 ud_buf = malloc(dev_bsize);
307 if (ud_buf == NULL) {
319 free(ud_buf);
324 if (fsck_bread(fsreadfd, ud_buf,
327 (void) fsck_bread(fsreadfd, ud_buf,
331 ud = (ml_odunit_t *)ud_buf;
335 free(ud_buf);
346 free(ud_buf);
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c4005 void *buf, *ud_buf; local
4047 ud_buf = (void *)malloc(DEV_BSIZE);
4048 if (ud_buf == (void *) NULL) {
4060 free(ud_buf);
4066 DEV_BSIZE, ud_buf);
4067 ud = (ml_odunit_t *)ud_buf;
4076 free(ud_buf);

Completed in 56 milliseconds