Searched refs:mem_block_size (Results 1 – 2 of 2) sorted by relevance
515 unsigned long *mem_block_size = (unsigned long *)data; in probe_memory_block_size() local531 *mem_block_size = MIN_MEMORY_BLOCK_SIZE; in probe_memory_block_size()533 *mem_block_size = of_read_number(prop, dt_root_size_cells); in probe_memory_block_size()539 unsigned long mem_block_size = MIN_MEMORY_BLOCK_SIZE; in radix_memory_block_size() local546 mem_block_size = 1UL * 1024 * 1024 * 1024; in radix_memory_block_size()548 of_scan_flat_dt(probe_memory_block_size, &mem_block_size); in radix_memory_block_size()550 return mem_block_size; in radix_memory_block_size()
563 static unsigned long mem_block_size __initdata = (2UL << 30);571 mem_block_size = size; in parse_mem_block_size()581 for (size = mem_block_size; size > MIN_MEMORY_BLOCK_SIZE; size >>= 1) in adj_blksize()585 if (size >= mem_block_size) in adj_blksize()588 mem_block_size = size; in adj_blksize()594 unsigned int order = ffs(mem_block_size); in set_block_size()599 pr_info("UV: mem_block_size set to 0x%lx\n", mem_block_size); in set_block_size()602 pr_err("UV: mem_block_size error with 0x%lx\n", mem_block_size); in set_block_size()