/linux-master/drivers/md/dm-vdo/ |
H A D | funnel-queue.c | 23 * queue->newest and queue->oldest are never null. 27 queue->oldest = &queue->stub; 45 struct funnel_queue_entry *oldest = queue->oldest; local 46 struct funnel_queue_entry *next = READ_ONCE(oldest->next); 48 if (oldest == &queue->stub) { 50 * When the oldest entry is the stub and it has no successor, the queue is 59 oldest = next; 60 queue->oldest = oldest; 105 struct funnel_queue_entry *oldest = get_oldest(queue); local [all...] |
H A D | funnel-queue.h | 64 struct funnel_queue_entry *oldest __aligned(L1_CACHE_BYTES);
|
H A D | logical-zone.c | 220 * update_oldest_active_generation() - Update the oldest active generation. 223 * Return: true if the oldest active generation has changed. 230 sequence_number_t oldest = local 233 if (oldest == zone->oldest_active_generation) 236 WRITE_ONCE(zone->oldest_active_generation, oldest); 322 * If there are pending flushes, and this data_vio completes the oldest generation active in this 336 "data_vio releasing lock on generation %llu is not older than oldest active generation %llu",
|
/linux-master/net/rds/ |
H A D | ib_ring.c | 144 * returns the oldest allocated ring entry. This will be the next one 156 u32 rds_ib_ring_completed(struct rds_ib_work_ring *ring, u32 wr_id, u32 oldest) argument 160 if (oldest <= (unsigned long long)wr_id) 161 ret = (unsigned long long)wr_id - oldest + 1; 163 ret = ring->w_nr - oldest + (unsigned long long)wr_id + 1; 165 rdsdebug("ring %p ret %u wr_id %u oldest %u\n", ring, ret, 166 wr_id, oldest);
|
H A D | ib_send.c | 249 u32 oldest; local 267 oldest = rds_ib_ring_oldest(&ic->i_send_ring); 269 completed = rds_ib_ring_completed(&ic->i_send_ring, wc->wr_id, oldest); 272 send = &ic->i_sends[oldest]; 292 oldest = (oldest + 1) % ic->i_send_ring.w_nr;
|
H A D | ib.h | 423 u32 rds_ib_ring_completed(struct rds_ib_work_ring *ring, u32 wr_id, u32 oldest);
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | coredump.c | 121 u32 oldest, i, idx; local 139 oldest = (u32)mt76_get_field(dev, MT_MCU_WM_EXCP_PC_CTRL, 142 idx = ((oldest + 2 * i + 1) % 32); 147 oldest = (u32)mt76_get_field(dev, MT_MCU_WM_EXCP_LR_CTRL, 150 idx = ((oldest + 2 * i + 1) % 32);
|
/linux-master/drivers/net/xen-netback/ |
H A D | hash.c | 38 struct xenvif_hash_cache_entry *new, *entry, *oldest; local 53 oldest = NULL; 60 if (!oldest || entry->seq < oldest->seq) 61 oldest = entry; 69 list_del_rcu(&oldest->link); 71 kfree_rcu(oldest, rcu);
|
/linux-master/drivers/input/ |
H A D | input-mt.c | 199 struct input_mt_slot *oldest; local 205 oldest = NULL; 216 oldest = ps; 241 if (oldest) { 242 int x = input_mt_get_value(oldest, ABS_MT_POSITION_X); 243 int y = input_mt_get_value(oldest, ABS_MT_POSITION_Y); 249 int p = input_mt_get_value(oldest, ABS_MT_PRESSURE);
|
/linux-master/net/netfilter/ |
H A D | nf_conntrack_ftp.c | 348 unsigned int i, oldest; local 350 /* Look for oldest: if we find exact match, we're done. */ 360 oldest = 0; 362 oldest = 1; 364 if (after(nl_seq, info->seq_aft_nl[dir][oldest])) 365 info->seq_aft_nl[dir][oldest] = nl_seq;
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | coredump.c | 227 u32 oldest, i, idx; local 233 oldest = (u32)mt76_get_field(dev, 0x89050200, GENMASK(20, 16)) + 2; 235 idx = ((oldest + 2 * i + 1) % 32);
|
/linux-master/fs/ceph/ |
H A D | addr.c | 542 * Get ref for the oldest snapc for an inode with dirty data... that is, the 648 struct ceph_snap_context *snapc, *oldest; local 672 oldest = get_oldest_context(inode, &ceph_wbc, snapc); 673 if (snapc->seq > oldest->seq) { 678 ceph_put_snap_context(oldest); 682 ceph_put_snap_context(oldest); 777 oldest = detach_page_private(page); 778 WARN_ON_ONCE(oldest != snapc); 973 /* find oldest snap context with dirty data */ 981 doutc(cl, " oldest snap 1407 struct ceph_snap_context *oldest = get_oldest_context(inode, NULL, NULL); local 1439 struct ceph_snap_context *snapc, *oldest; local [all...] |
/linux-master/fs/bcachefs/ |
H A D | alloc_foreground.c | 1230 struct write_point *wp, *oldest; local 1251 oldest = NULL; 1254 if (!oldest || time_before64(wp->last_used, oldest->last_used)) 1255 oldest = wp; 1257 bch2_trans_mutex_lock_norelock(trans, &oldest->lock); 1259 if (oldest >= c->write_points + c->write_points_nr || 1262 mutex_unlock(&oldest->lock); 1267 if (wp && wp != oldest) { 1269 mutex_unlock(&oldest [all...] |
/linux-master/net/ipv4/ |
H A D | tcp_metrics.c | 189 struct tcp_metrics_block *oldest; local 191 oldest = deref_locked(tcp_metrics_hash[hash].chain); 192 for (tm = deref_locked(oldest->tcpm_next); tm; 195 READ_ONCE(oldest->tcpm_stamp))) 196 oldest = tm; 198 tm = oldest;
|
H A D | route.c | 596 struct fib_nh_exception *fnhe, *oldest = NULL; local 603 if (!oldest || 604 time_before(fnhe->fnhe_stamp, oldest->fnhe_stamp)) { 605 oldest = fnhe; 609 fnhe_flush_routes(oldest); 610 *oldest_p = oldest->fnhe_next; 611 kfree_rcu(oldest, rcu);
|
/linux-master/drivers/staging/rtl8712/ |
H A D | rtl871x_mlme.c | 261 struct wlan_network *oldest = NULL; local 270 if (!oldest || 271 time_after((unsigned long)oldest->last_scanned, 273 oldest = pwlan; 277 return oldest; 340 struct wlan_network *oldest = NULL; local 352 if ((oldest == ((struct wlan_network *)0)) || 353 time_after((unsigned long)oldest->last_scanned, 355 oldest = pnetwork; 365 /* If there are no more slots, expire the oldest */ [all...] |
/linux-master/net/core/ |
H A D | gro.c | 424 struct sk_buff *oldest; local 426 oldest = list_last_entry(head, struct sk_buff, list); 431 if (WARN_ON_ONCE(!oldest)) 437 skb_list_del_init(oldest); 438 napi_gro_complete(napi, oldest);
|
/linux-master/drivers/staging/rtl8723bs/core/ |
H A D | rtw_mlme.c | 424 struct wlan_network *oldest = NULL; local 433 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) 434 oldest = pwlan; 437 return oldest; 516 struct wlan_network *oldest = NULL; local 533 /* TODO: don't select network in the same ess as oldest if it's new enough*/ 536 if (!oldest || time_after(oldest->last_scanned, pnetwork->last_scanned)) 537 oldest [all...] |
/linux-master/drivers/hid/ |
H A D | hid-asus.c | 223 struct input_mt_slot *oldest; local 229 oldest = NULL; 239 oldest = ps; 244 if (oldest) { 246 input_mt_get_value(oldest, ABS_MT_TOUCH_MAJOR));
|
/linux-master/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw_rx.c | 1511 struct libipw_network *oldest = NULL; local 1562 if ((oldest == NULL) || 1563 time_before(target->last_scanned, oldest->last_scanned)) 1564 oldest = target; 1571 /* If there are no more slots, expire the oldest */ 1572 list_del(&oldest->list); 1573 target = oldest;
|
H A D | ipw2100.c | 70 9) For each TBD that has been processed, the ISR pulls the oldest packet 2782 * packets have been freed, the oldest index will be the same as the 2785 * The OLDEST index is cached in the variable 'priv->tx_queue.oldest' 2816 e = txq->oldest; 2823 e = txq->oldest + frag_num; 2846 * txq->next is the index of the last packet written txq->oldest is 2863 * s - start of oldest BD entry (txq->oldest) 2864 * e - end of oldest BD entry 2877 i = txq->oldest; [all...] |
/linux-master/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_wireless.c | 1500 struct gelic_wl_scan_info *oldest = NULL; local 1573 oldest = NULL; 1582 if (!oldest || 1583 (target->last_scanned < oldest->last_scanned)) 1584 oldest = target; 1590 /* expire oldest */ 1591 target = oldest;
|
/linux-master/drivers/staging/rtl8192e/ |
H A D | rtllib_rx.c | 2391 struct rtllib_network *oldest = NULL; local 2476 if (!oldest || (target->last_scanned < oldest->last_scanned)) 2477 oldest = target; 2485 /* If there are no more slots, expire the oldest */ 2486 list_del(&oldest->list); 2487 target = oldest;
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | index-layout.c | 962 struct index_save_layout *oldest = NULL; local 971 if (oldest == NULL || save_time < oldest_time) { 972 oldest = isl; 977 return oldest;
|
/linux-master/net/wireless/ |
H A D | scan.c | 467 struct cfg80211_internal_bss *bss, *oldest = NULL; local 480 if (oldest && time_before(oldest->ts, bss->ts)) 482 oldest = bss; 485 if (WARN_ON(!oldest)) 494 ret = __cfg80211_unlink_bss(rdev, oldest);
|