Home
last modified time | relevance | path

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

/linux/tools/sched_ext/
H A Dscx_qmap.bpf.c1491 qa.part.nr_shared = 0; in compute_partition()
1511 * mid-compute change would otherwise wrap nr_shared negative. The self in account_alloc()
1579 qa.part.nr_shared = nr_excl - total_excl; in apply_partition()
1612 if (qa.part.nr_shared && qa.part.nr_rr) { in apply_partition()
1658 s32 nr_shared = qa.part.nr_shared; in apply_partition()
1662 nr_shared < 0 || nr_shared > MAX_PARTS) { in apply_partition()
1696 bpf_for(i, 0, nr_shared) in execute_partition()
1737 if (nr_shared) {
1581 s32 nr_shared = qa.part.nr_shared; apply_partition() local
1745 s32 nr_shared, old_pos, new_pos; rr_advance() local
[all...]
H A Dscx_qmap.h110 u32 nr_shared; /* number of shared_cids entries */ member
H A Dscx_qmap.c195 if (qa->part.nr_shared && qa->part.nr_rr) { in print_hier()
/linux/arch/x86/xen/
H A 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/drivers/base/
H A Dcacheinfo.c1021 unsigned int nr_shared; in update_per_cpu_data_slice_size_cpu() local
1032 nr_shared = cpumask_weight(&llc->shared_cpu_map); in update_per_cpu_data_slice_size_cpu()
1033 if (nr_shared) in update_per_cpu_data_slice_size_cpu()
1034 ci->per_cpu_data_slice_size = llc->size / nr_shared; in update_per_cpu_data_slice_size_cpu()
1073 unsigned int nr_shared; in cacheinfo_cpu_pre_down() local
1075 nr_shared = cpu_map_shared_cache(false, cpu, &cpu_map); in cacheinfo_cpu_pre_down()
1080 if (nr_shared > 1) { in cacheinfo_cpu_pre_down()
/linux/arch/arm/xen/
H A Dgrant-table.c55 int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status) in arch_gnttab_init() argument
/linux/arch/x86/coco/tdx/
H A Dtdx.c44 static atomic_long_t nr_shared; variable
984 atomic_long_sub(numpages, &nr_shared); in tdx_enc_status_change_finish()
986 atomic_long_add(numpages, &nr_shared); in tdx_enc_status_change_finish()
1073 shared = atomic_long_read(&nr_shared); in tdx_kexec_finish()