Home
last modified time | relevance | path

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

/linux/fs/nfs/
A Dnfs4_fs.h100 seqid->flags |= NFS_SEQID_CONFIRMED; in nfs_confirm_seqid()
521 extern void nfs_release_seqid(struct nfs_seqid *seqid);
522 extern void nfs_free_seqid(struct nfs_seqid *seqid);
600 return (s32)(be32_to_cpu(s1->seqid) - be32_to_cpu(s2->seqid)) > 0; in nfs4_stateid_is_newer()
605 u32 seq1 = be32_to_cpu(s1->seqid); in nfs4_stateid_is_next()
606 u32 seq2 = be32_to_cpu(s2->seqid); in nfs4_stateid_is_next()
614 !(src->seqid && nfs4_stateid_is_newer(dst, src)); in nfs4_stateid_match_or_older()
619 u32 seqid = be32_to_cpu(s1->seqid); in nfs4_stateid_seqid_inc() local
621 if (++seqid == 0) in nfs4_stateid_seqid_inc()
622 ++seqid; in nfs4_stateid_seqid_inc()
[all …]
A Dnfs4state.c1069 dst->seqid = 0; in nfs4_select_rw_stateid()
1090 if (seqid == NULL || list_empty(&seqid->list)) in nfs_release_seqid()
1092 sequence = seqid->sequence; in nfs_release_seqid()
1107 nfs_release_seqid(seqid); in nfs_free_seqid()
1108 kfree(seqid); in nfs_free_seqid()
1127 seqid->sequence); in nfs_increment_seqid()
1143 seqid->sequence->counter++; in nfs_increment_seqid()
1150 if (seqid == NULL) in nfs_increment_open_seqid()
1167 if (seqid != NULL) in nfs_increment_lock_seqid()
1176 if (seqid == NULL) in nfs_wait_on_sequence()
[all …]
A Dnfs4trace.h228 be32_to_cpu(cb_stateid->seqid);
528 be32_to_cpu(state->stateid.seqid);
607 be32_to_cpu(state->stateid.seqid);
653 be32_to_cpu(args->stateid.seqid);
707 be32_to_cpu(state->stateid.seqid);
779 be32_to_cpu(state->stateid.seqid);
783 be32_to_cpu(lockstateid->seqid);
872 be32_to_cpu(state->stateid.seqid);
950 be32_to_cpu(args->stateid->seqid);
1219 be32_to_cpu(stateid->seqid);
[all …]
A Ddelegation.c406 delegation->stateid.seqid = update->stateid.seqid; in nfs_update_inplace_delegation()
940 if (stateid->seqid) { in nfs_revoke_delegation()
945 delegation->stateid.seqid = stateid->seqid; in nfs_revoke_delegation()
980 if (stateid->seqid) { in nfs_delegation_mark_returned()
984 if (delegation->stateid.seqid != stateid->seqid) in nfs_delegation_mark_returned()
985 delegation->stateid.seqid = stateid->seqid; in nfs_delegation_mark_returned()
1412 dst->seqid = delegation->stateid.seqid; in nfs4_refresh_delegation_stateid()
A Dnfs4proc.c1333 p->o_res.seqid = p->o_arg.seqid; in nfs4_init_opendata_res()
1334 p->c_res.seqid = p->c_arg.seqid; in nfs4_init_opendata_res()
1429 p->c_arg.seqid = p->o_arg.seqid; in nfs4_opendata_alloc()
3761 calldata->res.seqid = calldata->arg.seqid; in nfs4_do_close()
6648 dst->seqid = lsp->ls_stateid.seqid; in nfs4_refresh_lock_old_stateid()
6693 p->arg.seqid = seqid; in nfs4_alloc_unlockdata()
6694 p->res.seqid = seqid; in nfs4_alloc_unlockdata()
6831 nfs_free_seqid(seqid); in nfs4_do_unlck()
6877 if (IS_ERR(seqid)) in nfs4_proc_unlck()
10147 if (s1->seqid == s2->seqid) in nfs41_match_stateid()
[all …]
A Dpnfs.c355 seq = be32_to_cpu(lo->plh_stateid.seqid); in pnfs_set_plh_return_info()
427 dst->seqid = lo->plh_stateid.seqid; in nfs4_layout_refresh_old_stateid()
539 lseg->pls_seq = be32_to_cpu(stateid->seqid); in pnfs_init_lseg()
969 u32 oldseq = be32_to_cpu(lo->plh_stateid.seqid); in pnfs_set_layout_stateid()
970 u32 newseq = be32_to_cpu(new->seqid); in pnfs_set_layout_stateid()
994 pnfs_barrier_update(lo, be32_to_cpu(lo->plh_stateid.seqid)); in pnfs_set_layout_stateid()
1001 u32 seqid = be32_to_cpu(stateid->seqid); in pnfs_layout_stateid_blocked() local
1003 return lo->plh_barrier && pnfs_seqid_is_newer(lo->plh_barrier, seqid); in pnfs_layout_stateid_blocked()
1164 u32 seq = be32_to_cpu(arg_stateid->seqid); in pnfs_layoutreturn_free_lsegs()
1195 stateid->seqid = cpu_to_be32(lo->plh_return_seq); in pnfs_prepare_layoutreturn()
[all …]
A 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()
A 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()
5165 nfs_increment_open_seqid(status, res->seqid); in decode_open()
5596 res->seqid = be32_to_cpup(p++); in decode_exchange_id()
[all …]
/linux/arch/sparc/kernel/
A Dldc.c67 u32 seqid; member
436 p->seqid = 0; in send_rts()
456 p->seqid = 0; in send_rtr()
680 lp->snd_nxt = p->seqid; in process_rts()
681 lp->rcv_nxt = p->seqid; in process_rts()
699 lp->snd_nxt = p->seqid; in process_rtr()
722 lp->rcv_nxt = p->seqid; in process_rdx()
768 if (p->seqid == ackid) { in process_data_ack()
1616 p->seqid = ++seq; in write_nonraw()
1623 p->seqid); in write_nonraw()
[all …]
/linux/drivers/ptp/
A Dptp_ines.c142 u16 seqid; member
319 ts.seqid = ines_read32(port, ts_tx); in ines_find_txts()
439 u16 portn, seqid; in ines_match() local
453 seqid = be16_to_cpu(hdr->sequence_id); in ines_match()
470 if (ts->seqid != seqid) { in ines_match()
472 ts->seqid, seqid); in ines_match()
533 ts->seqid = ines_read32(port, ts_rx); in ines_rxfifo_read()
/linux/include/linux/
A 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
1352 u32 seqid; member
1363 uint32_t seqid; member
[all …]
A Dnfs4.h59 __be32 seqid; member
/linux/drivers/char/ipmi/
A Dipmi_msghandler.c268 #define NEXT_SEQID(seqid) (((seqid) + 1) & 0x3ffffff) argument
1064 intf->seq_table[i].seqid = NEXT_SEQID(intf->seq_table[i].seqid); in intf_next_seq()
1066 *seqid = intf->seq_table[i].seqid; in intf_next_seq()
1124 unsigned long seqid; in intf_start_seq_timer() local
1135 && (intf->seq_table[seq].seqid == seqid)) { in intf_start_seq_timer()
1165 && (intf->seq_table[seq].seqid == seqid)) { in intf_err_seq()
1965 long seqid; in i_ipmi_req_ipmb() local
2049 &seqid); in i_ipmi_req_ipmb()
2157 long seqid; in i_ipmi_req_lan() local
2220 &seqid); in i_ipmi_req_lan()
[all …]
/linux/fs/nfsd/
A Dtrace.h463 TP_PROTO(u32 seqid, const stateid_t *stp),
464 TP_ARGS(seqid, stp),
466 __field(u32, seqid)
473 __entry->seqid = seqid;
480 __entry->seqid, __entry->cl_boot, __entry->cl_id,
486 TP_PROTO(u32 seqid, const stateid_t *stp), \
487 TP_ARGS(seqid, stp))
A Dnfs4state.c3254 exid->seqid = conf->cl_cs_slot.sl_seqid + 1; in nfsd4_exchange_id()
3281 if (seqid == slot_seqid) in check_slot_seqid()
3287 if (likely(seqid == slot_seqid + 1)) in check_slot_seqid()
3289 if (seqid == slot_seqid) in check_slot_seqid()
3504 cr_ses->seqid = cs_slot->sl_seqid; in nfsd4_create_session()
3831 status = check_slot_seqid(seq->seqid, slot->sl_seqid, in nfsd4_sequence()
3868 slot->sl_seqid = seq->seqid; in nfsd4_sequence()
4730 if (seqid == so->so_seqid - 1) in nfsd4_check_seqid()
4732 if (seqid == so->so_seqid) in nfsd4_check_seqid()
6197 status = nfsd4_check_seqid(cstate, sop, seqid); in nfs4_seqid_op_checks()
[all …]
A Dxdr4.h423 u32 seqid; member
434 u32 seqid; /* request/response */ member
A Dstate.h219 u32 seqid; member
A Dnfs4xdr.c1643 if (xdr_stream_decode_u32(argp->xdr, &sess->seqid) < 0) in nfsd4_decode_create_session()
1793 seq->seqid = be32_to_cpup(p++); in nfsd4_decode_sequence()
4367 *p++ = cpu_to_be32(exid->seqid); in nfsd4_encode_exchange_id()
4430 *p++ = cpu_to_be32(sess->seqid); in nfsd4_encode_create_session()
4483 *p++ = cpu_to_be32(seq->seqid); in nfsd4_encode_sequence()
A Dnfs4proc.c1386 copy->stateid.seqid = cpu_to_be32(s_stid->si_generation); in nfsd4_setup_inter_ssc()
/linux/drivers/net/phy/
A Ddp83640.c83 u16 seqid; /* sequenceId[15:0] */ member
98 u16 seqid; member
282 rxts->seqid = p->seqid; in phy2rxts()
816 u16 seqid; in match() local
830 seqid = be16_to_cpu(hdr->sequence_id); in match()
831 if (rxts->seqid != seqid) in match()
/linux/drivers/net/ethernet/ti/
A 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()
A 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()
/linux/drivers/net/ethernet/mscc/
A Docelot.c832 static bool ocelot_validate_ptp_skb(struct sk_buff *clone, u16 seqid) in ocelot_validate_ptp_skb() argument
840 return seqid == ntohs(hdr->sequence_id); in ocelot_validate_ptp_skb()
850 u32 val, id, seqid, txport; in ocelot_get_txtstamp() local
866 seqid = SYS_PTP_STATUS_PTP_MESS_SEQ_ID(val); in ocelot_get_txtstamp()
892 if (!ocelot_validate_ptp_skb(skb_match, seqid)) { in ocelot_get_txtstamp()
895 txport, seqid); in ocelot_get_txtstamp()
/linux/drivers/net/ethernet/xscale/
A Dixp4xx_eth.c261 static int ixp_ptp_match(struct sk_buff *skb, u16 uid_hi, u32 uid_lo, u16 seqid) in ixp_ptp_match() argument
273 if (skb->len < offset + OFF_PTP_SEQUENCE_ID + sizeof(seqid)) in ixp_ptp_match()
283 seqid == ntohs(*id)); in ixp_ptp_match()
/linux/drivers/net/ethernet/oki-semi/pch_gbe/
A 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()

Completed in 136 milliseconds