Lines Matching refs:memory

125 		pr_err("Error: requested memory too large,"
188 * Information about segments will be needed during pre-boot memory
221 * Mark all memory (except low 0x100000 bytes) as free.
236 * Do not mark all memory as free. Free only named sections
237 * leaving the rest of memory unchanged.
291 /* crashkernel cmdline parameter is parsed _after_ memory setup
459 asm volatile ("break" ::: "memory");
466 asm volatile ("wait" ::: "memory");
783 * We need to temporarily allocate all memory in the reserve32
785 * memory when it is getting memory from the
786 * bootloader. Later, after the memory allocations are
789 * Allocate memory for RESERVED32 aligned on 2MB boundary. This
798 pr_err("Failed to allocate CAVIUM_RESERVE32 memory area\n");
973 int64_t memory;
980 * The Mips memory init uses the first memory location for
981 * some memory vectors. When SPARSEMEM is in use, it doesn't
1002 * When allocating memory, we want incrementing addresses,
1007 memory = cvmx_bootmem_phy_alloc(mem_alloc_size,
1011 if (memory >= 0) {
1024 &memory, &size);
1027 &memory, &size);
1029 end = memory + mem_alloc_size;
1036 if (memory < crashk_base && end > crashk_end) {
1038 memblock_add(memory, crashk_base - memory);
1039 total += crashk_base - memory;
1045 if (memory >= crashk_base && end <= crashk_end)
1047 * Entire memory region is within the new
1048 * kernel's memory, ignore it.
1052 if (memory > crashk_base && memory < crashk_end &&
1058 mem_alloc_size -= crashk_end - memory;
1059 memory = crashk_end;
1060 } else if (memory < crashk_base && end > crashk_base &&
1068 memblock_add(memory, mem_alloc_size);
1080 * Now that we've allocated the kernel memory it is safe to
1082 * drivers can use the memory.
1088 panic("Unable to allocate memory from "
1119 asm volatile("# before" : : : "memory");
1128 : "=r" (insn) : : "$31", "memory");
1252 * Release the allocated memory if a real IO space is there.