Lines Matching refs:match
402 struct seccomp_filter **match) in seccomp_run_filters() argument
425 *match = f; in seccomp_run_filters()
1090 static bool should_sleep_killable(struct seccomp_filter *match, in should_sleep_killable() argument
1093 return match->wait_killable_recv && n->state == SECCOMP_NOTIFY_SENT; in should_sleep_killable()
1097 struct seccomp_filter *match, in seccomp_do_user_notification() argument
1106 mutex_lock(&match->notify_lock); in seccomp_do_user_notification()
1108 if (!match->notif) in seccomp_do_user_notification()
1114 n.id = seccomp_next_notify_id(match); in seccomp_do_user_notification()
1116 list_add_tail(&n.list, &match->notif->notifications); in seccomp_do_user_notification()
1119 up(&match->notif->request); in seccomp_do_user_notification()
1120 wake_up_poll(&match->wqh, EPOLLIN | EPOLLRDNORM); in seccomp_do_user_notification()
1126 bool wait_killable = should_sleep_killable(match, &n); in seccomp_do_user_notification()
1128 mutex_unlock(&match->notify_lock); in seccomp_do_user_notification()
1133 mutex_lock(&match->notify_lock); in seccomp_do_user_notification()
1140 if (!wait_killable && should_sleep_killable(match, &n)) in seccomp_do_user_notification()
1177 if (match->notif) in seccomp_do_user_notification()
1180 mutex_unlock(&match->notify_lock); in seccomp_do_user_notification()
1195 struct seccomp_filter *match = NULL; in __seccomp_filter() local
1210 filter_ret = seccomp_run_filters(sd, &match); in __seccomp_filter()
1274 if (seccomp_do_user_notification(this_syscall, match, sd)) in __seccomp_filter()
1312 seccomp_log(this_syscall, 0, action, match ? match->log : false); in __seccomp_filter()