Home
last modified time | relevance | path

Searched refs:this_end (Results 1 – 7 of 7) sorted by relevance

/linux/mm/
H A Dmemtest.c78 phys_addr_t this_start, this_end; in do_one_pass()
81 &this_end, NULL) { in do_one_pass()
83 this_end = clamp(this_end, start, end); in do_one_pass()
84 if (this_start < this_end) { in do_one_pass()
86 &this_start, &this_end, cpu_to_be64(pattern)); in do_one_pass()
87 memtest(pattern, this_start, this_end - this_start); in do_one_pass()
76 phys_addr_t this_start, this_end; do_one_pass() local
H A Dhighmem.c423 unsigned this_end = min_t(unsigned, end1, PAGE_SIZE); in zero_user_segments()
427 memset(kaddr + start1, 0, this_end - start1); in zero_user_segments()
429 end1 -= this_end; in zero_user_segments()
437 unsigned this_end = min_t(unsigned, end2, PAGE_SIZE); in zero_user_segments()
442 memset(kaddr + start2, 0, this_end - start2); in zero_user_segments()
444 end2 -= this_end; in zero_user_segments()
422 unsigned this_end = min_t(unsigned, end1, PAGE_SIZE); zero_user_segments() local
436 unsigned this_end = min_t(unsigned, end2, PAGE_SIZE); zero_user_segments() local
H A Dmemblock.c239 phys_addr_t this_start, this_end, cand; in __memblock_find_range_bottom_up()
242 for_each_free_mem_range(i, nid, flags, &this_start, &this_end, NULL) { in __memblock_find_range_bottom_up()
244 this_end = clamp(this_end, start, end); in __memblock_find_range_bottom_up()
247 if (cand < this_end && this_end - cand >= size) in __memblock_find_range_bottom_up()
274 phys_addr_t this_start, this_end, cand; in __memblock_find_range_top_down()
277 for_each_free_mem_range_reverse(i, nid, flags, &this_start, &this_end, in __memblock_find_range_top_down()
280 this_end = clamp(this_end, star in __memblock_find_range_top_down()
238 phys_addr_t this_start, this_end, cand; __memblock_find_range_bottom_up() local
273 phys_addr_t this_start, this_end, cand; __memblock_find_range_top_down() local
[all...]
/linux/drivers/block/drbd/
H A Ddrbd_interval.c28 sector_t this_end = this->sector + (this->size >> 9); in drbd_insert_interval() local
37 if (here->end < this_end) in drbd_insert_interval()
38 here->end = this_end; in drbd_insert_interval()
51 this->end = this_end; in drbd_insert_interval()
/linux/arch/sparc/kernel/
H A Dchmc.c352 u64 this_end; in jbusmc_dimm_group_size() local
356 this_end = this_base + ent->reg_size; in jbusmc_dimm_group_size()
357 if (base < this_base || base >= this_end) in jbusmc_dimm_group_size()
359 if (this_end > max) in jbusmc_dimm_group_size()
360 this_end = max; in jbusmc_dimm_group_size()
361 if (this_end > max_seen) in jbusmc_dimm_group_size()
362 max_seen = this_end; in jbusmc_dimm_group_size()
/linux/drivers/of/
H A Dof_reserved_mem.c553 phys_addr_t this_end, next_end; in __rmem_check_for_overlap() local
555 this_end = this->base + this->size; in __rmem_check_for_overlap()
558 this->name, &this->base, &this_end, in __rmem_check_for_overlap()
/linux/arch/sparc/mm/
H A Dinit_64.c1207 unsigned long this_end; in add_node_ranges() local
1210 this_end = memblock_nid_range(start, end, &nid); in add_node_ranges()
1214 nid, start, this_end); in add_node_ranges()
1216 memblock_set_node(start, this_end - start, in add_node_ranges()
1220 start = this_end; in add_node_ranges()
1772 unsigned long this_end, paddr = __pa(vstart); in kernel_map_range() local
1835 this_end = (vstart + PMD_SIZE) & PMD_MASK; in kernel_map_range()
1836 if (this_end > vend) in kernel_map_range()
1837 this_end = vend; in kernel_map_range()
1839 while (vstart < this_end) { in kernel_map_range()