Lines Matching refs:notification
1266 static int do_mq_notify(mqd_t mqdes, const struct sigevent *notification) in do_mq_notify() argument
1274 audit_mq_notify(mqdes, notification); in do_mq_notify()
1278 if (notification != NULL) { in do_mq_notify()
1279 if (unlikely(notification->sigev_notify != SIGEV_NONE && in do_mq_notify()
1280 notification->sigev_notify != SIGEV_SIGNAL && in do_mq_notify()
1281 notification->sigev_notify != SIGEV_THREAD)) in do_mq_notify()
1283 if (notification->sigev_notify == SIGEV_SIGNAL && in do_mq_notify()
1284 !valid_signal(notification->sigev_signo)) { in do_mq_notify()
1287 if (notification->sigev_notify == SIGEV_THREAD) { in do_mq_notify()
1296 notification->sigev_value.sival_ptr, in do_mq_notify()
1306 sock = netlink_getsockbyfd(notification->sigev_signo); in do_mq_notify()
1336 if (notification == NULL) { in do_mq_notify()
1345 switch (notification->sigev_notify) { in do_mq_notify()
1357 info->notify.sigev_signo = notification->sigev_signo; in do_mq_notify()
1358 info->notify.sigev_value = notification->sigev_value; in do_mq_notify()