Home
last modified time | relevance | path

Searched refs:cur_start (Results 1 – 7 of 7) 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.c1416 u64 cur_start; in remove_memory_blocks_and_altmaps() local
1422 for (cur_start = start; cur_start < start + size; in remove_memory_blocks_and_altmaps()
1423 cur_start += memblock_size) { in remove_memory_blocks_and_altmaps()
1427 mem = find_memory_block(pfn_to_section_nr(PFN_DOWN(cur_start))); in remove_memory_blocks_and_altmaps()
1434 remove_memory_block_devices(cur_start, memblock_size); in remove_memory_blocks_and_altmaps()
1436 arch_remove_memory(cur_start, memblock_size, altmap); in remove_memory_blocks_and_altmaps()
1448 u64 cur_start; in create_altmaps_and_memory_blocks() local
1451 for (cur_start = start; cur_start < start + size; in create_altmaps_and_memory_blocks()
1452 cur_start += memblock_size) { in create_altmaps_and_memory_blocks()
1456 .base_pfn = PHYS_PFN(cur_start), 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/btrfs/
H A Dfree-space-tree.c608 u64 cur_start, cur_size; in modify_free_space_bitmap() local
652 cur_start = start; in modify_free_space_bitmap()
655 free_space_modify_bits(trans, block_group, path, &cur_start, in modify_free_space_bitmap()
H A Dextent-tree.c6632 u64 cur_start; in btrfs_trim_free_extents_throttle()
6641 cur_start = start; in btrfs_trim_free_extents_throttle()
6645 start = max(start, cur_start); in btrfs_trim_free_extents_throttle()
6635 u64 cur_start; btrfs_trim_free_extents_throttle() local
/linux/fs/ext4/
H A Dmballoc.c4328 * cur_start The existing start that we are comparing against
4332 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()