Searched refs:mq_attr (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/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.10/ipc/ |
D | mqueue.c | 141 struct mq_attr attr; 293 struct mq_attr *attr) in mqueue_get_inode() 556 struct mq_attr *attr = arg; in mqueue_create_attr() 854 struct mq_attr *attr) in prepare_open() 880 struct mq_attr *attr) in do_mq_open() 929 struct mq_attr __user *, u_attr) in SYSCALL_DEFINE4() 931 struct mq_attr attr; in SYSCALL_DEFINE4() 932 if (u_attr && copy_from_user(&attr, u_attr, sizeof(struct mq_attr))) in SYSCALL_DEFINE4() 1436 static int do_mq_getsetattr(int mqdes, struct mq_attr *new, struct mq_attr *old) in do_mq_getsetattr() 1481 const struct mq_attr __user *, u_mqstat, in SYSCALL_DEFINE3() [all …]
|
/Linux-v5.10/include/linux/ |
D | audit.h | 32 struct mq_attr; 398 extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr); 401 extern void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat); 460 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() 475 static inline void audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in audit_mq_getsetattr() 633 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open() 642 static inline void audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in audit_mq_getsetattr()
|
D | syscalls.h | 57 struct mq_attr; 758 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user… 763 asmlinkage long sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr __user *mqstat, struct mq_attr …
|
/Linux-v5.10/include/uapi/linux/ |
D | mqueue.h | 28 struct mq_attr { struct
|
/Linux-v5.10/tools/testing/selftests/timers/ |
D | mqueue-lat.c | 62 struct mq_attr attr; in mqueue_lat_test()
|
/Linux-v5.10/kernel/ |
D | audit.h | 163 struct mq_attr mqstat; 178 struct mq_attr attr;
|
D | auditsc.c | 1292 struct mq_attr *attr = &context->mq_getsetattr.mqstat; in show_special() 2235 void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in __audit_mq_open() 2240 memcpy(&context->mq_open.attr, attr, sizeof(struct mq_attr)); in __audit_mq_open() 2242 memset(&context->mq_open.attr, 0, sizeof(struct mq_attr)); in __audit_mq_open() 2302 void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in __audit_mq_getsetattr()
|