Searched refs:dyn_size (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/arch/ia64/mm/ |
D | contig.c | 106 ssize_t static_size, reserved_size, dyn_size; in setup_per_cpu_areas() local 120 dyn_size = PERCPU_PAGE_SIZE - static_size - reserved_size; in setup_per_cpu_areas() 121 if (dyn_size < 0) in setup_per_cpu_areas() 127 ai->dyn_size = dyn_size; in setup_per_cpu_areas()
|
D | discontig.c | 188 ssize_t static_size, reserved_size, dyn_size; in setup_per_cpu_areas() local 214 dyn_size = PERCPU_PAGE_SIZE - static_size - reserved_size; in setup_per_cpu_areas() 215 if (dyn_size < 0) in setup_per_cpu_areas() 221 ai->dyn_size = dyn_size; in setup_per_cpu_areas()
|
/linux-6.6.21/include/linux/ |
D | percpu.h | 83 size_t dyn_size; member 113 extern int __init pcpu_embed_first_chunk(size_t reserved_size, size_t dyn_size,
|
D | perf_event.h | 1154 u64 dyn_size; member 1211 data->dyn_size = 0; in perf_sample_data_init() 1228 data->dyn_size += size * sizeof(u64); in perf_sample_save_callchain() 1251 data->dyn_size += size; in perf_sample_save_raw_data() 1266 data->dyn_size += size; in perf_sample_save_brstack() 1276 size += data->dyn_size; in perf_sample_data_size()
|
/linux-6.6.21/arch/x86/kernel/ |
D | setup_percpu.c | 137 const size_t dyn_size = PERCPU_MODULE_RESERVE + in setup_per_cpu_areas() local 154 dyn_size, atom_size, in setup_per_cpu_areas()
|
/linux-6.6.21/mm/ |
D | percpu.c | 2500 lvl, ai->static_size, ai->reserved_size, ai->dyn_size, in pcpu_dump_alloc_info() 2584 size_t size_sum = ai->static_size + ai->reserved_size + ai->dyn_size; in pcpu_setup_first_chunk() 2585 size_t static_size, dyn_size; in pcpu_setup_first_chunk() local 2617 PCPU_SETUP_BUG_ON(ai->dyn_size < PERCPU_DYNAMIC_EARLY_SIZE); in pcpu_setup_first_chunk() 2734 dyn_size = ai->dyn_size - (static_size - ai->static_size); in pcpu_setup_first_chunk() 2752 pcpu_first_chunk = pcpu_alloc_first_chunk(tmp_addr, dyn_size); in pcpu_setup_first_chunk() 2838 size_t reserved_size, size_t dyn_size, in pcpu_build_alloc_info() argument 2861 max_t(size_t, dyn_size, PERCPU_DYNAMIC_EARLY_SIZE)); in pcpu_build_alloc_info() 2862 dyn_size = size_sum - static_size - reserved_size; in pcpu_build_alloc_info() 2953 ai->dyn_size = dyn_size; in pcpu_build_alloc_info() [all …]
|
D | percpu-stats.c | 170 PL(dyn_size); in percpu_stats_show()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | setup_64.c | 840 const size_t dyn_size = PERCPU_MODULE_RESERVE + PERCPU_DYNAMIC_RESERVE; in setup_per_cpu_areas() local 866 rc = pcpu_embed_first_chunk(0, dyn_size, atom_size, pcpu_cpu_distance, in setup_per_cpu_areas()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.c | 2215 size_t dyn_size; in kfd_create_crat_image_virtual() local 2230 dyn_size = sizeof(struct crat_header) + in kfd_create_crat_image_virtual() 2234 pcrat_image = kvmalloc(dyn_size, GFP_KERNEL); in kfd_create_crat_image_virtual() 2237 *size = dyn_size; in kfd_create_crat_image_virtual() 2238 pr_debug("CRAT size is %ld", dyn_size); in kfd_create_crat_image_virtual()
|
/linux-6.6.21/kernel/events/ |
D | core.c | 6961 u64 dyn_size; in perf_output_sample_ustack() local 6980 dyn_size = dump_size - rem; in perf_output_sample_ustack() 6985 perf_output_put(handle, dyn_size); in perf_output_sample_ustack() 7669 data->dyn_size += sizeof(u64); in perf_prepare_sample() 7675 data->dyn_size += sizeof(u64); in perf_prepare_sample() 7696 data->dyn_size += size; in perf_prepare_sample() 7723 data->dyn_size += size; in perf_prepare_sample() 7759 data->dyn_size += size; in perf_prepare_sample() 7812 data->dyn_size += size + sizeof(u64); /* size above */ in perf_prepare_sample()
|