/linux/drivers/md/dm-vdo/ |
H A D | funnel-queue.c | 27 queue->oldest = &queue->stub; in vdo_make_funnel_queue() 45 struct funnel_queue_entry *oldest = queue->oldest; in get_oldest() local 46 struct funnel_queue_entry *next = READ_ONCE(oldest->next); in get_oldest() 48 if (oldest == &queue->stub) { in get_oldest() 59 oldest = next; in get_oldest() 60 queue->oldest = oldest; in get_oldest() 61 next = READ_ONCE(oldest->next); in get_oldest() 71 if (oldest != newest) { in get_oldest() 86 next = READ_ONCE(oldest->next); in get_oldest() 96 return oldest; in get_oldest() [all …]
|
H A D | logical-zone.c | 230 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 D | funnel-queue.h | 64 struct funnel_queue_entry *oldest __aligned(L1_CACHE_BYTES); in __aligned()
|
/linux/net/rds/ |
H A D | ib_ring.c | 156 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 D | ib_send.c | 249 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/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | coredump.c | 121 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/drivers/net/xen-netback/ |
H A D | hash.c | 38 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/Documentation/userspace-api/media/v4l/ |
H A D | dev-event.rst | 40 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 D | func-read.rst | 58 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 D | vidioc-dqevent.rst | 147 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.
|
H A D | vidioc-g-enc-index.rst | 50 read the meta data in time the oldest entries will be lost. When the
|
/linux/net/netfilter/ |
H A D | nf_conntrack_ftp.c | 348 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/fs/ceph/ |
H A D | addr.c | 681 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock() local 705 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in writepage_nounlock() 706 if (snapc->seq > oldest->seq) { in writepage_nounlock() 711 ceph_put_snap_context(oldest); in writepage_nounlock() 715 ceph_put_snap_context(oldest); in writepage_nounlock() 810 oldest = detach_page_private(page); in writepage_nounlock() 811 WARN_ON_ONCE(oldest != snapc); in writepage_nounlock() 1441 struct ceph_snap_context *oldest = get_oldest_context(inode, NULL, NULL); in context_is_writeable_or_written() local 1442 int ret = !oldest || snapc->seq <= oldest->seq; in context_is_writeable_or_written() 1444 ceph_put_snap_context(oldest); in context_is_writeable_or_written() [all …]
|
/linux/fs/bcachefs/ |
H A D | alloc_foreground.c | 1218 struct write_point *wp, *oldest; in writepoint_find() local 1239 oldest = NULL; in writepoint_find() 1242 if (!oldest || time_before64(wp->last_used, oldest->last_used)) in writepoint_find() 1243 oldest = wp; in writepoint_find() 1245 bch2_trans_mutex_lock_norelock(trans, &oldest->lock); in writepoint_find() 1247 if (oldest >= c->write_points + c->write_points_nr || in writepoint_find() 1250 mutex_unlock(&oldest->lock); in writepoint_find() 1255 if (wp && wp != oldest) { in writepoint_find() 1257 mutex_unlock(&oldest->lock); in writepoint_find() 1261 wp = oldest; in writepoint_find()
|
/linux/net/core/ |
H A D | gro.c | 444 struct sk_buff *oldest; in gro_flush_oldest() local 446 oldest = list_last_entry(head, struct sk_buff, list); in gro_flush_oldest() 451 if (WARN_ON_ONCE(!oldest)) in gro_flush_oldest() 457 skb_list_del_init(oldest); in gro_flush_oldest() 458 napi_gro_complete(napi, oldest); in gro_flush_oldest()
|
/linux/net/ipv4/ |
H A D | tcp_metrics.c | 189 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/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | coredump.c | 227 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/fs/smb/client/ |
H A D | dfs_cache.c | 450 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/Documentation/driver-api/media/ |
H A D | v4l2-event.rst | 32 :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/Documentation/i2c/busses/ |
H A D | i2c-viapro.rst | 72 Except for the oldest chips (VT82C596A/B, VT82C686A and most probably
|
/linux/Documentation/driver-api/usb/ |
H A D | anchors.rst | 80 Returns the oldest anchored URB of an anchor. The URB is unanchored
|
/linux/Documentation/userspace-api/media/cec/ |
H A D | cec-ioc-dqevent.rst | 88 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/Documentation/arch/mips/ |
H A D | ingenic-tcu.rst | 35 - On the oldest SoCs (up to JZ4740), all of the eight channels operate in
|
/linux/Documentation/userspace-api/gpio/ |
H A D | gpio-v2-line-event-read.rst | 62 by userspace. If an overflow occurs then the oldest buffered event is
|
/linux/Documentation/bpf/ |
H A D | map_queue_stack.rst | 41 when the queue or stack is full, the oldest element will be removed to
|