Lines Matching refs:restrictions
1672 * Check SQE restrictions (opcode and flags).
1682 if (!test_bit(req->opcode, ctx->restrictions.sqe_op))
1685 if ((sqe_flags & ctx->restrictions.sqe_flags_required) !=
1686 ctx->restrictions.sqe_flags_required)
1689 if (sqe_flags & ~(ctx->restrictions.sqe_flags_allowed |
1690 ctx->restrictions.sqe_flags_required))
2189 if (ctx->restrictions.bpf_filters) {
2191 ctx->restrictions.bpf_filters->filters);
2195 io_put_bpf_filters(&ctx->restrictions);
2953 struct io_restriction *dst = &ctx->restrictions;
3026 * If the current task has restrictions enabled, then copy them to