Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/rds/
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()
Dib_send.c252 u32 oldest; in rds_ib_send_cqe_handler() local
270 oldest = rds_ib_ring_oldest(&ic->i_send_ring); in rds_ib_send_cqe_handler()
272 completed = rds_ib_ring_completed(&ic->i_send_ring, wc->wr_id, oldest); in rds_ib_send_cqe_handler()
275 send = &ic->i_sends[oldest]; in rds_ib_send_cqe_handler()
295 oldest = (oldest + 1) % ic->i_send_ring.w_nr; in rds_ib_send_cqe_handler()
/Linux-v4.19/drivers/input/
Dinput-mt.c201 struct input_mt_slot *oldest; in input_mt_report_pointer_emulation() local
207 oldest = NULL; in input_mt_report_pointer_emulation()
218 oldest = ps; in input_mt_report_pointer_emulation()
243 if (oldest) { in input_mt_report_pointer_emulation()
244 int x = input_mt_get_value(oldest, ABS_MT_POSITION_X); in input_mt_report_pointer_emulation()
245 int y = input_mt_get_value(oldest, ABS_MT_POSITION_Y); in input_mt_report_pointer_emulation()
251 int p = input_mt_get_value(oldest, ABS_MT_PRESSURE); in input_mt_report_pointer_emulation()
/Linux-v4.19/drivers/net/xen-netback/
Dhash.c38 struct xenvif_hash_cache_entry *new, *entry, *oldest; in xenvif_add_hash() local
53 oldest = NULL; in xenvif_add_hash()
59 if (!oldest || entry->seq < oldest->seq) in xenvif_add_hash()
60 oldest = entry; in xenvif_add_hash()
68 list_del_rcu(&oldest->link); in xenvif_add_hash()
70 kfree_rcu(oldest, rcu); in xenvif_add_hash()
/Linux-v4.19/Documentation/media/uapi/v4l/
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
Dfunc-read.rst60 single or multiple buffers and discarding the oldest or newest frames
72 depends on the discarding policy. A driver discarding the oldest frames
Dvidioc-dqevent.rst163 second-oldest event is kept, but the ``changes`` field of the
164 second-oldest event is ORed with the ``changes`` field of the
165 oldest event.
Dvidioc-g-enc-index.rst51 read the meta data in time the oldest entries will be lost. When the
/Linux-v4.19/net/rxrpc/
Dcall_event.c168 ktime_t now, max_age, oldest, ack_ts, timeout, min_timeo; in rxrpc_resend() local
198 oldest = now; in rxrpc_resend()
212 if (ktime_before(skb->tstamp, oldest)) in rxrpc_resend()
213 oldest = skb->tstamp; in rxrpc_resend()
227 resend_at = nsecs_to_jiffies(ktime_to_ns(ktime_sub(now, oldest))); in rxrpc_resend()
/Linux-v4.19/net/netfilter/
Dnf_conntrack_ftp.c353 unsigned int i, oldest; in update_nl_seq() local
365 oldest = 0; in update_nl_seq()
367 oldest = 1; in update_nl_seq()
369 if (after(nl_seq, info->seq_aft_nl[dir][oldest])) in update_nl_seq()
370 info->seq_aft_nl[dir][oldest] = nl_seq; in update_nl_seq()
/Linux-v4.19/drivers/hid/
Dhid-asus.c181 struct input_mt_slot *oldest; in asus_report_tool_width() local
187 oldest = NULL; in asus_report_tool_width()
198 oldest = ps; in asus_report_tool_width()
204 if (oldest) { in asus_report_tool_width()
206 input_mt_get_value(oldest, ABS_MT_TOUCH_MAJOR)); in asus_report_tool_width()
/Linux-v4.19/fs/ceph/
Daddr.c580 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock() local
597 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in writepage_nounlock()
598 if (snapc->seq > oldest->seq) { in writepage_nounlock()
603 ceph_put_snap_context(oldest); in writepage_nounlock()
607 ceph_put_snap_context(oldest); in writepage_nounlock()
1209 struct ceph_snap_context *oldest = get_oldest_context(inode, NULL, NULL); in context_is_writeable_or_written() local
1210 int ret = !oldest || snapc->seq <= oldest->seq; in context_is_writeable_or_written()
1212 ceph_put_snap_context(oldest); in context_is_writeable_or_written()
1236 struct ceph_snap_context *snapc, *oldest; in ceph_update_writeable_page() local
1254 oldest = get_oldest_context(inode, NULL, NULL); in ceph_update_writeable_page()
[all …]
/Linux-v4.19/net/ipv4/
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-v4.19/drivers/staging/rtl8712/
Drtl871x_mlme.c298 struct wlan_network *oldest = NULL; in r8712_get_oldest_wlan_network() local
307 if (oldest == NULL || in r8712_get_oldest_wlan_network()
308 time_after((unsigned long)oldest->last_scanned, in r8712_get_oldest_wlan_network()
310 oldest = pwlan; in r8712_get_oldest_wlan_network()
314 return oldest; in r8712_get_oldest_wlan_network()
377 struct wlan_network *oldest = NULL; in update_scanned_network() local
389 if ((oldest == ((struct wlan_network *)0)) || in update_scanned_network()
390 time_after((unsigned long)oldest->last_scanned, in update_scanned_network()
392 oldest = pnetwork; in update_scanned_network()
404 pnetwork = oldest; in update_scanned_network()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_mlme.c330 struct wlan_network *oldest = NULL; in rtw_get_oldest_wlan_network() local
338 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
339 oldest = pwlan; in rtw_get_oldest_wlan_network()
342 return oldest; in rtw_get_oldest_wlan_network()
407 struct wlan_network *oldest = NULL; in rtw_update_scanned_network() local
418 if ((oldest == ((struct wlan_network *)0)) || in rtw_update_scanned_network()
419 time_after(oldest->last_scanned, pnetwork->last_scanned)) in rtw_update_scanned_network()
420 oldest = pnetwork; in rtw_update_scanned_network()
429 pnetwork = oldest; in rtw_update_scanned_network()
/Linux-v4.19/Documentation/devicetree/bindings/c6x/
Demifa.txt22 of the oldest command in the command FIFO. Setting this field to 255
/Linux-v4.19/Documentation/media/kapi/
Dv4l2-event.rst31 :c:type:`v4l2_kevent` ringbuffer, then the oldest event will be dropped
67 The ``merge()`` callback allows you to merge the oldest event payload into
68 that of the second-oldest event payload. It is called when
/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1539 struct libipw_network *oldest = NULL; in libipw_process_probe_response() local
1590 if ((oldest == NULL) || in libipw_process_probe_response()
1591 time_before(target->last_scanned, oldest->last_scanned)) in libipw_process_probe_response()
1592 oldest = target; in libipw_process_probe_response()
1600 list_del(&oldest->list); in libipw_process_probe_response()
1601 target = oldest; in libipw_process_probe_response()
/Linux-v4.19/Documentation/i2c/busses/
Di2c-viapro68 Except for the oldest chips (VT82C596A/B, VT82C686A and most probably
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_mlme.c494 struct wlan_network *oldest = NULL; in rtw_get_oldest_wlan_network() local
508 if (oldest == NULL || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
509 oldest = pwlan; in rtw_get_oldest_wlan_network()
514 return oldest; in rtw_get_oldest_wlan_network()
618 struct wlan_network *oldest = NULL; in rtw_update_scanned_network() local
643 if (oldest == NULL || time_after(oldest->last_scanned, pnetwork->last_scanned)) in rtw_update_scanned_network()
644 oldest = pnetwork; in rtw_update_scanned_network()
658 pnetwork = oldest; in rtw_update_scanned_network()
/Linux-v4.19/net/wireless/
Dscan.c186 struct cfg80211_internal_bss *bss, *oldest = NULL; in cfg80211_bss_expire_oldest() local
199 if (oldest && time_before(oldest->ts, bss->ts)) in cfg80211_bss_expire_oldest()
201 oldest = bss; in cfg80211_bss_expire_oldest()
204 if (WARN_ON(!oldest)) in cfg80211_bss_expire_oldest()
213 ret = __cfg80211_unlink_bss(rdev, oldest); in cfg80211_bss_expire_oldest()
/Linux-v4.19/Documentation/driver-api/usb/
Danchors.rst80 Returns the oldest anchored URB of an anchor. The URB is unanchored
/Linux-v4.19/Documentation/media/uapi/cec/
Dcec-ioc-dqevent.rst81 filehandle. The messages lost are the oldest messages. So when a
82 new message arrives and there is no more room, then the oldest
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c2389 struct ieee80211_network *oldest = NULL; in ieee80211_process_probe_response() local
2523 if ((oldest == NULL) || in ieee80211_process_probe_response()
2524 (target->last_scanned < oldest->last_scanned)) in ieee80211_process_probe_response()
2525 oldest = target; in ieee80211_process_probe_response()
2533 list_del(&oldest->list); in ieee80211_process_probe_response()
2534 target = oldest; in ieee80211_process_probe_response()
/Linux-v4.19/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c1515 struct gelic_wl_scan_info *oldest = NULL; in gelic_wl_scan_complete_event() local
1588 oldest = NULL; in gelic_wl_scan_complete_event()
1597 if (!oldest || in gelic_wl_scan_complete_event()
1598 (target->last_scanned < oldest->last_scanned)) in gelic_wl_scan_complete_event()
1599 oldest = target; in gelic_wl_scan_complete_event()
1606 target = oldest; in gelic_wl_scan_complete_event()

12