/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | firmware.c | 113 #define nvkm_firmware_mem(p) container_of((p), struct nvkm_firmware, mem.memory) 116 nvkm_firmware_mem_sgl(struct nvkm_memory *memory) argument 118 struct nvkm_firmware *fw = nvkm_firmware_mem(memory); 132 nvkm_firmware_mem_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, argument 135 struct nvkm_firmware *fw = nvkm_firmware_mem(memory); 137 .memory = &fw->mem.memory, 139 .sgl = nvkm_firmware_mem_sgl(memory), 149 nvkm_firmware_mem_size(struct nvkm_memory *memory) argument 151 struct scatterlist *sgl = nvkm_firmware_mem_sgl(memory); 157 nvkm_firmware_mem_addr(struct nvkm_memory *memory) argument 164 nvkm_firmware_mem_page(struct nvkm_memory *memory) argument 170 nvkm_firmware_mem_target(struct nvkm_memory *memory) argument 179 nvkm_firmware_mem_dtor(struct nvkm_memory *memory) argument 197 struct nvkm_memory *memory = &fw->mem.memory; local [all...] |
/linux-master/mm/ |
H A D | slub.c | 34 #include <linux/memory.h> 63 * Also synchronizes memory hotplug callbacks. 452 * differ during memory hotplug/hotremove operations. 526 * memory chunk in the freelist. In that case this_cpu_cmpxchg_double() in 531 * get_freepointer_safe() returns initialized memory. 820 * slub is about to manipulate internal object metadata. This memory lies 2063 * Hooks for other subsystems that check memory allocations. In a typical 2089 * As memory initialization might be integrated into KASAN, 2110 /* KASAN might put x into memory quarantine, delaying its reuse. */ 2336 * Let the initial higher-order allocation fail under memory pressur [all...] |
H A D | hugetlb.c | 36 #include <linux/memory.h> 417 * performance enhancement and memory saving issue. 927 * A rare out of memory error was encountered which prevented removal of 1666 * pages. Otherwise, someone (memory error handling) may try to write 1881 * hugetlb pages with vmemmap we will free up memory so that we 1898 * memory). If unable to restore a hugetlb page, the hugetlb 2393 * when the system is under memory pressure and the feature of 2477 * Dissolve free hugepages in a given pfn range. Used by memory hotplug to 2478 * make specified memory blocks removable from the system. 2743 * evenly across all nodes with memory [all...] |
H A D | huge_memory.c | 39 #include <linux/memory-tiers.h> 52 * risking an increased memory footprint for applications that are not 707 * where the extra memory used could hurt more than TLB overhead 895 * The memory barrier inside __folio_mark_uptodate makes sure that 1752 * For memory tiering mode, cpupid of slow memory page is used 3265 * won't waste much memory by not adding them to the deferred list.
|
H A D | memory.c | 4 * linux/mm/memory.c 34 * 05.04.94 - Multi-page memory management added for v1.1. 71 #include <linux/memory-tiers.h> 125 * that high_memory defines the upper bound on direct map memory, then end 185 * has been handled earlier when unmapping all the memory regions. 573 * VM_MIXEDMAP mappings can likewise contain memory with or without "struct 739 * memory so the entry shouldn't point to a filebacked page. 1309 * when the child accesses the memory range. 1680 * memory too. Come back again if we didn't do everything. 1844 * unmap_vmas - unmap a range of memory covere [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 23 #include <linux/memory.h> 394 /* prevents races between memory on/offline and window creation */ 1187 struct device_node *memory; local 1189 for_each_node_by_type(memory, "memory") { 1192 if (of_address_to_resource(memory, 0, &res)) 1250 * Larger pagesizes map more memory with the same amount of TCEs, so start probing them. 1563 * If we have persistent memory and the window size is only as big 1565 * memory and need to set the DMA limit.
|
/linux-master/arch/x86/xen/ |
H A D | enlighten_pv.c | 44 #include <xen/interface/memory.h> 1436 xen_raw_console_write("mapping kernel into physical memory\n"); 1501 * memory errors, as this is the duty of the hypervisor to
|
/linux-master/arch/x86/net/ |
H A D | bpf_jit_comp.c | 12 #include <linux/memory.h> 3014 /* rw_image doesn't need to be in module memory range, so we can 3046 * module memory range. 3266 * insns that access kernel memory via "pointer to BTF type". 3274 /* allocate module memory for x86 insns and extable */ 3295 * 1) header is not pointing to proper module memory;
|
/linux-master/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 11 #include <linux/memory.h> 163 * finally run from this memory region. 450 * program will finally run from this memory region. 1045 * trampoline image uses the same memory area for writing and execution,
|
/linux-master/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 13 #include <linux/memory.h> 204 /* We are guaranteed to have aligned memory. */ 2196 /* image doesn't need to be in module memory range, so we can
|
/linux-master/kernel/sched/ |
H A D | fair.c | 43 #include <linux/memory-tiers.h> 1340 * for both memory bandwidth and any shared HT resources. This is an 1361 * calculated based on the tasks virtual memory size and 1390 * Faults_cpu is used to decide whether memory should move 1392 * more by CPU use than by memory faults. 1457 /* Scale the maximum scan period with the amount of shared memory. */ 1482 /* Scale the maximum scan period with the amount of shared memory. */ 1535 * The averaged statistics, shared & private, memory & CPU, 1641 * memory accesses. When comparing two nodes at distance 1719 * If memory tierin [all...] |
/linux-master/drivers/dma/ |
H A D | tegra186-gpc-dma.c | 21 #include <dt-bindings/memory/tegra186-mc.h> 870 "DMA length/memory address is not supported\n"); 938 "DMA length/memory address is not supported\n"); 942 /* Set DMA mode to memory to memory transfer */ 1080 "DMA length/memory address is not supported\n");
|
/linux-master/arch/riscv/errata/thead/ |
H A D | errata.c | 8 #include <linux/memory.h>
|
/linux-master/tools/testing/selftests/mm/ |
H A D | run_vmtests.sh | 59 memory protection key tests 213 # On memory constrainted systems some tests can fail to allocate hugepages. 336 # of platform's physical memory.
|
/linux-master/kernel/ |
H A D | vmcore_info.c | 13 #include <linux/memory.h> 31 /* trusted vmcoreinfo, e.g. we can make a copy in the crash memory */
|
H A D | kprobes.c | 36 #include <linux/memory.h> 2231 /* Pre-allocate memory for max kretprobe instances */
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
H A D | nv50.c | 27 #include <core/memory.h> 44 #define nv50_instobj(p) container_of((p), struct nv50_instobj, base.memory) 57 nv50_instobj_wr32_slow(struct nvkm_memory *memory, u64 offset, u32 data) argument 59 struct nv50_instobj *iobj = nv50_instobj(memory); 76 nv50_instobj_rd32_slow(struct nvkm_memory *memory, u64 offset) argument 78 struct nv50_instobj *iobj = nv50_instobj(memory); 103 nv50_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) argument 105 iowrite32_native(data, nv50_instobj(memory)->map + offset); 109 nv50_instobj_rd32(struct nvkm_memory *memory, u64 offset) argument 111 return ioread32_native(nv50_instobj(memory) 125 struct nvkm_memory *memory = &iobj->base.memory; local 184 nv50_instobj_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, struct nvkm_vma *vma, void *argv, u32 argc) argument 192 nv50_instobj_release(struct nvkm_memory *memory) argument 217 nv50_instobj_acquire(struct nvkm_memory *memory) argument 266 nv50_instobj_boot(struct nvkm_memory *memory, struct nvkm_vmm *vmm) argument 286 nv50_instobj_size(struct nvkm_memory *memory) argument 292 nv50_instobj_addr(struct nvkm_memory *memory) argument 298 nv50_instobj_bar2(struct nvkm_memory *memory) argument 311 nv50_instobj_target(struct nvkm_memory *memory) argument 317 nv50_instobj_dtor(struct nvkm_memory *memory) argument 357 nv50_instobj_wrap(struct nvkm_instmem *base, struct nvkm_memory *memory, struct nvkm_memory **pmemory) argument [all...] |
/linux-master/arch/arm64/kernel/ |
H A D | head.S | 29 #include <asm/memory.h> 148 * Set the correct endianness early so all memory accesses issued 447 * it is committed to memory.
|
/linux-master/drivers/iommu/ |
H A D | mtk_iommu.c | 35 #include <dt-bindings/memory/mtk-memory-port.h> 255 phys_addr_t protect_base; /* protect memory base */ 1267 /* Protect memory. HW will access here while translation fault.*/
|
H A D | mtk_iommu_v1.c | 30 #include <dt-bindings/memory/mtk-memory-port.h> 31 #include <dt-bindings/memory/mt2701-larb-port.h> 101 phys_addr_t protect_base; /* protect memory base */ 564 /* protect memory,hw will write here while translation fault */ 625 /* Protect memory. HW will access here while translation fault.*/
|
/linux-master/drivers/iommu/intel/ |
H A D | iommu.c | 19 #include <linux/memory.h> 176 * 1. This domain creats a static 1:1 mapping to all usable memory. 2250 * RMRR range might have overlap with physical memory range, 3015 * If memory is allocated from slab by ACPI _DSM method, we need to 3016 * copy the memory content because the memory buffer will be freed
|
/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/ |
H A D | amdgpu_smu.h | 200 struct smu_state_memory_block memory; member in struct:smu_power_state 752 * Disable display tracking and pin memory clock speed to maximum. Used 761 * Allows SMU to properly track blanking periods for memory clock 807 * @get_uclk_dpm_states: Get memory clock DPM levels in kHz. 824 * @display_disable_memory_clock_switch: Enable/disable dynamic memory 827 * Disabling this feature forces memory clock speed to maximum. 828 * Enabling sets the minimum memory clock capable of driving the 967 * @powergate_sdma: Power up/down system direct memory access. 995 * @notify_memory_pool_location: Send the location of the memory pool to 1119 * @set_xgmi_pstate: Set inter-chip global memory interconnec [all...] |
/linux-master/drivers/net/ |
H A D | xen-netfront.c | 59 #include <xen/interface/memory.h> 2095 message = "out of memory while writing ring references";
|
/linux-master/arch/x86/kernel/ |
H A D | callthunks.c | 7 #include <linux/memory.h>
|
/linux-master/arch/riscv/kernel/ |
H A D | patch.c | 8 #include <linux/memory.h>
|