Home
last modified time | relevance | path

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

/linux-4.4.14/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c222 u64 length, int status, enum nfs_opnum4 opnum, in ds_error_can_merge() argument
226 return err->status == status && err->opnum == opnum && in ds_error_can_merge()
237 new->opnum, &new->stateid, &new->deviceid)) in merge_ds_error()
262 u64 length, int status, enum nfs_opnum4 opnum, in ff_layout_update_ds_error() argument
269 if (ds_error_can_merge(err, offset, length, status, opnum, in ff_layout_update_ds_error()
282 u64 length, int status, enum nfs_opnum4 opnum, in ff_layout_track_ds_error() argument
295 if (ff_layout_update_ds_error(flo, offset, length, status, opnum, in ff_layout_track_ds_error()
310 dserr->opnum = opnum; in ff_layout_track_ds_error()
534 *p++ = cpu_to_be32(err->opnum); in ff_layout_encode_ds_ioerr()
539 err->opnum, *count); in ff_layout_encode_ds_ioerr()
Dflexfilelayout.h45 enum nfs_opnum4 opnum; member
174 u64 length, int status, enum nfs_opnum4 opnum,
Dflexfilelayout.c1132 u32 status, int opnum, int error) in ff_layout_io_track_ds_error() argument
1164 mirror, offset, length, status, opnum, in ff_layout_io_track_ds_error()
1167 dprintk("%s: err %d op %d status %u\n", __func__, err, opnum, status); in ff_layout_io_track_ds_error()
/linux-4.4.14/fs/nfsd/
Dnfs4proc.c1439 static inline void nfsd4_increment_op_stats(u32 opnum) in nfsd4_increment_op_stats() argument
1441 if (opnum >= FIRST_NFS4_OP && opnum <= LAST_NFS4_OP) in nfsd4_increment_op_stats()
1442 nfsdstats.nfs4_opcount[opnum]++; in nfsd4_increment_op_stats()
1493 static const char *nfsd4_op_name(unsigned opnum);
1519 if (!(nfsd4_ops[op->opnum].op_flags & ALLOWED_AS_FIRST_OP)) in nfs41_check_op_ordering()
1521 if (op->opnum == OP_SEQUENCE) in nfs41_check_op_ordering()
1530 return &nfsd4_ops[op->opnum]; in OPDESC()
1535 if (op->opnum == OP_ILLEGAL) in nfsd4_cache_this_op()
1563 if (next->opnum == OP_ILLEGAL) in need_wrongsec_check()
1642 resp->opcnt, args->opcnt, op->opnum, in nfsd4_proc_compound()
[all …]
Dnfs4xdr.c1795 if (op->opnum < FIRST_NFS4_OP) in nfsd4_opnum_in_range()
1797 else if (argp->minorversion == 0 && op->opnum > LAST_NFS40_OP) in nfsd4_opnum_in_range()
1799 else if (argp->minorversion == 1 && op->opnum > LAST_NFS41_OP) in nfsd4_opnum_in_range()
1801 else if (argp->minorversion == 2 && op->opnum > LAST_NFS42_OP) in nfsd4_opnum_in_range()
1849 op->opnum = be32_to_cpup(p++); in nfsd4_decode_compound()
1852 op->status = nfsd4_dec_ops[op->opnum](argp, &op->u); in nfsd4_decode_compound()
1854 op->opnum = OP_ILLEGAL; in nfsd4_decode_compound()
1863 if (op->opnum == OP_READ) { in nfsd4_decode_compound()
1874 if (op->opnum == OP_LOCK) in nfsd4_decode_compound()
4344 *p++ = cpu_to_be32(op->opnum); in nfsd4_encode_operation()
[all …]
Dxdr4.h506 int opnum; member
609 return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; in nfsd4_is_solo_sequence()
/linux-4.4.14/fs/nfs/
Dnfs4xdr.c3069 uint32_t opnum; in __decode_op_hdr() local
3075 opnum = be32_to_cpup(p++); in __decode_op_hdr()
3076 if (unlikely(opnum != expected)) in __decode_op_hdr()
3087 opnum, expected); in __decode_op_hdr()
5366 uint32_t opnum; in decode_setclientid() local
5372 opnum = be32_to_cpup(p++); in decode_setclientid()
5373 if (opnum != OP_SETCLIENTID) { in decode_setclientid()
5375 " %d\n", opnum); in decode_setclientid()