Lines Matching refs:notif
234 struct notification *notif; member
1062 return filter->notif->next_id++; in seccomp_next_notify_id()
1117 if (!match->notif) in seccomp_do_user_notification()
1125 list_add_tail(&n.list, &match->notif->notifications); in seccomp_do_user_notification()
1128 atomic_inc(&match->notif->requests); in seccomp_do_user_notification()
1129 if (match->notif->flags & SECCOMP_USER_NOTIF_FD_SYNC_WAKE_UP) in seccomp_do_user_notification()
1189 if (match->notif) in seccomp_do_user_notification()
1403 kfree(filter->notif); in seccomp_notify_free()
1404 filter->notif = NULL; in seccomp_notify_free()
1420 list_for_each_entry(knotif, &filter->notif->notifications, list) { in seccomp_notify_detach()
1457 list_for_each_entry(cur, &filter->notif->notifications, list) { in find_notification()
1479 if (atomic_dec_if_positive(&filter->notif->requests) >= 0) in recv_wait_event()
1485 if (atomic_dec_if_positive(&filter->notif->requests) >= 0) in recv_wait_event()
1518 list_for_each_entry(cur, &filter->notif->notifications, list) { in seccomp_notify_recv()
1561 atomic_inc(&filter->notif->requests); in seccomp_notify_recv()
1608 if (filter->notif->flags & SECCOMP_USER_NOTIF_FD_SYNC_WAKE_UP) in seccomp_notify_send()
1652 filter->notif->flags = flags; in seccomp_notify_set_flags()
1812 list_for_each_entry(cur, &filter->notif->notifications, list) { in seccomp_notify_poll()
1841 filter->notif = kzalloc(sizeof(*(filter->notif)), GFP_KERNEL); in init_listener()
1842 if (!filter->notif) in init_listener()
1845 filter->notif->next_id = get_random_u64(); in init_listener()
1846 INIT_LIST_HEAD(&filter->notif->notifications); in init_listener()
1878 if (!new_child->notif) in has_duplicate_listener()
1881 if (cur->notif) in has_duplicate_listener()