Home
last modified time | relevance | path

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

/linux/fs/nfs/
H A Dnfs4_fs.h100 static inline void nfs_confirm_seqid(struct nfs_seqid_counter *seqid, int status) in nfs_confirm_seqid() argument
103 seqid->flags |= NFS_SEQID_CONFIRMED; in nfs_confirm_seqid()
525 extern int nfs_wait_on_sequence(struct nfs_seqid *seqid, struct rpc_task *task);
526 extern void nfs_increment_open_seqid(int status, struct nfs_seqid *seqid);
527 extern void nfs_increment_lock_seqid(int status, struct nfs_seqid *seqid);
528 extern void nfs_release_seqid(struct nfs_seqid *seqid);
529 extern void nfs_free_seqid(struct nfs_seqid *seqid);
608 return (s32)(be32_to_cpu(s1->seqid) - be32_to_cpu(s2->seqid)) > 0; in nfs4_stateid_is_newer()
613 u32 seq1 = be32_to_cpu(s1->seqid); in nfs4_stateid_is_next()
614 u32 seq2 = be32_to_cpu(s2->seqid); in nfs4_stateid_is_next()
[all …]
H A Dnfs4trace.h258 be32_to_cpu(cb_stateid->seqid);
560 be32_to_cpu(state->stateid.seqid);
564 be32_to_cpu(state->open_stateid.seqid);
639 be32_to_cpu(state->stateid.seqid);
685 be32_to_cpu(args->stateid.seqid);
739 be32_to_cpu(state->stateid.seqid);
811 be32_to_cpu(state->stateid.seqid);
815 be32_to_cpu(lockstateid->seqid);
904 be32_to_cpu(state->stateid.seqid);
982 be32_to_cpu(args->stateid->seqid);
[all …]
H A Ddelegation.c413 delegation->stateid.seqid = update->stateid.seqid; in nfs_update_inplace_delegation()
992 if (stateid->seqid) { in nfs_revoke_delegation()
997 delegation->stateid.seqid = stateid->seqid; in nfs_revoke_delegation()
1032 if (stateid->seqid) { in nfs_delegation_mark_returned()
1036 if (delegation->stateid.seqid != stateid->seqid) in nfs_delegation_mark_returned()
1037 delegation->stateid.seqid = stateid->seqid; in nfs_delegation_mark_returned()
1471 dst->seqid = delegation->stateid.seqid; in nfs4_refresh_delegation_stateid()
H A Dnfs4proc.c1405 p->o_res.seqid = p->o_arg.seqid; in nfs4_init_opendata_res()
1406 p->c_res.seqid = p->c_arg.seqid; in nfs4_init_opendata_res()
1439 p->o_arg.seqid = alloc_seqid(&sp->so_seqid, gfp_mask); in nfs4_opendata_alloc()
1440 if (IS_ERR(p->o_arg.seqid)) in nfs4_opendata_alloc()
1496 p->c_arg.seqid = p->o_arg.seqid; in nfs4_opendata_alloc()
1519 nfs_free_seqid(p->o_arg.seqid); in nfs4_opendata_free()
1682 if (stateid->seqid == cpu_to_be32(1)) in nfs_stateid_is_sequential()
1974 nfs_release_seqid(opendata->o_arg.seqid); in nfs4_try_open_cached()
2141 nfs_release_seqid(data->o_arg.seqid); in _nfs4_opendata_to_nfs4_state()
2518 if (nfs_wait_on_sequence(data->o_arg.seqid, task) != 0) in nfs4_open_prepare()
[all …]
H A Dpnfs.c367 seq = be32_to_cpu(lo->plh_stateid.seqid); in pnfs_set_plh_return_info()
439 dst->seqid = lo->plh_stateid.seqid; in nfs4_layout_refresh_old_stateid()
564 lseg->pls_seq = be32_to_cpu(stateid->seqid); in pnfs_init_lseg()
1064 u32 oldseq = be32_to_cpu(lo->plh_stateid.seqid); in pnfs_set_layout_stateid()
1065 u32 newseq = be32_to_cpu(new->seqid); in pnfs_set_layout_stateid()
1089 pnfs_barrier_update(lo, be32_to_cpu(lo->plh_stateid.seqid)); in pnfs_set_layout_stateid()
1096 u32 seqid = be32_to_cpu(stateid->seqid); in pnfs_layout_stateid_blocked() local
1098 return lo->plh_barrier && pnfs_seqid_is_newer(lo->plh_barrier, seqid); in pnfs_layout_stateid_blocked()
1252 u32 seq = be32_to_cpu(arg_stateid->seqid); in pnfs_layoutreturn_retry_later_locked()
1290 u32 seq = be32_to_cpu(arg_stateid->seqid); in pnfs_layoutreturn_free_lsegs()
[all …]
H A Dcallback_proc.c227 newseq = be32_to_cpu(new->seqid); in pnfs_check_callback_stateid()
238 oldseq = be32_to_cpu(lo->plh_stateid.seqid); in pnfs_check_callback_stateid()
290 be32_to_cpu(args->cbl_stateid.seqid))) { in initiate_file_draining()
H A Dnfs4xdr.c1020 const struct nfs_seqid *seqid) in encode_nfs4_seqid() argument
1022 if (seqid != NULL) in encode_nfs4_seqid()
1023 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()
1564 encode_nfs4_seqid(xdr, arg->seqid); in encode_open_confirm()
1571 encode_nfs4_seqid(xdr, arg->seqid); in encode_open_downgrade()
1912 *p++ = cpu_to_be32(args->seqid); /*Sequence id */ in encode_create_session()
4440 nfs_increment_open_seqid(status, res->seqid); in decode_close()
[all …]
/linux/arch/sparc/kernel/
H A 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/tools/testing/selftests/drivers/net/ocelot/
H A Dpsfp.sh218 local seqid
229 for seqid in ${dropped_seqids}; do
232 --start ${seqid} --stop ${seqid} \
/linux/drivers/ptp/
H A Dptp_ines.c142 u16 seqid; member
319 ts.seqid = ines_read32(port, ts_tx); in ines_find_txts()
433 u16 portn, seqid; in ines_match() local
447 seqid = be16_to_cpu(hdr->sequence_id); in ines_match()
464 if (ts->seqid != seqid) { in ines_match()
466 ts->seqid, seqid); in ines_match()
527 ts->seqid = ines_read32(port, ts_rx); in ines_rxfifo_read()
/linux/include/linux/
H A Dnfs_xdr.h474 struct nfs_seqid * seqid; member
507 struct nfs_seqid * seqid; member
526 struct nfs_seqid * seqid; member
532 struct nfs_seqid * seqid; member
542 struct nfs_seqid * seqid; member
554 struct nfs_seqid * seqid; member
594 struct nfs_seqid * seqid; member
601 struct nfs_seqid * seqid; member
1391 u32 seqid; member
1402 uint32_t seqid; member
[all …]
H A Dnfs4.h61 __be32 seqid; member
/linux/drivers/net/ethernet/mscc/
H A Docelot_ptp.c635 u32 seqid) in ocelot_port_dequeue_ptp_tx_skb() argument
652 if (seqid != ntohs(hdr->sequence_id)) in ocelot_port_dequeue_ptp_tx_skb()
840 u32 val, id, seqid, txport; in ocelot_get_txtstamp() local
855 seqid = SYS_PTP_STATUS_PTP_MESS_SEQ_ID(val); in ocelot_get_txtstamp()
860 seqid); in ocelot_get_txtstamp()
868 txport, seqid, id); in ocelot_get_txtstamp()
/linux/drivers/net/ethernet/ti/
H A 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()
H A Dam65-cpts.c879 u16 seqid; in am65_skb_get_mtype_seqid() local
889 seqid = ntohs(hdr->sequence_id); in am65_skb_get_mtype_seqid()
893 *mtype_seqid |= (seqid & AM65_CPTS_EVENT_1_SEQUENCE_ID_MASK); in am65_skb_get_mtype_seqid()
/linux/fs/nfsd/
H A Dnfs4state.c3759 exid->seqid = conf->cl_cs_slot.sl_seqid + 1; in nfsd4_exchange_id()
3803 static __be32 check_slot_seqid(u32 seqid, u32 slot_seqid, u8 flags) in check_slot_seqid() argument
3807 if (seqid == slot_seqid) in check_slot_seqid()
3813 if (likely(seqid == slot_seqid + 1)) in check_slot_seqid()
3815 if ((flags & NFSD4_SLOT_REUSED) && seqid == 1) in check_slot_seqid()
3817 if (seqid == slot_seqid) in check_slot_seqid()
3979 status = check_slot_seqid(cr_ses->seqid, cs_slot->sl_seqid, 0); in nfsd4_create_session()
3983 cr_ses->seqid = cs_slot->sl_seqid; in nfsd4_create_session()
4055 cr_ses->seqid = cs_slot->sl_seqid; in nfsd4_create_session()
4367 status = check_slot_seqid(seq->seqid, slot->sl_seqid, slot->sl_flags); in nfsd4_sequence()
[all …]
H A Dnfs4callback.c509 u32 seqid, slotid, target; in decode_cb_sequence4resok() local
525 seqid = be32_to_cpup(p++); in decode_cb_sequence4resok()
526 if (seqid != session->se_cb_seq_nr[cb->cb_held_slot]) { in decode_cb_sequence4resok()
H A Dnfs4proc.c1626 copy->stateid.seqid = cpu_to_be32(s_stid->si_generation); in nfsd4_setup_inter_ssc()
/linux/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c284 static int ixp_ptp_match(struct sk_buff *skb, u16 uid_hi, u32 uid_lo, u16 seqid) in ixp_ptp_match() argument
296 if (skb->len < offset + OFF_PTP_SEQUENCE_ID + sizeof(seqid)) in ixp_ptp_match()
306 seqid == ntohs(*id)); in ixp_ptp_match()
/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A 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()