arch/x86/include/uapi/asm/msgbuf.h
Source file repositories/reference/linux-study-clean/arch/x86/include/uapi/asm/msgbuf.h
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/include/uapi/asm/msgbuf.h- Extension
.h- Size
- 1079 bytes
- Lines
- 36
- Domain
- Architecture Layer
- Bucket
- arch/x86
- 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
asm-generic/msgbuf.hasm/ipcbuf.h
Detected Declarations
struct msqid64_ds
Annotated Snippet
struct msqid64_ds {
struct ipc64_perm msg_perm;
__kernel_long_t msg_stime; /* last msgsnd time */
__kernel_long_t msg_rtime; /* last msgrcv time */
__kernel_long_t msg_ctime; /* last change time */
__kernel_ulong_t msg_cbytes; /* current number of bytes on queue */
__kernel_ulong_t msg_qnum; /* number of messages in queue */
__kernel_ulong_t msg_qbytes; /* max number of bytes on queue */
__kernel_pid_t msg_lspid; /* pid of last msgsnd */
__kernel_pid_t msg_lrpid; /* last receive pid */
__kernel_ulong_t __unused4;
__kernel_ulong_t __unused5;
};
#endif
#endif /* __ASM_GENERIC_MSGBUF_H */
Annotation
- Immediate include surface: `asm-generic/msgbuf.h`, `asm/ipcbuf.h`.
- Detected declarations: `struct msqid64_ds`.
- Atlas domain: Architecture Layer / arch/x86.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.