Lines Matching refs:label
70 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
210 if (label->lnx.ldl_version == 0xf2) { in find_lnx1_partitions()
211 size = label->lnx.formatted_blocks * secperblk; in find_lnx1_partitions()
245 union label_t *label, in find_cms1_partitions() argument
255 blocksize = label->cms.block_size; in find_cms1_partitions()
257 if (label->cms.disk_offset != 0) { in find_cms1_partitions()
261 offset = label->cms.disk_offset * secperblk; in find_cms1_partitions()
262 size = (label->cms.block_count - 1) * secperblk; in find_cms1_partitions()
277 size = label->cms.block_count * secperblk; in find_cms1_partitions()
299 union label_t *label; in ibm_partition() local
314 label = kmalloc(sizeof(union label_t), GFP_KERNEL); in ibm_partition()
315 if (label == NULL) in ibm_partition()
325 label)) { in ibm_partition()
328 label); in ibm_partition()
331 label, labelsect, i_size, in ibm_partition()
335 label, labelsect); in ibm_partition()
357 kfree(label); in ibm_partition()