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

/freebsd-current/stand/libsa/
H A Dgpt.h35 int gptread(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.c52 gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr,
91 gptfind(const uuid_t *uuid, struct dsk *dskp, int part)
183 gptread_hdr(const char *which, struct dsk *dskp, struct gpt_hdr *hdr,
213 gptbootfailed(struct dsk *dskp)
232 gptbootconv(const char *which, struct dsk *dskp, struct gpt_hdr *hdr,
282 gptread_table(const char *which, struct dsk *dskp, struct gpt_hdr *hdr,
321 gptread(struct dsk *dskp, char *buf)
H A Dcd9660read.c58 return (drvread(&dsk, buffer, blkno * 4, 4));
/freebsd-current/stand/i386/common/
H A Ddrv.h30 struct dsk { struct
40 int drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk);
42 int drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk);
44 uint64_t drvsize(struct dsk *dskp);
H A Ddrv.c29 drvsize(struct dsk *dskp)
50 drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk)
78 drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk)
/freebsd-current/stand/efi/gptboot/
H A Ddrv.h29 struct dsk { struct
35 int drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk);
36 int drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk);
37 uint64_t drvsize(struct dsk *dskp);
H A Dproto.c43 static struct dsk dsk; variable in typeref:struct:dsk
55 drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk)
82 drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk)
111 drvsize(struct dsk *dskp)
236 dsk.devinfo = raw_device;
237 if (dsk.devinfo == NULL) {
247 if (gptread(&dsk, secbuf) == -1) {
256 while (gptfind(&freebsd_ufs_uuid, &dsk, -1) != -1) {
258 bootdev = find_partition(dsk
[all...]
/freebsd-current/tools/tools/nanobsd/rescue/Files/root/
H A DGPT4ZFS_Create.sh11 usage="Usage: $0 <dsk> [ -s <swap size> ] [ -z <zfs size> ]\n\
15 dsk=$1
16 if [ -z "$dsk" -o \! -c "/dev/$dsk" ]; then
27 gpart destroy -F $dsk
28 gpart create -s gpt $dsk
32 gpart add -i 1 -b 34 -s $siz -t freebsd-boot $dsk
33 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 $dsk
38 gpart add -i 2 -b $off -s $siz -t freebsd-swap $dsk
47 gpart add -i 3 -b $off $siz -t freebsd-zfs $dsk
[all...]
/freebsd-current/stand/i386/boot2/
H A Dboot2.c91 static struct dsk { struct
99 } dsk; variable in typeref:struct:dsk
208 dsk.drive = *(uint8_t *)PTOV(ARGS);
209 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD;
210 dsk.unit = dsk.drive & DRV_MASK;
211 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1;
255 dsk.drive & DRV_MASK, dev_nm[dsk
[all...]
/freebsd-current/stand/i386/isoboot/
H A Disoboot.c80 static struct dsk dsk; variable in typeref:struct:dsk
233 dsk.drive = *(uint8_t *)PTOV(ARGS);
234 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD;
235 dsk.unit = dsk.drive & DRV_MASK;
236 dsk.part = -1;
237 dsk.start = 0;
243 bootinfo.bi_bios_dev = dsk
[all...]
/freebsd-current/stand/i386/gptboot/
H A Dgptboot.c117 struct dsk dsk; member in struct:gptdsk
232 if (gptread(&gdsk.dsk, dmadat->secbuf) == -1) {
236 if (gptfind(&freebsd_ufs_uuid, &gdsk.dsk, gdsk.dsk.part) == -1) {
241 gdsk.gdev = geli_taste(vdev_read, &gdsk.dsk,
243 "disk%up%u:", gdsk.dsk.unit, curent + 1);
282 gdsk.dsk.drive = *(uint8_t *)PTOV(ARGS);
283 gdsk.dsk.type = gdsk.dsk
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp192 void Report(const VarDecl *V, DeadStoreKind dsk, argument
216 switch (dsk) {
266 DeadStoreKind dsk,
282 Report(VD, dsk, ExLoc, Val->getSourceRange());
286 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, argument
289 CheckVarDecl(VD, DR, Val, dsk, Live);
351 DeadStoreKind dsk = Parents.isConsumedExpr(B)
355 CheckVarDecl(VD, DR, B->getRHS(), dsk, Live);
265 CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, DeadStoreKind dsk, const LiveVariables::LivenessValues &Live) argument

Completed in 241 milliseconds