| /freebsd-9-stable/sys/boot/pc98/boot2/ |
| D | boot2.c | 122 static struct dsk { struct 132 } dsk; argument 229 if ((*(u_char *)PTOV(0x482) >> dsk.unit) & 0x01) in is_scsi_hd() 240 p = (u_char *)PTOV(0x460 + dsk.unit * 4); /* SCSI equipment parameter */ in fix_sector_size() 254 if (dsk.disk == 0x30) { /* 1440KB FD */ in get_diskinfo() 257 } else if (dsk.disk == 0x90) { /* 1200KB FD */ in get_diskinfo() 260 } else if (dsk.disk == 0x80 || is_scsi_hd()) { /* IDE or SCSI HDD */ in get_diskinfo() 262 v86.eax = 0x8400 | dsk.daua; in get_diskinfo() 281 dsk.head = (di >> 8) & 0xff; in set_dsk() 282 dsk.sec = di & 0xff; in set_dsk() [all …]
|
| /freebsd-9-stable/sys/boot/i386/gptboot/ |
| D | gptboot.c | 85 static struct dsk dsk; variable 124 if (gptread(&freebsd_ufs_uuid, &dsk, dmadat->secbuf) == -1) { in gptinit() 128 if (gptfind(&freebsd_ufs_uuid, &dsk, dsk.part) == -1) { in gptinit() 146 dsk.drive = *(uint8_t *)PTOV(ARGS); in main() 147 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; in main() 148 dsk.unit = dsk.drive & DRV_MASK; in main() 149 dsk.part = -1; in main() 150 dsk.start = 0; in main() 200 gptbootfailed(&dsk); in main() 201 if (gptfind(&freebsd_ufs_uuid, &dsk, -1) == -1) in main() [all …]
|
| /freebsd-9-stable/sys/boot/i386/zfsboot/ |
| D | zfsboot.c | 191 struct dsk *dsk = (struct dsk *) priv; in vdev_read() local 198 lba += dsk->start; in vdev_read() 203 if (drvread(dsk, dmadat->rdbuf, lba, nb)) in vdev_read() 336 static struct dsk * 337 copy_dsk(struct dsk *dsk) in copy_dsk() argument 339 struct dsk *newdsk; in copy_dsk() 341 newdsk = malloc(sizeof(struct dsk)); in copy_dsk() 342 *newdsk = *dsk; in copy_dsk() 347 probe_drive(struct dsk *dsk) in probe_drive() argument 364 if (vdev_probe(vdev_read, dsk, NULL) == 0) in probe_drive() [all …]
|
| /freebsd-9-stable/sys/boot/i386/boot2/ |
| D | boot2.c | 122 static struct dsk { struct 130 } dsk; argument 231 dsk.drive = *(uint8_t *)PTOV(ARGS); in main() 232 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; in main() 233 dsk.unit = dsk.drive & DRV_MASK; in main() 234 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; in main() 278 dsk.drive & DRV_MASK, dev_nm[dsk.type], dsk.unit, in main() 279 'a' + dsk.part, kname); in main() 369 bootinfo.bi_bios_dev = dsk.drive; in load() 371 MAKEBOOTDEV(dev_maj[dsk.type], dsk.slice, dsk.unit, dsk.part), in load() [all …]
|
| /freebsd-9-stable/tools/tools/nanobsd/rescue/Files/root/ |
| D | GPT4ZFS_Create.sh | 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 50 gpart show $dsk
|
| /freebsd-9-stable/sys/boot/i386/common/ |
| D | drv.h | 32 struct dsk { struct 42 int drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk); argument 44 int drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk); 45 uint64_t drvsize(struct dsk *dskp);
|
| D | drv.c | 36 drvsize(struct dsk *dskp) in drvsize() 60 drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk) in drvread() 98 drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk) in drvwrite()
|
| /freebsd-9-stable/sys/boot/common/ |
| 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);
|
| D | gpt.c | 57 gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptupdate() 93 gptfind(const uuid_t *uuid, struct dsk *dskp, int part) in gptfind() 185 gptread_hdr(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptread_hdr() 214 gptbootfailed(struct dsk *dskp) in gptbootfailed() 233 gptbootconv(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptbootconv() 280 gptread_table(const char *which, const uuid_t *uuid, struct dsk *dskp, in gptread_table() 318 gptread(const uuid_t *uuid, struct dsk *dskp, char *buf) in gptread()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| D | DeadStoresChecker.cpp | 162 void Report(const VarDecl *V, DeadStoreKind dsk, in Report() argument 181 switch (dsk) { in Report() 206 DeadStoreKind dsk, in CheckVarDecl() argument 221 Report(VD, dsk, ExLoc, Val->getSourceRange()); in CheckVarDecl() 225 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, in CheckDeclRef() argument 228 CheckVarDecl(VD, DR, Val, dsk, Live); in CheckDeclRef() 289 DeadStoreKind dsk = Parents.isConsumedExpr(B) in observeStmt() local 293 CheckVarDecl(VD, DR, B->getRHS(), dsk, Live); in observeStmt()
|
| /freebsd-9-stable/cddl/contrib/opensolaris/lib/libzpool/common/ |
| D | kernel.c | 436 char *dsk; in vn_open() local 446 dsk = strstr(path, "/dsk/"); in vn_open() 447 if (dsk != NULL) in vn_open() 448 (void) sprintf(realpath + (dsk - path) + 1, "r%s", in vn_open() 449 dsk + 1); in vn_open()
|
| /freebsd-9-stable/cddl/contrib/dtracetoolkit/Examples/ |
| D | pfilestat_example.txt | 30 Now for the dsk device, 32 Running: dd if=/dev/dsk/c0d0s0 of=/dev/null bs=56k # x86, 32-bit 56 Running: dd if=/dev/dsk/c0d0s0 of=/dev/null bs=56k # SPARC, 64-bit
|
| D | iotop_example.txt | 43 report focusing on 102,5 (an "ls -lL" in /dev/dsk can explain the number to
|
| /freebsd-9-stable/contrib/amd/doc/ |
| D | am-utils.texi | 3503 os==sunos5;addopts:=ro;type:=cdfs;dev:=/dev/dsk/c0t6d0s2 3943 @samp{/dev/dsk/2s0} and @samp{/dev/dsk/5s0}. These are accessed as 3950 dylan/dk2 type:=ufs;dev:=/dev/dsk/2s0 3951 dylan/dk5 type:=ufs;dev:=/dev/dsk/5s0 6125 @file{/dev/dsk/2s0}). The device name is used for building the mount 6134 fs /dev/dsk/0s0 @{ 6138 fs /dev/dsk/0s0 @{ 6146 fs /dev/dsk/1s0 @{ 6159 fs /dev/dsk/2s0 @{ 6170 fs /dev/dsk/3s0 @{ [all …]
|