Home
last modified time | relevance | path

Searched refs:opnum (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c196 u64 length, int status, enum nfs_opnum4 opnum, in ds_error_can_merge() argument
200 return err->status == status && err->opnum == opnum && in ds_error_can_merge()
211 new->opnum, &new->stateid, &new->deviceid)) in merge_ds_error()
236 u64 length, int status, enum nfs_opnum4 opnum, in ff_layout_update_ds_error() argument
243 if (ds_error_can_merge(err, offset, length, status, opnum, in ff_layout_update_ds_error()
256 u64 length, int status, enum nfs_opnum4 opnum, in ff_layout_track_ds_error() argument
269 if (ff_layout_update_ds_error(flo, offset, length, status, opnum, in ff_layout_track_ds_error()
284 dserr->opnum = opnum; in ff_layout_track_ds_error()
519 *p++ = cpu_to_be32(err->opnum); in ff_layout_encode_ds_ioerr()
524 err->opnum, *count); in ff_layout_encode_ds_ioerr()
Dflexfilelayout.h39 enum nfs_opnum4 opnum; member
135 u64 length, int status, enum nfs_opnum4 opnum,
Dflexfilelayout.c832 u32 status, int opnum) in ff_layout_io_track_ds_error() argument
839 mirror, offset, length, status, opnum, in ff_layout_io_track_ds_error()
841 dprintk("%s: err %d op %d status %u\n", __func__, err, opnum, status); in ff_layout_io_track_ds_error()
/linux-4.1.27/fs/nfsd/
Dnfs4proc.c1450 static inline void nfsd4_increment_op_stats(u32 opnum) in nfsd4_increment_op_stats() argument
1452 if (opnum >= FIRST_NFS4_OP && opnum <= LAST_NFS4_OP) in nfsd4_increment_op_stats()
1453 nfsdstats.nfs4_opcount[opnum]++; in nfsd4_increment_op_stats()
1504 static const char *nfsd4_op_name(unsigned opnum);
1530 if (!(nfsd4_ops[op->opnum].op_flags & ALLOWED_AS_FIRST_OP)) in nfs41_check_op_ordering()
1532 if (op->opnum == OP_SEQUENCE) in nfs41_check_op_ordering()
1541 return &nfsd4_ops[op->opnum]; in OPDESC()
1546 if (op->opnum == OP_ILLEGAL) in nfsd4_cache_this_op()
1574 if (next->opnum == OP_ILLEGAL) in need_wrongsec_check()
1653 resp->opcnt, args->opcnt, op->opnum, in nfsd4_proc_compound()
[all …]
Dnfs4xdr.c1794 if (op->opnum < FIRST_NFS4_OP) in nfsd4_opnum_in_range()
1796 else if (argp->minorversion == 0 && op->opnum > LAST_NFS40_OP) in nfsd4_opnum_in_range()
1798 else if (argp->minorversion == 1 && op->opnum > LAST_NFS41_OP) in nfsd4_opnum_in_range()
1800 else if (argp->minorversion == 2 && op->opnum > LAST_NFS42_OP) in nfsd4_opnum_in_range()
1848 op->opnum = be32_to_cpup(p++); in nfsd4_decode_compound()
1851 op->status = nfsd4_dec_ops[op->opnum](argp, &op->u); in nfsd4_decode_compound()
1853 op->opnum = OP_ILLEGAL; in nfsd4_decode_compound()
1862 if (op->opnum == OP_READ) { in nfsd4_decode_compound()
1873 if (op->opnum == OP_LOCK) in nfsd4_decode_compound()
4324 *p++ = cpu_to_be32(op->opnum); in nfsd4_encode_operation()
[all …]
Dxdr4.h505 int opnum; member
608 return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; in nfsd4_is_solo_sequence()
/linux-4.1.27/fs/nfs/
Dnfs4xdr.c3055 uint32_t opnum; in __decode_op_hdr() local
3061 opnum = be32_to_cpup(p++); in __decode_op_hdr()
3062 if (unlikely(opnum != expected)) in __decode_op_hdr()
3073 opnum, expected); in __decode_op_hdr()
5280 uint32_t opnum; in decode_setclientid() local
5286 opnum = be32_to_cpup(p++); in decode_setclientid()
5287 if (opnum != OP_SETCLIENTID) { in decode_setclientid()
5289 " %d\n", opnum); in decode_setclientid()