Skip to content

KFunc bpf_cpumask_copy

v6.3

Copy the contents of a cpumask into a BPF cpumask.

Definition

dst: The BPF cpumask being copied into. src: The cpumask being copied.

A struct bpf_cpumask pointer may be safely passed to src.

void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src)

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