Home
last modified time | relevance | path

Searched refs:cd_label (Results 1 – 7 of 7) sorted by relevance

/netbsd/sys/arch/next68k/next68k/
H A Ddisksubr.c99 if (sizeof(lp->d_packname) > sizeof(ondisk->cd_label)) in parse_nextstep_label()
100 lp->d_packname[sizeof (ondisk->cd_label)] = '\0'; in parse_nextstep_label()
101 memcpy(lp->d_packname, ondisk->cd_label, in parse_nextstep_label()
102 uimin(sizeof(lp->d_packname), sizeof(ondisk->cd_label))); in parse_nextstep_label()
199 if (memcmp (lp->d_packname, ondisk->cd_label, in build_nextstep_label()
200 uimin(sizeof(lp->d_packname), sizeof(ondisk->cd_label))) && in build_nextstep_label()
201 sizeof(ondisk->cd_label) > sizeof(lp->d_packname)) in build_nextstep_label()
202 ondisk->cd_label[sizeof(lp->d_packname)] = '\0'; in build_nextstep_label()
203 memcpy(ondisk->cd_label, lp->d_packname, in build_nextstep_label()
204 uimin(sizeof(lp->d_packname), sizeof(ondisk->cd_label))); in build_nextstep_label()
/netbsd/sys/arch/atari/include/
H A Ddisklabel.h54 u_int cd_label; /* offset of NetBSD disk label */ member
H A Dahdilabel.h89 #define at_label at_cdl->cd_label
/netbsd/sys/arch/atari/atari/
H A Ddisksubr.c109 e = bsd_label(dev, strat, lp, 0, clp != NULL ? &clp->cd_label : NULL); in readdisklabel()
167 if (clp->cd_label != LABELOFFSET) { in writedisklabel()
168 clp->cd_label = LABELOFFSET; in writedisklabel()
/netbsd/sys/arch/next68k/stand/boot/
H A Dsd.c155 label->cd_label,label->cd_name, label->cd_type)); in sdgetinfo()
/netbsd/sys/sys/
H A Dbootblock.h1197 char cd_label[NEXT68K_LABEL_CPULBLLEN]; /* disk name (label) */ member
/netbsd/sys/dev/scsipi/
H A Dcd.c136 static void cd_label(device_t, struct disklabel *);
244 .d_label = cd_label,
1462 cd_label(device_t self, struct disklabel *lp) in cd_label() function