Searched refs:msg (Results 1 - 10 of 10) sorted by relevance

/ipc/
H A Dmsgutil.c16 #include <linux/msg.h>
50 struct msg_msg *msg; local
55 msg = kmalloc(sizeof(*msg) + alen, GFP_KERNEL);
56 if (msg == NULL)
59 msg->next = NULL;
60 msg->security = NULL;
63 pseg = &msg->next;
76 return msg;
79 free_msg(msg);
85 struct msg_msg *msg; local
150 store_msg(void __user *dest, struct msg_msg *msg, size_t len) argument
169 free_msg(struct msg_msg *msg) argument
[all...]
H A Dmsg.c2 * linux/ipc/msg.c
11 * /proc/sysvipc/msg support (c) 1999 Dragos Acostachioaie <dragos@iname.com>
26 #include <linux/msg.h>
113 * newque - Create a new msg queue
214 struct msg_msg *msg, *t; local
223 list_for_each_entry_safe(msg, t, &msq->q_messages, m_list) {
225 free_msg(msg);
536 case MSG_STAT: /* msqid is an index rather than a msg queue id */
547 static int testmsg(struct msg_msg *msg, long type, int mode) argument
554 if (msg
569 pipelined_send(struct msg_queue *msq, struct msg_msg *msg) argument
611 struct msg_msg *msg; local
751 do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) argument
801 struct msg_msg *msg, *found = NULL; local
829 struct msg_msg *msg, *copy = NULL; local
[all...]
H A DMakefile6 obj-$(CONFIG_SYSVIPC) += util.o msgutil.o msg.o sem.o shm.o ipcns_notifier.o syscall.o
H A Dipcns_notifier.c12 #include <linux/msg.h>
H A Dmqueue.c25 #include <linux/msg.h>
62 struct msg_msg *msg; /* ptr of loaded message */ member in struct:ext_wait_queue
121 static int msg_insert(struct msg_msg *msg, struct mqueue_inode_info *info) argument
131 if (likely(leaf->priority == msg->m_type))
133 else if (msg->m_type < leaf->priority)
148 leaf->priority = msg->m_type;
153 info->qsize += msg->m_ts;
154 list_add_tail(&msg->m_list, &leaf->msg_list);
162 struct msg_msg *msg; local
198 msg
380 struct msg_msg *msg; local
[all...]
H A Dutil.h151 extern void free_msg(struct msg_msg *msg);
154 extern int store_msg(void __user *dest, struct msg_msg *msg, size_t len);
H A Dnamespace.c7 #include <linux/msg.h>
H A Dcompat.c27 #include <linux/msg.h>
310 static long compat_do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) argument
315 if (put_user(msg->m_type, &msgp->mtype))
318 msgsz = (bufsz > msg->m_ts) ? msg->m_ts : bufsz;
319 if (store_msg(msgp->mtext, msg, msgsz))
H A Dipc_sysctl.c18 #include <linux/msg.h>
H A Dutil.c46 #include <linux/msg.h>

Completed in 375 milliseconds