Home
last modified time | relevance | path

Searched refs:cur_start (Results 1 – 4 of 4) 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 < start + size; in create_altmaps_and_memory_blocks()
1445 cur_start += memblock_size) { in create_altmaps_and_memory_blocks()
1449 .base_pfn = PHYS_PFN(cur_start), in create_altmaps_and_memory_blocks()
[all …]
/linux/fs/btrfs/
H A Dextent-io-tree.c988 u64 cur_start = *start; in btrfs_find_delalloc_range() local
998 state = tree_search(tree, cur_start); in btrfs_find_delalloc_range()
1005 if (found && (state->start != cur_start || in btrfs_find_delalloc_range()
1021 cur_start = state->end + 1; in btrfs_find_delalloc_range()
1672 u64 cur_start = *start; in btrfs_count_range_bits() local
1677 if (WARN_ON(search_end < cur_start)) in btrfs_count_range_bits()
1690 if (cached->start <= cur_start && cur_start <= cached->end) { in btrfs_count_range_bits()
1692 } else if (cached->start > cur_start) { in btrfs_count_range_bits()
1705 else if (prev->start <= cur_start && cur_start <= prev->end) in btrfs_count_range_bits()
1715 state = tree_search(tree, cur_start); in btrfs_count_range_bits()
[all …]
H A Dfree-space-tree.c610 u64 cur_start, cur_size; in modify_free_space_bitmap() local
654 cur_start = start; in modify_free_space_bitmap()
657 free_space_modify_bits(trans, block_group, path, &cur_start, in modify_free_space_bitmap()