Searched refs:part_count (Results 1 – 1 of 1) sorted by relevance
70 int part_count = 0; in _register_blk_part_device() local118 part_count = 1; in _register_blk_part_device()126 if (part_count >= alloc_part_count) in _register_blk_part_device()128 rt_kprintf("part_count1:%d\n", part_count); in _register_blk_part_device()145 snprintf(part_table[part_count].name, 6, "sd%dp%d", dev_sdmmc->host_id, i); in _register_blk_part_device()146 part_table[part_count].offset = part.offset * dev_sdmmc->geometry.bytes_per_sector; in _register_blk_part_device()149 part_table[part_count].size = part.size * dev_sdmmc->geometry.bytes_per_sector; in _register_blk_part_device()150 part_table[part_count].flags = PARTITION_WRITEABLE; in _register_blk_part_device()151 part_count++; in _register_blk_part_device()156 if (part_count > 0) in _register_blk_part_device()[all …]
Completed in 4 milliseconds