Home
last modified time | relevance | path

Searched refs:mq_attr (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/ipc/
Dcompat_mq.c25 static inline int get_compat_mq_attr(struct mq_attr *attr, in get_compat_mq_attr()
37 static inline int put_compat_mq_attr(const struct mq_attr *attr, in put_compat_mq_attr()
55 struct mq_attr attr; in compat_sys_mq_open()
129 struct mq_attr mqstat; in compat_sys_mq_getsetattr()
130 struct mq_attr __user *p = compat_alloc_user_space(2 * sizeof(*p)); in compat_sys_mq_getsetattr()
Dmqueue.c64 struct mq_attr attr;
112 struct mq_attr *attr) in mqueue_get_inode()
299 struct mq_attr *attr = dentry->d_fsdata; in mqueue_create()
585 static int mq_attr_ok(struct ipc_namespace *ipc_ns, struct mq_attr *attr) in mq_attr_ok()
612 struct mq_attr *attr) in do_create()
681 struct mq_attr __user *, u_attr) in SYSCALL_DEFINE4()
686 struct mq_attr attr; in SYSCALL_DEFINE4()
690 if (u_attr && copy_from_user(&attr, u_attr, sizeof(struct mq_attr))) in SYSCALL_DEFINE4()
1162 const struct mq_attr __user *, u_mqstat, in SYSCALL_DEFINE3()
1163 struct mq_attr __user *, u_omqstat) in SYSCALL_DEFINE3()
[all …]
/linux-2.6.39/include/linux/
Dmqueue.h25 struct mq_attr { struct
Daudit.h379 struct mq_attr;
477 extern void __audit_mq_open(int oflag, mode_t mode, struct mq_attr *attr);
480 extern void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat);
502 static inline void audit_mq_open(int oflag, mode_t mode, struct mq_attr *attr) in audit_mq_open()
517 static inline void audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in audit_mq_getsetattr()
Dsyscalls.h58 struct mq_attr;
680 asmlinkage long sys_mq_open(const char __user *name, int oflag, mode_t mode, struct mq_attr __user …
685 asmlinkage long sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr __user *mqstat, struct mq_attr
/linux-2.6.39/kernel/
Dauditsc.c223 struct mq_attr mqstat;
238 struct mq_attr attr;
1298 struct mq_attr *attr = &context->mq_getsetattr.mqstat; in show_special()
2156 void __audit_mq_open(int oflag, mode_t mode, struct mq_attr *attr) in __audit_mq_open()
2161 memcpy(&context->mq_open.attr, attr, sizeof(struct mq_attr)); in __audit_mq_open()
2163 memset(&context->mq_open.attr, 0, sizeof(struct mq_attr)); in __audit_mq_open()
2223 void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in __audit_mq_getsetattr()