Lines Matching refs:start
849 int create_memory_block_devices(unsigned long start, unsigned long size,
853 const unsigned long start_block_id = pfn_to_block_id(PFN_DOWN(start));
854 unsigned long end_block_id = pfn_to_block_id(PFN_DOWN(start + size));
859 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) ||
888 void remove_memory_block_devices(unsigned long start, unsigned long size)
890 const unsigned long start_block_id = pfn_to_block_id(PFN_DOWN(start));
891 const unsigned long end_block_id = pfn_to_block_id(PFN_DOWN(start + size));
895 if (WARN_ON_ONCE(!IS_ALIGNED(start, memory_block_size_bytes()) ||
971 * by the range [start, start + size)
973 * @start: start address of the memory range
979 * range [start, start + size), calling func on each memory block.
986 int walk_memory_blocks(unsigned long start, unsigned long size,
989 const unsigned long start_block_id = phys_to_block_id(start);
990 const unsigned long end_block_id = phys_to_block_id(start + size - 1);