Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/net/rds/
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()
A Dib_send.c249 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()
/linux-6.3-rc2/drivers/net/xen-netback/
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-6.3-rc2/drivers/input/
A Dinput-mt.c199 struct input_mt_slot *oldest; in input_mt_report_pointer_emulation() local
205 oldest = NULL; in input_mt_report_pointer_emulation()
216 oldest = ps; in input_mt_report_pointer_emulation()
241 if (oldest) { in input_mt_report_pointer_emulation()
242 int x = input_mt_get_value(oldest, ABS_MT_POSITION_X); in input_mt_report_pointer_emulation()
243 int y = input_mt_get_value(oldest, ABS_MT_POSITION_Y); in input_mt_report_pointer_emulation()
249 int p = input_mt_get_value(oldest, ABS_MT_PRESSURE); in input_mt_report_pointer_emulation()
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A Ddev-event.rst40 full, then the oldest event in that queue will be dropped.
43 the oldest event that is about to be dropped will be merged with the
44 payload of the next oldest event. Thus ensuring that no information
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
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.
/linux-6.3-rc2/net/netfilter/
A Dnf_conntrack_ftp.c348 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()
/linux-6.3-rc2/fs/ceph/
A Daddr.c560 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock() local
581 if (snapc->seq > oldest->seq) { in writepage_nounlock()
586 ceph_put_snap_context(oldest); in writepage_nounlock()
590 ceph_put_snap_context(oldest); in writepage_nounlock()
661 oldest = detach_page_private(page); in writepage_nounlock()
662 WARN_ON_ONCE(oldest != snapc); in writepage_nounlock()
1234 int ret = !oldest || snapc->seq <= oldest->seq; in context_is_writeable_or_written()
1236 ceph_put_snap_context(oldest); in context_is_writeable_or_written()
1277 if (snapc->seq > oldest->seq) { in ceph_find_incompatible()
1279 ceph_put_snap_context(oldest); in ceph_find_incompatible()
[all …]
/linux-6.3-rc2/net/rxrpc/
A Dcall_event.c120 ktime_t now, max_age, oldest, ack_ts; in rxrpc_resend() local
129 oldest = now; in rxrpc_resend()
204 if (ktime_before(txb->last_sent, oldest)) in rxrpc_resend()
205 oldest = txb->last_sent; in rxrpc_resend()
220 resend_at = nsecs_to_jiffies(ktime_to_ns(ktime_sub(now, oldest))); in rxrpc_resend()
/linux-6.3-rc2/net/core/
A Dgro.c465 struct sk_buff *oldest; in gro_flush_oldest() local
467 oldest = list_last_entry(head, struct sk_buff, list); in gro_flush_oldest()
472 if (WARN_ON_ONCE(!oldest)) in gro_flush_oldest()
478 skb_list_del_init(oldest); in gro_flush_oldest()
479 napi_gro_complete(napi, oldest); in gro_flush_oldest()
/linux-6.3-rc2/drivers/staging/rtl8712/
A Drtl871x_mlme.c261 struct wlan_network *oldest = NULL; in r8712_get_oldest_wlan_network() local
270 if (!oldest || in r8712_get_oldest_wlan_network()
271 time_after((unsigned long)oldest->last_scanned, in r8712_get_oldest_wlan_network()
273 oldest = pwlan; in r8712_get_oldest_wlan_network()
277 return oldest; in r8712_get_oldest_wlan_network()
340 struct wlan_network *oldest = NULL; in update_scanned_network() local
352 if ((oldest == ((struct wlan_network *)0)) || in update_scanned_network()
353 time_after((unsigned long)oldest->last_scanned, in update_scanned_network()
355 oldest = pnetwork; in update_scanned_network()
366 pnetwork = oldest; in update_scanned_network()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7915/
A Dcoredump.c226 u32 oldest, i, idx; in mt7915_coredump_fw_stack() local
232 oldest = (u32)mt76_get_field(dev, 0x89050200, GENMASK(20, 16)) + 2; in mt7915_coredump_fw_stack()
234 idx = ((oldest + 2 * i + 1) % 32); in mt7915_coredump_fw_stack()
/linux-6.3-rc2/net/ipv4/
A Dtcp_metrics.c172 struct tcp_metrics_block *oldest; in tcpm_new() local
174 oldest = deref_locked(tcp_metrics_hash[hash].chain); in tcpm_new()
175 for (tm = deref_locked(oldest->tcpm_next); tm; in tcpm_new()
177 if (time_before(tm->tcpm_stamp, oldest->tcpm_stamp)) in tcpm_new()
178 oldest = tm; in tcpm_new()
180 tm = oldest; in tcpm_new()
/linux-6.3-rc2/Documentation/driver-api/media/
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-6.3-rc2/drivers/hid/
A Dhid-asus.c222 struct input_mt_slot *oldest; in asus_report_tool_width() local
228 oldest = NULL; in asus_report_tool_width()
238 oldest = ps; in asus_report_tool_width()
243 if (oldest) { in asus_report_tool_width()
245 input_mt_get_value(oldest, ABS_MT_TOUCH_MAJOR)); in asus_report_tool_width()
/linux-6.3-rc2/drivers/staging/rtl8723bs/core/
A Drtw_mlme.c435 struct wlan_network *oldest = NULL; in rtw_get_oldest_wlan_network() local
444 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
445 oldest = pwlan; in rtw_get_oldest_wlan_network()
448 return oldest; in rtw_get_oldest_wlan_network()
527 struct wlan_network *oldest = NULL; in rtw_update_scanned_network() local
547 if (!oldest || time_after(oldest->last_scanned, pnetwork->last_scanned)) in rtw_update_scanned_network()
548 oldest = pnetwork; in rtw_update_scanned_network()
559 pnetwork = oldest; in rtw_update_scanned_network()
/linux-6.3-rc2/drivers/net/wireless/intel/ipw2x00/
A Dlibipw_rx.c1511 struct libipw_network *oldest = NULL; in libipw_process_probe_response() local
1562 if ((oldest == NULL) || in libipw_process_probe_response()
1563 time_before(target->last_scanned, oldest->last_scanned)) in libipw_process_probe_response()
1564 oldest = target; in libipw_process_probe_response()
1572 list_del(&oldest->list); in libipw_process_probe_response()
1573 target = oldest; in libipw_process_probe_response()
/linux-6.3-rc2/Documentation/i2c/busses/
A Di2c-viapro.rst72 Except for the oldest chips (VT82C596A/B, VT82C686A and most probably
/linux-6.3-rc2/Documentation/driver-api/usb/
A Danchors.rst80 Returns the oldest anchored URB of an anchor. The URB is unanchored
/linux-6.3-rc2/Documentation/mips/
A Dingenic-tcu.rst35 - On the oldest SoCs (up to JZ4740), all of the eight channels operate in
/linux-6.3-rc2/Documentation/userspace-api/media/cec/
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-6.3-rc2/Documentation/bpf/
A Dmap_queue_stack.rst41 when the queue or stack is full, the oldest element will be removed to
/linux-6.3-rc2/drivers/staging/rtl8192u/ieee80211/
A Dieee80211_rx.c2245 struct ieee80211_network *oldest = NULL; in ieee80211_process_probe_response() local
2365 if (!oldest || in ieee80211_process_probe_response()
2366 (target->last_scanned < oldest->last_scanned)) in ieee80211_process_probe_response()
2367 oldest = target; in ieee80211_process_probe_response()
2375 list_del(&oldest->list); in ieee80211_process_probe_response()
2376 target = oldest; in ieee80211_process_probe_response()
/linux-6.3-rc2/drivers/net/ethernet/toshiba/
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()

Completed in 69 milliseconds

123