Skip to content

KFunc bpf_cpumask_full

v6.3

Check if a cpumask has all bits set.

Definition

cpumask: The cpumask being checked.

Return: * true - All of the bits in cpumask are set. * false - At least one bit in cpumask is cleared.

A struct bpf_cpumask pointer may be safely passed to cpumask.

bool bpf_cpumask_full(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