Home
last modified time | relevance | path

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

/block/partitions/
Dsun.c57 } * label; in sun_partition() local
64 label = read_part_sector(state, 0, &sect); in sun_partition()
65 if (!label) in sun_partition()
68 p = label->partitions; in sun_partition()
69 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) { in sun_partition()
76 ush = ((__be16 *) (label+1)) - 1; in sun_partition()
77 for (csum = 0; ush >= ((__be16 *) label);) in sun_partition()
87 use_vtoc = ((be32_to_cpu(label->vtoc.sanity) == SUN_VTOC_SANITY) && in sun_partition()
88 (be32_to_cpu(label->vtoc.version) == 1) && in sun_partition()
89 (be16_to_cpu(label->vtoc.nparts) <= 8)); in sun_partition()
[all …]
Dibm.c70 union label_t *label) in find_label() argument
104 memcpy(label, data, sizeof(*label)); in find_label()
113 strncpy(type, label->vol.vollbl, 4); in find_label()
114 strncpy(name, label->vol.volid, 6); in find_label()
116 strncpy(type, label->lnx.vollbl, 4); in find_label()
117 strncpy(name, label->lnx.volid, 6); in find_label()
127 memset(label, 0, sizeof(*label)); in find_label()
136 union label_t *label) in find_vol1_partitions() argument
154 blk = cchhb2blk(&label->vol.vtoc, geo) + 1; in find_vol1_partitions()
198 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.c38 struct sgi_disklabel *label; in sgi_partition() local
42 label = read_part_sector(state, 0, &sect); in sgi_partition()
43 if (!label) in sgi_partition()
45 p = &label->partitions[0]; in sgi_partition()
46 magic = label->magic_mushroom; in sgi_partition()
53 ui = ((__be32 *) (label + 1)) - 1; in sgi_partition()
54 for(csum = 0; ui >= ((__be32 *) label);) { in sgi_partition()
Dosf.c52 } * label; in osf_partition() local
59 label = (struct disklabel *) (data+64); in osf_partition()
60 partition = label->d_partitions; in osf_partition()
61 if (le32_to_cpu(label->d_magic) != DISKLABELMAGIC) { in osf_partition()
65 if (le32_to_cpu(label->d_magic2) != DISKLABELMAGIC) { in osf_partition()
69 npartitions = le16_to_cpu(label->d_npartitions); in osf_partition()
Dkarma.c30 } __packed *label; in karma_partition() local
37 label = (struct disklabel *)data; in karma_partition()
38 if (le16_to_cpu(label->d_magic) != KARMA_LABEL_MAGIC) { in karma_partition()
43 p = label->d_partitions; in karma_partition()
DKconfig104 bool "IBM disk label and partition support"
184 label, i.e. DOS partition table. It does not support GPT labelled