Lines Matching defs: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.
293 /* crashkernel cmdline parameter is parsed _after_ memory setup
460 asm volatile ("break" ::: "memory");
467 asm volatile ("wait" ::: "memory");
787 * We need to temporarily allocate all memory in the reserve32
789 * memory when it is getting memory from the
790 * bootloader. Later, after the memory allocations are
793 * Allocate memory for RESERVED32 aligned on 2MB boundary. This
800 pr_err("Failed to allocate CAVIUM_RESERVE32 memory area\n");
975 int64_t memory;
984 * The Mips memory init uses the first memory location for
985 * some memory vectors. When SPARSEMEM is in use, it doesn't
1006 * When allocating memory, we want incrementing addresses,
1011 memory = cvmx_bootmem_phy_alloc(mem_alloc_size,
1015 if (memory >= 0) {
1028 &memory, &size);
1031 &memory, &size);
1033 end = memory + mem_alloc_size;
1040 if (memory < crashk_base && end > crashk_end) {
1042 memblock_add(memory, crashk_base - memory);
1043 total += crashk_base - memory;
1049 if (memory >= crashk_base && end <= crashk_end)
1051 * Entire memory region is within the new
1052 * kernel's memory, ignore it.
1056 if (memory > crashk_base && memory < crashk_end &&
1062 mem_alloc_size -= crashk_end - memory;
1063 memory = crashk_end;
1064 } else if (memory < crashk_base && end > crashk_base &&
1072 memblock_add(memory, mem_alloc_size);
1081 /* Add the memory region for the kernel. */
1092 * Now that we've allocated the kernel memory it is safe to
1094 * drivers can use the memory.
1101 panic("Unable to allocate memory from "
1132 asm volatile("# before" : : : "memory");
1141 : "=r" (insn) : : "$31", "memory");
1265 * Release the allocated memory if a real IO space is there.