Lines Matching defs:start
627 int create_memory_block_devices(unsigned long start, unsigned long size)
629 const unsigned long start_block_id = pfn_to_block_id(PFN_DOWN(start));
630 unsigned long end_block_id = pfn_to_block_id(PFN_DOWN(start + size));
635 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) ||
664 void remove_memory_block_devices(unsigned long start, unsigned long size)
666 const unsigned long start_block_id = pfn_to_block_id(PFN_DOWN(start));
667 const unsigned long end_block_id = pfn_to_block_id(PFN_DOWN(start + size));
671 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) ||
749 * by the range [start, start + size)
751 * @start: start address 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,
767 const unsigned long start_block_id = phys_to_block_id(start);
768 const unsigned long end_block_id = phys_to_block_id(start + size - 1);