include/uapi/misc/fastrpc.h
Source file repositories/reference/linux-study-clean/include/uapi/misc/fastrpc.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/misc/fastrpc.h- Extension
.h- Size
- 4455 bytes
- Lines
- 144
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct fastrpc_invoke_argsstruct fastrpc_invokestruct fastrpc_init_createstruct fastrpc_init_create_staticstruct fastrpc_alloc_dma_bufstruct fastrpc_req_mmapstruct fastrpc_mem_mapstruct fastrpc_req_munmapstruct fastrpc_mem_unmapstruct fastrpc_ioctl_capabilityenum fastrpc_map_flagsenum fastrpc_proc_attr
Annotated Snippet
struct fastrpc_invoke_args {
__u64 ptr;
__u64 length;
__s32 fd;
__u32 attr;
};
struct fastrpc_invoke {
__u32 handle;
__u32 sc;
__u64 args;
};
struct fastrpc_init_create {
__u32 filelen; /* elf file length */
__s32 filefd; /* fd for the file */
__u32 attrs;
__u32 siglen;
__u64 file; /* pointer to elf file */
};
struct fastrpc_init_create_static {
__u32 namelen; /* length of pd process name */
__u32 memlen;
__u64 name; /* pd process name */
};
struct fastrpc_alloc_dma_buf {
__s32 fd; /* fd */
__u32 flags; /* flags to map with */
__u64 size; /* size */
};
struct fastrpc_req_mmap {
__s32 fd;
__u32 flags; /* flags for dsp to map with */
__u64 vaddrin; /* optional virtual address */
__u64 size; /* size */
__u64 vaddrout; /* dsp virtual address */
};
struct fastrpc_mem_map {
__s32 version;
__s32 fd; /* fd */
__s32 offset; /* buffer offset */
__u32 flags; /* flags defined in enum fastrpc_map_flags */
__u64 vaddrin; /* buffer virtual address */
__u64 length; /* buffer length */
__u64 vaddrout; /* [out] remote virtual address */
__s32 attrs; /* buffer attributes used for SMMU mapping */
__s32 reserved[4];
};
struct fastrpc_req_munmap {
__u64 vaddrout; /* address to unmap */
__u64 size; /* size */
};
struct fastrpc_mem_unmap {
__s32 vesion;
__s32 fd; /* fd */
__u64 vaddr; /* remote process (dsp) virtual address */
__u64 length; /* buffer size */
__s32 reserved[5];
};
struct fastrpc_ioctl_capability {
__u32 unused; /* deprecated, ignored by the kernel */
__u32 attribute_id;
__u32 capability; /* dsp capability */
__u32 reserved[4];
};
#endif /* __QCOM_FASTRPC_H__ */
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct fastrpc_invoke_args`, `struct fastrpc_invoke`, `struct fastrpc_init_create`, `struct fastrpc_init_create_static`, `struct fastrpc_alloc_dma_buf`, `struct fastrpc_req_mmap`, `struct fastrpc_mem_map`, `struct fastrpc_req_munmap`, `struct fastrpc_mem_unmap`, `struct fastrpc_ioctl_capability`.
- Atlas domain: Repository Root And Misc / include.
- 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.