Home
last modified time | relevance | path

Searched refs:l (Results 1 – 2 of 2) sorted by relevance

/block/partitions/
Dmsdos.c278 struct bsd_disklabel *l; in parse_bsd() local
282 l = read_part_sector(state, offset + 1, &sect); in parse_bsd()
283 if (!l) in parse_bsd()
285 if (le32_to_cpu(l->d_magic) != BSD_DISKMAGIC) { in parse_bsd()
293 if (le16_to_cpu(l->d_npartitions) < max_partitions) in parse_bsd()
294 max_partitions = le16_to_cpu(l->d_npartitions); in parse_bsd()
295 for (p = l->d_partitions; p - l->d_partitions < max_partitions; p++) { in parse_bsd()
306 le32_to_cpu(l->d_partitions[2].p_offset) == 0) in parse_bsd()
318 if (le16_to_cpu(l->d_npartitions) > max_partitions) { in parse_bsd()
320 le16_to_cpu(l->d_npartitions) - max_partitions); in parse_bsd()
[all …]
Dmac.c110 int i, l; in mac_partition() local
113 l = strlen(part->name); in mac_partition()
116 for (i = 0; i <= l - 4; ++i) { in mac_partition()