arch/s390/include/uapi/asm/chsc.h
Source file repositories/reference/linux-study-clean/arch/s390/include/uapi/asm/chsc.h
File Facts
- System
- Linux kernel
- Corpus path
arch/s390/include/uapi/asm/chsc.h- Extension
.h- Size
- 2903 bytes
- Lines
- 145
- 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.
- 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
linux/types.hlinux/ioctl.hasm/chpid.hasm/schid.h
Detected Declarations
struct chsc_async_headerstruct chsc_async_areastruct chsc_headerstruct chsc_sync_areastruct chsc_response_structstruct chsc_chp_cdstruct chsc_cu_cdstruct chsc_sch_cudstruct conf_idstruct chsc_conf_infostruct ccl_parm_chpidstruct ccl_parm_cssidsstruct chsc_comp_liststruct chsc_dcalstruct chsc_cpd_info
Annotated Snippet
struct chsc_async_header {
__u16 length;
__u16 code;
__u32 cmd_dependend;
__u32 key : 4;
__u32 : 28;
struct subchannel_id sid;
};
struct chsc_async_area {
struct chsc_async_header header;
__u8 data[CHSC_SIZE - sizeof(struct chsc_async_header)];
};
struct chsc_header {
__u16 length;
__u16 code;
};
struct chsc_sync_area {
struct chsc_header header;
__u8 data[CHSC_SIZE - sizeof(struct chsc_header)];
};
struct chsc_response_struct {
__u16 length;
__u16 code;
__u32 parms;
__u8 data[CHSC_SIZE - 2 * sizeof(__u16) - sizeof(__u32)];
};
struct chsc_chp_cd {
struct chp_id chpid;
int m;
int fmt;
struct chsc_response_struct cpcb;
};
struct chsc_cu_cd {
__u16 cun;
__u8 cssid;
int m;
int fmt;
struct chsc_response_struct cucb;
};
struct chsc_sch_cud {
struct subchannel_id schid;
int fmt;
struct chsc_response_struct scub;
};
struct conf_id {
int m;
__u8 cssid;
__u8 ssid;
};
struct chsc_conf_info {
struct conf_id id;
int fmt;
struct chsc_response_struct scid;
};
struct ccl_parm_chpid {
int m;
struct chp_id chp;
};
struct ccl_parm_cssids {
__u8 f_cssid;
__u8 l_cssid;
};
struct chsc_comp_list {
struct {
enum {
CCL_CU_ON_CHP = 1,
CCL_CHP_TYPE_CAP = 2,
CCL_CSS_IMG = 4,
CCL_CSS_IMG_CONF_CHAR = 5,
CCL_IOP_CHP = 6,
} ctype;
int fmt;
struct ccl_parm_chpid chpid;
struct ccl_parm_cssids cssids;
} req;
struct chsc_response_struct sccl;
};
Annotation
- Immediate include surface: `linux/types.h`, `linux/ioctl.h`, `asm/chpid.h`, `asm/schid.h`.
- Detected declarations: `struct chsc_async_header`, `struct chsc_async_area`, `struct chsc_header`, `struct chsc_sync_area`, `struct chsc_response_struct`, `struct chsc_chp_cd`, `struct chsc_cu_cd`, `struct chsc_sch_cud`, `struct conf_id`, `struct chsc_conf_info`.
- Atlas domain: Architecture Layer / arch/s390.
- 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.