Searched refs:oldest (Results 1 – 9 of 9) sorted by relevance
| /net/rds/ |
| A D | ib_ring.c | 156 u32 rds_ib_ring_completed(struct rds_ib_work_ring *ring, u32 wr_id, u32 oldest) in rds_ib_ring_completed() argument 160 if (oldest <= (unsigned long long)wr_id) in rds_ib_ring_completed() 161 ret = (unsigned long long)wr_id - oldest + 1; in rds_ib_ring_completed() 163 ret = ring->w_nr - oldest + (unsigned long long)wr_id + 1; in rds_ib_ring_completed() 166 wr_id, oldest); in rds_ib_ring_completed()
|
| A D | ib_send.c | 249 u32 oldest; in rds_ib_send_cqe_handler() local 267 oldest = rds_ib_ring_oldest(&ic->i_send_ring); in rds_ib_send_cqe_handler() 269 completed = rds_ib_ring_completed(&ic->i_send_ring, wc->wr_id, oldest); in rds_ib_send_cqe_handler() 272 send = &ic->i_sends[oldest]; in rds_ib_send_cqe_handler() 292 oldest = (oldest + 1) % ic->i_send_ring.w_nr; in rds_ib_send_cqe_handler()
|
| A D | ib.h | 419 u32 rds_ib_ring_completed(struct rds_ib_work_ring *ring, u32 wr_id, u32 oldest);
|
| /net/netfilter/ |
| A D | nf_conntrack_ftp.c | 348 unsigned int i, oldest; in update_nl_seq() local 360 oldest = 0; in update_nl_seq() 362 oldest = 1; in update_nl_seq() 364 if (after(nl_seq, info->seq_aft_nl[dir][oldest])) in update_nl_seq() 365 info->seq_aft_nl[dir][oldest] = nl_seq; in update_nl_seq()
|
| /net/core/ |
| A D | gro.c | 443 struct sk_buff *oldest; in gro_flush_oldest() local 445 oldest = list_last_entry(head, struct sk_buff, list); in gro_flush_oldest() 450 if (WARN_ON_ONCE(!oldest)) in gro_flush_oldest() 456 skb_list_del_init(oldest); in gro_flush_oldest() 457 gro_complete(gro, oldest); in gro_flush_oldest()
|
| /net/ipv4/ |
| A D | tcp_metrics.c | 189 struct tcp_metrics_block *oldest; in tcpm_new() local 191 oldest = deref_locked(tcp_metrics_hash[hash].chain); in tcpm_new() 192 for (tm = deref_locked(oldest->tcpm_next); tm; in tcpm_new() 195 READ_ONCE(oldest->tcpm_stamp))) in tcpm_new() 196 oldest = tm; in tcpm_new() 198 tm = oldest; in tcpm_new()
|
| A D | route.c | 596 struct fib_nh_exception *fnhe, *oldest = NULL; in fnhe_remove_oldest() local 603 if (!oldest || in fnhe_remove_oldest() 604 time_before(fnhe->fnhe_stamp, oldest->fnhe_stamp)) { in fnhe_remove_oldest() 605 oldest = fnhe; in fnhe_remove_oldest() 609 fnhe_flush_routes(oldest); in fnhe_remove_oldest() 610 *oldest_p = oldest->fnhe_next; in fnhe_remove_oldest() 611 kfree_rcu(oldest, rcu); in fnhe_remove_oldest()
|
| /net/wireless/ |
| A D | scan.c | 492 struct cfg80211_internal_bss *bss, *oldest = NULL; in cfg80211_bss_expire_oldest() local 505 if (oldest && time_before(oldest->ts, bss->ts)) in cfg80211_bss_expire_oldest() 507 oldest = bss; in cfg80211_bss_expire_oldest() 510 if (WARN_ON(!oldest)) in cfg80211_bss_expire_oldest() 519 ret = __cfg80211_unlink_bss(rdev, oldest); in cfg80211_bss_expire_oldest()
|
| /net/ipv6/ |
| A D | route.c | 1520 struct rt6_exception *rt6_ex, *oldest = NULL; in rt6_exception_remove_oldest() local 1526 if (!oldest || time_before(rt6_ex->stamp, oldest->stamp)) in rt6_exception_remove_oldest() 1527 oldest = rt6_ex; in rt6_exception_remove_oldest() 1529 rt6_remove_exception(bucket, oldest); in rt6_exception_remove_oldest()
|
Completed in 37 milliseconds