Home
last modified time | relevance | path

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

/block/partitions/
Dsun.c65 } * label; in sun_partition() local
71 label = read_part_sector(state, 0, &sect); in sun_partition()
72 if (!label) in sun_partition()
75 p = label->partitions; in sun_partition()
76 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) { in sun_partition()
83 ush = ((__be16 *) (label+1)) - 1; in sun_partition()
84 for (csum = 0; ush >= ((__be16 *) label);) in sun_partition()
94 use_vtoc = ((be32_to_cpu(label->vtoc.sanity) == SUN_VTOC_SANITY) && in sun_partition()
95 (be32_to_cpu(label->vtoc.version) == 1) && in sun_partition()
96 (be16_to_cpu(label->vtoc.nparts) <= 8)); in sun_partition()
[all …]
Dibm.c71 union label_t *label) in find_label() argument
105 memcpy(label, data, sizeof(*label)); in find_label()
114 strncpy(type, label->vol.vollbl, 4); in find_label()
115 strncpy(name, label->vol.volid, 6); in find_label()
117 strncpy(type, label->lnx.vollbl, 4); in find_label()
118 strncpy(name, label->lnx.volid, 6); in find_label()
128 memset(label, 0, sizeof(*label)); in find_label()
137 union label_t *label) in find_vol1_partitions() argument
155 blk = cchhb2blk(&label->vol.vtoc, geo) + 1; in find_vol1_partitions()
199 union label_t *label, in find_lnx1_partitions() argument
[all …]
Dultrix.c24 } *label; in ultrix_partition() local
29 data = read_part_sector(state, (16384 - sizeof(*label))/512, &sect); in ultrix_partition()
33 label = (struct ultrix_disklabel *)(data + 512 - sizeof(*label)); in ultrix_partition()
35 if (label->pt_magic == PT_MAGIC && label->pt_valid == PT_VALID) { in ultrix_partition()
37 if (label->pt_part[i].pi_nblocks) in ultrix_partition()
39 label->pt_part[i].pi_blkoff, in ultrix_partition()
40 label->pt_part[i].pi_nblocks); in ultrix_partition()
Dsgi.c44 struct sgi_disklabel *label; in sgi_partition() local
47 label = read_part_sector(state, 0, &sect); in sgi_partition()
48 if (!label) in sgi_partition()
50 p = &label->partitions[0]; in sgi_partition()
51 magic = label->magic_mushroom; in sgi_partition()
58 ui = ((__be32 *) (label + 1)) - 1; in sgi_partition()
59 for(csum = 0; ui >= ((__be32 *) label);) { in sgi_partition()
Dosf.c53 } * label; in osf_partition() local
60 label = (struct disklabel *) (data+64); in osf_partition()
61 partition = label->d_partitions; in osf_partition()
62 if (le32_to_cpu(label->d_magic) != DISKLABELMAGIC) { in osf_partition()
66 if (le32_to_cpu(label->d_magic2) != DISKLABELMAGIC) { in osf_partition()
70 npartitions = le16_to_cpu(label->d_npartitions); in osf_partition()
Dkarma.c32 } __packed *label; in karma_partition() local
39 label = (struct disklabel *)data; in karma_partition()
40 if (le16_to_cpu(label->d_magic) != KARMA_LABEL_MAGIC) { in karma_partition()
45 p = label->d_partitions; in karma_partition()
DKconfig105 bool "IBM disk label and partition support"
185 label, i.e. DOS partition table. It does not support GPT labelled