Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/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.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()
/OK3568_Linux_fs/kernel/drivers/input/
H A Dinput-mt.c198 struct input_mt_slot *oldest; in input_mt_report_pointer_emulation() local
204 oldest = NULL; in input_mt_report_pointer_emulation()
215 oldest = ps; in input_mt_report_pointer_emulation()
240 if (oldest) { in input_mt_report_pointer_emulation()
241 int x = input_mt_get_value(oldest, ABS_MT_POSITION_X); in input_mt_report_pointer_emulation()
242 int y = input_mt_get_value(oldest, ABS_MT_POSITION_Y); in input_mt_report_pointer_emulation()
248 int p = input_mt_get_value(oldest, ABS_MT_PRESSURE); in input_mt_report_pointer_emulation()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H 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
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.rst148 second-oldest event is kept, but the ``changes`` field of the
149 second-oldest event is ORed with the ``changes`` field of the
150 oldest event.
/OK3568_Linux_fs/kernel/net/rxrpc/
H A Dcall_event.c162 ktime_t now, max_age, oldest, ack_ts; in rxrpc_resend() local
184 oldest = now; in rxrpc_resend()
198 if (ktime_before(skb->tstamp, oldest)) in rxrpc_resend()
199 oldest = skb->tstamp; in rxrpc_resend()
213 resend_at = nsecs_to_jiffies(ktime_to_ns(ktime_sub(now, oldest))); in rxrpc_resend()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_conntrack_ftp.c352 unsigned int i, oldest; in update_nl_seq() local
364 oldest = 0; in update_nl_seq()
366 oldest = 1; in update_nl_seq()
368 if (after(nl_seq, info->seq_aft_nl[dir][oldest])) in update_nl_seq()
369 info->seq_aft_nl[dir][oldest] = nl_seq; in update_nl_seq()
/OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/
H A Dmpp_iommu.c88 struct mpp_dma_buffer *oldest = NULL, *buffer = NULL; in mpp_dma_remove_extra_buffer() local
99 oldest = buffer; in mpp_dma_remove_extra_buffer()
102 if (oldest && kref_read(&oldest->ref) == 1) in mpp_dma_remove_extra_buffer()
103 kref_put(&oldest->ref, mpp_dma_release_buffer); in mpp_dma_remove_extra_buffer()
/OK3568_Linux_fs/kernel/fs/ceph/
H A Daddr.c596 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock() local
612 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in writepage_nounlock()
613 if (snapc->seq > oldest->seq) { in writepage_nounlock()
618 ceph_put_snap_context(oldest); in writepage_nounlock()
622 ceph_put_snap_context(oldest); in writepage_nounlock()
1234 struct ceph_snap_context *oldest = get_oldest_context(inode, NULL, NULL); in context_is_writeable_or_written() local
1235 int ret = !oldest || snapc->seq <= oldest->seq; in context_is_writeable_or_written()
1237 ceph_put_snap_context(oldest); in context_is_writeable_or_written()
1265 struct ceph_snap_context *snapc, *oldest; in ceph_find_incompatible() local
1277 oldest = get_oldest_context(inode, NULL, NULL); in ceph_find_incompatible()
[all …]
/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyaffs_yaffs2.c144 u32 oldest = 0; in yaffs2_find_refresh_block() local
149 return oldest; in yaffs2_find_refresh_block()
155 return oldest; in yaffs2_find_refresh_block()
164 return oldest; in yaffs2_find_refresh_block()
178 if (oldest < 1 || bi->seq_number < oldest_seq) { in yaffs2_find_refresh_block()
179 oldest = b; in yaffs2_find_refresh_block()
186 if (oldest > 0) { in yaffs2_find_refresh_block()
189 dev->refresh_count, oldest, oldest_seq); in yaffs2_find_refresh_block()
192 return oldest; in yaffs2_find_refresh_block()
/OK3568_Linux_fs/buildroot/dl/hostapd/
H A D0001-P2P-Fix-a-corner-case-in-peer-addition-based-on-PD-R.patch6 p2p_add_device() may remove the oldest entry if there is no room in the
12 Address of the oldest remaining entry and the frame has incorrect P2P
/OK3568_Linux_fs/buildroot/dl/wpa_supplicant/
H A D0001-P2P-Fix-a-corner-case-in-peer-addition-based-on-PD-R.patch6 p2p_add_device() may remove the oldest entry if there is no room in the
12 Address of the oldest remaining entry and the frame has incorrect P2P
/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A Drtl871x_mlme.c262 struct wlan_network *oldest = NULL; in r8712_get_oldest_wlan_network() local
271 if (!oldest || in r8712_get_oldest_wlan_network()
272 time_after((unsigned long)oldest->last_scanned, in r8712_get_oldest_wlan_network()
274 oldest = pwlan; in r8712_get_oldest_wlan_network()
278 return oldest; in r8712_get_oldest_wlan_network()
341 struct wlan_network *oldest = NULL; in update_scanned_network() local
353 if ((oldest == ((struct wlan_network *)0)) || in update_scanned_network()
354 time_after((unsigned long)oldest->last_scanned, in update_scanned_network()
356 oldest = pnetwork; in update_scanned_network()
368 pnetwork = oldest; in update_scanned_network()
/OK3568_Linux_fs/kernel/net/ipv4/
H 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()
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-asus.c218 struct input_mt_slot *oldest; in asus_report_tool_width() local
224 oldest = NULL; in asus_report_tool_width()
235 oldest = ps; in asus_report_tool_width()
241 if (oldest) { in asus_report_tool_width()
243 input_mt_get_value(oldest, ABS_MT_TOUCH_MAJOR)); in asus_report_tool_width()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/
H A Drtw_mlme.c321 struct wlan_network *oldest = NULL; in rtw_get_oldest_wlan_network() local
329 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
330 oldest = pwlan; in rtw_get_oldest_wlan_network()
333 return oldest; in rtw_get_oldest_wlan_network()
399 struct wlan_network *oldest = NULL; in rtw_update_scanned_network() local
410 if ((oldest == ((struct wlan_network *)0)) || in rtw_update_scanned_network()
411 time_after(oldest->last_scanned, pnetwork->last_scanned)) in rtw_update_scanned_network()
412 oldest = pnetwork; in rtw_update_scanned_network()
421 pnetwork = oldest; in rtw_update_scanned_network()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_rx.c1533 struct libipw_network *oldest = NULL; in libipw_process_probe_response() local
1584 if ((oldest == NULL) || in libipw_process_probe_response()
1585 time_before(target->last_scanned, oldest->last_scanned)) in libipw_process_probe_response()
1586 oldest = target; in libipw_process_probe_response()
1594 list_del(&oldest->list); in libipw_process_probe_response()
1595 target = oldest; in libipw_process_probe_response()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/
H A Drtw_mlme.c461 struct wlan_network *oldest = NULL; in rtw_get_oldest_wlan_network() local
475 if (oldest == NULL || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
476 oldest = pwlan; in rtw_get_oldest_wlan_network()
481 return oldest; in rtw_get_oldest_wlan_network()
581 struct wlan_network *oldest = NULL; in rtw_update_scanned_network() local
606 if (oldest == NULL || time_after(oldest->last_scanned, pnetwork->last_scanned)) in rtw_update_scanned_network()
607 oldest = pnetwork; in rtw_update_scanned_network()
620 pnetwork = oldest; in rtw_update_scanned_network()
/OK3568_Linux_fs/u-boot/scripts/coccinelle/net/
H A Dmdio_register.cocci3 //# Stop using the oldest mii interface in drivers
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/c6x/
H A Demifa.txt22 of the oldest command in the command FIFO. Setting this field to 255
/OK3568_Linux_fs/buildroot/package/ltp-testsuite/
H A D0005-lapi-if_addr.h-Define-IFA_FLAGS.patch14 Fixed because IFA_F_NOPREFIXROUTE was added in 3.14 and the oldest
/OK3568_Linux_fs/external/xserver/Xi/
H A Dexevents.c1075 TouchPointInfoPtr oldest = NULL; in FindOldestPointerEmulatedTouch() local
1093 if (!oldest) { in FindOldestPointerEmulatedTouch()
1094 oldest = ti; in FindOldestPointerEmulatedTouch()
1098 if (oldest->client_id - ti->client_id < UINT_MAX / 2) in FindOldestPointerEmulatedTouch()
1099 oldest = ti; in FindOldestPointerEmulatedTouch()
1102 return oldest; in FindOldestPointerEmulatedTouch()
1165 TouchPointInfoPtr oldest = FindOldestPointerEmulatedTouch(dev); in CheckOldestTouch() local
1167 if (oldest && oldest->listeners[0].state == LISTENER_AWAITING_BEGIN) in CheckOldestTouch()
1168 TouchPuntToNextOwner(dev, oldest, NULL); in CheckOldestTouch()

1234