Home
last modified time | relevance | path

Searched refs:SMP_CACHE_BYTES (Results 1 – 25 of 130) sorted by relevance

123456

/linux-6.3-rc2/tools/testing/memblock/tests/
A Dalloc_helpers_api.c28 min_addr = memblock_end_of_DRAM() - SMP_CACHE_BYTES; in alloc_from_simple_generic_check()
30 allocated_ptr = memblock_alloc_from(size, SMP_CACHE_BYTES, min_addr); in alloc_from_simple_generic_check()
72 min_addr = memblock_end_of_DRAM() - (SMP_CACHE_BYTES * 2 - 1); in alloc_from_misaligned_generic_check()
74 allocated_ptr = memblock_alloc_from(size, SMP_CACHE_BYTES, min_addr); in alloc_from_misaligned_generic_check()
80 ASSERT_EQ(rgn->base, memblock_end_of_DRAM() - SMP_CACHE_BYTES); in alloc_from_misaligned_generic_check()
121 allocated_ptr = memblock_alloc_from(size, SMP_CACHE_BYTES, min_addr); in alloc_from_top_down_high_addr_check()
125 ASSERT_EQ(rgn->base, memblock_end_of_DRAM() - SMP_CACHE_BYTES); in alloc_from_top_down_high_addr_check()
163 min_addr = memblock_end_of_DRAM() - SMP_CACHE_BYTES * 2; in alloc_from_top_down_no_space_above_check()
200 min_addr = start_addr - SMP_CACHE_BYTES * 3; in alloc_from_top_down_min_addr_cap_check()
291 memblock_reserve(min_addr - SMP_CACHE_BYTES, r2_size); in alloc_from_bottom_up_no_space_above_check()
[all …]
A Dalloc_nid_api.c231 max_addr = min_addr + SMP_CACHE_BYTES; in alloc_nid_top_down_narrow_range_check()
282 max_addr = min_addr + SMP_CACHE_BYTES; in alloc_nid_low_max_generic_check()
421 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_nid_top_down_reserved_with_space_check()
430 r1.size = SMP_CACHE_BYTES; in alloc_nid_top_down_reserved_with_space_check()
493 r1.size = SMP_CACHE_BYTES; in alloc_nid_reserved_full_merge_generic_check()
548 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_nid_top_down_reserved_no_space_check()
557 r1.size = SMP_CACHE_BYTES; in alloc_nid_top_down_reserved_no_space_check()
623 r1.size = SMP_CACHE_BYTES; in alloc_nid_reserved_all_generic_check()
850 max_addr = min_addr + SMP_CACHE_BYTES; in alloc_nid_bottom_up_narrow_range_check()
903 r1.size = SMP_CACHE_BYTES; in alloc_nid_bottom_up_reserved_with_space_check()
[all …]
A Dalloc_api.c34 expected_start = memblock_end_of_DRAM() - SMP_CACHE_BYTES; in alloc_top_down_simple_check()
36 allocated_ptr = run_memblock_alloc(size, SMP_CACHE_BYTES); in alloc_top_down_simple_check()
79 phys_addr_t alignment = SMP_CACHE_BYTES * 2; in alloc_top_down_disjoint_check()
130 phys_addr_t r1_size = SMP_CACHE_BYTES; in alloc_top_down_before_check()
139 allocated_ptr = run_memblock_alloc(r2_size, SMP_CACHE_BYTES); in alloc_top_down_before_check()
180 r1.base = memblock_end_of_DRAM() - SMP_CACHE_BYTES; in alloc_top_down_after_check()
269 phys_addr_t gap_size = SMP_CACHE_BYTES; in alloc_in_between_generic_check()
394 allocated_ptr = run_memblock_alloc(SZ_1K, SMP_CACHE_BYTES); in alloc_no_space_generic_check()
515 allocated_ptr = run_memblock_alloc(SZ_2, SMP_CACHE_BYTES); in alloc_bottom_up_simple_check()
556 phys_addr_t alignment = SMP_CACHE_BYTES * 2; in alloc_bottom_up_disjoint_check()
[all …]
A Dalloc_exact_nid_api.c45 allocated_ptr = memblock_alloc_exact_nid_raw(size, SMP_CACHE_BYTES, in alloc_exact_nid_top_down_numa_simple_check()
101 allocated_ptr = memblock_alloc_exact_nid_raw(size, SMP_CACHE_BYTES, in alloc_exact_nid_top_down_numa_part_reserved_check()
158 allocated_ptr = memblock_alloc_exact_nid_raw(size, SMP_CACHE_BYTES, in alloc_exact_nid_top_down_numa_split_range_low_check()
215 allocated_ptr = memblock_alloc_exact_nid_raw(size, SMP_CACHE_BYTES, in alloc_exact_nid_top_down_numa_no_overlap_split_check()
273 allocated_ptr = memblock_alloc_exact_nid_raw(size, SMP_CACHE_BYTES, in alloc_exact_nid_top_down_numa_no_overlap_low_check()
314 allocated_ptr = memblock_alloc_exact_nid_raw(size, SMP_CACHE_BYTES, in alloc_exact_nid_bottom_up_numa_simple_check()
372 allocated_ptr = memblock_alloc_exact_nid_raw(size, SMP_CACHE_BYTES, in alloc_exact_nid_bottom_up_numa_part_reserved_check()
429 allocated_ptr = memblock_alloc_exact_nid_raw(size, SMP_CACHE_BYTES, in alloc_exact_nid_bottom_up_numa_split_range_low_check()
486 allocated_ptr = memblock_alloc_exact_nid_raw(size, SMP_CACHE_BYTES, in alloc_exact_nid_bottom_up_numa_no_overlap_split_check()
544 allocated_ptr = memblock_alloc_exact_nid_raw(size, SMP_CACHE_BYTES, in alloc_exact_nid_bottom_up_numa_no_overlap_low_check()
[all …]
/linux-6.3-rc2/include/linux/
A Dcache.h12 #ifndef SMP_CACHE_BYTES
13 #define SMP_CACHE_BYTES L1_CACHE_BYTES macro
41 #define ____cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES)))
54 __attribute__((__aligned__(SMP_CACHE_BYTES), \
/linux-6.3-rc2/arch/arc/include/asm/
A Dcache.h50 #define SMP_CACHE_BYTES 128 macro
51 #define cache_line_size() SMP_CACHE_BYTES
52 #define ARCH_DMA_MINALIGN SMP_CACHE_BYTES
/linux-6.3-rc2/arch/ia64/include/asm/
A Dcache.h17 # define SMP_CACHE_BYTES L1_CACHE_BYTES macro
25 # define SMP_CACHE_BYTES (1 << 3) macro
/linux-6.3-rc2/arch/sparc/kernel/
A Dvmlinux.lds.S22 #define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT) macro
69 RW_DATA(SMP_CACHE_BYTES, 0, THREAD_SIZE)
171 PERCPU_SECTION(SMP_CACHE_BYTES)
/linux-6.3-rc2/arch/sh/mm/
A Dnuma.c45 SMP_CACHE_BYTES, nid); in setup_bootmem_node()
48 __func__, sizeof(struct pglist_data), SMP_CACHE_BYTES, in setup_bootmem_node()
/linux-6.3-rc2/tools/virtio/ringtest/
A Dptr_ring.c13 #define SMP_CACHE_BYTES 64 macro
14 #define cache_line_size() SMP_CACHE_BYTES
15 #define ____cacheline_aligned_in_smp __attribute__ ((aligned (SMP_CACHE_BYTES)))
/linux-6.3-rc2/arch/mips/loongson64/
A Dnuma.c91 const size_t nd_size = roundup(sizeof(pg_data_t), SMP_CACHE_BYTES); in node_mem_init()
101 nd_pa = memblock_phys_alloc_try_nid(nd_size, SMP_CACHE_BYTES, node); in node_mem_init()
202 return memblock_alloc(sizeof(pg_data_t), SMP_CACHE_BYTES); in arch_alloc_nodedata()
/linux-6.3-rc2/arch/ia64/kernel/
A Dvmlinux.lds.S167 PERCPU_VADDR(SMP_CACHE_BYTES, PERCPU_ADDR, :percpu)
180 CACHELINE_ALIGNED_DATA(SMP_CACHE_BYTES)
181 READ_MOSTLY_DATA(SMP_CACHE_BYTES)
/linux-6.3-rc2/arch/alpha/kernel/
A Dpci-noop.c36 hose = memblock_alloc(sizeof(*hose), SMP_CACHE_BYTES); in alloc_pci_controller()
50 void *ptr = memblock_alloc(sizeof(struct resource), SMP_CACHE_BYTES); in alloc_resource()
/linux-6.3-rc2/arch/powerpc/mm/nohash/
A Dmmu_context.c391 context_map = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init()
396 SMP_CACHE_BYTES); in mmu_context_init()
401 stale_map[boot_cpuid] = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init()
/linux-6.3-rc2/tools/include/linux/
A Dcache.h8 #define SMP_CACHE_BYTES L1_CACHE_BYTES macro
/linux-6.3-rc2/arch/microblaze/include/asm/
A Dcache.h19 #define SMP_CACHE_BYTES L1_CACHE_BYTES macro
/linux-6.3-rc2/arch/alpha/include/asm/
A Dcache.h21 #define SMP_CACHE_BYTES L1_CACHE_BYTES macro
/linux-6.3-rc2/arch/sparc/include/asm/
A Dcache.h22 #define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT) macro
/linux-6.3-rc2/arch/powerpc/lib/
A Dalloc.c17 p = memblock_alloc(size, SMP_CACHE_BYTES); in zalloc_maybe_bootmem()
/linux-6.3-rc2/arch/loongarch/include/asm/vdso/
A Dvdso.h40 - VDSO_DATA_SIZE + SMP_CACHE_BYTES * NR_CPUS); in get_vdso_data()
/linux-6.3-rc2/arch/xtensa/include/asm/
A Dcache.h18 #define SMP_CACHE_BYTES L1_CACHE_BYTES macro
/linux-6.3-rc2/init/
A Dmain.c383 new_cmdline = memblock_alloc(len + 1, SMP_CACHE_BYTES); in xbc_make_cmdline()
630 saved_command_line = memblock_alloc(len + ilen, SMP_CACHE_BYTES); in setup_command_line()
634 static_command_line = memblock_alloc(len, SMP_CACHE_BYTES); in setup_command_line()
921 unknown_options = memblock_alloc(len, SMP_CACHE_BYTES); in print_unknown_bootoptions()
1189 SMP_CACHE_BYTES); in initcall_blacklist()
1194 SMP_CACHE_BYTES); in initcall_blacklist()
/linux-6.3-rc2/drivers/char/hw_random/
A Dvirtio-rng.c30 #if SMP_CACHE_BYTES < 32
33 u8 data[SMP_CACHE_BYTES];
/linux-6.3-rc2/arch/um/kernel/
A Dload_file.c51 area = memblock_alloc(*size, SMP_CACHE_BYTES); in uml_load_file()
/linux-6.3-rc2/arch/parisc/include/asm/
A Dcache.h21 #define SMP_CACHE_BYTES L1_CACHE_BYTES macro

Completed in 30 milliseconds

123456