Home
last modified time | relevance | path

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

123

/openbmc/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.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()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dcoredump.c121 u32 oldest, i, idx; in mt7996_coredump_fw_stack() local
139 oldest = (u32)mt76_get_field(dev, MT_MCU_WM_EXCP_PC_CTRL, in mt7996_coredump_fw_stack()
142 idx = ((oldest + 2 * i + 1) % 32); in mt7996_coredump_fw_stack()
147 oldest = (u32)mt76_get_field(dev, MT_MCU_WM_EXCP_LR_CTRL, in mt7996_coredump_fw_stack()
150 idx = ((oldest + 2 * i + 1) % 32); in mt7996_coredump_fw_stack()
/openbmc/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()
/openbmc/linux/drivers/input/
H 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()
/openbmc/linux/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
/openbmc/qemu/python/tests/
H A Dminreqs.txt1 # This file lists the ***oldest possible dependencies*** needed to run
11 # When adding new dependencies, pin the very oldest non-yanked version
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/Boot/
H A DPostCode.interface.yaml28 the oldest boot cycle.
43 the oldest boot cycle.
/openbmc/linux/net/netfilter/
H 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()
/openbmc/linux/net/rxrpc/
H A Dcall_event.c119 ktime_t now, max_age, oldest, ack_ts; in rxrpc_resend() local
128 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()
/openbmc/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()
/openbmc/linux/fs/ceph/
H A Daddr.c662 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock() local
685 if (snapc->seq > oldest->seq) { in writepage_nounlock()
690 ceph_put_snap_context(oldest); in writepage_nounlock()
694 ceph_put_snap_context(oldest); in writepage_nounlock()
785 oldest = detach_page_private(page); in writepage_nounlock()
786 WARN_ON_ONCE(oldest != snapc); in writepage_nounlock()
1408 int ret = !oldest || snapc->seq <= oldest->seq; in context_is_writeable_or_written()
1410 ceph_put_snap_context(oldest); in context_is_writeable_or_written()
1451 if (snapc->seq > oldest->seq) { in ceph_find_incompatible()
1453 ceph_put_snap_context(oldest); in ceph_find_incompatible()
[all …]
/openbmc/linux/net/core/
H A Dgro.c422 struct sk_buff *oldest; in gro_flush_oldest() local
424 oldest = list_last_entry(head, struct sk_buff, list); in gro_flush_oldest()
429 if (WARN_ON_ONCE(!oldest)) in gro_flush_oldest()
435 skb_list_del_init(oldest); in gro_flush_oldest()
436 napi_gro_complete(napi, oldest); in gro_flush_oldest()
/openbmc/linux/drivers/staging/rtl8712/
H 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()
/openbmc/phosphor-mboxd/
H A Dmboxd_windows.c454 struct window_context *oldest = NULL, *cur; in find_oldest_window() local
463 oldest = cur; in find_oldest_window()
467 return oldest; in find_oldest_window()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dcoredump.c227 u32 oldest, i, idx; in mt7915_coredump_fw_stack() local
233 oldest = (u32)mt76_get_field(dev, 0x89050200, GENMASK(20, 16)) + 2; in mt7915_coredump_fw_stack()
235 idx = ((oldest + 2 * i + 1) % 32); in mt7915_coredump_fw_stack()
/openbmc/linux/net/ipv4/
H A Dtcp_metrics.c189 struct tcp_metrics_block *oldest; in tcpm_new() local
191 oldest = deref_locked(tcp_metrics_hash[hash].chain); in tcpm_new()
192 for (tm = deref_locked(oldest->tcpm_next); tm; in tcpm_new()
195 READ_ONCE(oldest->tcpm_stamp))) in tcpm_new()
196 oldest = tm; in tcpm_new()
198 tm = oldest; in tcpm_new()
/openbmc/hiomapd/
H A Dwindows.c460 struct window_context *oldest = NULL, *cur; in windows_find_oldest() local
469 oldest = cur; in windows_find_oldest()
473 return oldest; in windows_find_oldest()
/openbmc/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
/openbmc/u-boot/scripts/coccinelle/net/
H A Dmdio_register.cocci3 //# Stop using the oldest mii interface in drivers
/openbmc/linux/drivers/hid/
H A Dhid-asus.c223 struct input_mt_slot *oldest; in asus_report_tool_width() local
229 oldest = NULL; in asus_report_tool_width()
239 oldest = ps; in asus_report_tool_width()
244 if (oldest) { in asus_report_tool_width()
246 input_mt_get_value(oldest, ABS_MT_TOUCH_MAJOR)); in asus_report_tool_width()
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Sensor/Aggregation/History/
H A DAverage.interface.yaml30 always be ordered from newest to oldest.
H A DMaximum.interface.yaml30 always be ordered from newest to oldest.
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_mlme.c426 struct wlan_network *oldest = NULL; in rtw_get_oldest_wlan_network() local
435 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
436 oldest = pwlan; in rtw_get_oldest_wlan_network()
439 return oldest; in rtw_get_oldest_wlan_network()
518 struct wlan_network *oldest = NULL; in rtw_update_scanned_network() local
538 if (!oldest || time_after(oldest->last_scanned, pnetwork->last_scanned)) in rtw_update_scanned_network()
539 oldest = pnetwork; in rtw_update_scanned_network()
550 pnetwork = oldest; in rtw_update_scanned_network()

123