Home
last modified time | relevance | path

Searched refs:msg_msg (Results 1 – 4 of 4) sorted by relevance

/ipc/
Dmsgutil.c42 #define DATALEN_MSG ((size_t)PAGE_SIZE-sizeof(struct msg_msg))
46 static struct msg_msg *alloc_msg(size_t len) in alloc_msg()
48 struct msg_msg *msg; in alloc_msg()
84 struct msg_msg *load_msg(const void __user *src, size_t len) in load_msg()
86 struct msg_msg *msg; in load_msg()
118 struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst) in copy_msg()
145 struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst) in copy_msg()
150 int store_msg(void __user *dest, struct msg_msg *msg, size_t len) in store_msg()
169 void free_msg(struct msg_msg *msg) in free_msg()
Dutil.h196 extern void free_msg(struct msg_msg *msg);
197 extern struct msg_msg *load_msg(const void __user *src, size_t len);
198 extern struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst);
199 extern int store_msg(void __user *dest, struct msg_msg *msg, size_t len);
Dmsg.c83 struct msg_msg *r_msg;
276 struct msg_msg *msg, *t; in freeque()
788 static int testmsg(struct msg_msg *msg, long type, int mode) in testmsg()
810 static inline int pipelined_send(struct msg_queue *msq, struct msg_msg *msg, in pipelined_send()
846 struct msg_msg *msg; in do_msgsnd()
1020 static long do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) in do_msg_fill()
1039 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy()
1041 struct msg_msg *copy; in prepare_copy()
1052 static inline void free_copy(struct msg_msg *copy) in free_copy()
1058 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy()
[all …]
Dmqueue.c130 struct msg_msg *msg; /* ptr of loaded message */
193 static int msg_insert(struct msg_msg *msg, struct mqueue_inode_info *info) in msg_insert()
250 static inline struct msg_msg *msg_get(struct mqueue_inode_info *info) in msg_get()
254 struct msg_msg *msg; in msg_get()
281 struct msg_msg, m_list); in msg_get()
368 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_get_inode()
516 struct msg_msg *msg, *nmsg; in mqueue_evict_inode()
542 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_evict_inode()
1035 struct msg_msg *message, in pipelined_send()
1068 struct msg_msg *msg_ptr; in do_mq_timedsend()
[all …]