Skip to content

KFunc bpf_cpumask_copy

v6.3

Copy the contents of a CPU-mask into a BPF CPU-mask.

Definition

dst: The BPF CPU-mask being copied into. src: The CPU-mask 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