Searched refs:memory (Results 26 - 50 of 508) sorted by relevance

1234567891011>>

/linux-master/tools/testing/memblock/tests/
H A Dbasic_api.c17 ASSERT_NE(memblock.memory.regions, NULL);
18 ASSERT_EQ(memblock.memory.cnt, 1);
19 ASSERT_EQ(memblock.memory.max, EXPECTED_MEMBLOCK_REGIONS);
20 ASSERT_EQ(strcmp(memblock.memory.name, "memory"), 0);
24 ASSERT_EQ(memblock.memory.max, EXPECTED_MEMBLOCK_REGIONS);
36 * A simple test that adds a memory block of a specified base address
37 * and size to the collection of available memory regions (memblock.memory).
38 * Expect to create a new entry. The region counter and total memory ge
[all...]
H A Dcommon.c41 memset(memblock.memory.regions, 0,
42 memblock.memory.cnt * sizeof(struct memblock_region));
43 memblock.memory.cnt = 1;
44 memblock.memory.max = INIT_MEMBLOCK_REGIONS;
45 memblock.memory.total_size = 0;
56 memblock.memory.name = "memory";
76 * Set up a memory layout with multiple NUMA nodes in a previously allocated
77 * dummy physical memory.
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dgk20a.c24 * GK20A does not have dedicated video memory, and to accurately represent this
26 * implementation must be done directly on top of system memory, while
30 * 1) If an IOMMU unit has been probed, the IOMMU API is used to make memory
33 * contiguous memory.
46 #include <core/memory.h>
59 #define gk20a_instobj(p) container_of((p), struct gk20a_instobj, base.memory)
116 gk20a_instobj_target(struct nvkm_memory *memory) argument
122 gk20a_instobj_page(struct nvkm_memory *memory) argument
128 gk20a_instobj_addr(struct nvkm_memory *memory) argument
130 return (u64)gk20a_instobj(memory)
134 gk20a_instobj_size(struct nvkm_memory *memory) argument
174 gk20a_instobj_acquire_dma(struct nvkm_memory *memory) argument
186 gk20a_instobj_acquire_iommu(struct nvkm_memory *memory) argument
229 gk20a_instobj_release_dma(struct nvkm_memory *memory) argument
241 gk20a_instobj_release_iommu(struct nvkm_memory *memory) argument
265 gk20a_instobj_rd32(struct nvkm_memory *memory, u64 offset) argument
273 gk20a_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) argument
281 gk20a_instobj_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, struct nvkm_vma *vma, void *argv, u32 argc) argument
295 gk20a_instobj_dtor_dma(struct nvkm_memory *memory) argument
312 gk20a_instobj_dtor_iommu(struct nvkm_memory *memory) argument
[all...]
/linux-master/arch/arm64/boot/dts/sprd/
H A Dsc9836-openphone.dts25 memory@80000000 {
26 device_type = "memory";
/linux-master/arch/mips/fw/arc/
H A DMakefile13 lib-$(CONFIG_ARC_MEMORY) += memory.o
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dhyp.lds.S12 #include <asm/memory.h>
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmgp100.c40 nvkm_kmap(pt->memory);
42 u32 datalo = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 0);
43 u32 datahi = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 4);
51 nvkm_done(pt->memory);
59 nvkm_kmap(pt->memory);
61 u32 datalo = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 0);
62 u32 datahi = nvkm_ro32(pt->memory, pt->base + ptei * 8 + 4);
70 nvkm_done(pt->memory);
81 nvkm_kmap(pt->memory);
111 nvkm_done(pt->memory);
415 struct nvkm_memory *memory = map->memory; local
[all...]
H A Dumem.h14 struct nvkm_memory *memory; member in struct:nvkm_umem
H A Dmemgf100.c24 #include <core/memory.h>
34 gf100_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, argument
54 ret = nvkm_vmm_get(bar, nvkm_memory_page(memory),
55 nvkm_memory_size(memory), pvma);
59 ret = nvkm_memory_map(memory, 0, bar, *pvma, &uvmm, sizeof(uvmm));
H A Duvmm.c27 #include <core/memory.h>
138 if (ret = -EINVAL, !vma->memory) {
160 struct nvkm_memory *memory; local
166 handle = args->v0.memory;
174 memory = nvkm_umem_search(client, handle);
175 if (IS_ERR(memory)) {
176 VMM_DEBUG(vmm, "memory %016llx %ld\n", handle, PTR_ERR(memory));
177 return PTR_ERR(memory);
191 if (ret = -EINVAL, vma->mapped && !vma->memory) {
401 struct nvkm_memory *memory; local
[all...]
H A Dmemnv50.c24 #include <core/memory.h>
34 nv50_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, argument
44 u64 size = nvkm_memory_size(memory);
62 return nvkm_memory_map(memory, 0, bar, *pvma, &uvmm, sizeof(uvmm));
/linux-master/tools/testing/selftests/mm/
H A Dwrite_hugetlb_memory.sh17 echo $$ > ${cgroup_path:-/dev/cgroup/memory}/"$cgroup"/cgroup.procs
H A Dhugetlb_reparenting_test.sh26 CGROUP_ROOT=/dev/cgroup/memory
30 echo "+hugetlb +memory" >$CGROUP_ROOT/cgroup.subtree_control
34 CGROUP_ROOT=/dev/cgroup/memory
35 mount -t cgroup memory,hugetlb $CGROUP_ROOT
76 actual_a="$(cat "$CGROUP_ROOT"/a/memory.$usage_file)"
104 actual_b="$(cat "$CGROUP_ROOT"/a/b/memory.$usage_file)"
133 echo "+hugetlb +memory" >$CGROUP_ROOT/a/cgroup.subtree_control
206 echo Assert memory charged correctly for parent use.
211 echo Assert memory charged correctly for child use.
216 echo Assert memory reparen
[all...]
/linux-master/arch/csky/include/asm/
H A Dfixmap.h7 #include <asm/memory.h>
/linux-master/arch/arm64/include/asm/
H A Dvmap_stack.h11 #include <asm/memory.h>
H A Dkasan.h8 #include <asm/memory.h>
/linux-master/arch/mips/mti-malta/
H A DMakefile12 obj-y += malta-memory.o
/linux-master/drivers/base/
H A Dinit.c9 #include <linux/memory.h>
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dgpuobj.c31 /* fast-path, where backend is able to provide direct pointer to memory */
50 return nvkm_memory_map(gpuobj->memory, offset, vmm, vma, argv, argc);
56 return nvkm_ro32(gpuobj->memory, offset);
62 nvkm_wo32(gpuobj->memory, offset, data);
70 nvkm_done(gpuobj->memory);
92 gpuobj->map = nvkm_kmap(gpuobj->memory);
202 abs(align), zero, &gpuobj->memory);
207 gpuobj->addr = nvkm_memory_addr(gpuobj->memory);
208 gpuobj->size = nvkm_memory_size(gpuobj->memory);
222 nvkm_memory_unref(&gpuobj->memory);
250 nvkm_gpuobj_wrap(struct nvkm_memory *memory, struct nvkm_gpuobj **pgpuobj) argument
[all...]
/linux-master/arch/arm/include/debug/
H A Dvexpress.S25 @ Make an educated guess regarding the memory map:
35 @ Original memory map
40 @ RS1 memory map
/linux-master/fs/btrfs/tests/
H A Dextent-io-tests.c671 static void dump_eb_and_memory_contents(struct extent_buffer *eb, void *memory, argument
678 if (memcmp(addr, memory + i, 1) != 0) {
680 test_err("eb and memory diffs at byte %u, eb has 0x%02x memory has 0x%02x",
681 i, *(u8 *)addr, *(u8 *)(memory + i));
687 static int verify_eb_and_memory(struct extent_buffer *eb, void *memory, argument
693 if (memcmp(memory + (i << PAGE_SHIFT), eb_addr, PAGE_SIZE) != 0) {
694 dump_eb_and_memory_contents(eb, memory, test_name);
702 * Init both memory and extent buffer contents to the same randomly generated
705 static void init_eb_and_memory(struct extent_buffer *eb, void *memory) argument
715 void *memory = NULL; local
[all...]
/linux-master/drivers/md/dm-vdo/indexer/
H A Ddelta-index.c16 #include "memory-alloc.h"
28 * memory managed by the delta_zone structure. The delta_zone can move the data around within its
29 * memory, so the location of each delta list is recorded as a bit offset into the memory. Because
32 * volume index delta list memory can easily exceed 4 gigabits, so a 64 bit value is needed to
33 * address the memory. The volume index delta lists average around 6 kilobits, so 16 bits are
49 * The delta in each entry is encoded with a variable-length Huffman code to minimize the memory
55 * some bytes beyond the end of the bit field, so a delta_zone memory allocation is guarded by two
56 * invalid delta lists to prevent reading outside the delta_zone memory. The valid delta lists are
59 * delta list could cause this step to run off the end of the delta_zone memory, s
404 get_field(const u8 *memory, u64 offset, u8 size) argument
412 set_field(u32 value, u8 *memory, u64 offset, u8 size) argument
431 get_immutable_start(const u8 *memory, u32 list_number) argument
438 set_immutable_start(u8 *memory, u32 list_number, u32 start) argument
444 verify_delta_index_page(u64 nonce, u16 list_count, u64 expected_nonce, u8 *memory, size_t memory_size) argument
493 uds_initialize_delta_index_page(struct delta_index_page *delta_index_page, u64 expected_nonce, u32 mean_delta, u32 payload_bits, u8 *memory, size_t memory_size) argument
562 get_big_field(const u8 *memory, u64 offset, u8 size) argument
570 set_big_field(u64 value, u8 *memory, u64 offset, u8 size) argument
582 set_zero(u8 *memory, u64 offset, u32 size) argument
707 uds_pack_delta_index_page(const struct delta_index *delta_index, u64 header_nonce, u8 *memory, size_t memory_size, u64 virtual_chapter_number, u32 first_list, u32 *list_count) argument
1313 const u8 *memory = delta_zone->memory; local
1587 u8 *memory; local
1665 u8 *memory = delta_zone->memory; local
1684 u8 *memory = delta_entry->delta_zone->memory; local
1807 u8 *memory = delta_entry->delta_zone->memory; local
[all...]
/linux-master/arch/powerpc/mm/
H A Dnuma.c517 struct device_node *memory = NULL; local
519 memory = of_find_node_by_type(memory, "memory");
520 if (!memory)
521 panic("numa.c: No memory nodes found!");
523 *n_addr_cells = of_n_addr_cells(memory);
524 *n_size_cells = of_n_size_cells(memory);
525 of_node_put(memory);
547 * memory fro
557 struct device_node *memory; local
899 struct device_node *memory; local
1292 struct device_node *memory; local
1327 struct device_node *memory = NULL; local
1349 struct device_node *memory = NULL; local
[all...]
/linux-master/arch/powerpc/boot/
H A Doflib.c105 * we claim the physical space in the /memory node and the virtual
111 static ihandle memory; variable
140 memory = of_call_prom("open", 1, 1, "/memory");
141 if (memory == PROM_ERROR) {
142 memory = of_call_prom("open", 1, 1, "/memory@0");
143 if (memory == PROM_ERROR) {
144 printf("no memory node\n");
163 ret = of_call_prom_ret("call-method", 5, 2, &result, "claim", memory,
[all...]
/linux-master/lib/
H A Dmemory-notifier-error-inject.c4 #include <linux/memory.h>
10 MODULE_PARM_DESC(priority, "specify memory notifier priority");
26 dir = notifier_err_inject_init("memory", notifier_err_inject_dir,
47 MODULE_DESCRIPTION("memory notifier error injection module");

Completed in 517 milliseconds

1234567891011>>