include/uapi/linux/rio_cm_cdev.h
Source file repositories/reference/linux-study-clean/include/uapi/linux/rio_cm_cdev.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/linux/rio_cm_cdev.h- Extension
.h- Size
- 3248 bytes
- Lines
- 80
- 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/types.h
Detected Declarations
struct rio_cm_channelstruct rio_cm_msgstruct rio_cm_accept
Annotated Snippet
struct rio_cm_channel {
__u16 id;
__u16 remote_channel;
__u16 remote_destid;
__u8 mport_id;
};
struct rio_cm_msg {
__u16 ch_num;
__u16 size;
__u32 rxto; /* receive timeout in mSec. 0 = blocking */
__u64 msg;
};
struct rio_cm_accept {
__u16 ch_num;
__u16 pad0;
__u32 wait_to; /* accept timeout in mSec. 0 = blocking */
};
/* RapidIO Channelized Messaging Driver IOCTLs */
#define RIO_CM_IOC_MAGIC 'c'
#define RIO_CM_EP_GET_LIST_SIZE _IOWR(RIO_CM_IOC_MAGIC, 1, __u32)
#define RIO_CM_EP_GET_LIST _IOWR(RIO_CM_IOC_MAGIC, 2, __u32)
#define RIO_CM_CHAN_CREATE _IOWR(RIO_CM_IOC_MAGIC, 3, __u16)
#define RIO_CM_CHAN_CLOSE _IOW(RIO_CM_IOC_MAGIC, 4, __u16)
#define RIO_CM_CHAN_BIND _IOW(RIO_CM_IOC_MAGIC, 5, struct rio_cm_channel)
#define RIO_CM_CHAN_LISTEN _IOW(RIO_CM_IOC_MAGIC, 6, __u16)
#define RIO_CM_CHAN_ACCEPT _IOWR(RIO_CM_IOC_MAGIC, 7, struct rio_cm_accept)
#define RIO_CM_CHAN_CONNECT _IOW(RIO_CM_IOC_MAGIC, 8, struct rio_cm_channel)
#define RIO_CM_CHAN_SEND _IOW(RIO_CM_IOC_MAGIC, 9, struct rio_cm_msg)
#define RIO_CM_CHAN_RECEIVE _IOWR(RIO_CM_IOC_MAGIC, 10, struct rio_cm_msg)
#define RIO_CM_MPORT_GET_LIST _IOWR(RIO_CM_IOC_MAGIC, 11, __u32)
#endif /* _RIO_CM_CDEV_H_ */
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct rio_cm_channel`, `struct rio_cm_msg`, `struct rio_cm_accept`.
- 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.