io_uring/bpf-ops.h

Source file repositories/reference/linux-study-clean/io_uring/bpf-ops.h

File Facts

System
Linux kernel
Corpus path
io_uring/bpf-ops.h
Extension
.h
Size
496 bytes
Lines
29
Domain
Kernel Services
Bucket
io_uring
Inferred role
Kernel Services: implementation source
Status
source implementation candidate

Why This File Exists

Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.

Dependency Surface

Detected Declarations

Annotated Snippet

struct io_uring_bpf_ops {
	int (*loop_step)(struct iou_ctx *, struct iou_loop_params *lp);

	__u32 ring_fd;
	void *priv;
};

#ifdef CONFIG_IO_URING_BPF_OPS
void io_unregister_bpf_ops(struct io_ring_ctx *ctx);
#else
static inline void io_unregister_bpf_ops(struct io_ring_ctx *ctx)
{
}
#endif

#endif /* IOU_BPF_OPS_H */

Annotation

Implementation Notes