Skip to content

KFunc bpf_io_uring_submit_sqes

7.1

Submit a number of SQE's (Submission Queue Entry).

Definition

Parameters

loop_ctx: pointer to the struct iou_ctx to act on. nr: number of entries to submit.

Returns

The number of entries submitted or a negative error code.

Signature

int bpf_io_uring_submit_sqes(struct io_ring_ctx *ctx, u32 nr)

Note

This function may sleep, and therefore can only be used from sleepable programs.

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