kernel/sched/rq-offsets.c

Source file repositories/reference/linux-study-clean/kernel/sched/rq-offsets.c

File Facts

System
Linux kernel
Corpus path
kernel/sched/rq-offsets.c
Extension
.c
Size
217 bytes
Lines
13
Domain
Core OS
Bucket
Scheduler, Processes, Timers, Sync, And Syscalls
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
#define COMPILE_OFFSETS
#include <linux/kbuild.h>
#include <linux/types.h>
#include "sched.h"

int main(void)
{
	DEFINE(RQ_nr_pinned, offsetof(struct rq, nr_pinned));

	return 0;
}

Annotation

Implementation Notes