Lines Matching refs:opnum
1887 if (op->opnum < FIRST_NFS4_OP) in nfsd4_opnum_in_range()
1889 else if (argp->minorversion == 0 && op->opnum > LAST_NFS40_OP) in nfsd4_opnum_in_range()
1891 else if (argp->minorversion == 1 && op->opnum > LAST_NFS41_OP) in nfsd4_opnum_in_range()
1893 else if (argp->minorversion == 2 && op->opnum > LAST_NFS42_OP) in nfsd4_opnum_in_range()
1946 op->opnum = be32_to_cpup(p++); in nfsd4_decode_compound()
1949 op->status = nfsd4_dec_ops[op->opnum](argp, &op->u); in nfsd4_decode_compound()
1951 op->opnum = OP_ILLEGAL; in nfsd4_decode_compound()
1961 if (op->opnum == OP_READ) { in nfsd4_decode_compound()
1972 if (op->opnum == OP_LOCK || op->opnum == OP_LOCKT) in nfsd4_decode_compound()
4420 *p++ = cpu_to_be32(op->opnum); in nfsd4_encode_operation()
4423 if (op->opnum == OP_ILLEGAL) in nfsd4_encode_operation()
4428 BUG_ON(op->opnum < 0 || op->opnum >= ARRAY_SIZE(nfsd4_enc_ops) || in nfsd4_encode_operation()
4429 !nfsd4_enc_ops[op->opnum]); in nfsd4_encode_operation()
4430 encoder = nfsd4_enc_ops[op->opnum]; in nfsd4_encode_operation()
4496 *p++ = cpu_to_be32(op->opnum); in nfsd4_encode_replay()