Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mqueue/
H A Dmq_open_tests.c68 static inline void test_queue(struct mq_attr *attr, struct mq_attr *result);
69 static inline int test_queue_fail(struct mq_attr *attr, struct mq_attr *result);
200 static inline void test_queue(struct mq_attr *attr, struct mq_attr *result) in test_queue()
222 static inline int test_queue_fail(struct mq_attr *attr, struct mq_attr *result) in test_queue_fail()
241 struct mq_attr attr, result; in main()
H A Dmq_perf_tests.c100 struct mq_attr result;
162 static inline void open_queue(struct mq_attr *attr);
292 static inline void open_queue(struct mq_attr *attr) in open_queue()
545 struct mq_attr attr; in main()
/linux/ipc/
H A Dmqueue.c142 struct mq_attr attr;
292 struct mq_attr *attr) in mqueue_get_inode()
570 struct mq_attr *attr = arg; in mqueue_create_attr()
869 struct mq_attr *attr) in prepare_open()
895 struct mq_attr *attr) in do_mq_open()
945 struct mq_attr __user *, u_attr) in SYSCALL_DEFINE4()
947 struct mq_attr attr; in SYSCALL_DEFINE4()
948 if (u_attr && copy_from_user(&attr, u_attr, sizeof(struct mq_attr))) in SYSCALL_DEFINE4()
1453 static int do_mq_getsetattr(int mqdes, struct mq_attr *new, struct mq_attr *old) in do_mq_getsetattr()
1498 const struct mq_attr __user *, u_mqstat, in SYSCALL_DEFINE3()
[all …]
/linux/include/linux/
H A Daudit.h34 struct mq_attr;
410 extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr);
413 extern void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat);
473 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open()
488 static inline void audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in audit_mq_getsetattr()
654 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open()
663 static inline void audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in audit_mq_getsetattr()
H A Dsyscalls.h57 struct mq_attr;
712 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user…
717 asmlinkage long sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr __user *mqstat, struct mq_attr
/linux/include/uapi/linux/
H A Dmqueue.h28 struct mq_attr { struct
/linux/tools/testing/selftests/timers/
H A Dmqueue-lat.c62 struct mq_attr attr; in mqueue_lat_test()
/linux/kernel/
H A Daudit.h172 struct mq_attr mqstat;
187 struct mq_attr attr;
H A Dauditsc.c1446 struct mq_attr *attr = &context->mq_getsetattr.mqstat; in show_special()
2546 void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in __audit_mq_open()
2551 memcpy(&context->mq_open.attr, attr, sizeof(struct mq_attr)); in __audit_mq_open()
2553 memset(&context->mq_open.attr, 0, sizeof(struct mq_attr)); in __audit_mq_open()
2613 void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in __audit_mq_getsetattr()