Searched refs:oldest (Results 1 - 25 of 30) sorted by last modified time

12

/linux-master/net/core/
H A Dgro.c425 struct sk_buff *oldest; local
427 oldest = list_last_entry(head, struct sk_buff, list);
432 if (WARN_ON_ONCE(!oldest))
438 skb_list_del_init(oldest);
439 napi_gro_complete(napi, oldest);
/linux-master/net/ipv4/
H A Droute.c596 struct fib_nh_exception *fnhe, *oldest = NULL; local
603 if (!oldest ||
604 time_before(fnhe->fnhe_stamp, oldest->fnhe_stamp)) {
605 oldest = fnhe;
609 fnhe_flush_routes(oldest);
610 *oldest_p = oldest->fnhe_next;
611 kfree_rcu(oldest, rcu);
H A Dtcp_metrics.c189 struct tcp_metrics_block *oldest; local
191 oldest = deref_locked(tcp_metrics_hash[hash].chain);
192 for (tm = deref_locked(oldest->tcpm_next); tm;
195 READ_ONCE(oldest->tcpm_stamp)))
196 oldest = tm;
198 tm = oldest;
/linux-master/fs/ceph/
H A Daddr.c542 * Get ref for the oldest snapc for an inode with dirty data... that is, the
648 struct ceph_snap_context *snapc, *oldest; local
672 oldest = get_oldest_context(inode, &ceph_wbc, snapc);
673 if (snapc->seq > oldest->seq) {
678 ceph_put_snap_context(oldest);
682 ceph_put_snap_context(oldest);
777 oldest = detach_page_private(page);
778 WARN_ON_ONCE(oldest != snapc);
973 /* find oldest snap context with dirty data */
981 doutc(cl, " oldest snap
1407 struct ceph_snap_context *oldest = get_oldest_context(inode, NULL, NULL); local
1439 struct ceph_snap_context *snapc, *oldest; local
[all...]
/linux-master/fs/bcachefs/
H A Dalloc_foreground.c1230 struct write_point *wp, *oldest; local
1251 oldest = NULL;
1254 if (!oldest || time_before64(wp->last_used, oldest->last_used))
1255 oldest = wp;
1257 bch2_trans_mutex_lock_norelock(trans, &oldest->lock);
1259 if (oldest >= c->write_points + c->write_points_nr ||
1262 mutex_unlock(&oldest->lock);
1267 if (wp && wp != oldest) {
1269 mutex_unlock(&oldest
[all...]
/linux-master/drivers/staging/rtl8723bs/core/
H A Drtw_mlme.c424 struct wlan_network *oldest = NULL; local
433 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned))
434 oldest = pwlan;
437 return oldest;
516 struct wlan_network *oldest = NULL; local
533 /* TODO: don't select network in the same ess as oldest if it's new enough*/
536 if (!oldest || time_after(oldest->last_scanned, pnetwork->last_scanned))
537 oldest
[all...]
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_rx.c2391 struct rtllib_network *oldest = NULL; local
2476 if (!oldest || (target->last_scanned < oldest->last_scanned))
2477 oldest = target;
2485 /* If there are no more slots, expire the oldest */
2486 list_del(&oldest->list);
2487 target = oldest;
/linux-master/mm/
H A Dmemcontrol.c4875 int oldest = -1; local
4882 * using it. If not replace the oldest one which isn't being
4892 oldest = i;
4911 } else if (oldest >= 0) {
4912 /* replace the oldest free one */
4913 frn = &memcg->cgwb_frn[oldest];
/linux-master/drivers/md/dm-vdo/
H A Dlogical-zone.c220 * update_oldest_active_generation() - Update the oldest active generation.
223 * Return: true if the oldest active generation has changed.
230 sequence_number_t oldest = local
233 if (oldest == zone->oldest_active_generation)
236 WRITE_ONCE(zone->oldest_active_generation, oldest);
322 * If there are pending flushes, and this data_vio completes the oldest generation active in this
336 "data_vio releasing lock on generation %llu is not older than oldest active generation %llu",
H A Dfunnel-queue.h64 struct funnel_queue_entry *oldest __aligned(L1_CACHE_BYTES);
H A Dfunnel-queue.c23 * queue->newest and queue->oldest are never null.
27 queue->oldest = &queue->stub;
45 struct funnel_queue_entry *oldest = queue->oldest; local
46 struct funnel_queue_entry *next = READ_ONCE(oldest->next);
48 if (oldest == &queue->stub) {
50 * When the oldest entry is the stub and it has no successor, the queue is
59 oldest = next;
60 queue->oldest = oldest;
105 struct funnel_queue_entry *oldest = get_oldest(queue); local
[all...]
/linux-master/drivers/md/dm-vdo/indexer/
H A Dindex-layout.c962 struct index_save_layout *oldest = NULL; local
971 if (oldest == NULL || save_time < oldest_time) {
972 oldest = isl;
977 return oldest;
/linux-master/net/wireless/
H A Dscan.c467 struct cfg80211_internal_bss *bss, *oldest = NULL; local
480 if (oldest && time_before(oldest->ts, bss->ts))
482 oldest = bss;
485 if (WARN_ON(!oldest))
494 ret = __cfg80211_unlink_bss(rdev, oldest);
/linux-master/net/ipv6/
H A Droute.c1479 /* Remove oldest rt6_ex in bucket and free the memory
1484 struct rt6_exception *rt6_ex, *oldest = NULL; local
1490 if (!oldest || time_before(rt6_ex->stamp, oldest->stamp))
1491 oldest = rt6_ex;
1493 rt6_remove_exception(bucket, oldest);
/linux-master/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_ioc.h675 __le32 oldest; member in struct:mpi3_pel_seq
/linux-master/drivers/hid/
H A Dhid-asus.c223 struct input_mt_slot *oldest; local
229 oldest = NULL;
239 oldest = ps;
244 if (oldest) {
246 input_mt_get_value(oldest, ABS_MT_TOUCH_MAJOR));
/linux-master/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.c7526 /* Use oldest network if the free list is empty */
7528 struct libipw_network *oldest = NULL; local
7532 if ((oldest == NULL) ||
7533 (target->last_scanned < oldest->last_scanned))
7534 oldest = target;
7537 /* If there are no more slots, expire the oldest */
7538 list_del(&oldest->list);
7539 target = oldest;
H A Dipw2100.c70 9) For each TBD that has been processed, the ISR pulls the oldest packet
2782 * packets have been freed, the oldest index will be the same as the
2785 * The OLDEST index is cached in the variable 'priv->tx_queue.oldest'
2816 e = txq->oldest;
2823 e = txq->oldest + frag_num;
2846 * txq->next is the index of the last packet written txq->oldest is
2863 * s - start of oldest BD entry (txq->oldest)
2864 * e - end of oldest BD entry
2877 i = txq->oldest;
[all...]
H A Dlibipw_rx.c1511 struct libipw_network *oldest = NULL; local
1562 if ((oldest == NULL) ||
1563 time_before(target->last_scanned, oldest->last_scanned))
1564 oldest = target;
1571 /* If there are no more slots, expire the oldest */
1572 list_del(&oldest->list);
1573 target = oldest;
/linux-master/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.c1500 struct gelic_wl_scan_info *oldest = NULL; local
1573 oldest = NULL;
1582 if (!oldest ||
1583 (target->last_scanned < oldest->last_scanned))
1584 oldest = target;
1590 /* expire oldest */
1591 target = oldest;
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dcoredump.c227 u32 oldest, i, idx; local
233 oldest = (u32)mt76_get_field(dev, 0x89050200, GENMASK(20, 16)) + 2;
235 idx = ((oldest + 2 * i + 1) % 32);
/linux-master/drivers/staging/rtl8712/
H A Drtl871x_mlme.c261 struct wlan_network *oldest = NULL; local
270 if (!oldest ||
271 time_after((unsigned long)oldest->last_scanned,
273 oldest = pwlan;
277 return oldest;
340 struct wlan_network *oldest = NULL; local
352 if ((oldest == ((struct wlan_network *)0)) ||
353 time_after((unsigned long)oldest->last_scanned,
355 oldest = pnetwork;
365 /* If there are no more slots, expire the oldest */
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dcoredump.c121 u32 oldest, i, idx; local
139 oldest = (u32)mt76_get_field(dev, MT_MCU_WM_EXCP_PC_CTRL,
142 idx = ((oldest + 2 * i + 1) % 32);
147 oldest = (u32)mt76_get_field(dev, MT_MCU_WM_EXCP_LR_CTRL,
150 idx = ((oldest + 2 * i + 1) % 32);
/linux-master/net/netfilter/
H A Dnf_conntrack_ftp.c348 unsigned int i, oldest; local
350 /* Look for oldest: if we find exact match, we're done. */
360 oldest = 0;
362 oldest = 1;
364 if (after(nl_seq, info->seq_aft_nl[dir][oldest]))
365 info->seq_aft_nl[dir][oldest] = nl_seq;
/linux-master/drivers/input/
H A Dinput-mt.c199 struct input_mt_slot *oldest; local
205 oldest = NULL;
216 oldest = ps;
241 if (oldest) {
242 int x = input_mt_get_value(oldest, ABS_MT_POSITION_X);
243 int y = input_mt_get_value(oldest, ABS_MT_POSITION_Y);
249 int p = input_mt_get_value(oldest, ABS_MT_PRESSURE);

Completed in 614 milliseconds

12