Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c203 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() argument
271 dserr->opnum = opnum; in ff_layout_track_ds_error()
496 *p++ = cpu_to_be32(err->opnum); in ff_layout_encode_ds_ioerr()
499 err->opnum); in ff_layout_encode_ds_ioerr()
Dflexfilelayout.h49 enum nfs_opnum4 opnum; member
196 u64 length, int status, enum nfs_opnum4 opnum,
Dflexfilelayout.c1231 u32 *op_status, int opnum, int error) in ff_layout_io_track_ds_error() argument
1264 mirror, offset, length, status, opnum, in ff_layout_io_track_ds_error()
1277 if (opnum == OP_READ) in ff_layout_io_track_ds_error()
1285 dprintk("%s: err %d op %d status %u\n", __func__, err, opnum, status); in ff_layout_io_track_ds_error()
2213 errors[n].errors[0].opnum = pos->opnum; in ff_layout_send_layouterror()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4proc.c2169 static inline void nfsd4_increment_op_stats(u32 opnum) in nfsd4_increment_op_stats() argument
2171 if (opnum >= FIRST_NFS4_OP && opnum <= LAST_NFS4_OP) in nfsd4_increment_op_stats()
2172 nfsdstats.nfs4_opcount[opnum]++; in nfsd4_increment_op_stats()
2177 static const char *nfsd4_op_name(unsigned opnum);
2203 if (!(nfsd4_ops[first_op->opnum].op_flags & ALLOWED_AS_FIRST_OP)) in nfs41_check_op_ordering()
2205 if (first_op->opnum == OP_SEQUENCE) in nfs41_check_op_ordering()
2219 return &nfsd4_ops[op->opnum]; in OPDESC()
2224 if (op->opnum == OP_ILLEGAL) in nfsd4_cache_this_op()
2251 if (next->opnum == OP_ILLEGAL) in need_wrongsec_check()
2295 if (op->opnum == OP_PUTFH) in check_if_stalefh_allowed()
[all …]
Dnfs4xdr.c2190 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 == OP_LOCK || op->opnum == OP_LOCKT) in nfsd4_decode_compound()
5186 *p++ = cpu_to_be32(op->opnum); in nfsd4_encode_operation()
[all …]
Dxdr4.h618 int opnum; member
734 return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; in nfsd4_is_solo_sequence()
/kernel/linux/linux-5.10/drivers/mtd/ubi/
Deba.c950 int pnum, opnum, err, 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()
987 else if (!err && opnum >= 0) in try_write_vid_and_data()
988 err = ubi_wl_put_peb(ubi, vol_id, lnum, opnum, 0); in try_write_vid_and_data()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4xdr.c3182 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()
5372 uint32_t opnum; in decode_setclientid() local
5378 opnum = be32_to_cpup(p++); in decode_setclientid()
5379 if (opnum != OP_SETCLIENTID) { in decode_setclientid()
5381 " %d\n", opnum); in decode_setclientid()
Dnfs42xdr.c416 *p = cpu_to_be32(error->opnum); in encode_device_error()
/kernel/linux/linux-5.10/include/linux/
Dnfs_xdr.h393 enum nfs_opnum4 opnum; member