Home
last modified time | relevance | path

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

/kernel/
Dpadata.c54 target_cpu = cpumask_first(pd->cpumask.pcpu); in padata_index_to_cpu()
56 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu()
67 int cpu_index = seq_nr % cpumask_weight(pd->cpumask.pcpu); in padata_cpu_hash()
269 pd->cpu = cpumask_next_wrap(cpu, pd->cpumask.pcpu, -1, false); in padata_find_next()
426 cpumask_copy(attrs->cpumask, pinst->cpumask.pcpu); in padata_setup_cpumasks()
551 for_each_cpu(cpu, pd->cpumask.pcpu) { in padata_init_reorder_list()
577 if (!alloc_cpumask_var(&pd->cpumask.pcpu, GFP_KERNEL)) in padata_alloc_pd()
582 cpumask_and(pd->cpumask.pcpu, pinst->cpumask.pcpu, cpu_online_mask); in padata_alloc_pd()
590 pd->cpu = cpumask_first(pd->cpumask.pcpu); in padata_alloc_pd()
596 free_cpumask_var(pd->cpumask.pcpu); in padata_alloc_pd()
[all …]
Dsmp.c90 struct cfd_percpu __percpu *pcpu; member
113 cfd->pcpu = alloc_percpu(struct cfd_percpu); in smpcfd_prepare_cpu()
114 if (!cfd->pcpu) { in smpcfd_prepare_cpu()
129 free_percpu(cfd->pcpu); in smpcfd_dead_cpu()
290 struct cfd_percpu *pcpu = per_cpu_ptr(cfd->pcpu, cpu); in csd_lock_print_extended() local
298 cfd_seq_data_add(pcpu->seq_queue, srccpu, cpu, CFD_SEQ_QUEUE, data, &n_data, now); in csd_lock_print_extended()
299 cfd_seq_data_add(pcpu->seq_ipi, srccpu, cpu, CFD_SEQ_IPI, data, &n_data, now); in csd_lock_print_extended()
300 cfd_seq_data_add(pcpu->seq_noipi, srccpu, cpu, CFD_SEQ_NOIPI, data, &n_data, now); in csd_lock_print_extended()
419 struct cfd_percpu *pcpu = per_cpu_ptr(cfd->pcpu, cpu); in __smp_call_single_queue_debug() local
421 cfd_seq_store(pcpu->seq_queue, this_cpu, cpu, CFD_SEQ_QUEUE); in __smp_call_single_queue_debug()
[all …]
Dmodule-internal.h27 unsigned int sym, str, mod, vers, info, pcpu; member
Dmodule.c596 Elf_Shdr *pcpusec = &info->sechdrs[info->index.pcpu]; in percpu_modalloc()
692 if (info->sechdrs[info->index.pcpu].sh_size != 0) in percpu_modalloc()
2394 if (sym[i].st_shndx == info->index.pcpu) in simplify_symbols()
2688 if (sym->st_shndx == SHN_ABS || sym->st_shndx == info->index.pcpu) in elf_type()
2769 info->index.pcpu)) { in layout_symtab()
2833 info->index.pcpu)) { in add_kallsyms()
3321 info->index.pcpu = find_pcpusec(info); in setup_load_info()
3642 info->sechdrs[info->index.pcpu].sh_flags &= ~(unsigned long)SHF_ALLOC; in layout_and_allocate()
3711 percpu_modcopy(mod, (void *)info->sechdrs[info->index.pcpu].sh_addr, in post_relocation()
3712 info->sechdrs[info->index.pcpu].sh_size); in post_relocation()
/kernel/sched/
Dpsi.c187 .pcpu = &system_group_pcpu,
199 seqcount_init(&per_cpu_ptr(group->pcpu, cpu)->seq); in group_init()
261 struct psi_group_cpu *groupc = per_cpu_ptr(group->pcpu, cpu); in get_recent_times()
741 groupc = per_cpu_ptr(group->pcpu, cpu); in psi_group_change()
893 per_cpu_ptr(group->pcpu, cpu)->tasks[NR_ONCPU]) { in psi_task_switch()
1003 cgroup->psi.pcpu = alloc_percpu(struct psi_group_cpu); in psi_cgroup_alloc()
1004 if (!cgroup->psi.pcpu) in psi_cgroup_alloc()
1016 free_percpu(cgroup->psi.pcpu); in psi_cgroup_free()