Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/misc/
Dsram.c63 unsigned long size, cur_start, cur_size; in sram_probe() local
152 cur_start = 0; 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()
178 cur_start, cur_start + cur_size); in sram_probe()
180 (unsigned long)virt_base + cur_start, in sram_probe()
181 res->start + cur_start, cur_size, -1); in sram_probe()
[all …]
/linux-4.1.27/fs/btrfs/
Dextent_io.c1530 u64 cur_start = *start; in find_delalloc_range() local
1540 node = tree_search(tree, cur_start); in find_delalloc_range()
1549 if (found && (state->start != cur_start || in find_delalloc_range()
1565 cur_start = state->end + 1; in find_delalloc_range()
1818 u64 cur_start = *start; in count_range_bits() local
1823 if (WARN_ON(search_end <= cur_start)) in count_range_bits()
1827 if (cur_start == 0 && bits == EXTENT_DIRTY) { in count_range_bits()
1835 node = tree_search(tree, cur_start); in count_range_bits()
1845 if (state->end >= cur_start && (state->state & bits) == bits) { in count_range_bits()
1847 max(cur_start, state->start); in count_range_bits()
[all …]