Home
last modified time | relevance | path

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

123

/linux-6.15/drivers/md/dm-vdo/
H A Dfunnel-queue.c27 queue->oldest = &queue->stub; in vdo_make_funnel_queue()
45 struct funnel_queue_entry *oldest = queue->oldest; in get_oldest() local
48 if (oldest == &queue->stub) { in get_oldest()
59 oldest = next; in get_oldest()
60 queue->oldest = oldest; in get_oldest()
71 if (oldest != newest) { in get_oldest()
96 return oldest; in get_oldest()
107 if (oldest == NULL) in vdo_funnel_queue_poll()
108 return oldest; in vdo_funnel_queue_poll()
116 queue->oldest = READ_ONCE(oldest->next); in vdo_funnel_queue_poll()
[all …]
H A Dlogical-zone.c230 sequence_number_t oldest = in update_oldest_active_generation() local
233 if (oldest == zone->oldest_active_generation) in update_oldest_active_generation()
236 WRITE_ONCE(zone->oldest_active_generation, oldest); in update_oldest_active_generation()
H A Dfunnel-queue.h64 struct funnel_queue_entry *oldest __aligned(L1_CACHE_BYTES); in __aligned()
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/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-6.15/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()
/linux-6.15/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.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.15/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()
/linux-6.15/fs/ceph/
H A Daddr.c714 struct ceph_snap_context *snapc, *oldest; in write_folio_nounlock() local
739 if (snapc->seq > oldest->seq) { in write_folio_nounlock()
744 ceph_put_snap_context(oldest); in write_folio_nounlock()
748 ceph_put_snap_context(oldest); in write_folio_nounlock()
843 oldest = folio_detach_private(folio); in write_folio_nounlock()
844 WARN_ON_ONCE(oldest != snapc); in write_folio_nounlock()
1761 int ret = !oldest || snapc->seq <= oldest->seq; in context_is_writeable_or_written()
1763 ceph_put_snap_context(oldest); in context_is_writeable_or_written()
1805 if (snapc->seq > oldest->seq) { in ceph_find_incompatible()
1807 ceph_put_snap_context(oldest); in ceph_find_incompatible()
[all …]
/linux-6.15/fs/bcachefs/
H A Dalloc_foreground.c1237 struct write_point *wp, *oldest; in writepoint_find() local
1258 oldest = NULL; in writepoint_find()
1261 if (!oldest || time_before64(wp->last_used, oldest->last_used)) in writepoint_find()
1262 oldest = wp; in writepoint_find()
1264 bch2_trans_mutex_lock_norelock(trans, &oldest->lock); in writepoint_find()
1266 if (oldest >= c->write_points + c->write_points_nr || in writepoint_find()
1269 mutex_unlock(&oldest->lock); in writepoint_find()
1274 if (wp && wp != oldest) { in writepoint_find()
1276 mutex_unlock(&oldest->lock); in writepoint_find()
1280 wp = oldest; in writepoint_find()
/linux-6.15/net/core/
H A Dgro.c443 struct sk_buff *oldest; in gro_flush_oldest() local
445 oldest = list_last_entry(head, struct sk_buff, list); in gro_flush_oldest()
450 if (WARN_ON_ONCE(!oldest)) in gro_flush_oldest()
456 skb_list_del_init(oldest); in gro_flush_oldest()
457 gro_complete(gro, oldest); in gro_flush_oldest()
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/fs/smb/client/
H A Ddfs_cache.c450 struct cache_entry *oldest = NULL; in purge_cache() local
461 else if (!oldest || in purge_cache()
463 &oldest->etime) < 0) in purge_cache()
464 oldest = ce; in purge_cache()
468 if (atomic_read(&cache_count) >= CACHE_MAX_ENTRIES && oldest) in purge_cache()
469 flush_cache_ent(oldest); in purge_cache()
/linux-6.15/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-6.15/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()
/linux-6.15/drivers/staging/rtl8723bs/core/
H A Drtw_mlme.c378 struct wlan_network *oldest = NULL; in rtw_get_oldest_wlan_network() local
387 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
388 oldest = pwlan; in rtw_get_oldest_wlan_network()
391 return oldest; in rtw_get_oldest_wlan_network()
467 struct wlan_network *oldest = NULL; in rtw_update_scanned_network() local
487 if (!oldest || time_after(oldest->last_scanned, pnetwork->last_scanned)) in rtw_update_scanned_network()
488 oldest = pnetwork; in rtw_update_scanned_network()
498 pnetwork = oldest; in rtw_update_scanned_network()
/linux-6.15/Documentation/devicetree/bindings/net/dsa/
H A Dmarvell,mv88e6060.yaml25 The MV88E6060 is the oldest Marvell DSA switch product, and
/linux-6.15/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_rx.c1418 struct libipw_network *oldest = NULL; in libipw_process_probe_response() local
1469 if ((oldest == NULL) || in libipw_process_probe_response()
1470 time_before(target->last_scanned, oldest->last_scanned)) in libipw_process_probe_response()
1471 oldest = target; in libipw_process_probe_response()
1479 list_del(&oldest->list); in libipw_process_probe_response()
1480 target = oldest; in libipw_process_probe_response()
/linux-6.15/Documentation/i2c/busses/
H A Di2c-viapro.rst72 Except for the oldest chips (VT82C596A/B, VT82C686A and most probably
/linux-6.15/Documentation/driver-api/usb/
H A Danchors.rst80 Returns the oldest anchored URB of an anchor. The URB is unanchored

123