Lines Matching +full:software +full:- +full:dl
1 /*-
20 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
54 lba += devinfo->partoff; in dskread()
55 lba = lba / (devinfo->dev->Media->BlockSize / DEV_BSIZE); in dskread()
58 status = devinfo->dev->ReadBlocks(devinfo->dev, in dskread()
59 devinfo->dev->Media->MediaId, lba, size, buf); in dskread()
63 "status: %lu\n", devinfo->dev, in dskread()
64 devinfo->dev->Media->MediaId, (uintmax_t)lba, size, in dskread()
66 return (-1); in dskread()
80 struct disklabel *dl; in init_dev() local
92 devinfo->partoff = 0; in init_dev()
107 * will retry fsread(0) only if there's a label found with a non-zero in init_dev()
111 return (-1); in init_dev()
112 dl = NULL; in init_dev()
113 bs = devinfo->dev->Media->BlockSize; in init_dev()
115 dl = (struct disklabel *)&ufs_buffer[bs]; in init_dev()
116 if (dl == NULL || dl->d_magic != BSD_MAGIC || dl->d_magic2 != BSD_MAGIC) in init_dev()
117 dl = (struct disklabel *)&ufs_buffer[BSD_LABEL_OFFSET]; in init_dev()
118 if (dl->d_magic != BSD_MAGIC || dl->d_magic2 != BSD_MAGIC || in init_dev()
119 dl->d_partitions[0].p_offset == 0) in init_dev()
120 return (-1); in init_dev()
121 devinfo->partoff = dl->d_partitions[0].p_offset; in init_dev()
147 CHAR16 *text = efi_devpath_name(dev->devpath); in load()
196 for (dev = devices, i = 0; dev != NULL; dev = dev->next, i++) in status()