Home
last modified time | relevance | path

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

/openbmc/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c205 if (e1->opnum != e2->opnum) in ff_ds_error_match()
206 return e1->opnum < e2->opnum ? -1 : 1; in ff_ds_error_match()
254 u64 length, int status, enum nfs_opnum4 opnum, in ff_layout_track_ds_error() argument
273 dserr->opnum = opnum; in ff_layout_track_ds_error()
498 *p++ = cpu_to_be32(err->opnum); in ff_layout_encode_ds_ioerr()
501 err->opnum); in ff_layout_encode_ds_ioerr()
H A Dflexfilelayout.h49 enum nfs_opnum4 opnum; member
196 u64 length, int status, enum nfs_opnum4 opnum,
H A Dflexfilelayout.c1241 u32 *op_status, int opnum, int error) in ff_layout_io_track_ds_error() argument
1277 mirror, offset, length, status, opnum, in ff_layout_io_track_ds_error()
1290 if (opnum == OP_READ) in ff_layout_io_track_ds_error()
1298 dprintk("%s: err %d op %d status %u\n", __func__, err, opnum, status); in ff_layout_io_track_ds_error()
2303 errors[n].errors[0].opnum = pos->opnum; in ff_layout_send_layouterror()
/openbmc/linux/fs/nfsd/
H A Dnfs4proc.c2482 static inline void nfsd4_increment_op_stats(struct nfsd_net *nn, u32 opnum) in nfsd4_increment_op_stats() argument
2484 if (opnum >= FIRST_NFS4_OP && opnum <= LAST_NFS4_OP) in nfsd4_increment_op_stats()
2485 percpu_counter_inc(&nn->counter[NFSD_STATS_NFS4_OP(opnum)]); in nfsd4_increment_op_stats()
2490 static const char *nfsd4_op_name(unsigned opnum);
2516 if (!(nfsd4_ops[first_op->opnum].op_flags & ALLOWED_AS_FIRST_OP)) in nfs41_check_op_ordering()
2518 if (first_op->opnum == OP_SEQUENCE) in nfs41_check_op_ordering()
2532 return &nfsd4_ops[op->opnum]; in OPDESC()
2537 if (op->opnum == OP_ILLEGAL) in nfsd4_cache_this_op()
2564 if (next->opnum == OP_ILLEGAL) in need_wrongsec_check()
2589 if (op->opnum == OP_PUTFH) in check_if_stalefh_allowed()
[all …]
H A Dtrace.h140 u32 opnum,
143 TP_ARGS(rqstp, args_opcnt, resp_opcnt, opnum, status),
149 __field(u32, opnum)
156 __entry->opnum = opnum;
160 __entry->opnum, __entry->status)
166 u32 opnum,
169 TP_ARGS(rqstp, opnum, status),
173 __field(u32, opnum)
178 __entry->opnum = opnum;
181 __entry->opnum, __entry->status)
H A Dnfs4xdr.c2411 if (op->opnum < FIRST_NFS4_OP) in nfsd4_opnum_in_range()
2413 else if (argp->minorversion == 0 && op->opnum > LAST_NFS40_OP) in nfsd4_opnum_in_range()
2415 else if (argp->minorversion == 1 && op->opnum > LAST_NFS41_OP) in nfsd4_opnum_in_range()
2417 else if (argp->minorversion == 2 && op->opnum > LAST_NFS42_OP) in nfsd4_opnum_in_range()
2473 if (xdr_stream_decode_u32(argp->xdr, &op->opnum) < 0) in nfsd4_decode_compound()
2477 op->status = nfsd4_dec_ops[op->opnum](argp, &op->u); in nfsd4_decode_compound()
2481 op->opnum, in nfsd4_decode_compound()
2484 op->opnum = OP_ILLEGAL; in nfsd4_decode_compound()
2494 if (op->opnum == OP_READ || op->opnum == OP_READ_PLUS) { in nfsd4_decode_compound()
2505 if (op->opnum == OP_LOCK || op->opnum == OP_LOCKT) in nfsd4_decode_compound()
[all …]
H A Dxdr4.h636 u32 opnum; member
746 return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; in nfsd4_is_solo_sequence()
/openbmc/linux/drivers/mtd/ubi/
H A Deba.c949 int pnum, opnum, err, err2, vol_id = vol->vol_id; in try_write_vid_and_data() local
957 opnum = vol->eba_tbl->entries[lnum].pnum; in try_write_vid_and_data()
990 } else if (!err && opnum >= 0) { in try_write_vid_and_data()
991 err2 = ubi_wl_put_peb(ubi, vol_id, lnum, opnum, 0); in try_write_vid_and_data()
994 opnum, err2); in try_write_vid_and_data()
/openbmc/linux/fs/nfs/
H A Dnfs4xdr.c3213 uint32_t opnum; in __decode_op_hdr() local
3219 opnum = be32_to_cpup(p++); in __decode_op_hdr()
3220 if (unlikely(opnum != expected)) in __decode_op_hdr()
3228 trace_nfs4_xdr_status(xdr, opnum, nfserr); in __decode_op_hdr()
3232 trace_nfs4_xdr_bad_operation(xdr, opnum, expected); in __decode_op_hdr()
5477 uint32_t opnum; in decode_setclientid() local
5483 opnum = be32_to_cpup(p++); in decode_setclientid()
5484 if (opnum != OP_SETCLIENTID) { in decode_setclientid()
5486 " %d\n", opnum); in decode_setclientid()
H A Dnfs42xdr.c437 *p = cpu_to_be32(error->opnum); in encode_device_error()
/openbmc/linux/include/linux/
H A Dnfs_xdr.h396 enum nfs_opnum4 opnum; member