Home
last modified time | relevance | path

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

/openbmc/linux/block/partitions/
H A Dmac.c35 int slot, blocks_in_map; in mac_partition() local
66 blocks_in_map = be32_to_cpu(part->map_count); in mac_partition()
67 if (blocks_in_map < 0 || blocks_in_map >= DISK_MAX_PARTS) { in mac_partition()
72 if (blocks_in_map >= state->limit) in mac_partition()
73 blocks_in_map = state->limit - 1; in mac_partition()
76 for (slot = 1; slot <= blocks_in_map; ++slot) { in mac_partition()