Searched refs:dsk (Results 1 - 11 of 11) sorted by relevance

/freebsd-9.3-release/sys/boot/i386/common/
H A Ddrv.h32 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 Ddrv.c36 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 Dgpt.h35 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 Dgpt.c57 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 DGPT4ZFS_Create.sh12 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 Dboot2.c122 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 Dzfsboot.c192 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 Dgptboot.c85 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 Dboot2.c122 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 DDeadStoresChecker.cpp162 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 Dkernel.c434 char *dsk; local
444 dsk = strstr(path, "/dsk/");
445 if (dsk != NULL)
446 (void) sprintf(realpath + (dsk - path) + 1, "r%s",
447 dsk + 1);

Completed in 127 milliseconds