Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\up.c Create Date:2022-07-28 10:56:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Note we still need to test the mask even for UP* because we actually can get an empty mask from* code that on SMP might call us without the local* CPU in the mask.

Proto:void on_each_cpu_mask(const struct cpumask *mask, smp_call_func_t func, void *info, bool wait)

Type:void

Parameter:

TypeParameterName
const struct cpumask *mask
smp_call_func_tfunc
void *info
boolwait
59  If pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 Then
60  local_irq_save(flags)
61  func(info)
62  local_irq_restore(flags)