Skip to content

KFunc bpf_cpumask_clear_cpu

v6.3

Clear a bit for a CPU in a BPF CPU-mask.

Definition

cpu: The CPU to be cleared from the CPU-mask.

cpumask: The BPF CPU-mask in which a bit is being cleared.

void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask)

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome