Home
last modified time | relevance | path

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

12

/linux-6.6.21/fs/nfs/
Dnfs4_fs.h99 static inline void nfs_confirm_seqid(struct nfs_seqid_counter *seqid, int status) in nfs_confirm_seqid() argument
102 seqid->flags |= NFS_SEQID_CONFIRMED; in nfs_confirm_seqid()
524 extern int nfs_wait_on_sequence(struct nfs_seqid *seqid, struct rpc_task *task);
525 extern void nfs_increment_open_seqid(int status, struct nfs_seqid *seqid);
526 extern void nfs_increment_lock_seqid(int status, struct nfs_seqid *seqid);
527 extern void nfs_release_seqid(struct nfs_seqid *seqid);
528 extern void nfs_free_seqid(struct nfs_seqid *seqid);
606 return (s32)(be32_to_cpu(s1->seqid) - be32_to_cpu(s2->seqid)) > 0; in nfs4_stateid_is_newer()
611 u32 seq1 = be32_to_cpu(s1->seqid); in nfs4_stateid_is_next()
612 u32 seq2 = be32_to_cpu(s2->seqid); in nfs4_stateid_is_next()
[all …]
Dnfs4state.c1073 dst->seqid = 0; in nfs4_select_rw_stateid()
1090 void nfs_release_seqid(struct nfs_seqid *seqid) in nfs_release_seqid() argument
1094 if (seqid == NULL || list_empty(&seqid->list)) in nfs_release_seqid()
1096 sequence = seqid->sequence; in nfs_release_seqid()
1098 list_del_init(&seqid->list); in nfs_release_seqid()
1109 void nfs_free_seqid(struct nfs_seqid *seqid) in nfs_free_seqid() argument
1111 nfs_release_seqid(seqid); in nfs_free_seqid()
1112 kfree(seqid); in nfs_free_seqid()
1120 static void nfs_increment_seqid(int status, struct nfs_seqid *seqid) in nfs_increment_seqid() argument
1126 if (seqid->sequence->flags & NFS_SEQID_CONFIRMED) in nfs_increment_seqid()
[all …]
Dnfs4trace.h228 be32_to_cpu(cb_stateid->seqid);
530 be32_to_cpu(state->stateid.seqid);
534 be32_to_cpu(state->open_stateid.seqid);
609 be32_to_cpu(state->stateid.seqid);
655 be32_to_cpu(args->stateid.seqid);
709 be32_to_cpu(state->stateid.seqid);
781 be32_to_cpu(state->stateid.seqid);
785 be32_to_cpu(lockstateid->seqid);
874 be32_to_cpu(state->stateid.seqid);
952 be32_to_cpu(args->stateid->seqid);
[all …]
Ddelegation.c404 delegation->stateid.seqid = update->stateid.seqid; in nfs_update_inplace_delegation()
938 if (stateid->seqid) { in nfs_revoke_delegation()
943 delegation->stateid.seqid = stateid->seqid; in nfs_revoke_delegation()
978 if (stateid->seqid) { in nfs_delegation_mark_returned()
982 if (delegation->stateid.seqid != stateid->seqid) in nfs_delegation_mark_returned()
983 delegation->stateid.seqid = stateid->seqid; in nfs_delegation_mark_returned()
1410 dst->seqid = delegation->stateid.seqid; in nfs4_refresh_delegation_stateid()
Dnfs4proc.c1343 p->o_res.seqid = p->o_arg.seqid; in nfs4_init_opendata_res()
1344 p->c_res.seqid = p->c_arg.seqid; in nfs4_init_opendata_res()
1377 p->o_arg.seqid = alloc_seqid(&sp->so_seqid, gfp_mask); in nfs4_opendata_alloc()
1378 if (IS_ERR(p->o_arg.seqid)) in nfs4_opendata_alloc()
1434 p->c_arg.seqid = p->o_arg.seqid; in nfs4_opendata_alloc()
1457 nfs_free_seqid(p->o_arg.seqid); in nfs4_opendata_free()
1620 if (stateid->seqid == cpu_to_be32(1)) in nfs_stateid_is_sequential()
1912 nfs_release_seqid(opendata->o_arg.seqid); in nfs4_try_open_cached()
2069 nfs_release_seqid(data->o_arg.seqid); in _nfs4_opendata_to_nfs4_state()
2434 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()
984 u32 oldseq = be32_to_cpu(lo->plh_stateid.seqid); in pnfs_set_layout_stateid()
985 u32 newseq = be32_to_cpu(new->seqid); in pnfs_set_layout_stateid()
1009 pnfs_barrier_update(lo, be32_to_cpu(lo->plh_stateid.seqid)); in pnfs_set_layout_stateid()
1016 u32 seqid = be32_to_cpu(stateid->seqid); in pnfs_layout_stateid_blocked() local
1018 return lo->plh_barrier && pnfs_seqid_is_newer(lo->plh_barrier, seqid); in pnfs_layout_stateid_blocked()
1179 u32 seq = be32_to_cpu(arg_stateid->seqid); in pnfs_layoutreturn_free_lsegs()
1210 stateid->seqid = cpu_to_be32(lo->plh_return_seq); in pnfs_prepare_layoutreturn()
[all …]
Dcallback_proc.c222 newseq = be32_to_cpu(new->seqid); in pnfs_check_callback_stateid()
234 oldseq = be32_to_cpu(lo->plh_stateid.seqid); in pnfs_check_callback_stateid()
284 be32_to_cpu(args->cbl_stateid.seqid))) { in initiate_file_draining()
Dnfs4xdr.c1021 const struct nfs_seqid *seqid) in encode_nfs4_seqid() argument
1023 if (seqid != NULL) in encode_nfs4_seqid()
1024 encode_uint32(xdr, seqid->sequence->counter); in encode_nfs4_seqid()
1209 encode_nfs4_seqid(xdr, arg->seqid); in encode_close()
1377 encode_nfs4_seqid(xdr, args->seqid); in encode_locku()
1417 encode_nfs4_seqid(xdr, arg->seqid); in encode_openhdr()
1566 encode_nfs4_seqid(xdr, arg->seqid); in encode_open_confirm()
1573 encode_nfs4_seqid(xdr, arg->seqid); in encode_open_downgrade()
1878 *p++ = cpu_to_be32(args->seqid); /*Sequence id */ in encode_create_session()
4391 nfs_increment_open_seqid(status, res->seqid); in decode_close()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/tools/testing/selftests/drivers/net/ocelot/
Dpsfp.sh218 local seqid
229 for seqid in ${dropped_seqids}; do
232 --start ${seqid} --stop ${seqid} \
/linux-6.6.21/drivers/ptp/
Dptp_ines.c142 u16 seqid; member
319 ts.seqid = ines_read32(port, ts_tx); in ines_find_txts()
435 u16 portn, seqid; in ines_match() local
449 seqid = be16_to_cpu(hdr->sequence_id); in ines_match()
466 if (ts->seqid != seqid) { in ines_match()
468 ts->seqid, seqid); in ines_match()
529 ts->seqid = ines_read32(port, ts_rx); in ines_rxfifo_read()
/linux-6.6.21/include/linux/
Dnfs_xdr.h458 struct nfs_seqid * seqid; member
491 struct nfs_seqid * seqid; member
513 struct nfs_seqid * seqid; member
519 struct nfs_seqid * seqid; member
529 struct nfs_seqid * seqid; member
541 struct nfs_seqid * seqid; member
581 struct nfs_seqid * seqid; member
588 struct nfs_seqid * seqid; member
1364 u32 seqid; member
1375 uint32_t seqid; member
[all …]
Dnfs4.h59 __be32 seqid; member
/linux-6.6.21/drivers/soc/tegra/cbb/
Dtegra194-cbb.c124 u16 seqid; member
1616 info->seqid = FIELD_GET(CBB_NOC_SEQID, routeid); in cbbcentralnoc_parse_routeid()
1624 info->seqid = FIELD_GET(BPMP_NOC_SEQID, routeid); in bpmpnoc_parse_routeid()
1632 info->seqid = FIELD_GET(AON_NOC_SEQID, routeid); in aonnoc_parse_routeid()
1640 info->seqid = FIELD_GET(SCE_NOC_SEQID, routeid); in scenoc_parse_routeid()
1822 u32 seqid = 0; in print_errlog1_2() local
1835 tegra_cbb_print_err(file, "\t SeqId\t\t\t: %d\n", seqid); in print_errlog1_2()
/linux-6.6.21/drivers/char/ipmi/
Dipmi_msghandler.c259 long seqid; member
273 #define STORE_SEQ_IN_MSGID(seq, seqid) \ argument
274 ((((seq) & 0x3f) << 26) | ((seqid) & 0x3ffffff))
276 #define GET_SEQ_FROM_MSGID(msgid, seq, seqid) \ argument
279 seqid = ((msgid) & 0x3ffffff); \
282 #define NEXT_SEQID(seqid) (((seqid) + 1) & 0x3ffffff) argument
1050 long *seqid) in intf_next_seq() argument
1078 intf->seq_table[i].seqid = NEXT_SEQID(intf->seq_table[i].seqid); in intf_next_seq()
1080 *seqid = intf->seq_table[i].seqid; in intf_next_seq()
1138 unsigned long seqid; in intf_start_seq_timer() local
[all …]
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_ptp.c733 static bool ocelot_validate_ptp_skb(struct sk_buff *clone, u16 seqid) in ocelot_validate_ptp_skb() argument
741 return seqid == ntohs(hdr->sequence_id); in ocelot_validate_ptp_skb()
751 u32 val, id, seqid, txport; in ocelot_get_txtstamp() local
767 seqid = SYS_PTP_STATUS_PTP_MESS_SEQ_ID(val); in ocelot_get_txtstamp()
793 if (!ocelot_validate_ptp_skb(skb_match, seqid)) { in ocelot_get_txtstamp()
796 txport, seqid); in ocelot_get_txtstamp()
/linux-6.6.21/drivers/net/phy/
Ddp83640.c83 u16 seqid; /* sequenceId[15:0] */ member
98 u16 seqid; member
282 rxts->seqid = p->seqid; in phy2rxts()
809 u16 seqid; in match() local
823 seqid = be16_to_cpu(hdr->sequence_id); in match()
824 if (rxts->seqid != seqid) in match()
/linux-6.6.21/fs/nfsd/
Dtrace.h615 TP_PROTO(u32 seqid, const stateid_t *stp),
616 TP_ARGS(seqid, stp),
618 __field(u32, seqid)
625 __entry->seqid = seqid;
632 __entry->seqid, __entry->cl_boot, __entry->cl_id,
638 TP_PROTO(u32 seqid, const stateid_t *stp), \
639 TP_ARGS(seqid, stp))
Dnfs4state.c3421 exid->seqid = conf->cl_cs_slot.sl_seqid + 1; in nfsd4_exchange_id()
3441 check_slot_seqid(u32 seqid, u32 slot_seqid, int slot_inuse) in check_slot_seqid() argument
3443 dprintk("%s enter. seqid %d slot_seqid %d\n", __func__, seqid, in check_slot_seqid()
3448 if (seqid == slot_seqid) in check_slot_seqid()
3454 if (likely(seqid == slot_seqid + 1)) in check_slot_seqid()
3456 if (seqid == slot_seqid) in check_slot_seqid()
3621 status = check_slot_seqid(cr_ses->seqid, cs_slot->sl_seqid, 0); in nfsd4_create_session()
3638 status = check_slot_seqid(cr_ses->seqid, cs_slot->sl_seqid, 0); in nfsd4_create_session()
3671 cr_ses->seqid = cs_slot->sl_seqid; in nfsd4_create_session()
3998 status = check_slot_seqid(seq->seqid, slot->sl_seqid, in nfsd4_sequence()
[all …]
Dxdr4.h426 u32 seqid; member
437 u32 seqid; /* request/response */ member
Dstate.h220 u32 seqid; member
/linux-6.6.21/drivers/net/ethernet/ti/
Dcpts.c439 u16 seqid; in cpts_skb_get_mtype_seqid() local
449 seqid = ntohs(hdr->sequence_id); in cpts_skb_get_mtype_seqid()
452 *mtype_seqid |= (seqid & SEQUENCE_ID_MASK) << SEQUENCE_ID_SHIFT; in cpts_skb_get_mtype_seqid()
Dam65-cpts.c890 u16 seqid; in am65_skb_get_mtype_seqid() local
900 seqid = ntohs(hdr->sequence_id); in am65_skb_get_mtype_seqid()
904 *mtype_seqid |= (seqid & AM65_CPTS_EVENT_1_SEQUENCE_ID_MASK); in am65_skb_get_mtype_seqid()
/linux-6.6.21/drivers/net/ethernet/xscale/
Dixp4xx_eth.c276 static int ixp_ptp_match(struct sk_buff *skb, u16 uid_hi, u32 uid_lo, u16 seqid) in ixp_ptp_match() argument
288 if (skb->len < offset + OFF_PTP_SEQUENCE_ID + sizeof(seqid)) in ixp_ptp_match()
298 seqid == ntohs(*id)); in ixp_ptp_match()
/linux-6.6.21/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c104 static int pch_ptp_match(struct sk_buff *skb, u16 uid_hi, u32 uid_lo, u16 seqid) in pch_ptp_match() argument
116 if (skb->len < offset + OFF_PTP_SEQUENCE_ID + sizeof(seqid)) in pch_ptp_match()
123 return (uid_hi == hi && uid_lo == lo && seqid == id); in pch_ptp_match()

12