/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | 203 if (e1->opnum != e2->opnum) in ff_ds_error_match() 204 return e1->opnum < e2->opnum ? -1 : 1; in ff_ds_error_match() 252 u64 length, int status, enum nfs_opnum4 opnum, in ff_layout_track_ds_error() 271 dserr->opnum = opnum; in ff_layout_track_ds_error() 481 * + status(4) + opnum(4) in ff_layout_encode_ds_ioerr() 496 *p++ = cpu_to_be32(err->opnum); in ff_layout_encode_ds_ioerr() 499 err->opnum); in ff_layout_encode_ds_ioerr() 250 ff_layout_track_ds_error(struct nfs4_flexfile_layout *flo, struct nfs4_ff_layout_mirror *mirror, u64 offset, u64 length, int status, enum nfs_opnum4 opnum, gfp_t gfp_flags) ff_layout_track_ds_error() argument [all...] |
H A D | flexfilelayout.h | 49 enum nfs_opnum4 opnum; member 196 u64 length, int status, enum nfs_opnum4 opnum,
|
H A D | flexfilelayout.c | 1231 u32 *op_status, int opnum, int error) in ff_layout_io_track_ds_error() 1265 mirror, offset, length, status, opnum, in ff_layout_io_track_ds_error() 1278 if (opnum == OP_READ) in ff_layout_io_track_ds_error() 1286 dprintk("%s: err %d op %d status %u\n", __func__, err, opnum, status); in ff_layout_io_track_ds_error() 2214 errors[n].errors[0].opnum = pos->opnum; in ff_layout_send_layouterror() 1229 ff_layout_io_track_ds_error(struct pnfs_layout_segment *lseg, u32 idx, u64 offset, u64 length, u32 *op_status, int opnum, int error) ff_layout_io_track_ds_error() argument
|
/kernel/linux/linux-6.6/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | 205 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() 273 dserr->opnum = opnum; in ff_layout_track_ds_error() 483 * + status(4) + opnum(4) in ff_layout_encode_ds_ioerr() 498 *p++ = cpu_to_be32(err->opnum); in ff_layout_encode_ds_ioerr() 501 err->opnum); in ff_layout_encode_ds_ioerr() 252 ff_layout_track_ds_error(struct nfs4_flexfile_layout *flo, struct nfs4_ff_layout_mirror *mirror, u64 offset, u64 length, int status, enum nfs_opnum4 opnum, gfp_t gfp_flags) ff_layout_track_ds_error() argument [all...] |
H A D | flexfilelayout.h | 49 enum nfs_opnum4 opnum; member 196 u64 length, int status, enum nfs_opnum4 opnum,
|
H A D | flexfilelayout.c | 1226 u32 *op_status, int opnum, int error) in ff_layout_io_track_ds_error() 1262 mirror, offset, length, status, opnum, in ff_layout_io_track_ds_error() 1275 if (opnum == OP_READ) in ff_layout_io_track_ds_error() 1283 dprintk("%s: err %d op %d status %u\n", __func__, err, opnum, status); in ff_layout_io_track_ds_error() 2288 errors[n].errors[0].opnum = pos->opnum; in ff_layout_send_layouterror() 1224 ff_layout_io_track_ds_error(struct pnfs_layout_segment *lseg, u32 idx, u64 offset, u64 length, u32 *op_status, int opnum, int error) ff_layout_io_track_ds_error() argument
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs4proc.c | 2163 static inline void nfsd4_increment_op_stats(u32 opnum) in nfsd4_increment_op_stats() argument 2165 if (opnum >= FIRST_NFS4_OP && opnum <= LAST_NFS4_OP) in nfsd4_increment_op_stats() 2166 nfsdstats.nfs4_opcount[opnum]++; in nfsd4_increment_op_stats() 2171 static const char *nfsd4_op_name(unsigned opnum); 2197 if (!(nfsd4_ops[first_op->opnum].op_flags & ALLOWED_AS_FIRST_OP)) in nfs41_check_op_ordering() 2199 if (first_op->opnum == OP_SEQUENCE) in nfs41_check_op_ordering() 2213 return &nfsd4_ops[op->opnum]; in OPDESC() 2218 if (op->opnum == OP_ILLEGAL) in nfsd4_cache_this_op() 2245 if (next->opnum in need_wrongsec_check() 3281 nfsd4_op_name(unsigned opnum) nfsd4_op_name() argument [all...] |
H A D | nfs4xdr.c | 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 in nfsd4_decode_compound() [all...] |
H A D | xdr4.h | 618 int opnum; member 734 return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; in nfsd4_is_solo_sequence()
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4proc.c | 2480 static inline void nfsd4_increment_op_stats(u32 opnum) in nfsd4_increment_op_stats() argument 2482 if (opnum >= FIRST_NFS4_OP && opnum <= LAST_NFS4_OP) in nfsd4_increment_op_stats() 2483 percpu_counter_inc(&nfsdstats.counter[NFSD_STATS_NFS4_OP(opnum)]); in nfsd4_increment_op_stats() 2488 static const char *nfsd4_op_name(unsigned opnum); 2514 if (!(nfsd4_ops[first_op->opnum].op_flags & ALLOWED_AS_FIRST_OP)) in nfs41_check_op_ordering() 2516 if (first_op->opnum == OP_SEQUENCE) in nfs41_check_op_ordering() 2530 return &nfsd4_ops[op->opnum]; in OPDESC() 2535 if (op->opnum == OP_ILLEGAL) in nfsd4_cache_this_op() 2562 if (next->opnum in need_wrongsec_check() 3619 nfsd4_op_name(unsigned opnum) nfsd4_op_name() argument [all...] |
H A D | trace.h | 140 u32 opnum, 143 TP_ARGS(rqstp, args_opcnt, resp_opcnt, opnum, status), 149 __field(u32, opnum) 156 __entry->opnum = opnum; 158 TP_printk("op=%u/%u opnum=%u status=%lu", 160 __entry->opnum, __entry->status) 166 u32 opnum, 169 TP_ARGS(rqstp, opnum, status), 173 __field(u32, opnum) [all...] |
H A D | nfs4xdr.c | 2419 if (op->opnum < FIRST_NFS4_OP) in nfsd4_opnum_in_range() 2421 else if (argp->minorversion == 0 && op->opnum > LAST_NFS40_OP) in nfsd4_opnum_in_range() 2423 else if (argp->minorversion == 1 && op->opnum > LAST_NFS41_OP) in nfsd4_opnum_in_range() 2425 else if (argp->minorversion == 2 && op->opnum > LAST_NFS42_OP) in nfsd4_opnum_in_range() 2481 if (xdr_stream_decode_u32(argp->xdr, &op->opnum) < 0) in nfsd4_decode_compound() 2485 op->status = nfsd4_dec_ops[op->opnum](argp, &op->u); in nfsd4_decode_compound() 2489 op->opnum, in nfsd4_decode_compound() 2492 op->opnum = OP_ILLEGAL; in nfsd4_decode_compound() 2502 if (op->opnum == OP_READ || op->opnum in nfsd4_decode_compound() [all...] |
H A D | xdr4.h | 635 u32 opnum; member 745 return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; in nfsd4_is_solo_sequence()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | eba.c | 950 int pnum, opnum, err, err2, vol_id = vol->vol_id; in try_write_vid_and_data() local 958 opnum = vol->eba_tbl->entries[lnum].pnum; in try_write_vid_and_data() 991 } else if (!err && opnum >= 0) { in try_write_vid_and_data() 992 err2 = ubi_wl_put_peb(ubi, vol_id, lnum, opnum, 0); in try_write_vid_and_data() 995 opnum, err2); in try_write_vid_and_data()
|
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | eba.c | 949 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()
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs4xdr.c | 3182 uint32_t opnum; in __decode_op_hdr() local 3188 opnum = be32_to_cpup(p++); in __decode_op_hdr() 3189 if (unlikely(opnum != expected)) in __decode_op_hdr() 3197 trace_nfs4_xdr_status(xdr, opnum, nfserr); in __decode_op_hdr() 3203 opnum, expected); in __decode_op_hdr() 5369 uint32_t opnum; in decode_setclientid() local 5375 opnum = be32_to_cpup(p++); in decode_setclientid() 5376 if (opnum != OP_SETCLIENTID) { in decode_setclientid() 5378 " %d\n", opnum); in decode_setclientid()
|
H A D | nfs42xdr.c | 77 1 /* status */ + 1 /* opnum */) 416 *p = cpu_to_be32(error->opnum); in encode_device_error()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs4xdr.c | 3213 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 D | nfs42xdr.c | 87 1 /* status */ + 1 /* opnum */) 435 *p = cpu_to_be32(error->opnum); in encode_device_error()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | nfs_xdr.h | 393 enum nfs_opnum4 opnum; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | nfs_xdr.h | 396 enum nfs_opnum4 opnum; member
|