Lines Matching refs:notification
1291 static int do_mq_notify(mqd_t mqdes, const struct sigevent *notification) in do_mq_notify() argument
1299 audit_mq_notify(mqdes, notification); in do_mq_notify()
1303 if (notification != NULL) { in do_mq_notify()
1304 if (unlikely(notification->sigev_notify != SIGEV_NONE && in do_mq_notify()
1305 notification->sigev_notify != SIGEV_SIGNAL && in do_mq_notify()
1306 notification->sigev_notify != SIGEV_THREAD)) in do_mq_notify()
1308 if (notification->sigev_notify == SIGEV_SIGNAL && in do_mq_notify()
1309 !valid_signal(notification->sigev_signo)) { in do_mq_notify()
1312 if (notification->sigev_notify == SIGEV_THREAD) { in do_mq_notify()
1321 notification->sigev_value.sival_ptr, in do_mq_notify()
1331 sock = netlink_getsockbyfd(notification->sigev_signo); in do_mq_notify()
1361 if (notification == NULL) { in do_mq_notify()
1370 switch (notification->sigev_notify) { in do_mq_notify()
1382 info->notify.sigev_signo = notification->sigev_signo; in do_mq_notify()
1383 info->notify.sigev_value = notification->sigev_value; in do_mq_notify()