Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpumask.h Create Date:2022-07-28 05:34:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pumask_test_and_clear_cpu - atomically test and clear a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in old bitmap of @cpumask, else returns 0* test_and_clear_bit wrapper for cpumasks.

Proto:static inline int cpumask_test_and_clear_cpu(int cpu, struct cpumask *cpumask)

Type:int

Parameter:

TypeParameterName
intcpu
struct cpumask *cpumask
388  Return st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).
Caller
NameDescribe
clear_childcpus
resctrl_offline_cpu
test_nmi_ipi_callback
set_cpu_online
irq_spread_init_one
tick_broadcast_controlk_broadcast_control - Enable/disable or force broadcast mode*@mode: The selected broadcast mode* Called when the system enters a state where affected tick devices* might stop. Note: TICK_BROADCAST_FORCE cannot be undone.