Skip to content

KFunc bpf_cpumask_first_zero

v6.3

Get the index of the first unset bit in the CPU-mask.

Definition

Find the index of the first unset bit of the CPU-mask. A struct bpf_cpumask pointer may be safely passed to this function.

u32 bpf_cpumask_first_zero(const struct 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