Home
last modified time | relevance | path

Searched refs:ufs_devp (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c57 devid_t *ufs_devp; variable
608 if (ufs_devp == NULL) { in boot_ufs_mountroot()
626 ufs_devp = (devid_t *)bkmem_alloc(sizeof (devid_t)); in boot_ufs_mountroot()
627 ufs_devp->di_taken = 1; in boot_ufs_mountroot()
628 ufs_devp->di_dcookie = h; in boot_ufs_mountroot()
629 ufs_devp->di_desc = (char *)bkmem_alloc(strlen(str) + 1); in boot_ufs_mountroot()
630 (void) strcpy(ufs_devp->di_desc, str); in boot_ufs_mountroot()
631 bzero(ufs_devp->un_fs.dummy, SBSIZE); in boot_ufs_mountroot()
638 head->fi_devp = ufs_devp; in boot_ufs_mountroot()
641 head->fi_memp = (caddr_t)&(ufs_devp->un_fs.di_fs); in boot_ufs_mountroot()
[all …]
/illumos-gate/usr/src/common/fs/
H A Dufsops.c71 devid_t *ufs_devp; variable
558 if (ufs_devp) /* already mounted */ in bufs_mountroot()
561 ufs_devp = (devid_t *)bkmem_alloc(sizeof (devid_t)); in bufs_mountroot()
562 ufs_devp->di_taken = 1; in bufs_mountroot()
563 ufs_devp->di_dcookie = 0; in bufs_mountroot()
564 ufs_devp->di_desc = (char *)bkmem_alloc(strlen(str) + 1); in bufs_mountroot()
565 (void) strcpy(ufs_devp->di_desc, str); in bufs_mountroot()
566 bzero(ufs_devp->un_fs.dummy, SBSIZE); in bufs_mountroot()
573 head->fi_devp = ufs_devp; in bufs_mountroot()
576 head->fi_memp = (caddr_t)&(ufs_devp->un_fs.di_fs); in bufs_mountroot()
[all …]