Home
last modified time | relevance | path

Searched refs:dk_label (Results 1 – 21 of 21) sorted by relevance

/titanic_41/usr/src/cmd/format/
H A Dlabel.h37 int checklabel(struct dk_label *);
38 int checksum(struct dk_label *, int);
41 int read_label(int, struct dk_label *);
45 int label_to_vtoc(struct extvtoc *, struct dk_label *);
H A Dauto_sense.h44 struct dk_label *label);
51 struct dk_label *label,
56 struct disk_type *auto_direct_get_geom_label(int fd, struct dk_label *label);
H A Dlabel.c63 static int vtoc_to_label(struct dk_label *label, struct extvtoc *vtoc,
83 static void dump_label(struct dk_label *label);
91 register struct dk_label *label; in checklabel()
113 struct dk_label *label; in checksum()
117 register short count = (sizeof (struct dk_label)) / (sizeof (short));
274 struct dk_label label; in write_label()
317 (void) memset((char *)&label, 0, sizeof (struct dk_label)); in write_label()
458 sizeof (struct dk_label)) == 0) { in write_label()
485 read_label(int fd, struct dk_label *label) in read_label()
747 vtoc_to_label(struct dk_label *label, struct extvtoc *vtoc, in vtoc_to_label()
[all …]
H A Dstartup.h104 int dtype_match(struct dk_label *label, struct disk_type *dtype);
105 int parts_match(struct dk_label *label, struct partition_info *pinfo);
H A Dauto_sense.c182 struct dk_label *label,
189 struct dk_label *label,
193 int build_default_partition(struct dk_label *label,
197 struct dk_label *label);
206 struct dk_label *label);
211 struct dk_label *label);
215 static int auto_label_init(struct dk_label *label);
515 auto_label_init(struct dk_label *label) in auto_label_init()
670 struct dk_label *label) in new_direct_disk_type()
804 auto_direct_get_geom_label(int fd, struct dk_label *label) in auto_direct_get_geom_label()
[all …]
H A Dmenu_fdisk.h42 int auto_solaris_part(struct dk_label *);
H A Dmenu_command.c364 struct dk_label label; in c_type()
1560 struct dk_label label; in c_label()
1621 (void) memset((char *)&label, 0, sizeof (struct dk_label)); in c_label()
1677 (void) memset((char *)&label, 0, sizeof (struct dk_label)); in c_label()
1858 struct dk_label label; in c_backup()
1931 (void *) memcpy((char *)&label, buf, sizeof (struct dk_label)); in c_backup()
2104 struct dk_label p_label, b_label, *label; in c_verify()
2157 if ((!checklabel((struct dk_label *)&p_label)) || in c_verify()
2200 sizeof (struct dk_label)); in c_verify()
H A Dmodify_partition.c503 struct dk_label *label;
514 label = zalloc(sizeof (struct dk_label));
H A Dmenu_fdisk.c485 struct dk_label update_label;
821 auto_solaris_part(struct dk_label *label)
H A Dstartup.c1590 struct dk_label search_label; in add_device_to_disklist()
2222 register struct dk_label *label; in dtype_match()
2253 register struct dk_label *label; in parts_match()
/titanic_41/usr/src/lib/libbc/inc/include/sun/
H A Ddklabel.h44 struct dk_label { struct
/titanic_41/usr/src/uts/common/io/
H A Dfd.c69 struct vtoc *, struct dk_label *);
766 struct dk_label *label; in fdgetlabel()
786 label = kmem_zalloc(sizeof (struct dk_label), KM_SLEEP); in fdgetlabel()
789 unit, (void *)label, (size_t)sizeof (struct dk_label))); in fdgetlabel()
816 sizeof (struct dk_label))) && in fdgetlabel()
821 sizeof (struct dk_label)) && in fdgetlabel()
825 sizeof (struct dk_label)))) in fdgetlabel()
887 count = sizeof (struct dk_label) / sizeof (short); in fdgetlabel()
946 kmem_free(label, sizeof (struct dk_label)); in fdgetlabel()
1286 struct dk_label *label; in fd_ioctl()
[all …]
H A Dcmlb.c301 static int cmlb_uselabel(struct cmlb_lun *cl, struct dk_label *l, int flags);
307 static int cmlb_set_vtoc(struct cmlb_lun *cl, struct dk_label *dkl,
1685 struct dk_label *dkl;
1733 (struct dk_label *)(uintptr_t)dkl, flags) !=
2285 if ((((struct dk_label *)buf)->dkl_magic == DKL_MAGIC) &&
2286 (((struct dk_label *)buf)->dkl_vtoc.v_sanity == VTOC_SANE)) {
2799 if (((struct dk_label *)buf)->dkl_magic == DKL_MAGIC) {
2979 cmlb_uselabel(struct cmlb_lun *cl, struct dk_label *labp, int flags)
3011 count = sizeof (struct dk_label) / sizeof (short);
4742 cmlb_set_vtoc(struct cmlb_lun *cl, struct dk_label *dkl, void *tg_cookie)
[all …]
/titanic_41/usr/src/uts/sun4v/io/
H A Dvds.c230 0, sizeof (struct dk_label))
235 0, sizeof (struct dk_label))
514 P2ROUNDUP(sizeof (struct dk_label), (lba))
521 ((struct dk_label *)(void *)((vd)->flabel))
673 static ushort_t vd_lbl2cksum(struct dk_label *label);
683 struct dk_label *label);
684 static void vd_label_to_vtocgeom(struct dk_label *label, struct extvtoc *vtoc,
955 vd_build_default_label(size_t disk_size, size_t bsize, struct dk_label *label) in vd_build_default_label()
962 bzero(label, sizeof (struct dk_label)); in vd_build_default_label()
1080 vd_dskimg_set_vtoc(vd_t *vd, struct dk_label *label) in vd_dskimg_set_vtoc()
[all …]
H A Dvdc.c8182 vdc_lbl2cksum(struct dk_label *label) in vdc_lbl2cksum()
8187 count = (sizeof (struct dk_label)) / (sizeof (short)) - 1; in vdc_lbl2cksum()
8306 struct dk_label *label; in vdc_validate_geometry()
/titanic_41/usr/src/uts/common/sys/
H A Ddklabel.h178 struct dk_label { struct
/titanic_41/usr/src/uts/sun/sys/
H A Dfdvar.h152 struct dk_label un_label;
/titanic_41/usr/src/uts/sun/sys/dada/targets/
H A Ddaddef.h211 dk_label
/titanic_41/usr/src/uts/sun/io/
H A Dfd.c220 static void fdunpacklabel(struct packed_label *, struct dk_label *);
2137 (caddr_t)&un->un_label, sizeof (struct dk_label)); in fd_ioctl()
5238 struct dk_label *label = NULL; in fdgetlabel()
5262 label = (struct dk_label *) in fdgetlabel()
5263 kmem_zalloc(sizeof (struct dk_label), KM_SLEEP); in fdgetlabel()
5306 sizeof (struct dk_label))) && in fdgetlabel()
5310 (caddr_t)label, sizeof (struct dk_label)) && in fdgetlabel()
5313 sizeof (struct dk_label)))) { in fdgetlabel()
5376 count = sizeof (struct dk_label)/sizeof (short); in fdgetlabel()
5431 kmem_free((caddr_t)label, sizeof (struct dk_label)); in fdgetlabel()
[all …]
/titanic_41/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c314 if ((((struct dk_label *)buf)->dkl_magic == DKL_MAGIC) && in fdisk_is_linux_swap()
315 (((struct dk_label *)buf)->dkl_vtoc.v_sanity == VTOC_SANE)) { in fdisk_is_linux_swap()
/titanic_41/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h694 dk_label