Lines Matching refs:start
246 unsigned long long start; in sclp_assign_storage() local
252 start = rn2addr(rn); in sclp_assign_storage()
253 storage_key_init_range(start, start + sclp_rzm); in sclp_assign_storage()
301 static int sclp_mem_change_state(unsigned long start, unsigned long size, in sclp_mem_change_state() argument
310 if (start + size - 1 < istart) in sclp_mem_change_state()
312 if (start > istart + sclp_rzm - 1) in sclp_mem_change_state()
324 static bool contains_standby_increment(unsigned long start, unsigned long end) in contains_standby_increment() argument
333 if (start > istart + sclp_rzm - 1) in contains_standby_increment()
344 unsigned long start, size; in sclp_mem_notifier() local
350 start = arg->start_pfn << PAGE_SHIFT; in sclp_mem_notifier()
362 if (contains_standby_increment(start, start + size)) in sclp_mem_notifier()
369 rc = sclp_mem_change_state(start, size, 1); in sclp_mem_notifier()
372 sclp_mem_change_state(start, size, 0); in sclp_mem_notifier()
375 sclp_mem_change_state(start, size, 0); in sclp_mem_notifier()
391 static void __init align_to_block_size(unsigned long long *start, in align_to_block_size() argument
397 start_align = roundup(*start, alignment); in align_to_block_size()
398 size_align = rounddown(*start + *size, alignment) - start_align; in align_to_block_size()
401 *start, size_align >> 20, *size >> 20); in align_to_block_size()
402 *start = start_align; in align_to_block_size()
409 unsigned long long start, size; in add_memory_merged() local
417 start = rn2addr(first_rn); in add_memory_merged()
419 if (start >= VMEM_MAX_PHYS) in add_memory_merged()
421 if (start + size > VMEM_MAX_PHYS) in add_memory_merged()
422 size = VMEM_MAX_PHYS - start; in add_memory_merged()
423 if (memory_end_set && (start >= memory_end)) in add_memory_merged()
425 if (memory_end_set && (start + size > memory_end)) in add_memory_merged()
426 size = memory_end - start; in add_memory_merged()
427 align_to_block_size(&start, &size); in add_memory_merged()
429 add_memory(0, start, size); in add_memory_merged()