Include dependency graph for rtai_mq.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | mq_attr |
struct | suprt_fun_arg |
Defines | |
#define | MQ_OPEN_MAX 8 |
#define | MQ_PRIO_MAX 32 |
#define | MQ_BLOCK 0 |
#define | MQ_NONBLOCK 1 |
#define | MQ_NAME_MAX 80 |
#define | MQ_MIN_MSG_PRIORITY 0 |
#define | MQ_MAX_MSG_PRIORITY MQ_PRIO_MAX |
#define | MAX_PQUEUES 4 |
#define | MAX_MSGSIZE 50 |
#define | MAX_MSGS 10 |
#define | O_NOTIFY_NP 0x1000 |
#define | INVALID_PQUEUE 0 |
#define | MQIDX 0 |
Typedefs | |
typedef mq_attr | MQ_ATTR |
typedef int | mqd_t |
Functions | |
static void | signal_suprt_fun_mq (struct suprt_fun_arg *fun_arg) |
static int | rt_request_signal_mq (mqd_t mq) |
static mqd_t | mq_open (char *mq_name, int oflags, mode_t permissions, struct mq_attr *mq_attr) |
static size_t | mq_receive (mqd_t mq, char *msg_buffer, size_t buflen, unsigned int *msgprio) |
static int | mq_send (mqd_t mq, const char *msg, size_t msglen, unsigned int msgprio) |
static int | mq_close (mqd_t mq) |
static int | mq_getattr (mqd_t mq, struct mq_attr *attrbuf) |
static int | mq_setattr (mqd_t mq, const struct mq_attr *new_attrs, struct mq_attr *old_attrs) |
static int | mq_notify (mqd_t mq, const struct sigevent *notification) |
static int | mq_unlink (char *mq_name) |
static size_t | mq_timedreceive (mqd_t mq, char *msg_buffer, size_t buflen, unsigned int *msgprio, const struct timespec *abstime) |
static int | mq_timedsend (mqd_t mq, const char *msg, size_t msglen, unsigned int msgprio, const struct timespec *abstime) |
#define INVALID_PQUEUE 0 |
#define MAX_PQUEUES 4 |
#define MQ_BLOCK 0 |
#define MQ_MIN_MSG_PRIORITY 0 |
#define MQ_NONBLOCK 1 |
#define MQ_OPEN_MAX 8 |
Definition at line 35 of file rtai_mq.h.
Referenced by _mq_open(), can_access(), is_blocking(), mq_close(), and mq_setattr().
#define MQ_PRIO_MAX 32 |
#define MQIDX 0 |
Definition at line 200 of file rtai_mq.h.
Referenced by mq_close(), mq_getattr(), mq_notify(), mq_open(), mq_receive(), mq_send(), mq_setattr(), mq_timedreceive(), mq_timedsend(), mq_unlink(), and signal_suprt_fun_mq().
#define O_NOTIFY_NP 0x1000 |
static int mq_close | ( | mqd_t | mq | ) | [inline, static] |
Definition at line 280 of file rtai_mq.h.
References rtai_lxrt_t::i, LOW, MQ_CLOSE, MQIDX, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
Definition at line 286 of file rtai_mq.h.
References rtai_lxrt_t::i, LOW, MQ_GETATTR, MQIDX, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int mq_notify | ( | mqd_t | mq, | |
const struct sigevent * | notification | |||
) | [inline, static] |
Definition at line 298 of file rtai_mq.h.
References LOW, MQ_NOTIFY, MQIDX, O_NOTIFY_NP, rt_buddy, rt_request_signal_mq(), rtai_lxrt(), SIZARG, and task.
Here is the call graph for this function:
static mqd_t mq_open | ( | char * | mq_name, | |
int | oflags, | |||
mode_t | permissions, | |||
struct mq_attr * | mq_attr | |||
) | [inline, static] |
Definition at line 255 of file rtai_mq.h.
References LOW, MQ_OPEN, MQIDX, O_NOTIFY_NP, rt_request_signal_mq(), rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static size_t mq_receive | ( | mqd_t | mq, | |
char * | msg_buffer, | |||
size_t | buflen, | |||
unsigned int * | msgprio | |||
) | [inline, static] |
Definition at line 268 of file rtai_mq.h.
References rtai_lxrt_t::i, LOW, MQ_RECEIVE, MQIDX, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int mq_send | ( | mqd_t | mq, | |
const char * | msg, | |||
size_t | msglen, | |||
unsigned int | msgprio | |||
) | [inline, static] |
Definition at line 274 of file rtai_mq.h.
References rtai_lxrt_t::i, LOW, MQ_SEND, MQIDX, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int mq_setattr | ( | mqd_t | mq, | |
const struct mq_attr * | new_attrs, | |||
struct mq_attr * | old_attrs | |||
) | [inline, static] |
Definition at line 292 of file rtai_mq.h.
References rtai_lxrt_t::i, LOW, MQ_SETATTR, MQIDX, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static size_t mq_timedreceive | ( | mqd_t | mq, | |
char * | msg_buffer, | |||
size_t | buflen, | |||
unsigned int * | msgprio, | |||
const struct timespec * | abstime | |||
) | [inline, static] |
Definition at line 317 of file rtai_mq.h.
References rtai_lxrt_t::i, LOW, MQ_TIMEDRECEIVE, MQIDX, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int mq_timedsend | ( | mqd_t | mq, | |
const char * | msg, | |||
size_t | msglen, | |||
unsigned int | msgprio, | |||
const struct timespec * | abstime | |||
) | [inline, static] |
Definition at line 323 of file rtai_mq.h.
References rtai_lxrt_t::i, LOW, MQ_TIMEDSEND, MQIDX, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int mq_unlink | ( | char * | mq_name | ) | [inline, static] |
Definition at line 311 of file rtai_mq.h.
References rtai_lxrt_t::i, LOW, MQ_UNLINK, MQIDX, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_request_signal_mq | ( | mqd_t | mq | ) | [inline, static] |
Definition at line 241 of file rtai_mq.h.
References suprt_fun_arg::cpuid, rtai_lxrt_t::i, LOW, rt_buddy, RT_SIGNAL_HELPER, rt_thread_create(), rtai_lxrt(), RTAI_SIGNALS_IDX, signal_suprt_fun_mq(), SIGNAL_TASK_STACK_SIZE, and suprt_fun_arg::task.
Referenced by _mq_notify(), mq_notify(), and mq_open().
Here is the call graph for this function:
static void signal_suprt_fun_mq | ( | struct suprt_fun_arg * | fun_arg | ) | [static] |
Definition at line 213 of file rtai_mq.h.
References suprt_fun_arg::cpuid, LOW, MAXSIGNALS, mlockall, suprt_fun_arg::mq, MQ_REG_USP_NOTIFIER, MQIDX, rt_get_name(), rt_make_hard_real_time(), rt_make_soft_real_time(), RT_SIGNAL_REQUEST, RT_SIGNAL_WAITSIG, rt_task_delete, rt_thread_init(), rtai_lxrt(), RTAI_SIGNALS_IDX, suprt_fun_arg::self, SIGNAL_TASK_INIPRIO, suprt_fun_arg::task, and task.
Referenced by rt_request_signal_mq().
Here is the call graph for this function: