Home
last modified time | relevance | path

Searched refs:NDKMAP (Results 1 – 25 of 38) sorted by relevance

12

/titanic_50/usr/src/uts/common/sys/
H A Dfdmedia.h295 static struct partition dpt_80x36[NDKMAP] = {
302 static struct partition dpt_80x21[NDKMAP] = {
309 static struct partition dpt_80x18[NDKMAP] = {
316 static struct partition dpt_80x15[NDKMAP] = {
323 static struct partition dpt_80x9[NDKMAP] = {
330 static struct partition dpt_77x8[NDKMAP] = {
338 static struct partition dpt_40x16[NDKMAP] = {
346 static struct partition dpt_40x9[NDKMAP] = {
353 static struct partition dpt_40x8[NDKMAP] = {
361 static struct partition dpt_40x4[NDKMAP] = {
H A Ddklabel.h45 #define NDKMAP 16 /* # of logical partitions */ macro
48 #define NDKMAP 8 /* # of logical partitions */
139 struct dkl_partition v_part[NDKMAP]; /* partition headers */
140 time32_t timestamp[NDKMAP]; /* partition timestamp (unsupported) */
146 struct dk_map2 v_part[NDKMAP]; /* partition hdrs, sec 2 */
150 time32_t v_timestamp[NDKMAP]; /* partition timestamp */
170 (sizeof (struct dk_map32) * NDKMAP) + \
213 struct dk_map32 dkl_map[NDKMAP]; /* logical partition headers */
H A Dcmlb_impl.h45 #define NSDMAP NDKMAP
47 #define NSDMAP (NDKMAP + FDISK_PARTS + 1)
58 #define P0_RAW_DISK (NDKMAP)
59 #define FDISK_P1 (NDKMAP+1)
60 #define FDISK_P2 (NDKMAP+2)
61 #define FDISK_P3 (NDKMAP+3)
62 #define FDISK_P4 (NDKMAP+4)
H A Dfdc.h117 struct partition d_part[NDKMAP]; /* partitions descriptions */
124 ulong_t d_lyropen[NDKMAP]; /* Layered open counters */
160 time_t d_vtoc_timestamp[NDKMAP];
H A Ddkio.h113 struct dk_map dka_map[NDKMAP];
118 struct dk_map32 dka_map[NDKMAP];
/titanic_50/usr/src/lib/libbc/inc/include/sun/
H A Ddklabel.h36 #define NDKMAP 8 /* # of logical partitions */ macro
46 char dkl_pad[512-(128+NDKMAP*8+14*2)];
63 } dkl_map[NDKMAP];
H A Ddkio.h121 struct dk_map dka_map[NDKMAP];
/titanic_50/usr/src/cmd/format/
H A Dmodify_partition.c170 for (i = 0; i < NDKMAP; i++) { in p_modify()
180 for (i = 0; i < NDKMAP; i++) { in p_modify()
316 for (i = 0; i < NDKMAP; i++) { in p_modify()
365 for (i = NDKMAP/2; i < NDKMAP; i++) {
373 for (i = 0; i < NDKMAP/2; i++) {
376 for (i = 0; i < NDKMAP; i++) {
412 for (i = 0; i < NDKMAP; i++) {
471 for (i = 0; i < NDKMAP; i++) {
533 for (i = 0; i < NDKMAP; i++) {
H A Dauto_sense.c84 int partitions[NDKMAP];
704 for (i = 0; i < NDKMAP; i++) { in new_direct_disk_type()
1450 int ncyls[NDKMAP];
1470 vtoc->v_nparts = NDKMAP;
1473 for (i = 0; i < NDKMAP; i++) {
1506 for (i = 0; i < NDKMAP; i++) {
1526 for (i = 0; i < NDKMAP; i++) {
1559 for (i = 0; i < NDKMAP; i++) {
1571 for (i = 0; i < NDKMAP; i++) {
1582 for (i = NDKMAP/2; i < NDKMAP; i++) {
[all …]
H A Dmenu_partition.c269 for (i = 0; i < NDKMAP; i++) { in p_select()
317 for (i = 0; i < NDKMAP; i++) { in p_select()
467 for (i = 0; i < NDKMAP; i++) { in print_map()
570 for (i = 0; i < NDKMAP; i++) { in print_partition()
H A Dpartition.c41 struct dk_map2 default_vtoc_map[NDKMAP] = {
452 for (i = 0; i < NDKMAP; i++) { in make_partition()
516 part->vtoc.v_nparts = NDKMAP; in set_vtoc_defaults()
519 for (i = 0; i < NDKMAP; i++) { in set_vtoc_defaults()
H A Dpartition.h66 extern struct dk_map2 default_vtoc_map[NDKMAP];
H A Dhardware_structs.h184 struct dk_map32 pinfo_map[NDKMAP]; /* layout info */
H A Dlabel.c338 for (i = 0; i < NDKMAP; i++) { in write_label()
856 for (i = 0; i < NDKMAP; i++, lmap++, vpart++) { in vtoc_to_label()
1140 for (i = 0; i < NDKMAP; i++) {
1179 for (i = 0; i < NDKMAP; i++) {
H A Dmenu_command.c1689 for (i = 0; i < NDKMAP; i++) { in c_label()
2002 for (i = 0; i < NDKMAP; i++) in c_backup()
2231 for (i = 0; i < NDKMAP; i++) { in c_verify()
2297 for (i = 0; i < NDKMAP; i++) { in c_verify()
H A Dstartup.c2152 for (i = 0; i < NDKMAP; i++) { in add_device_to_disklist()
2261 for (i = 0; i < NDKMAP; i++)
2287 for (i = 0; i < NDKMAP; i++) {
2574 for (i = 0; i < NDKMAP; i++, map1++, map2++) {
2584 for (i = 0; i < NDKMAP; i++, vp1++, vp2++) {
H A Dadd_definition.c340 for (i = 0; i < NDKMAP; i++, pp++, pv++, dv++) {
/titanic_50/usr/src/uts/sun/sys/
H A Dfdvar.h39 #ifndef NDKMAP
40 #define NDKMAP 8 macro
140 struct dk_map32 dkl_map[NDKMAP]; /* partition map, see dkio.h */
162 uint_t un_lyropen[NDKMAP];
/titanic_50/usr/src/uts/common/io/
H A Dfd.c485 sizeof (struct partition) * NDKMAP); in fd_attach()
638 for (i = 0; i < NDKMAP; i++) in fd_unit_is_open()
839 sizeof (struct partition) * NDKMAP); in fdgetlabel()
919 for (i = 0; i < NDKMAP; i++) { in fdgetlabel()
1365 for (part = 0; part < NDKMAP; part++) { in fd_ioctl()
1385 for (part = 0; part < NDKMAP; part++) { in fd_ioctl()
1421 for (part = 0; part < NDKMAP; part++) { in fd_ioctl()
1451 for (part = 0; part < NDKMAP; part++) { in fd_ioctl()
1626 fdp->d_part, sizeof (struct partition) * NDKMAP); in fd_ioctl()
1862 bcopy(fdp->d_part, vtocp->v_part, sizeof (struct partition) * NDKMAP); in fd_build_user_vtoc()
[all …]
H A Dcmlb.c1063 (part < NDKMAP && cl->cl_solaris_size == 0)) &&
1067 (part < NDKMAP && cl->cl_solaris_size == 0)) {
1081 (part >= NDKMAP)) ? V_UNASSIGNED :
1789 for (count = 0; count < NDKMAP; count++) {
2661 bzero(&cl->cl_map, NDKMAP * (sizeof (struct dk_map)));
3075 for (i = 0; i < NDKMAP; i++) {
3093 for (i = 0; i < NDKMAP; i++, vpartp++) {
3168 for (i = 0; i < NDKMAP; i++) {
3182 for (i = 0; i < NDKMAP; i++, vpartp++) {
3260 bzero(&cl->cl_map, NDKMAP * (sizeof (struct dk_map)));
[all …]
/titanic_50/usr/src/uts/sun/sys/dada/targets/
H A Ddaddef.h94 ulong_t lyr_open[NDKMAP];
123 struct kstat *un_pstats[NDKMAP]; /* for partition statistics */
/titanic_50/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h95 #define NSDMAP NDKMAP
109 #define NSDMAP (NDKMAP + FDISK_PARTS + 1)
2402 #define P0_RAW_DISK (NDKMAP)
2403 #define FDISK_P1 (NDKMAP+1)
2404 #define FDISK_P2 (NDKMAP+2)
2405 #define FDISK_P3 (NDKMAP+3)
2406 #define FDISK_P4 (NDKMAP+4)
/titanic_50/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c70 #define PARTITION0_INDEX (NDKMAP + 0)
1852 NDKMAP * (sizeof (uint32_t) + sizeof (struct alts_ent *))); in cmdk_bbh_free_alts()
1872 for (alts = 0; alts < NDKMAP; alts++) { in cmdk_bbh_reopen()
1887 if (alts >= NDKMAP) { in cmdk_bbh_reopen()
1932 dkp->dk_slc_cnt = kmem_alloc(NDKMAP * in cmdk_bbh_reopen()
1935 dkp->dk_slc_ent = (struct alts_ent **)(dkp->dk_slc_cnt + NDKMAP); in cmdk_bbh_reopen()
1956 for (i = 0; i < NDKMAP; i++) { in cmdk_bbh_reopen()
/titanic_50/usr/src/uts/i86pc/i86hvm/io/
H A Dpv_cmdk.c620 for (alts = 0; alts < NDKMAP; alts++) { in xdfs_c_bb_check()
631 if (alts >= NDKMAP) in xdfs_c_bb_check()
/titanic_50/usr/src/uts/sun4v/io/
H A Dvdsk_common.c288 if (nparts > NDKMAP + 1) { in vd_efi_alloc_and_read()

12