Home
last modified time | relevance | path

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

12

/linux/net/rds/
H A Dib_ring.c156 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()
H A Dib_send.c251 u32 oldest; in rds_ib_send_cqe_handler()
269 oldest = rds_ib_ring_oldest(&ic->i_send_ring); in rds_ib_send_cqe_handler()
271 completed = rds_ib_ring_completed(&ic->i_send_ring, wc->wr_id, oldest); in rds_ib_send_cqe_handler()
274 send = &ic->i_sends[oldest]; in rds_ib_send_cqe_handler()
294 oldest = (oldest + 1) % ic->i_send_ring.w_nr; in rds_ib_send_cqe_handler()
249 u32 oldest; rds_ib_send_cqe_handler() local
/linux/drivers/net/xen-netback/
H A Dhash.c38 struct xenvif_hash_cache_entry *new, *entry, *oldest; in xenvif_add_hash() local
53 oldest = NULL; in xenvif_add_hash()
60 if (!oldest || entry->seq < oldest->seq) in xenvif_add_hash()
61 oldest = entry; in xenvif_add_hash()
69 list_del_rcu(&oldest->link); in xenvif_add_hash()
71 kfree_rcu(oldest, rcu); in xenvif_add_hash()
/linux/drivers/input/
H A Dinput-mt.c199 struct input_mt_slot *oldest; in input_mt_report_pointer_emulation() local
206 oldest = NULL; in input_mt_report_pointer_emulation()
217 oldest = ps; in input_mt_report_pointer_emulation()
249 if (oldest) { in input_mt_report_pointer_emulation()
250 int x = input_mt_get_value(oldest, ABS_MT_POSITION_X); in input_mt_report_pointer_emulation()
251 int y = input_mt_get_value(oldest, ABS_MT_POSITION_Y); in input_mt_report_pointer_emulation()
/linux/Documentation/userspace-api/media/v4l/
H A Ddev-event.rst41 full, then the oldest event in that queue will be dropped.
44 the oldest event that is about to be dropped will be merged with the
45 payload of the next oldest event. Thus ensuring that no information
H A Dfunc-read.rst58 single or multiple buffers and discarding the oldest or newest frames
70 depends on the discarding policy. A driver discarding the oldest frames
H A Dvidioc-dqevent.rst147 second-oldest event is kept, but the ``changes`` field of the
148 second-oldest event is ORed with the ``changes`` field of the
149 oldest event.
H A Dvidioc-g-enc-index.rst50 read the meta data in time the oldest entries will be lost. When the
/linux/net/netfilter/
H A Dnf_conntrack_ftp.c340 unsigned int i, oldest; in update_nl_seq() local
352 oldest = 0; in update_nl_seq()
354 oldest = 1; in update_nl_seq()
356 if (after(nl_seq, info->seq_aft_nl[dir][oldest])) in update_nl_seq()
357 info->seq_aft_nl[dir][oldest] = nl_seq; in update_nl_seq()
/linux/drivers/md/dm-vdo/
H A Dfunnel-queue.h64 struct funnel_queue_entry *oldest __aligned(L1_CACHE_BYTES); in __aligned()
/linux/fs/ceph/
H A Daddr.c733 struct ceph_snap_context *snapc, *oldest; in write_folio_nounlock() local
757 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in write_folio_nounlock()
758 if (snapc->seq > oldest->seq) { in write_folio_nounlock()
763 ceph_put_snap_context(oldest); in write_folio_nounlock()
767 ceph_put_snap_context(oldest); in write_folio_nounlock()
875 oldest = folio_detach_private(folio); in write_folio_nounlock()
876 WARN_ON_ONCE(oldest != snapc); in write_folio_nounlock()
1805 struct ceph_snap_context *oldest = get_oldest_context(inode, NULL, NULL); in context_is_writeable_or_written() local
1806 int ret = !oldest || snapc->seq <= oldest->seq; in context_is_writeable_or_written()
1808 ceph_put_snap_context(oldest); in context_is_writeable_or_written()
[all …]
/linux/net/core/
H A Dgro.c459 struct sk_buff *oldest; in gro_flush_oldest() local
461 oldest = list_last_entry(head, struct sk_buff, list); in gro_flush_oldest()
466 if (WARN_ON_ONCE(!oldest)) in gro_flush_oldest()
472 skb_list_del_init(oldest); in gro_flush_oldest()
473 gro_complete(gro, oldest); in gro_flush_oldest()
/linux/fs/smb/client/
H A Ddfs_cache.c453 struct cache_entry *oldest = NULL; in purge_cache() local
464 else if (!oldest || in purge_cache()
466 &oldest->etime) < 0) in purge_cache()
467 oldest = ce; in purge_cache()
471 if (atomic_read(&cache_count) >= CACHE_MAX_ENTRIES && oldest) in purge_cache()
472 flush_cache_ent(oldest); in purge_cache()
/linux/Documentation/driver-api/media/
H A Dv4l2-event.rst32 :c:type:`v4l2_kevent` ringbuffer, then the oldest event will be dropped
68 The ``merge()`` callback allows you to merge the oldest event payload into
69 that of the second-oldest event payload. It is called when
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_mlme.c393 struct wlan_network *oldest = NULL; in rtw_get_oldest_wlan_network() local
401 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
402 oldest = pwlan; in rtw_get_oldest_wlan_network()
405 return oldest; in rtw_get_oldest_wlan_network()
475 struct wlan_network *oldest = NULL; in rtw_update_scanned_network() local
493 if (!oldest || time_after(oldest->last_scanned, pnetwork->last_scanned)) in rtw_update_scanned_network()
494 oldest = pnetwork; in rtw_update_scanned_network()
505 pnetwork = oldest; in rtw_update_scanned_network()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_rx.c1421 struct libipw_network *oldest = NULL; in libipw_process_probe_response() local
1475 if ((oldest == NULL) || in libipw_process_probe_response()
1476 time_before(target->last_scanned, oldest->last_scanned)) in libipw_process_probe_response()
1477 oldest = target; in libipw_process_probe_response()
1485 list_del(&oldest->list); in libipw_process_probe_response()
1486 target = oldest; in libipw_process_probe_response()
/linux/drivers/hid/
H A Dhid-asus.c295 struct input_mt_slot *oldest; in asus_report_tool_width() local
301 oldest = NULL; in asus_report_tool_width()
311 oldest = ps; in asus_report_tool_width()
316 if (oldest) { in asus_report_tool_width()
318 input_mt_get_value(oldest, ABS_MT_TOUCH_MAJOR)); in asus_report_tool_width()
/linux/Documentation/i2c/busses/
H A Di2c-viapro.rst72 Except for the oldest chips (VT82C596A/B, VT82C686A and most probably
/linux/Documentation/driver-api/usb/
H A Danchors.rst69 Returns the oldest anchored URB of an anchor. The URB is unanchored
/linux/Documentation/userspace-api/media/cec/
H A Dcec-ioc-dqevent.rst88 filehandle. The messages lost are the oldest messages. So when a
89 new message arrives and there is no more room, then the oldest
/linux/Documentation/arch/mips/
H A Dingenic-tcu.rst35 - On the oldest SoCs (up to JZ4740), all of the eight channels operate in
/linux/Documentation/userspace-api/gpio/
H A Dgpio-v2-line-event-read.rst62 by userspace. If an overflow occurs then the oldest buffered event is
/linux/Documentation/bpf/
H A Dmap_queue_stack.rst41 when the queue or stack is full, the oldest element will be removed to
/linux/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.c1500 struct gelic_wl_scan_info *oldest = NULL; in gelic_wl_scan_complete_event() local
1573 oldest = NULL; in gelic_wl_scan_complete_event()
1582 if (!oldest || in gelic_wl_scan_complete_event()
1583 (target->last_scanned < oldest->last_scanned)) in gelic_wl_scan_complete_event()
1584 oldest = target; in gelic_wl_scan_complete_event()
1591 target = oldest; in gelic_wl_scan_complete_event()
/linux/net/ipv4/
H A Droute.c597 struct fib_nh_exception *fnhe, *oldest = NULL; in fnhe_remove_oldest() local
604 if (!oldest || in fnhe_remove_oldest()
605 time_before(fnhe->fnhe_stamp, oldest->fnhe_stamp)) { in fnhe_remove_oldest()
606 oldest = fnhe; in fnhe_remove_oldest()
611 /* Clear oldest->fnhe_daddr to prevent this fnhe from being in fnhe_remove_oldest()
614 oldest->fnhe_daddr = 0; in fnhe_remove_oldest()
615 fnhe_flush_routes(oldest); in fnhe_remove_oldest()
616 *oldest_p = oldest->fnhe_next; in fnhe_remove_oldest()
617 kfree_rcu(oldest, rcu); in fnhe_remove_oldest()

12