Searched refs:seqp (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/net/dccp/ccids/
H A Dccid2.c40 struct ccid2_seq *seqp; ccid2_hc_tx_alloc_seq() local
49 seqp = kmalloc(CCID2_SEQBUF_LEN * sizeof(struct ccid2_seq), gfp_any()); ccid2_hc_tx_alloc_seq()
50 if (seqp == NULL) ccid2_hc_tx_alloc_seq()
54 seqp[i].ccid2s_next = &seqp[i + 1]; ccid2_hc_tx_alloc_seq()
55 seqp[i + 1].ccid2s_prev = &seqp[i]; ccid2_hc_tx_alloc_seq()
57 seqp[CCID2_SEQBUF_LEN - 1].ccid2s_next = seqp; ccid2_hc_tx_alloc_seq()
58 seqp->ccid2s_prev = &seqp[CCID2_SEQBUF_LEN - 1]; ccid2_hc_tx_alloc_seq()
62 hc->tx_seqh = hc->tx_seqt = seqp; ccid2_hc_tx_alloc_seq()
65 hc->tx_seqh->ccid2s_next = seqp; ccid2_hc_tx_alloc_seq()
66 seqp->ccid2s_prev = hc->tx_seqh; ccid2_hc_tx_alloc_seq()
68 hc->tx_seqt->ccid2s_prev = &seqp[CCID2_SEQBUF_LEN - 1]; ccid2_hc_tx_alloc_seq()
69 seqp[CCID2_SEQBUF_LEN - 1].ccid2s_next = hc->tx_seqt; ccid2_hc_tx_alloc_seq()
73 hc->tx_seqbuf[hc->tx_seqbufc] = seqp; ccid2_hc_tx_alloc_seq()
334 struct ccid2_seq *seqp = hc->tx_seqt; ccid2_hc_tx_packet_sent() local
336 while (seqp != hc->tx_seqh) { ccid2_hc_tx_packet_sent()
338 (unsigned long long)seqp->ccid2s_seq, ccid2_hc_tx_packet_sent()
339 seqp->ccid2s_acked, seqp->ccid2s_sent); ccid2_hc_tx_packet_sent()
340 seqp = seqp->ccid2s_next; ccid2_hc_tx_packet_sent()
426 static void ccid2_new_ack(struct sock *sk, struct ccid2_seq *seqp, ccid2_new_ack() argument
469 ccid2_rtt_estimator(sk, ccid2_time_stamp - seqp->ccid2s_sent); ccid2_new_ack()
472 static void ccid2_congestion_event(struct sock *sk, struct ccid2_seq *seqp) ccid2_congestion_event() argument
476 if ((s32)(seqp->ccid2s_sent - hc->tx_last_cong) < 0) { ccid2_congestion_event()
510 struct ccid2_seq *seqp; ccid2_hc_tx_packet_recv() local
563 seqp = hc->tx_seqt; ccid2_hc_tx_packet_recv()
564 while (before48(seqp->ccid2s_seq, ackno)) { ccid2_hc_tx_packet_recv()
565 seqp = seqp->ccid2s_next; ccid2_hc_tx_packet_recv()
566 if (seqp == hc->tx_seqh) { ccid2_hc_tx_packet_recv()
567 seqp = hc->tx_seqh->ccid2s_prev; ccid2_hc_tx_packet_recv()
595 while (after48(seqp->ccid2s_seq, ackno)) { ccid2_hc_tx_packet_recv()
596 if (seqp == hc->tx_seqt) { ccid2_hc_tx_packet_recv()
600 seqp = seqp->ccid2s_prev; ccid2_hc_tx_packet_recv()
608 while (between48(seqp->ccid2s_seq,ackno_end_rl,ackno)) { ccid2_hc_tx_packet_recv()
613 !seqp->ccid2s_acked) { ccid2_hc_tx_packet_recv()
616 seqp); ccid2_hc_tx_packet_recv()
618 ccid2_new_ack(sk, seqp, ccid2_hc_tx_packet_recv()
621 seqp->ccid2s_acked = 1; ccid2_hc_tx_packet_recv()
623 (unsigned long long)seqp->ccid2s_seq); ccid2_hc_tx_packet_recv()
626 if (seqp == hc->tx_seqt) { ccid2_hc_tx_packet_recv()
630 seqp = seqp->ccid2s_prev; ccid2_hc_tx_packet_recv()
644 seqp = hc->tx_seqt; ccid2_hc_tx_packet_recv()
645 while (before48(seqp->ccid2s_seq, hc->tx_high_ack)) { ccid2_hc_tx_packet_recv()
646 seqp = seqp->ccid2s_next; ccid2_hc_tx_packet_recv()
647 if (seqp == hc->tx_seqh) { ccid2_hc_tx_packet_recv()
648 seqp = hc->tx_seqh->ccid2s_prev; ccid2_hc_tx_packet_recv()
654 if (seqp->ccid2s_acked) { ccid2_hc_tx_packet_recv()
659 if (seqp == hc->tx_seqt) ccid2_hc_tx_packet_recv()
661 seqp = seqp->ccid2s_prev; ccid2_hc_tx_packet_recv()
668 struct ccid2_seq *last_acked = seqp; ccid2_hc_tx_packet_recv()
672 if (!seqp->ccid2s_acked) { ccid2_hc_tx_packet_recv()
674 (unsigned long long)seqp->ccid2s_seq); ccid2_hc_tx_packet_recv()
679 ccid2_congestion_event(sk, seqp); ccid2_hc_tx_packet_recv()
682 if (seqp == hc->tx_seqt) ccid2_hc_tx_packet_recv()
684 seqp = seqp->ccid2s_prev; ccid2_hc_tx_packet_recv()
/linux-4.1.27/fs/xfs/
H A Dxfs_rtalloc.c1277 __uint64_t *seqp; /* pointer to seqno in inode */ xfs_rtpick_extent() local
1281 seqp = (__uint64_t *)&mp->m_rbmip->i_d.di_atime; xfs_rtpick_extent()
1284 *seqp = 0; xfs_rtpick_extent()
1286 seq = *seqp; xfs_rtpick_extent()
1298 *seqp = seq + 1; xfs_rtpick_extent()
/linux-4.1.27/fs/
H A Ddcache.c2118 * @seqp: returns d_seq value at the point where the dentry was found
2145 unsigned *seqp) __d_lookup_rcu()
2200 *seqp = seq; hlist_bl_for_each_entry_rcu()
2213 *seqp = seq; hlist_bl_for_each_entry_rcu()
2143 __d_lookup_rcu(const struct dentry *parent, const struct qstr *name, unsigned *seqp) __d_lookup_rcu() argument

Completed in 236 milliseconds