Skip to content

KFunc bpf_res_spin_unlock_irqrestore

v6.15

Release a Resilient Queued Spin Lock (rqspinlock).

Definition

Releases the lock, restores Interrupt Request(IRQ) state from the stack and re-enables IRQs.

Signature

void bpf_res_spin_unlock_irqrestore(struct bpf_res_spin_lock *lock, long unsigned int *flags__irq_flag)

Usage

See bpf_res_spin_lock for details.

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