rust/helpers/bitmap.c

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

File Facts

System
Linux kernel
Corpus path
rust/helpers/bitmap.c
Extension
.c
Size
257 bytes
Lines
11
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/bitmap.h>

__rust_helper
void rust_helper_bitmap_copy_and_extend(unsigned long *to, const unsigned long *from,
		unsigned int count, unsigned int size)
{
	bitmap_copy_and_extend(to, from, count, size);
}

Annotation

Implementation Notes