Skip to content

KFunc bpf_cpumask_first_and

v6.5

Return the index of the first nonzero bit from the AND of two CPU-masks.

Definition

Find the index of the first nonzero bit of the AND of two CPU-masks. struct bpf_cpumask pointers may be safely passed to src1 and src2.

u32 bpf_cpumask_first_and(const struct cpumask *src1, const struct cpumask *src2)

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