Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/mqueue/
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()
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()
543 struct mq_attr attr; in main()
/linux-6.1.9/ipc/
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()
868 struct mq_attr *attr) in prepare_open()
894 struct mq_attr *attr) in do_mq_open()
943 struct mq_attr __user *, u_attr) in SYSCALL_DEFINE4()
945 struct mq_attr attr; in SYSCALL_DEFINE4()
946 if (u_attr && copy_from_user(&attr, u_attr, sizeof(struct mq_attr))) in SYSCALL_DEFINE4()
1452 static int do_mq_getsetattr(int mqdes, struct mq_attr *new, struct mq_attr *old) in do_mq_getsetattr()
1497 const struct mq_attr __user *, u_mqstat, in SYSCALL_DEFINE3()
[all …]
/linux-6.1.9/include/linux/
Daudit.h33 struct mq_attr;
408 extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr);
411 extern void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat);
471 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open()
486 static inline void audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in audit_mq_getsetattr()
652 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in audit_mq_open()
661 static inline void audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in audit_mq_getsetattr()
Dsyscalls.h57 struct mq_attr;
793 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user…
798 asmlinkage long sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr __user *mqstat, struct mq_attr
/linux-6.1.9/include/uapi/linux/
Dmqueue.h28 struct mq_attr { struct
/linux-6.1.9/tools/testing/selftests/timers/
Dmqueue-lat.c62 struct mq_attr attr; in mqueue_lat_test()
/linux-6.1.9/kernel/
Daudit.h172 struct mq_attr mqstat;
187 struct mq_attr attr;
Dauditsc.c1442 struct mq_attr *attr = &context->mq_getsetattr.mqstat; in show_special()
2540 void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) in __audit_mq_open()
2545 memcpy(&context->mq_open.attr, attr, sizeof(struct mq_attr)); in __audit_mq_open()
2547 memset(&context->mq_open.attr, 0, sizeof(struct mq_attr)); in __audit_mq_open()
2607 void __audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) in __audit_mq_getsetattr()