Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dmemtest.c76 phys_addr_t this_start, this_end; in do_one_pass() local
79 &this_end, NULL) { in do_one_pass()
81 this_end = clamp(this_end, start, end); in do_one_pass()
82 if (this_start < this_end) { in do_one_pass()
84 &this_start, &this_end, cpu_to_be64(pattern)); in do_one_pass()
85 memtest(pattern, this_start, this_end - this_start); in do_one_pass()
Dhighmem.c411 unsigned this_end = min_t(unsigned, end1, PAGE_SIZE); in zero_user_segments() local
415 memset(kaddr + start1, 0, this_end - start1); in zero_user_segments()
417 end1 -= this_end; in zero_user_segments()
425 unsigned this_end = min_t(unsigned, end2, PAGE_SIZE); in zero_user_segments() local
430 memset(kaddr + start2, 0, this_end - start2); in zero_user_segments()
432 end2 -= this_end; in zero_user_segments()
Dmemblock.c224 phys_addr_t this_start, this_end, cand; in __memblock_find_range_bottom_up() local
227 for_each_free_mem_range(i, nid, flags, &this_start, &this_end, NULL) { in __memblock_find_range_bottom_up()
229 this_end = clamp(this_end, start, end); in __memblock_find_range_bottom_up()
232 if (cand < this_end && this_end - cand >= size) in __memblock_find_range_bottom_up()
259 phys_addr_t this_start, this_end, cand; in __memblock_find_range_top_down() local
262 for_each_free_mem_range_reverse(i, nid, flags, &this_start, &this_end, in __memblock_find_range_top_down()
265 this_end = clamp(this_end, start, end); in __memblock_find_range_top_down()
267 if (this_end < size) in __memblock_find_range_top_down()
270 cand = round_down(this_end - size, align); in __memblock_find_range_top_down()
/linux-6.6.21/drivers/block/drbd/
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-6.6.21/arch/sparc/kernel/
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-6.6.21/fs/btrfs/
Dextent-io-tree.c1135 u64 this_end; in __set_extent_bit() local
1137 this_end = end; in __set_extent_bit()
1139 this_end = last_start - 1; in __set_extent_bit()
1150 prealloc->end = this_end; in __set_extent_bit()
1157 start = this_end + 1; in __set_extent_bit()
1358 u64 this_end; in convert_extent_bit() local
1360 this_end = end; in convert_extent_bit()
1362 this_end = last_start - 1; in convert_extent_bit()
1375 prealloc->end = this_end; in convert_extent_bit()
1381 start = this_end + 1; in convert_extent_bit()
/linux-6.6.21/drivers/of/
Dof_reserved_mem.c295 phys_addr_t this_end, next_end; in __rmem_check_for_overlap() local
297 this_end = this->base + this->size; in __rmem_check_for_overlap()
300 this->name, &this->base, &this_end, in __rmem_check_for_overlap()
/linux-6.6.21/arch/sparc/mm/
Dinit_64.c1220 unsigned long this_end; in add_node_ranges() local
1223 this_end = memblock_nid_range(start, end, &nid); in add_node_ranges()
1227 nid, start, this_end); in add_node_ranges()
1229 memblock_set_node(start, this_end - start, in add_node_ranges()
1233 start = this_end; in add_node_ranges()
1787 unsigned long this_end, paddr = __pa(vstart); in kernel_map_range() local
1850 this_end = (vstart + PMD_SIZE) & PMD_MASK; in kernel_map_range()
1851 if (this_end > vend) in kernel_map_range()
1852 this_end = vend; in kernel_map_range()
1854 while (vstart < this_end) { in kernel_map_range()
/linux-6.6.21/kernel/
Drelay.c1153 unsigned int this_len, this_end, private; in subbuf_splice_actor() local
1165 this_end = cur_pos + this_len; in subbuf_splice_actor()
1166 if (this_end >= nonpad_end) { in subbuf_splice_actor()
1178 if (this_end >= nonpad_end) { in subbuf_splice_actor()