Lines Matching defs:size
372 * Show the memory block size (shared by all memory blocks).
621 * Create memory block devices for the given memory area. Start and size
627 int create_memory_block_devices(unsigned long start, unsigned long size)
630 unsigned long end_block_id = pfn_to_block_id(PFN_DOWN(start + size));
636 !IS_ALIGNED(size, memory_block_size_bytes())))
658 * Remove memory block devices for the given memory area. Start and size
664 void remove_memory_block_devices(unsigned long start, unsigned long size)
667 const unsigned long end_block_id = pfn_to_block_id(PFN_DOWN(start + size));
672 !IS_ALIGNED(size, memory_block_size_bytes())))
724 /* Validate the configured memory block size */
727 panic("Memory block size not suitable: 0x%lx\n", block_sz);
749 * by the range [start, start + size)
752 * @size: size of the memory range
757 * range [start, start + size), calling func on each memory block.
764 int walk_memory_blocks(unsigned long start, unsigned long size,
768 const unsigned long end_block_id = phys_to_block_id(start + size - 1);
773 if (!size)