Skip to content

KFunc bpf_rbtree_left

v6.16

Traverses a RB tree node on the left.

Definition

Returns Pointer to bpf_rb_node of the left entry, or NULL if given node has no left element.

Signature

struct bpf_rb_node *bpf_rbtree_left(struct bpf_rb_root *root, struct bpf_rb_node *node)

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