Home
last modified time | relevance | path

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

/linux-6.12.1/block/partitions/
Dmac.c37 int slot, blocks_in_map; in mac_partition() local
68 blocks_in_map = be32_to_cpu(part->map_count); in mac_partition()
69 if (blocks_in_map < 0 || blocks_in_map >= DISK_MAX_PARTS) { in mac_partition()
74 if (blocks_in_map >= state->limit) in mac_partition()
75 blocks_in_map = state->limit - 1; in mac_partition()
78 for (slot = 1; slot <= blocks_in_map; ++slot) { in mac_partition()