rust/helpers/poll.c

Source file repositories/reference/linux-study-clean/rust/helpers/poll.c

File Facts

System
Linux kernel
Corpus path
rust/helpers/poll.c
Extension
.c
Size
247 bytes
Lines
12
Domain
Rust Kernel Layer
Bucket
Rust API Membrane
Inferred role
Rust Kernel Layer: implementation source
Status
source implementation candidate

Why This File Exists

Rust-side wrappers and abstractions around kernel C APIs, ownership contracts, allocation, synchronization, and module integration.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0

#include <linux/export.h>
#include <linux/poll.h>

__rust_helper void rust_helper_poll_wait(struct file *filp,
					 wait_queue_head_t *wait_address,
					 poll_table *p)
{
	poll_wait(filp, wait_address, p);
}

Annotation

Implementation Notes