Home
last modified time | relevance | path

Searched refs:seqid (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/fs/nfs/
Dnfs4_fs.h98 static inline void nfs_confirm_seqid(struct nfs_seqid_counter *seqid, int status) in nfs_confirm_seqid() argument
101 seqid->flags |= NFS_SEQID_CONFIRMED; in nfs_confirm_seqid()
521 extern int nfs_wait_on_sequence(struct nfs_seqid *seqid, struct rpc_task *task);
522 extern void nfs_increment_open_seqid(int status, struct nfs_seqid *seqid);
523 extern void nfs_increment_lock_seqid(int status, struct nfs_seqid *seqid);
524 extern void nfs_release_seqid(struct nfs_seqid *seqid);
525 extern void nfs_free_seqid(struct nfs_seqid *seqid);
603 return (s32)(be32_to_cpu(s1->seqid) - be32_to_cpu(s2->seqid)) > 0; in nfs4_stateid_is_newer()
608 u32 seq1 = be32_to_cpu(s1->seqid); in nfs4_stateid_is_next()
609 u32 seq2 = be32_to_cpu(s2->seqid); in nfs4_stateid_is_next()
[all …]
Dnfs4state.c1074 dst->seqid = 0; in nfs4_select_rw_stateid()
1091 void nfs_release_seqid(struct nfs_seqid *seqid) in nfs_release_seqid() argument
1095 if (seqid == NULL || list_empty(&seqid->list)) in nfs_release_seqid()
1097 sequence = seqid->sequence; in nfs_release_seqid()
1099 list_del_init(&seqid->list); in nfs_release_seqid()
1110 void nfs_free_seqid(struct nfs_seqid *seqid) in nfs_free_seqid() argument
1112 nfs_release_seqid(seqid); in nfs_free_seqid()
1113 kfree(seqid); in nfs_free_seqid()
1121 static void nfs_increment_seqid(int status, struct nfs_seqid *seqid) in nfs_increment_seqid() argument
1127 if (seqid->sequence->flags & NFS_SEQID_CONFIRMED) in nfs_increment_seqid()
[all …]
Ddelegation.c404 delegation->stateid.seqid = update->stateid.seqid; in nfs_update_inplace_delegation()
917 if (stateid->seqid) { in nfs_revoke_delegation()
922 delegation->stateid.seqid = stateid->seqid; in nfs_revoke_delegation()
957 if (stateid->seqid) { in nfs_delegation_mark_returned()
961 if (delegation->stateid.seqid != stateid->seqid) in nfs_delegation_mark_returned()
962 delegation->stateid.seqid = stateid->seqid; in nfs_delegation_mark_returned()
1386 dst->seqid = delegation->stateid.seqid; in nfs4_refresh_delegation_stateid()
Dnfs4trace.h777 be32_to_cpu(state->stateid.seqid);
781 be32_to_cpu(state->open_stateid.seqid);
856 be32_to_cpu(state->stateid.seqid);
902 be32_to_cpu(args->stateid.seqid);
974 be32_to_cpu(state->stateid.seqid);
1046 be32_to_cpu(state->stateid.seqid);
1050 be32_to_cpu(lockstateid->seqid);
1139 be32_to_cpu(state->stateid.seqid);
1217 be32_to_cpu(args->stateid->seqid);
1260 be32_to_cpu(state->stateid.seqid);
[all …]
Dnfs4proc.c1326 p->o_res.seqid = p->o_arg.seqid; in nfs4_init_opendata_res()
1327 p->c_res.seqid = p->c_arg.seqid; in nfs4_init_opendata_res()
1360 p->o_arg.seqid = alloc_seqid(&sp->so_seqid, gfp_mask); in nfs4_opendata_alloc()
1361 if (IS_ERR(p->o_arg.seqid)) in nfs4_opendata_alloc()
1427 p->c_arg.seqid = p->o_arg.seqid; in nfs4_opendata_alloc()
1450 nfs_free_seqid(p->o_arg.seqid); in nfs4_opendata_free()
1613 if (stateid->seqid == cpu_to_be32(1)) in nfs_stateid_is_sequential()
1905 nfs_release_seqid(opendata->o_arg.seqid); in nfs4_try_open_cached()
2062 nfs_release_seqid(data->o_arg.seqid); in _nfs4_opendata_to_nfs4_state()
2426 if (nfs_wait_on_sequence(data->o_arg.seqid, task) != 0) in nfs4_open_prepare()
[all …]
Dpnfs.c366 seq = be32_to_cpu(lo->plh_stateid.seqid); in pnfs_set_plh_return_info()
438 dst->seqid = lo->plh_stateid.seqid; in nfs4_layout_refresh_old_stateid()
551 lseg->pls_seq = be32_to_cpu(stateid->seqid); in pnfs_init_lseg()
985 u32 oldseq = be32_to_cpu(lo->plh_stateid.seqid); in pnfs_set_layout_stateid()
986 u32 newseq = be32_to_cpu(new->seqid); in pnfs_set_layout_stateid()
1010 pnfs_barrier_update(lo, be32_to_cpu(lo->plh_stateid.seqid)); in pnfs_set_layout_stateid()
1017 u32 seqid = be32_to_cpu(stateid->seqid); in pnfs_layout_stateid_blocked() local
1019 return lo->plh_barrier && pnfs_seqid_is_newer(lo->plh_barrier, seqid); in pnfs_layout_stateid_blocked()
1181 u32 seq = be32_to_cpu(arg_stateid->seqid); in pnfs_layoutreturn_free_lsegs()
1212 stateid->seqid = cpu_to_be32(lo->plh_return_seq); in pnfs_prepare_layoutreturn()
[all …]
Dcallback_proc.c217 newseq = be32_to_cpu(new->seqid); in pnfs_check_callback_stateid()
229 oldseq = be32_to_cpu(lo->plh_stateid.seqid); in pnfs_check_callback_stateid()
279 be32_to_cpu(args->cbl_stateid.seqid))) { in initiate_file_draining()
Dnfs4xdr.c1009 const struct nfs_seqid *seqid) in encode_nfs4_seqid() argument
1011 if (seqid != NULL) in encode_nfs4_seqid()
1012 encode_uint32(xdr, seqid->sequence->counter); in encode_nfs4_seqid()
1197 encode_nfs4_seqid(xdr, arg->seqid); in encode_close()
1365 encode_nfs4_seqid(xdr, args->seqid); in encode_locku()
1405 encode_nfs4_seqid(xdr, arg->seqid); in encode_openhdr()
1554 encode_nfs4_seqid(xdr, arg->seqid); in encode_open_confirm()
1561 encode_nfs4_seqid(xdr, arg->seqid); in encode_open_downgrade()
1850 *p++ = cpu_to_be32(args->seqid); /*Sequence id */ in encode_create_session()
4323 nfs_increment_open_seqid(status, res->seqid); in decode_close()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dldc.c67 u32 seqid; member
436 p->seqid = 0; in send_rts()
440 p->env, p->seqid); in send_rts()
456 p->seqid = 0; in send_rtr()
459 p->env, p->seqid); in send_rtr()
475 p->seqid = ++lp->snd_nxt; in send_rdx()
479 p->env, p->seqid, p->u.r.ackid); in send_rdx()
499 p->seqid = lp->snd_nxt + 1; in send_data_nack()
503 p->type, p->ctrl, p->seqid, p->u.r.ackid); in send_data_nack()
673 p->stype, p->seqid, p->env); in process_rts()
[all …]
/kernel/linux/linux-5.10/drivers/ptp/
Dptp_ines.c147 u16 seqid; member
324 ts.seqid = ines_read32(port, ts_tx); in ines_find_txts()
444 u16 portn, seqid; in ines_match() local
458 seqid = be16_to_cpu(hdr->sequence_id); in ines_match()
475 if (ts->seqid != seqid) { in ines_match()
477 ts->seqid, seqid); in ines_match()
538 ts->seqid = ines_read32(port, ts_rx); in ines_rxfifo_read()
/kernel/linux/linux-5.10/include/linux/
Dnfs_xdr.h455 struct nfs_seqid * seqid; member
489 struct nfs_seqid * seqid; member
511 struct nfs_seqid * seqid; member
517 struct nfs_seqid * seqid; member
527 struct nfs_seqid * seqid; member
539 struct nfs_seqid * seqid; member
579 struct nfs_seqid * seqid; member
586 struct nfs_seqid * seqid; member
1343 u32 seqid; member
1354 uint32_t seqid; member
[all …]
Dnfs4.h59 __be32 seqid; member
/kernel/linux/linux-5.10/fs/nfsd/
Dtrace.h298 TP_PROTO(u32 seqid, const stateid_t *stp),
299 TP_ARGS(seqid, stp),
301 __field(u32, seqid)
308 __entry->seqid = seqid;
315 __entry->seqid, __entry->cl_boot, __entry->cl_id,
321 TP_PROTO(u32 seqid, const stateid_t *stp), \
322 TP_ARGS(seqid, stp))
Dnfs4state.c3219 exid->seqid = conf->cl_cs_slot.sl_seqid + 1; in nfsd4_exchange_id()
3237 check_slot_seqid(u32 seqid, u32 slot_seqid, int slot_inuse) in check_slot_seqid() argument
3239 dprintk("%s enter. seqid %d slot_seqid %d\n", __func__, seqid, in check_slot_seqid()
3244 if (seqid == slot_seqid) in check_slot_seqid()
3250 if (likely(seqid == slot_seqid + 1)) in check_slot_seqid()
3252 if (seqid == slot_seqid) in check_slot_seqid()
3417 status = check_slot_seqid(cr_ses->seqid, cs_slot->sl_seqid, 0); in nfsd4_create_session()
3433 status = check_slot_seqid(cr_ses->seqid, cs_slot->sl_seqid, 0); in nfsd4_create_session()
3465 cr_ses->seqid = cs_slot->sl_seqid; in nfsd4_create_session()
3790 status = check_slot_seqid(seq->seqid, slot->sl_seqid, in nfsd4_sequence()
[all …]
Dxdr4.h435 u32 seqid; member
446 u32 seqid; /* request/response */ member
Dstate.h219 u32 seqid; member
Dnfs4xdr.c1452 sess->seqid = be32_to_cpup(p++); in nfsd4_decode_create_session()
1527 seq->seqid = be32_to_cpup(p++); in nfsd4_decode_sequence()
4247 *p++ = cpu_to_be32(exid->seqid); in nfsd4_encode_exchange_id()
4310 *p++ = cpu_to_be32(sess->seqid); in nfsd4_encode_create_session()
4363 *p++ = cpu_to_be32(seq->seqid); in nfsd4_encode_sequence()
Dnfs4proc.c1284 copy->stateid.seqid = cpu_to_be32(s_stid->si_generation); in nfsd4_setup_inter_ssc()
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_msghandler.c257 long seqid; member
271 #define STORE_SEQ_IN_MSGID(seq, seqid) \ argument
272 ((((seq) & 0x3f) << 26) | ((seqid) & 0x3ffffff))
274 #define GET_SEQ_FROM_MSGID(msgid, seq, seqid) \ argument
277 seqid = ((msgid) & 0x3ffffff); \
280 #define NEXT_SEQID(seqid) (((seqid) + 1) & 0x3ffffff) argument
1011 long *seqid) in intf_next_seq() argument
1039 intf->seq_table[i].seqid = NEXT_SEQID(intf->seq_table[i].seqid); in intf_next_seq()
1041 *seqid = intf->seq_table[i].seqid; in intf_next_seq()
1099 unsigned long seqid; in intf_start_seq_timer() local
[all …]
/kernel/linux/linux-5.10/drivers/net/phy/
Ddp83640.c75 u16 seqid; /* sequenceId[15:0] */ member
90 u16 seqid; member
274 rxts->seqid = p->seqid; in phy2rxts()
807 u16 seqid; in match() local
821 seqid = be16_to_cpu(hdr->sequence_id); in match()
822 if (rxts->seqid != seqid) in match()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpts.c451 u16 seqid; in cpts_skb_get_mtype_seqid() local
461 seqid = ntohs(hdr->sequence_id); in cpts_skb_get_mtype_seqid()
464 *mtype_seqid |= (seqid & SEQUENCE_ID_MASK) << SEQUENCE_ID_SHIFT; in cpts_skb_get_mtype_seqid()
Dam65-cpts.c755 u16 seqid; in am65_skb_get_mtype_seqid() local
765 seqid = ntohs(hdr->sequence_id); in am65_skb_get_mtype_seqid()
769 *mtype_seqid |= (seqid & AM65_CPTS_EVENT_1_SEQUENCE_ID_MASK); in am65_skb_get_mtype_seqid()
/kernel/linux/linux-5.10/drivers/net/ethernet/xscale/
Dixp4xx_eth.c257 static int ixp_ptp_match(struct sk_buff *skb, u16 uid_hi, u32 uid_lo, u16 seqid) in ixp_ptp_match() argument
269 if (skb->len < offset + OFF_PTP_SEQUENCE_ID + sizeof(seqid)) in ixp_ptp_match()
279 seqid == ntohs(*id)); in ixp_ptp_match()
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c106 static int pch_ptp_match(struct sk_buff *skb, u16 uid_hi, u32 uid_lo, u16 seqid) in pch_ptp_match() argument
118 if (skb->len < offset + OFF_PTP_SEQUENCE_ID + sizeof(seqid)) in pch_ptp_match()
125 return (uid_hi == hi && uid_lo == lo && seqid == id); in pch_ptp_match()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch178540 +static int getRet(unsigned long seqid, int *error, s32 *retflag)
178553 + if (obj->seq_id == seqid) {
179034 + v4l2_klog(LOGLVL_VERBOSE, "get msg id = %d, flag = %x, seqid = %lx, err = %d",