Searched refs:fdunit (Results 1 – 2 of 2) sorted by relevance
147 struct fdunit { struct295 struct fdunit *c_un; /* unit on controller */
189 static int fd_build_label_vtoc(struct fdunit *, struct vtoc *);190 static void fd_build_user_vtoc(struct fdunit *, struct vtoc *);209 static int fd_part_is_open(struct fdunit *un, int part);221 static int fd_unit_is_open(struct fdunit *);226 static int fd_get_media_info(struct fdunit *un, caddr_t buf, int flag);728 fdc->c_un = kmem_zalloc(sizeof (struct fdunit), KM_SLEEP); in fd_attach()1272 if (fdc->c_un != (struct fdunit *)NULL) in fd_cleanup()1302 if (fdc->c_un != (struct fdunit *)NULL) { in fd_cleanup()1317 kmem_free((caddr_t)fdc->c_un, sizeof (struct fdunit)); in fd_cleanup()1441 struct fdunit *un; in fd_prop_op()[all …]