arch/s390/kernel/bpf.c

Source file repositories/reference/linux-study-clean/arch/s390/kernel/bpf.c

File Facts

System
Linux kernel
Corpus path
arch/s390/kernel/bpf.c
Extension
.c
Size
214 bytes
Lines
13
Domain
Architecture Layer
Bucket
arch/s390
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
#include <asm/lowcore.h>
#include <linux/btf.h>

__bpf_kfunc_start_defs();

__bpf_kfunc struct lowcore *bpf_get_lowcore(void)
{
	return get_lowcore();
}

__bpf_kfunc_end_defs();

Annotation

Implementation Notes