Home
last modified time | relevance | path

Searched refs:opcnt (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/bus/
H A Dhisi_lpc.c97 * @opcnt: how many I/O operations required, i.e. data width
103 unsigned char *buf, unsigned long opcnt) in hisi_lpc_target_in()
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()
150 * @opcnt: how many I/O operations required, i.e. data width
156 const unsigned char *buf, unsigned long opcnt) in hisi_lpc_target_out()
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()
101 hisi_lpc_target_in(struct hisi_lpc_dev *lpcdev, struct lpc_cycle_para *para, unsigned long addr, unsigned char *buf, unsigned long opcnt) hisi_lpc_target_in() argument
154 hisi_lpc_target_out(struct hisi_lpc_dev *lpcdev, struct lpc_cycle_para *para, unsigned long addr, const unsigned char *buf, unsigned long opcnt) hisi_lpc_target_out() argument
[all...]
/kernel/linux/linux-6.6/drivers/bus/
H A Dhisi_lpc.c97 * @opcnt: how many I/O operations required, i.e. data width
103 unsigned char *buf, unsigned long opcnt) in hisi_lpc_target_in()
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()
150 * @opcnt: how many I/O operations required, i.e. data width
156 const unsigned char *buf, unsigned long opcnt) in hisi_lpc_target_out()
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()
101 hisi_lpc_target_in(struct hisi_lpc_dev *lpcdev, struct lpc_cycle_para *para, unsigned long addr, unsigned char *buf, unsigned long opcnt) hisi_lpc_target_in() argument
154 hisi_lpc_target_out(struct hisi_lpc_dev *lpcdev, struct lpc_cycle_para *para, unsigned long addr, const unsigned char *buf, unsigned long opcnt) hisi_lpc_target_out() argument
[all...]
/kernel/linux/linux-5.10/fs/nfsd/
H A Dxdr4.h713 u32 opcnt; member
726 u32 opcnt; member
734 return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; in nfsd4_is_solo_sequence()
757 return argp->opcnt == resp->opcnt; in nfsd4_last_compound_op()
H A Dnfs4proc.c2193 if (args->opcnt == 0) in nfs41_check_op_ordering()
2206 if (args->opcnt != 1) in nfs41_check_op_ordering()
2227 struct nfsd4_op *this = &argp->ops[resp->opcnt - 1]; in need_wrongsec_check()
2228 struct nfsd4_op *next = &argp->ops[resp->opcnt]; in need_wrongsec_check()
2243 if (argp->opcnt == resp->opcnt) in need_wrongsec_check()
2287 for (i = 0; i < args->opcnt; i++) { in check_if_stalefh_allowed()
2331 /* reserve space for: taglen, tag, and opcnt */ in nfsd4_proc_compound()
2352 if (args->opcnt > NFSD_MAX_OPS_PER_COMPOUND) in nfsd4_proc_compound()
2359 resp->opcnt in nfsd4_proc_compound()
[all...]
H A Dnfs4xdr.c2208 int max_reply = auth_slack + 8; /* opcnt, status */ in nfsd4_decode_compound()
2219 argp->opcnt = be32_to_cpup(p++); in nfsd4_decode_compound()
2229 if (argp->opcnt > NFSD_MAX_OPS_PER_COMPOUND) in nfsd4_decode_compound()
2232 if (argp->opcnt > ARRAY_SIZE(argp->iops)) { in nfsd4_decode_compound()
2233 argp->ops = kzalloc(argp->opcnt * sizeof(*argp->ops), GFP_KERNEL); in nfsd4_decode_compound()
2242 argp->opcnt = 0; in nfsd4_decode_compound()
2244 for (i = 0; i < argp->opcnt; i++) { in nfsd4_decode_compound()
2279 argp->opcnt = i+1; in nfsd4_decode_compound()
5344 *p++ = htonl(resp->opcnt); in nfs4svc_encode_compoundres()
H A Dnfs4state.c2935 slot->sl_opcnt = resp->opcnt; in nfsd4_store_cache_entry()
2957 * operation which sets resp->p and increments resp->opcnt for
2969 op = &args->ops[resp->opcnt - 1]; in nfsd4_enc_sequence_replay()
2974 if (args->opcnt == 1) { in nfsd4_enc_sequence_replay()
2982 op = &args->ops[resp->opcnt++]; in nfsd4_enc_sequence_replay()
3016 resp->opcnt = slot->sl_opcnt; in nfsd4_replay_cache_entry()
3693 return args->opcnt > session->se_fchannel.maxops; in nfsd4_session_too_many_ops()
3716 if (slot->sl_opcnt < argp->opcnt && !slot->sl_status) in replay_matches_cache()
3723 if (slot->sl_opcnt > argp->opcnt) in replay_matches_cache()
3753 if (resp->opcnt ! in nfsd4_sequence()
[all...]
/kernel/linux/linux-6.6/fs/nfsd/
H A Dxdr4.h724 u32 opcnt; member
737 u32 opcnt; member
745 return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; in nfsd4_is_solo_sequence()
768 return argp->opcnt == resp->opcnt; in nfsd4_last_compound_op()
H A Dnfs4proc.c2510 if (args->opcnt == 0) in nfs41_check_op_ordering()
2523 if (args->opcnt != 1) in nfs41_check_op_ordering()
2544 struct nfsd4_op *this = &argp->ops[resp->opcnt - 1]; in need_wrongsec_check()
2545 struct nfsd4_op *next = &argp->ops[resp->opcnt]; in need_wrongsec_check()
2560 if (argp->opcnt == resp->opcnt) in need_wrongsec_check()
2585 for (i = 0; i < args->opcnt; i++) { in check_if_stalefh_allowed()
2633 /* reserve space for: taglen, tag, and opcnt */ in nfsd4_proc_compound()
2658 resp->opcnt = 1; in nfsd4_proc_compound()
2666 while (!status && resp->opcnt < arg 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;
107 TP_printk("xid=0x%08x opcnt=%u tag=%s",
108 __entry->xid, __entry->opcnt, __get_str(tag)
H A Dnfs4xdr.c2436 int max_reply = auth_slack + 8; /* opcnt, status */ in nfsd4_decode_compound()
2462 argp->opcnt = min_t(u32, argp->client_opcnt, in nfsd4_decode_compound()
2465 if (argp->opcnt > ARRAY_SIZE(argp->iops)) { in nfsd4_decode_compound()
2466 argp->ops = vcalloc(argp->opcnt, sizeof(*argp->ops)); in nfsd4_decode_compound()
2474 argp->opcnt = 0; in nfsd4_decode_compound()
2476 for (i = 0; i < argp->opcnt; i++) { in nfsd4_decode_compound()
2488 argp->opcnt, i, in nfsd4_decode_compound()
2517 argp->opcnt = i+1; in nfsd4_decode_compound()
5529 *p++ = htonl(resp->opcnt); in nfs4svc_encode_compoundres()
H A Dnfs4state.c3129 slot->sl_opcnt = resp->opcnt; in nfsd4_store_cache_entry()
3151 * operation which sets resp->p and increments resp->opcnt for
3163 op = &args->ops[resp->opcnt - 1]; in nfsd4_enc_sequence_replay()
3168 if (args->opcnt == 1) { in nfsd4_enc_sequence_replay()
3176 op = &args->ops[resp->opcnt++]; in nfsd4_enc_sequence_replay()
3210 resp->opcnt = slot->sl_opcnt; in nfsd4_replay_cache_entry()
3901 return args->opcnt > session->se_fchannel.maxops; in nfsd4_session_too_many_ops()
3924 if (slot->sl_opcnt < argp->opcnt && !slot->sl_status) in replay_matches_cache()
3931 if (slot->sl_opcnt > argp->opcnt) in replay_matches_cache()
3961 if (resp->opcnt ! in nfsd4_sequence()
[all...]

Completed in 40 milliseconds