Home
last modified time | relevance | path

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

/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()
/linux/fs/nfsd/
H A Dnfs4proc.c2931 if (args->opcnt == 0) in nfs41_check_op_ordering()
2944 if (args->opcnt != 1) in nfs41_check_op_ordering()
2965 struct nfsd4_op *this = &argp->ops[resp->opcnt - 1]; in need_wrongsec_check()
2966 struct nfsd4_op *next = &argp->ops[resp->opcnt]; in need_wrongsec_check()
2981 if (argp->opcnt == resp->opcnt) in need_wrongsec_check()
3006 for (i = 0; i < args->opcnt; i++) { in check_if_stalefh_allowed()
3079 resp->opcnt = 1; in nfsd4_proc_compound()
3087 while (!status && resp->opcnt < args->opcnt) { in nfsd4_proc_compound()
3088 op = &args->ops[resp->opcnt++]; in nfsd4_proc_compound()
3090 if (unlikely(resp->opcnt == NFSD_MAX_OPS_PER_COMPOUND)) { in nfsd4_proc_compound()
[all …]
H A Dxdr4.h915 u32 opcnt; member
929 u32 opcnt; member
939 return argp->opcnt == resp->opcnt; in nfsd4_last_compound_op()
H A Dtrace.h151 u32 opcnt
153 TP_ARGS(rqst, tag, taglen, opcnt),
156 __field(u32, opcnt)
161 __entry->opcnt = opcnt;
165 __entry->xid, __entry->opcnt, __get_str(tag)
H A Dnfs4xdr.c2630 argp->opcnt = min_t(u32, argp->client_opcnt, in nfsd4_decode_compound()
2633 if (argp->opcnt > ARRAY_SIZE(argp->iops)) { in nfsd4_decode_compound()
2634 argp->ops = vcalloc(argp->opcnt, sizeof(*argp->ops)); in nfsd4_decode_compound()
2642 argp->opcnt = 0; in nfsd4_decode_compound()
2644 for (i = 0; i < argp->opcnt; i++) { in nfsd4_decode_compound()
2656 argp->opcnt, i, in nfsd4_decode_compound()
2685 argp->opcnt = i+1; in nfsd4_decode_compound()
6391 *p++ = htonl(resp->opcnt); in nfs4svc_encode_compoundres()
H A Dnfs4state.c3510 if (resp->opcnt == 1 && resp->cstate.status != nfs_ok) in nfsd4_store_cache_entry()
3514 slot->sl_opcnt = resp->opcnt; in nfsd4_store_cache_entry()
3550 if (args->opcnt == 1) in nfsd4_replay_cache_entry()
3558 op = &args->ops[resp->opcnt++]; in nfsd4_replay_cache_entry()
3573 resp->opcnt = slot->sl_opcnt; in nfsd4_replay_cache_entry()
4308 return args->opcnt > session->se_fchannel.maxops; in nfsd4_session_too_many_ops()
4331 if (slot->sl_opcnt < argp->opcnt && !slot->sl_status) in replay_matches_cache()
4338 if (slot->sl_opcnt > argp->opcnt) in replay_matches_cache()
4398 if (resp->opcnt != 1) in nfsd4_sequence()
H A Dnfsctl.c1550 genl_rqstp.rq_opcnt = min_t(u32, args->opcnt, in nfsd_nl_rpc_status_get_dumpit()
/linux/include/rdma/
H A Drdma_counter.h67 bool *opcnt);
/linux/drivers/infiniband/core/
H A Dcounters.c627 bool *opcnt) in rdma_counter_get_mode() argument
634 *opcnt = port_counter->mode.bind_opcnt; in rdma_counter_get_mode()
H A Dnldev.c2033 bool opcnt = false; in nldev_stat_set_mode_doit() local
2042 opcnt = !!nla_get_u8( in nldev_stat_set_mode_doit()
2050 return rdma_counter_set_auto_mode(device, port, mask, opcnt, in nldev_stat_set_mode_doit()
2370 bool opcnt; in stat_get_doit_qp() local
2406 ret = rdma_counter_get_mode(device, port, &mode, &mask, &opcnt); in stat_get_doit_qp()
2424 nla_put_u8(msg, RDMA_NLDEV_ATTR_STAT_OPCOUNTER_ENABLED, opcnt)) { in stat_get_doit_qp()