Xenomai  3.0.5

RTDM file operation descriptor. More...

Data Fields

int(* open )(struct rtdm_fd *fd, int oflags)
 See rtdm_open_handler(). More...
 
int(* socket )(struct rtdm_fd *fd, int protocol)
 See rtdm_socket_handler(). More...
 
void(* close )(struct rtdm_fd *fd)
 See rtdm_close_handler(). More...
 
int(* ioctl_rt )(struct rtdm_fd *fd, unsigned int request, void __user *arg)
 See rtdm_ioctl_handler(). More...
 
int(* ioctl_nrt )(struct rtdm_fd *fd, unsigned int request, void __user *arg)
 See rtdm_ioctl_handler(). More...
 
ssize_t(* read_rt )(struct rtdm_fd *fd, void __user *buf, size_t size)
 See rtdm_read_handler(). More...
 
ssize_t(* read_nrt )(struct rtdm_fd *fd, void __user *buf, size_t size)
 See rtdm_read_handler(). More...
 
ssize_t(* write_rt )(struct rtdm_fd *fd, const void __user *buf, size_t size)
 See rtdm_write_handler(). More...
 
ssize_t(* write_nrt )(struct rtdm_fd *fd, const void __user *buf, size_t size)
 See rtdm_write_handler(). More...
 
ssize_t(* recvmsg_rt )(struct rtdm_fd *fd, struct user_msghdr *msg, int flags)
 See rtdm_recvmsg_handler(). More...
 
ssize_t(* recvmsg_nrt )(struct rtdm_fd *fd, struct user_msghdr *msg, int flags)
 See rtdm_recvmsg_handler(). More...
 
ssize_t(* sendmsg_rt )(struct rtdm_fd *fd, const struct user_msghdr *msg, int flags)
 See rtdm_sendmsg_handler(). More...
 
ssize_t(* sendmsg_nrt )(struct rtdm_fd *fd, const struct user_msghdr *msg, int flags)
 See rtdm_sendmsg_handler(). More...
 
int(* select )(struct rtdm_fd *fd, struct xnselector *selector, unsigned int type, unsigned int index)
 See rtdm_select_handler(). More...
 
int(* mmap )(struct rtdm_fd *fd, struct vm_area_struct *vma)
 See rtdm_mmap_handler(). More...
 
unsigned long(* get_unmapped_area )(struct rtdm_fd *fd, unsigned long len, unsigned long pgoff, unsigned long flags)
 See rtdm_get_unmapped_area_handler(). More...
 

Detailed Description

RTDM file operation descriptor.

This structure describes the operations available with a RTDM device, defining handlers for submitting I/O requests. Those handlers are implemented by RTDM device drivers.

Field Documentation

◆ close

void(* rtdm_fd_ops::close) (struct rtdm_fd *fd)

◆ get_unmapped_area

unsigned long(* rtdm_fd_ops::get_unmapped_area) (struct rtdm_fd *fd, unsigned long len, unsigned long pgoff, unsigned long flags)

◆ ioctl_nrt

int(* rtdm_fd_ops::ioctl_nrt) (struct rtdm_fd *fd, unsigned int request, void __user *arg)

◆ ioctl_rt

int(* rtdm_fd_ops::ioctl_rt) (struct rtdm_fd *fd, unsigned int request, void __user *arg)

◆ mmap

int(* rtdm_fd_ops::mmap) (struct rtdm_fd *fd, struct vm_area_struct *vma)

◆ open

int(* rtdm_fd_ops::open) (struct rtdm_fd *fd, int oflags)

◆ read_nrt

ssize_t(* rtdm_fd_ops::read_nrt) (struct rtdm_fd *fd, void __user *buf, size_t size)

◆ read_rt

ssize_t(* rtdm_fd_ops::read_rt) (struct rtdm_fd *fd, void __user *buf, size_t size)

◆ recvmsg_nrt

ssize_t(* rtdm_fd_ops::recvmsg_nrt) (struct rtdm_fd *fd, struct user_msghdr *msg, int flags)

◆ recvmsg_rt

ssize_t(* rtdm_fd_ops::recvmsg_rt) (struct rtdm_fd *fd, struct user_msghdr *msg, int flags)

◆ select

int(* rtdm_fd_ops::select) (struct rtdm_fd *fd, struct xnselector *selector, unsigned int type, unsigned int index)

◆ sendmsg_nrt

ssize_t(* rtdm_fd_ops::sendmsg_nrt) (struct rtdm_fd *fd, const struct user_msghdr *msg, int flags)

◆ sendmsg_rt

ssize_t(* rtdm_fd_ops::sendmsg_rt) (struct rtdm_fd *fd, const struct user_msghdr *msg, int flags)

◆ socket

int(* rtdm_fd_ops::socket) (struct rtdm_fd *fd, int protocol)

◆ write_nrt

ssize_t(* rtdm_fd_ops::write_nrt) (struct rtdm_fd *fd, const void __user *buf, size_t size)

◆ write_rt

ssize_t(* rtdm_fd_ops::write_rt) (struct rtdm_fd *fd, const void __user *buf, size_t size)

The documentation for this struct was generated from the following file: