Lines Matching refs:opnum
2190 if (op->opnum < FIRST_NFS4_OP) in nfsd4_opnum_in_range()
2192 else if (argp->minorversion == 0 && op->opnum > LAST_NFS40_OP) in nfsd4_opnum_in_range()
2194 else if (argp->minorversion == 1 && op->opnum > LAST_NFS41_OP) in nfsd4_opnum_in_range()
2196 else if (argp->minorversion == 2 && op->opnum > LAST_NFS42_OP) in nfsd4_opnum_in_range()
2249 op->opnum = be32_to_cpup(p++); in nfsd4_decode_compound()
2252 op->status = nfsd4_dec_ops[op->opnum](argp, &op->u); in nfsd4_decode_compound()
2254 op->opnum = OP_ILLEGAL; in nfsd4_decode_compound()
2264 if (op->opnum == OP_READ || op->opnum == OP_READ_PLUS) { in nfsd4_decode_compound()
2275 if (op->opnum == OP_LOCK || op->opnum == OP_LOCKT) in nfsd4_decode_compound()
5186 *p++ = cpu_to_be32(op->opnum); in nfsd4_encode_operation()
5189 if (op->opnum == OP_ILLEGAL) in nfsd4_encode_operation()
5194 BUG_ON(op->opnum < 0 || op->opnum >= ARRAY_SIZE(nfsd4_enc_ops) || in nfsd4_encode_operation()
5195 !nfsd4_enc_ops[op->opnum]); in nfsd4_encode_operation()
5196 encoder = nfsd4_enc_ops[op->opnum]; in nfsd4_encode_operation()
5260 *p++ = cpu_to_be32(op->opnum); in nfsd4_encode_replay()