Home
last modified time | relevance | path

Searched refs:dyn_size (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/arch/ia64/mm/
H A Dcontig.c106 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()
H A Ddiscontig.c188 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()
/openbmc/linux/include/linux/
H A Dpercpu.h83 size_t dyn_size; member
113 extern int __init pcpu_embed_first_chunk(size_t reserved_size, size_t dyn_size,
H A Dperf_event.h1155 u64 dyn_size; member
1212 data->dyn_size = 0; in perf_sample_data_init()
1229 data->dyn_size += size * sizeof(u64); in perf_sample_save_callchain()
1252 data->dyn_size += size; in perf_sample_save_raw_data()
1267 data->dyn_size += size; in perf_sample_save_brstack()
1277 size += data->dyn_size; in perf_sample_data_size()
/openbmc/linux/arch/x86/kernel/
H A Dsetup_percpu.c137 const size_t dyn_size = PERCPU_MODULE_RESERVE + in setup_per_cpu_areas() local
154 dyn_size, atom_size, in setup_per_cpu_areas()
/openbmc/linux/mm/
H A Dpercpu.c2500 lvl, ai->static_size, ai->reserved_size, ai->dyn_size, in pcpu_dump_alloc_info()
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()
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()
3141 ai->dyn_size, ai->unit_size); in pcpu_embed_first_chunk()
3318 ai->reserved_size, ai->dyn_size); in pcpu_page_first_chunk()
[all …]
H A Dpercpu-stats.c170 PL(dyn_size); in percpu_stats_show()
/openbmc/linux/arch/powerpc/kernel/
H A Dsetup_64.c841 const size_t dyn_size = PERCPU_MODULE_RESERVE + PERCPU_DYNAMIC_RESERVE; in setup_per_cpu_areas() local
867 rc = pcpu_embed_first_chunk(0, dyn_size, atom_size, pcpu_cpu_distance, in setup_per_cpu_areas()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c2215 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()
/openbmc/linux/kernel/events/
H A Dcore.c7016 u64 dyn_size; in perf_output_sample_ustack() local
7035 dyn_size = dump_size - rem; in perf_output_sample_ustack()
7040 perf_output_put(handle, dyn_size); in perf_output_sample_ustack()
7724 data->dyn_size += sizeof(u64); in perf_prepare_sample()
7730 data->dyn_size += sizeof(u64); in perf_prepare_sample()
7751 data->dyn_size += size; in perf_prepare_sample()
7778 data->dyn_size += size; in perf_prepare_sample()
7814 data->dyn_size += size; in perf_prepare_sample()
7867 data->dyn_size += size + sizeof(u64); /* size above */ in perf_prepare_sample()