Home
last modified time | relevance | path

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

/openbmc/linux/drivers/bus/
H A 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()
/openbmc/linux/fs/nfsd/
H A Dxdr4.h725 u32 opcnt; member
738 u32 opcnt; member
746 return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; in nfsd4_is_solo_sequence()
769 return argp->opcnt == resp->opcnt; in nfsd4_last_compound_op()
H A Dnfs4proc.c2512 if (args->opcnt == 0) in nfs41_check_op_ordering()
2525 if (args->opcnt != 1) in nfs41_check_op_ordering()
2546 struct nfsd4_op *this = &argp->ops[resp->opcnt - 1]; in need_wrongsec_check()
2547 struct nfsd4_op *next = &argp->ops[resp->opcnt]; in need_wrongsec_check()
2562 if (argp->opcnt == resp->opcnt) in need_wrongsec_check()
2587 for (i = 0; i < args->opcnt; i++) { in check_if_stalefh_allowed()
2660 resp->opcnt = 1; in nfsd4_proc_compound()
2668 while (!status && resp->opcnt < args->opcnt) { in nfsd4_proc_compound()
2669 op = &args->ops[resp->opcnt++]; in nfsd4_proc_compound()
2671 if (unlikely(resp->opcnt == NFSD_MAX_OPS_PER_COMPOUND)) { in nfsd4_proc_compound()
[all …]
H A Dtrace.h94 u32 opcnt
96 TP_ARGS(rqst, tag, taglen, opcnt),
99 __field(u32, opcnt)
104 __entry->opcnt = opcnt;
108 __entry->xid, __entry->opcnt, __get_str(tag)
H A Dnfs4xdr.c2454 argp->opcnt = min_t(u32, argp->client_opcnt, in nfsd4_decode_compound()
2457 if (argp->opcnt > ARRAY_SIZE(argp->iops)) { in nfsd4_decode_compound()
2458 argp->ops = vcalloc(argp->opcnt, sizeof(*argp->ops)); in nfsd4_decode_compound()
2466 argp->opcnt = 0; in nfsd4_decode_compound()
2468 for (i = 0; i < argp->opcnt; i++) { in nfsd4_decode_compound()
2480 argp->opcnt, i, in nfsd4_decode_compound()
2509 argp->opcnt = i+1; in nfsd4_decode_compound()
5521 *p++ = htonl(resp->opcnt); in nfs4svc_encode_compoundres()
H A Dnfs4state.c3135 slot->sl_opcnt = resp->opcnt; in nfsd4_store_cache_entry()
3169 op = &args->ops[resp->opcnt - 1]; in nfsd4_enc_sequence_replay()
3174 if (args->opcnt == 1) { in nfsd4_enc_sequence_replay()
3182 op = &args->ops[resp->opcnt++]; in nfsd4_enc_sequence_replay()
3216 resp->opcnt = slot->sl_opcnt; in nfsd4_replay_cache_entry()
3907 return args->opcnt > session->se_fchannel.maxops; in nfsd4_session_too_many_ops()
3930 if (slot->sl_opcnt < argp->opcnt && !slot->sl_status) in replay_matches_cache()
3937 if (slot->sl_opcnt > argp->opcnt) in replay_matches_cache()
3967 if (resp->opcnt != 1) in nfsd4_sequence()