Lines Matching refs:notification
1306 static int do_mq_notify(mqd_t mqdes, const struct sigevent *notification) in do_mq_notify() argument
1315 audit_mq_notify(mqdes, notification); in do_mq_notify()
1319 if (notification != NULL) { in do_mq_notify()
1320 if (unlikely(notification->sigev_notify != SIGEV_NONE && in do_mq_notify()
1321 notification->sigev_notify != SIGEV_SIGNAL && in do_mq_notify()
1322 notification->sigev_notify != SIGEV_THREAD)) in do_mq_notify()
1324 if (notification->sigev_notify == SIGEV_SIGNAL && in do_mq_notify()
1325 !valid_signal(notification->sigev_signo)) { in do_mq_notify()
1328 if (notification->sigev_notify == SIGEV_THREAD) { in do_mq_notify()
1337 notification->sigev_value.sival_ptr, in do_mq_notify()
1347 f = fdget(notification->sigev_signo); in do_mq_notify()
1385 if (notification == NULL) { in do_mq_notify()
1393 switch (notification->sigev_notify) { in do_mq_notify()
1405 info->notify.sigev_signo = notification->sigev_signo; in do_mq_notify()
1406 info->notify.sigev_value = notification->sigev_value; in do_mq_notify()