Searched refs:dskp (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | gpt.h | 35 int gptread(const uuid_t *uuid, struct dsk *dskp, char *buf); 36 int gptfind(const uuid_t *uuid, struct dsk *dskp, int part); 37 void gptbootfailed(struct dsk *dskp);
|
H A D | gpt.c | 57 gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, argument 76 if (drvwrite(dskp, secbuf, slba, 1)) { 86 if (drvwrite(dskp, secbuf, hdr->hdr_lba_self, 1)) { 93 gptfind(const uuid_t *uuid, struct dsk *dskp, int part) argument 164 dskp->part = curent + 1; 166 dskp->start = ent->ent_lba_start; 174 gptupdate("primary", dskp, &hdr_primary, table_primary); 178 gptupdate("backup", dskp, &hdr_backup, table_backup); 185 gptread_hdr(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, argument 190 if (drvread(dskp, secbu 214 gptbootfailed(struct dsk *dskp) argument 233 gptbootconv(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, struct gpt_ent *table) argument 280 gptread_table(const char *which, const uuid_t *uuid, struct dsk *dskp, struct gpt_hdr *hdr, struct gpt_ent *table) argument 318 gptread(const uuid_t *uuid, struct dsk *dskp, char *buf) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/common/ |
H A D | drv.h | 42 int drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk); 44 int drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk); 45 uint64_t drvsize(struct dsk *dskp);
|
H A D | drv.c | 36 drvsize(struct dsk *dskp) argument 43 v86.edx = dskp->drive; 60 drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk) argument 75 v86.edx = dskp->drive; 85 v86.edx = nblk << 8 | dskp->drive; 98 drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk) argument 109 v86.edx = dskp->drive;
|
Completed in 68 milliseconds