Lines Matching refs:notification
1316 static int do_mq_notify(mqd_t mqdes, const struct sigevent *notification) in do_mq_notify() argument
1325 audit_mq_notify(mqdes, notification); in do_mq_notify()
1329 if (notification != NULL) { in do_mq_notify()
1330 if (unlikely(notification->sigev_notify != SIGEV_NONE && in do_mq_notify()
1331 notification->sigev_notify != SIGEV_SIGNAL && in do_mq_notify()
1332 notification->sigev_notify != SIGEV_THREAD)) in do_mq_notify()
1334 if (notification->sigev_notify == SIGEV_SIGNAL && in do_mq_notify()
1335 !valid_signal(notification->sigev_signo)) { in do_mq_notify()
1338 if (notification->sigev_notify == SIGEV_THREAD) { in do_mq_notify()
1347 notification->sigev_value.sival_ptr, in do_mq_notify()
1357 f = fdget(notification->sigev_signo); in do_mq_notify()
1395 if (notification == NULL) { in do_mq_notify()
1403 switch (notification->sigev_notify) { in do_mq_notify()
1415 info->notify.sigev_signo = notification->sigev_signo; in do_mq_notify()
1416 info->notify.sigev_value = notification->sigev_value; in do_mq_notify()