Home
last modified time | relevance | path

Searched refs:csd (Results 1 – 3 of 3) sorted by relevance

/kernel/
Dsmp.c32 call_single_data_t __percpu *csd; member
55 cfd->csd = alloc_percpu(call_single_data_t); in smpcfd_prepare_cpu()
56 if (!cfd->csd) { in smpcfd_prepare_cpu()
71 free_percpu(cfd->csd); in smpcfd_dead_cpu()
107 static __always_inline void csd_lock_wait(call_single_data_t *csd) in csd_lock_wait() argument
109 smp_cond_load_acquire(&csd->flags, !(VAL & CSD_FLAG_LOCK)); in csd_lock_wait()
112 static __always_inline void csd_lock(call_single_data_t *csd) in csd_lock() argument
114 csd_lock_wait(csd); in csd_lock()
115 csd->flags |= CSD_FLAG_LOCK; in csd_lock()
125 static __always_inline void csd_unlock(call_single_data_t *csd) in csd_unlock() argument
[all …]
Dup.c27 int smp_call_function_single_async(int cpu, call_single_data_t *csd) in smp_call_function_single_async() argument
32 csd->func(csd->info); in smp_call_function_single_async()
/kernel/debug/
Ddebug_core.c247 call_single_data_t *csd; in kgdb_roundup_cpus() local
257 csd = &per_cpu(kgdb_roundup_csd, cpu); in kgdb_roundup_cpus()
271 csd->func = kgdb_call_nmi_hook; in kgdb_roundup_cpus()
272 ret = smp_call_function_single_async(cpu, csd); in kgdb_roundup_cpus()