Home
last modified time | relevance | path

Searched refs:opcnt (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/bus/
Dhisi_lpc.c103 unsigned char *buf, unsigned long opcnt) in hisi_lpc_target_in() argument
110 if (!buf || !opcnt || !para || !para->csize || !lpcdev) in hisi_lpc_target_in()
123 writel_relaxed(opcnt, lpcdev->membase + LPC_REG_OP_LEN); in hisi_lpc_target_in()
137 readsb(lpcdev->membase + LPC_REG_RDATA, buf, opcnt); in hisi_lpc_target_in()
156 const unsigned char *buf, unsigned long opcnt) in hisi_lpc_target_out() argument
163 if (!buf || !opcnt || !para || !lpcdev) in hisi_lpc_target_out()
176 writel_relaxed(opcnt, lpcdev->membase + LPC_REG_OP_LEN); in hisi_lpc_target_out()
180 writesb(lpcdev->membase + LPC_REG_WDATA, buf, opcnt); in hisi_lpc_target_out()
/Linux-v5.15/fs/nfsd/
Dxdr4.h694 u32 opcnt; member
707 u32 opcnt; member
715 return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; in nfsd4_is_solo_sequence()
738 return argp->opcnt == resp->opcnt; in nfsd4_last_compound_op()
Dnfs4proc.c2347 if (args->opcnt == 0) in nfs41_check_op_ordering()
2360 if (args->opcnt != 1) in nfs41_check_op_ordering()
2381 struct nfsd4_op *this = &argp->ops[resp->opcnt - 1]; in need_wrongsec_check()
2382 struct nfsd4_op *next = &argp->ops[resp->opcnt]; in need_wrongsec_check()
2397 if (argp->opcnt == resp->opcnt) in need_wrongsec_check()
2422 for (i = 0; i < args->opcnt; i++) { in check_if_stalefh_allowed()
2491 if (args->opcnt > NFSD_MAX_OPS_PER_COMPOUND) in nfsd4_proc_compound()
2498 resp->opcnt = 1; in nfsd4_proc_compound()
2505 trace_nfsd_compound(rqstp, args->opcnt); in nfsd4_proc_compound()
2506 while (!status && resp->opcnt < args->opcnt) { in nfsd4_proc_compound()
[all …]
Dnfs4xdr.c2355 if (xdr_stream_decode_u32(argp->xdr, &argp->opcnt) < 0) in nfsd4_decode_compound()
2363 if (argp->opcnt > NFSD_MAX_OPS_PER_COMPOUND) in nfsd4_decode_compound()
2366 if (argp->opcnt > ARRAY_SIZE(argp->iops)) { in nfsd4_decode_compound()
2367 argp->ops = kzalloc(argp->opcnt * sizeof(*argp->ops), GFP_KERNEL); in nfsd4_decode_compound()
2376 argp->opcnt = 0; in nfsd4_decode_compound()
2378 for (i = 0; i < argp->opcnt; i++) { in nfsd4_decode_compound()
2388 argp->opcnt, i, in nfsd4_decode_compound()
2417 argp->opcnt = i+1; in nfsd4_decode_compound()
5449 *p++ = htonl(resp->opcnt); in nfs4svc_encode_compoundres()
Dnfs4state.c2957 slot->sl_opcnt = resp->opcnt; in nfsd4_store_cache_entry()
2991 op = &args->ops[resp->opcnt - 1]; in nfsd4_enc_sequence_replay()
2996 if (args->opcnt == 1) { in nfsd4_enc_sequence_replay()
3004 op = &args->ops[resp->opcnt++]; in nfsd4_enc_sequence_replay()
3038 resp->opcnt = slot->sl_opcnt; in nfsd4_replay_cache_entry()
3729 return args->opcnt > session->se_fchannel.maxops; in nfsd4_session_too_many_ops()
3752 if (slot->sl_opcnt < argp->opcnt && !slot->sl_status) in replay_matches_cache()
3759 if (slot->sl_opcnt > argp->opcnt) in replay_matches_cache()
3789 if (resp->opcnt != 1) in nfsd4_sequence()