Lines Matching refs:label
74 } *label;
94 label = kmalloc(sizeof(union label_t), GFP_KERNEL);
95 if (label == NULL)
103 * Special case for FBA disks: label sector does not depend on
113 * Get volume label, extract name and type.
119 memcpy(label, data, sizeof(union label_t));
123 strncpy(type, label->vol.vollbl, 4);
124 strncpy(name, label->vol.volid, 6);
126 strncpy(type, label->lnx.vollbl, 4);
127 strncpy(name, label->lnx.volid, 6);
146 blocksize = label->cms.block_size;
147 if (label->cms.disk_offset != 0) {
151 offset = label->cms.disk_offset;
152 size = (label->cms.block_count - 1)
158 size = label->cms.block_count
167 if (label->lnx.ldl_version == 0xf2) {
168 fmt_size = label->lnx.formatted_blocks
175 /* old label and no usable disk geometry
200 * check if VOL1 label is available
210 blk = cchhb2blk(&label->vol.vtoc, geo) + 1;
268 kfree(label);