Lines Matching refs:opnum
2419 if (op->opnum < FIRST_NFS4_OP)
2421 else if (argp->minorversion == 0 && op->opnum > LAST_NFS40_OP)
2423 else if (argp->minorversion == 1 && op->opnum > LAST_NFS41_OP)
2425 else if (argp->minorversion == 2 && op->opnum > LAST_NFS42_OP)
2481 if (xdr_stream_decode_u32(argp->xdr, &op->opnum) < 0)
2485 op->status = nfsd4_dec_ops[op->opnum](argp, &op->u);
2489 op->opnum,
2492 op->opnum = OP_ILLEGAL;
2502 if (op->opnum == OP_READ || op->opnum == OP_READ_PLUS) {
2513 if (op->opnum == OP_LOCK || op->opnum == OP_LOCKT)
5395 *p++ = cpu_to_be32(op->opnum);
5398 if (op->opnum == OP_ILLEGAL)
5403 BUG_ON(op->opnum >= ARRAY_SIZE(nfsd4_enc_ops) ||
5404 !nfsd4_enc_ops[op->opnum]);
5405 encoder = nfsd4_enc_ops[op->opnum];
5408 trace_nfsd_compound_encode_err(rqstp, op->opnum, op->status);
5477 *p++ = cpu_to_be32(op->opnum);