Searched refs:pcpu (Results 1 – 6 of 6) sorted by relevance
/kernel/ |
D | padata.c | 54 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 …]
|
D | smp.c | 90 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() 294 struct cfd_percpu *pcpu = per_cpu_ptr(cfd->pcpu, cpu); in csd_lock_print_extended() local 302 cfd_seq_data_add(pcpu->seq_queue, srccpu, cpu, CFD_SEQ_QUEUE, data, &n_data, now); in csd_lock_print_extended() 303 cfd_seq_data_add(pcpu->seq_ipi, srccpu, cpu, CFD_SEQ_IPI, data, &n_data, now); in csd_lock_print_extended() 304 cfd_seq_data_add(pcpu->seq_noipi, srccpu, cpu, CFD_SEQ_NOIPI, data, &n_data, now); in csd_lock_print_extended() 432 struct cfd_percpu *pcpu = per_cpu_ptr(cfd->pcpu, cpu); in __smp_call_single_queue_debug() local 434 cfd_seq_store(pcpu->seq_queue, this_cpu, cpu, CFD_SEQ_QUEUE); in __smp_call_single_queue_debug() [all …]
|
/kernel/sched/ |
D | psi.c | 173 .pcpu = &system_group_pcpu, 186 seqcount_init(&per_cpu_ptr(group->pcpu, cpu)->seq); in group_init() 245 struct psi_group_cpu *groupc = per_cpu_ptr(group->pcpu, cpu); in get_recent_times() 740 groupc = per_cpu_ptr(group->pcpu, cpu); in psi_group_change() 896 if (per_cpu_ptr(group->pcpu, cpu)->state_mask & in psi_task_switch() 975 groupc = per_cpu_ptr(group->pcpu, cpu); in psi_account_irqtime() 1062 cgroup->psi->pcpu = alloc_percpu(struct psi_group_cpu); in psi_cgroup_alloc() 1063 if (!cgroup->psi->pcpu) { in psi_cgroup_alloc() 1078 free_percpu(cgroup->psi->pcpu); in psi_cgroup_free()
|
/kernel/module/ |
D | kallsyms.c | 49 if (sym->st_shndx == SHN_ABS || sym->st_shndx == info->index.pcpu) in elf_type() 130 info->index.pcpu)) { in layout_symtab() 201 info->index.pcpu)) { in add_kallsyms()
|
D | main.c | 376 Elf_Shdr *pcpusec = &info->sechdrs[info->index.pcpu]; in percpu_modalloc() 472 if (info->sechdrs[info->index.pcpu].sh_size != 0) in percpu_modalloc() 1381 if (sym[i].st_shndx == info->index.pcpu) in simplify_symbols() 1990 info->index.pcpu = find_pcpusec(info); in setup_load_info() 2345 info->sechdrs[info->index.pcpu].sh_flags &= ~(unsigned long)SHF_ALLOC; in layout_and_allocate() 2411 percpu_modcopy(mod, (void *)info->sechdrs[info->index.pcpu].sh_addr, in post_relocation() 2412 info->sechdrs[info->index.pcpu].sh_size); in post_relocation()
|
D | internal.h | 77 unsigned int sym, str, mod, vers, info, pcpu; member
|