Home
last modified time | relevance | path

Searched refs:nr_shared (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/arch/x86/xen/
Dgrant-table.c127 int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status) in arch_gnttab_init() argument
134 ret = arch_gnttab_valloc(&gnttab_shared_vm_area, nr_shared); in arch_gnttab_init()
/linux-6.12.1/drivers/base/
Dcacheinfo.c932 unsigned int nr_shared; in update_per_cpu_data_slice_size_cpu() local
943 nr_shared = cpumask_weight(&llc->shared_cpu_map); in update_per_cpu_data_slice_size_cpu()
944 if (nr_shared) in update_per_cpu_data_slice_size_cpu()
945 ci->per_cpu_data_slice_size = llc->size / nr_shared; in update_per_cpu_data_slice_size_cpu()
982 unsigned int nr_shared; in cacheinfo_cpu_pre_down() local
984 nr_shared = cpu_map_shared_cache(false, cpu, &cpu_map); in cacheinfo_cpu_pre_down()
989 if (nr_shared > 1) in cacheinfo_cpu_pre_down()
/linux-6.12.1/arch/arm/xen/
Dgrant-table.c55 int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status) in arch_gnttab_init() argument
/linux-6.12.1/arch/x86/coco/tdx/
Dtdx.c44 static atomic_long_t nr_shared; variable
834 atomic_long_sub(numpages, &nr_shared); in tdx_enc_status_change_finish()
836 atomic_long_add(numpages, &nr_shared); in tdx_enc_status_change_finish()
923 shared = atomic_long_read(&nr_shared); in tdx_kexec_finish()
/linux-6.12.1/include/xen/
Dgrant_table.h193 int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status);