Lines Matching refs:block
64 struct sram_reserve *rblocks, *block; in sram_probe() local
114 block = &rblocks[0]; in sram_probe()
134 block->start = child_res.start - res->start; in sram_probe()
135 block->size = resource_size(&child_res); in sram_probe()
136 list_add_tail(&block->list, &reserve_list); in sram_probe()
139 block->start, in sram_probe()
140 block->start + block->size); in sram_probe()
142 block++; in sram_probe()
154 list_for_each_entry(block, &reserve_list, list) { in sram_probe()
156 if (block->start < cur_start) { in sram_probe()
159 block->start, cur_start); in sram_probe()
165 if (block->start == cur_start) { in sram_probe()
166 cur_start = block->start + block->size; in sram_probe()
175 cur_size = block->start - cur_start; in sram_probe()
186 cur_start = block->start + block->size; in sram_probe()