Home
last modified time | relevance | path

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

/linux/drivers/misc/
H A Dsram.c178 unsigned long size, cur_start, cur_size; in sram_reserve_regions() local
279 cur_start = 0; in sram_reserve_regions()
282 if (block->start < cur_start) { in sram_reserve_regions()
285 block->start, cur_start); in sram_reserve_regions()
302 if (block->start == cur_start) { in sram_reserve_regions()
303 cur_start = block->start + block->size; in sram_reserve_regions()
312 cur_size = block->start - cur_start; in sram_reserve_regions()
316 cur_start, cur_start + cur_size); in sram_reserve_regions()
319 (unsigned long)sram->virt_base + cur_start, in sram_reserve_regions()
320 res->start + cur_start, cur_size, -1); in sram_reserve_regions()
[all …]
/linux/mm/
H A Dmemory_hotplug.c1409 u64 cur_start; in remove_memory_blocks_and_altmaps() local
1415 for (cur_start = start; cur_start < start + size; in remove_memory_blocks_and_altmaps()
1416 cur_start += memblock_size) { in remove_memory_blocks_and_altmaps()
1420 mem = find_memory_block(pfn_to_section_nr(PFN_DOWN(cur_start))); in remove_memory_blocks_and_altmaps()
1427 remove_memory_block_devices(cur_start, memblock_size); in remove_memory_blocks_and_altmaps()
1429 arch_remove_memory(cur_start, memblock_size, altmap); in remove_memory_blocks_and_altmaps()
1441 u64 cur_start; in create_altmaps_and_memory_blocks() local
1444 for (cur_start = start; cur_start < star in create_altmaps_and_memory_blocks()
[all...]
/linux/lib/
H A Dinterval_tree_test.c204 unsigned long cur_start; in mas_cur_span() local
214 cur_start = mas->index < state->first_index ? in mas_cur_span()
228 state->start_hole = cur_start; in mas_cur_span()
231 state->start_used = cur_start; in mas_cur_span()
/linux/drivers/virtio/
H A Dvirtio_mem.c2752 uint64_t chunk_size, cur_start, cur_end, plugged_range_start = 0; in virtio_mem_vmcore_get_device_ram() local
2771 cur_start = device_start; in virtio_mem_vmcore_get_device_ram()
2772 for (cur_start = device_start; cur_start < device_end; cur_start = cur_end) { in virtio_mem_vmcore_get_device_ram()
2773 cur_end = ALIGN_DOWN(cur_start + chunk_size, chunk_size); in virtio_mem_vmcore_get_device_ram()
2776 rc = virtio_mem_send_state_request(vm, cur_start, in virtio_mem_vmcore_get_device_ram()
2777 cur_end - cur_start); in virtio_mem_vmcore_get_device_ram()
2786 plugged_range_start = cur_start; in virtio_mem_vmcore_get_device_ram()
2794 cur_start); in virtio_mem_vmcore_get_device_ram()
2805 cur_start); in virtio_mem_vmcore_get_device_ram()
/linux/fs/ext4/
H A Dmballoc.c4332 ext4_mb_pa_rb_next_iter(ext4_lblk_t new_start, ext4_lblk_t cur_start, struct rb_node *node) in ext4_mb_pa_rb_next_iter() argument
4334 if (new_start < cur_start) in ext4_mb_pa_rb_next_iter()