Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.27 KB

bpf_cpumask_copy.md

File metadata and controls

43 lines (29 loc) · 1.27 KB
title description
KFunc 'bpf_cpumask_copy'
This page documents the 'bpf_cpumask_copy' eBPF kfunc, including its defintion, usage, program types that can use it, and examples.

KFunc bpf_cpumask_copy

:octicons-tag-24: 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.

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

Usage

!!! example "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

!!! example "Docs could be improved" This part of the docs is incomplete, contributions are very welcome