include/linux/selection.h
Source file repositories/reference/linux-study-clean/include/linux/selection.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/selection.h- Extension
.h- Size
- 1713 bytes
- Lines
- 53
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- 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.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/tiocl.hlinux/vt_buffer.h
Detected Declarations
struct tty_structstruct vc_data
Annotated Snippet
#ifndef _LINUX_SELECTION_H_
#define _LINUX_SELECTION_H_
#include <linux/tiocl.h>
#include <linux/vt_buffer.h>
struct tty_struct;
struct vc_data;
void clear_selection(void);
int set_selection_user(const struct tiocl_selection __user *sel,
struct tty_struct *tty);
int set_selection_kernel(struct tiocl_selection *v, struct tty_struct *tty);
int paste_selection(struct tty_struct *tty);
int sel_loadlut(u32 __user *lut);
int mouse_reporting(void);
void mouse_report(struct tty_struct *tty, int butt, int mrx, int mry);
bool vc_is_sel(const struct vc_data *vc);
extern int console_blanked;
extern const unsigned char color_table[];
extern unsigned char default_red[];
extern unsigned char default_grn[];
extern unsigned char default_blu[];
unsigned short *screen_pos(const struct vc_data *vc, int w_offset, bool viewed);
u16 screen_glyph(const struct vc_data *vc, int offset);
u32 screen_glyph_unicode(const struct vc_data *vc, int offset);
void complement_pos(struct vc_data *vc, int offset);
void invert_screen(struct vc_data *vc, int offset, int count, bool viewed);
void getconsxy(const struct vc_data *vc, unsigned char xy[static 2]);
void putconsxy(struct vc_data *vc, unsigned char xy[static const 2]);
u16 vcs_scr_readw(const struct vc_data *vc, const u16 *org);
void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org);
void vcs_scr_updated(struct vc_data *vc);
int vc_uniscr_check(struct vc_data *vc);
void vc_uniscr_copy_line(const struct vc_data *vc, void *dest, bool viewed,
unsigned int row, unsigned int col, unsigned int nr);
#endif
Annotation
- Immediate include surface: `linux/tiocl.h`, `linux/vt_buffer.h`.
- Detected declarations: `struct tty_struct`, `struct vc_data`.
- Atlas domain: Core OS / Core Kernel Interface.
- 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.