/freebsd-13-stable/stand/libsa/ |
H A D | gpt.h | 37 int gptread(struct dsk *dskp, char *buf); 38 int gptfind(const uuid_t *uuid, struct dsk *dskp, int part); 39 void gptbootfailed(struct dsk *dskp);
|
H A D | gpt.c | 55 gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, 94 gptfind(const uuid_t *uuid, struct dsk *dskp, int part) 186 gptread_hdr(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, 216 gptbootfailed(struct dsk *dskp) 235 gptbootconv(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, 285 gptread_table(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, 324 gptread(struct dsk *dskp, char *buf)
|
H A D | cd9660read.c | 61 return (drvread(&dsk, buffer, blkno * 4, 4));
|
/freebsd-13-stable/stand/efi/gptboot/ |
H A D | drv.h | 31 struct dsk { struct 37 int drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk); 38 int drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk); 39 uint64_t drvsize(struct dsk *dskp);
|
H A D | proto.c | 46 static struct dsk dsk; variable in typeref:struct:dsk 58 drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk) 85 drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk) 114 drvsize(struct dsk *dskp) 239 dsk.devinfo = raw_device; 240 if (dsk.devinfo == NULL) { 250 if (gptread(&dsk, secbuf) == -1) { 259 while (gptfind(&freebsd_ufs_uuid, &dsk, -1) != -1) { 261 bootdev = find_partition(dsk [all...] |
/freebsd-13-stable/stand/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); 46 uint64_t drvsize(struct dsk *dskp);
|
H A D | drv.c | 32 drvsize(struct dsk *dskp) 53 drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk) 81 drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk)
|
/freebsd-13-stable/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-13-stable/stand/mips/beri/boot2/ |
H A D | boot2.c | 121 static struct dsk { struct 130 } dsk; variable in typeref:struct:dsk 213 dsk.drive = *(uint8_t *)PTOV(ARGS); 215 dsk.type = TYPE_DEFAULT; 217 dsk.unit = dsk.drive & DRV_MASK; 218 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; 263 dev_nm[dsk.type], dsk.unitptr, kname); 286 bootinfo.bi_boot_dev_type = dsk [all...] |
/freebsd-13-stable/stand/i386/boot2/ |
H A D | boot2.c | 94 static struct dsk { struct 102 } dsk; variable in typeref:struct:dsk 211 dsk.drive = *(uint8_t *)PTOV(ARGS); 212 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; 213 dsk.unit = dsk.drive & DRV_MASK; 214 dsk.slice = *(uint8_t *)PTOV(ARGS + 1) + 1; 258 dsk.drive & DRV_MASK, dev_nm[dsk [all...] |
/freebsd-13-stable/stand/i386/isoboot/ |
H A D | isoboot.c | 83 static struct dsk dsk; variable in typeref:struct:dsk 236 dsk.drive = *(uint8_t *)PTOV(ARGS); 237 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; 238 dsk.unit = dsk.drive & DRV_MASK; 239 dsk.part = -1; 240 dsk.start = 0; 246 bootinfo.bi_bios_dev = dsk [all...] |
/freebsd-13-stable/stand/i386/gptboot/ |
H A D | gptboot.c | 120 struct dsk dsk; member in struct:gptdsk 235 if (gptread(&gdsk.dsk, dmadat->secbuf) == -1) { 239 if (gptfind(&freebsd_ufs_uuid, &gdsk.dsk, gdsk.dsk.part) == -1) { 244 gdsk.gdev = geli_taste(vdev_read, &gdsk.dsk, 246 "disk%up%u:", gdsk.dsk.unit, curent + 1); 285 gdsk.dsk.drive = *(uint8_t *)PTOV(ARGS); 286 gdsk.dsk.type = gdsk.dsk [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DeadStoresChecker.cpp | 194 void Report(const VarDecl *V, DeadStoreKind dsk, argument 218 switch (dsk) { 268 DeadStoreKind dsk, 284 Report(VD, dsk, ExLoc, Val->getSourceRange()); 288 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, argument 291 CheckVarDecl(VD, DR, Val, dsk, Live); 354 DeadStoreKind dsk = Parents.isConsumedExpr(B) 358 CheckVarDecl(VD, DR, B->getRHS(), dsk, Live); 267 CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, DeadStoreKind dsk, const LiveVariables::LivenessValues &Live) argument
|