Searched refs:mq_attr (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/tools/testing/selftests/mqueue/ |
| D | mq_open_tests.c | 68 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()
|
| D | mq_perf_tests.c | 100 struct mq_attr result; 162 static inline void open_queue(struct mq_attr *attr); 289 static inline void open_queue(struct mq_attr *attr) in open_queue() 540 struct mq_attr attr; in main()
|
| /Linux-v5.4/ipc/ |
| D | mqueue.c | 81 struct mq_attr attr; 233 struct mq_attr *attr) in mqueue_get_inode() 496 struct mq_attr *attr = arg; in mqueue_create_attr() 773 struct mq_attr *attr) in prepare_open() 799 struct mq_attr *attr) in do_mq_open() 848 struct mq_attr __user *, u_attr) in SYSCALL_DEFINE4() 850 struct mq_attr attr; in SYSCALL_DEFINE4() 851 if (u_attr && copy_from_user(&attr, u_attr, sizeof(struct mq_attr))) in SYSCALL_DEFINE4() 1350 static int do_mq_getsetattr(int mqdes, struct mq_attr *new, struct mq_attr *old) in do_mq_getsetattr() 1395 const struct mq_attr __user *, u_mqstat, in SYSCALL_DEFINE3() [all …]
|
| /Linux-v5.4/include/linux/ |
| D | audit.h | 31 struct mq_attr; 368 extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr); 371 extern void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat); 428 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() 443 static inline void audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in audit_mq_getsetattr() 599 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() 608 static inline void audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in audit_mq_getsetattr()
|
| D | syscalls.h | 59 struct mq_attr; 753 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user… 758 asmlinkage long sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr __user *mqstat, struct mq_attr …
|
| /Linux-v5.4/include/uapi/linux/ |
| D | mqueue.h | 28 struct mq_attr { struct
|
| /Linux-v5.4/tools/testing/selftests/timers/ |
| D | mqueue-lat.c | 62 struct mq_attr attr; in mqueue_lat_test()
|
| /Linux-v5.4/kernel/ |
| D | audit.h | 163 struct mq_attr mqstat; 178 struct mq_attr attr;
|
| D | auditsc.c | 1263 struct mq_attr *attr = &context->mq_getsetattr.mqstat; in show_special() 2193 void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in __audit_mq_open() 2198 memcpy(&context->mq_open.attr, attr, sizeof(struct mq_attr)); in __audit_mq_open() 2200 memset(&context->mq_open.attr, 0, sizeof(struct mq_attr)); in __audit_mq_open() 2260 void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in __audit_mq_getsetattr()
|