/freebsd-9.3-release/sys/boot/i386/common/ |
H A D | drv.h | 32 struct dsk { struct 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) 60 drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk) 98 drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk)
|
/freebsd-9.3-release/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, 93 gptfind(const uuid_t *uuid, struct dsk *dskp, int part) 185 gptread_hdr(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, 214 gptbootfailed(struct dsk *dskp) 233 gptbootconv(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, 280 gptread_table(const char *which, const uuid_t *uuid, struct dsk *dskp, 318 gptread(const uuid_t *uuid, struct dsk *dskp, char *buf)
|
/freebsd-9.3-release/tools/tools/nanobsd/rescue/Files/root/ |
H A D | GPT4ZFS_Create.sh | 12 usage="Usage: $0 <dsk> [ -s <swap size> ] [ -z <zfs size> ]\n\ 16 dsk=$1 17 if [ -z "$dsk" -o \! -c "/dev/$dsk" ]; then 28 gpart destroy -F $dsk 29 gpart create -s gpt $dsk 33 gpart add -i 1 -b 34 -s $siz -t freebsd-boot $dsk 34 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 $dsk 39 gpart add -i 2 -b $off -s $siz -t freebsd-swap $dsk 48 gpart add -i 3 -b $off $siz -t freebsd-zfs $dsk [all...] |
/freebsd-9.3-release/sys/boot/pc98/boot2/ |
H A D | boot2.c | 122 static struct dsk { struct 132 } dsk; variable in typeref:struct:dsk 229 if ((*(u_char *)PTOV(0x482) >> dsk.unit) & 0x01) 240 p = (u_char *)PTOV(0x460 + dsk.unit * 4); /* SCSI equipment parameter */ 254 if (dsk.disk == 0x30) { /* 1440KB FD */ 257 } else if (dsk.disk == 0x90) { /* 1200KB FD */ 260 } else if (dsk.disk == 0x80 || is_scsi_hd()) { /* IDE or SCSI HDD */ 262 v86.eax = 0x8400 | dsk.daua; 281 dsk.head = (di >> 8) & 0xff; 282 dsk [all...] |
/freebsd-9.3-release/sys/boot/i386/zfsboot/ |
H A D | zfsboot.c | 192 struct dsk *dsk = (struct dsk *) priv; local 199 lba += dsk->start; 204 if (drvread(dsk, dmadat->rdbuf, lba, nb)) 334 * We call this when we find a ZFS vdev - ZFS consumes the dsk 337 static struct dsk * 338 copy_dsk(struct dsk *dsk) argument 340 struct dsk *newds 348 probe_drive(struct dsk *dsk) argument 442 struct dsk *dsk; local [all...] |
/freebsd-9.3-release/sys/boot/i386/gptboot/ |
H A D | gptboot.c | 85 static struct dsk dsk; variable in typeref:struct:dsk 124 if (gptread(&freebsd_ufs_uuid, &dsk, dmadat->secbuf) == -1) { 128 if (gptfind(&freebsd_ufs_uuid, &dsk, dsk.part) == -1) { 146 dsk.drive = *(uint8_t *)PTOV(ARGS); 147 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; 148 dsk.unit = dsk [all...] |
/freebsd-9.3-release/sys/boot/i386/boot2/ |
H A D | boot2.c | 122 static struct dsk { struct 130 } dsk; variable in typeref:struct:dsk 231 dsk.drive = *(uint8_t *)PTOV(ARGS); 232 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; 233 dsk.unit = dsk.drive & DRV_MASK; 234 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; 278 dsk.drive & DRV_MASK, dev_nm[dsk [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DeadStoresChecker.cpp | 162 void Report(const VarDecl *V, DeadStoreKind dsk, argument 181 switch (dsk) { 206 DeadStoreKind dsk, 221 Report(VD, dsk, ExLoc, Val->getSourceRange()); 225 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, argument 228 CheckVarDecl(VD, DR, Val, dsk, Live); 289 DeadStoreKind dsk = Parents.isConsumedExpr(B) 293 CheckVarDecl(VD, DR, B->getRHS(), dsk, Live); 205 CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, DeadStoreKind dsk, const LiveVariables::LivenessValues &Live) argument
|
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzpool/common/ |
H A D | kernel.c | 434 char *dsk; local 444 dsk = strstr(path, "/dsk/"); 445 if (dsk != NULL) 446 (void) sprintf(realpath + (dsk - path) + 1, "r%s", 447 dsk + 1);
|