/titanic_41/usr/src/cmd/format/ |
H A D | label.h | 37 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 D | auto_sense.h | 44 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 D | label.c | 63 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 D | startup.h | 104 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 D | auto_sense.c | 182 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 D | menu_fdisk.h | 42 int auto_solaris_part(struct dk_label *);
|
H A D | menu_command.c | 364 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 D | modify_partition.c | 503 struct dk_label *label; 514 label = zalloc(sizeof (struct dk_label));
|
H A D | menu_fdisk.c | 485 struct dk_label update_label; 821 auto_solaris_part(struct dk_label *label)
|
H A D | startup.c | 1590 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 D | dklabel.h | 44 struct dk_label { struct
|
/titanic_41/usr/src/uts/common/io/ |
H A D | fd.c | 69 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 D | cmlb.c | 301 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 D | vds.c | 230 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 D | vdc.c | 8182 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 D | dklabel.h | 178 struct dk_label { struct
|
/titanic_41/usr/src/uts/sun/sys/ |
H A D | fdvar.h | 152 struct dk_label un_label;
|
/titanic_41/usr/src/uts/sun/sys/dada/targets/ |
H A D | daddef.h | 211 dk_label
|
/titanic_41/usr/src/uts/sun/io/ |
H A D | fd.c | 220 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 D | libfdisk.c | 314 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 D | sddef.h | 694 dk_label
|