Home
last modified time | relevance | path

Searched refs:last_used (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.12.1/lib/
Dinterval_tree.c73 iter->last_used = iter->nodes[0]->last; in interval_tree_span_iter_first()
74 if (iter->last_used >= last_index) { in interval_tree_span_iter_first()
75 iter->last_used = last_index; in interval_tree_span_iter_first()
91 iter->last_used = iter->nodes[0]->last; in interval_tree_span_iter_next()
92 if (iter->last_used >= iter->last_index) { in interval_tree_span_iter_next()
93 iter->last_used = iter->last_index; in interval_tree_span_iter_next()
/linux-6.12.1/fs/autofs/
Dexpire.c22 if (!timeout || time_after(ino->last_used + timeout, jiffies)) in autofs_can_expire()
62 ino->last_used = jiffies; in autofs_mount_busy()
164 ino->last_used = jiffies; in autofs_direct_busy()
205 top_ino->last_used = jiffies; in autofs_tree_busy()
220 top_ino->last_used = jiffies; in autofs_tree_busy()
565 ino->last_used = jiffies; in autofs_expire_run()
597 ino->last_used = jiffies; in autofs_do_expire_multi()
Dsymlink.c20 ino->last_used = jiffies; in autofs_get_link()
Dinode.c20 ino->last_used = jiffies; in autofs_new_ino()
33 ino->last_used = jiffies; in autofs_clean_ino()
/linux-6.12.1/drivers/leds/trigger/
Dledtrig-activity.c26 u64 last_used; member
80 diff_used = (curr_used - activity_data->last_used) >> 16; in led_activity_function()
82 activity_data->last_used = curr_used; in led_activity_function()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c156 priv->mask_ids.last_used[mask_id] = ktime_get(); in nfp_release_mask_id()
188 reuse_timeout = ktime_add_ns(priv->mask_ids.last_used[*mask_id], in nfp_mask_alloc()
559 priv->mask_ids.last_used = in nfp_flower_metadata_init()
561 sizeof(*priv->mask_ids.last_used), GFP_KERNEL); in nfp_flower_metadata_init()
562 if (!priv->mask_ids.last_used) in nfp_flower_metadata_init()
589 kfree(priv->mask_ids.last_used); in nfp_flower_metadata_init()
724 kfree(priv->mask_ids.last_used); in nfp_flower_metadata_cleanup()
/linux-6.12.1/tools/testing/selftests/powerpc/nx-gzip/
Dgunz_test.c283 int first_free, last_free, first_used, last_used; in decompress_file() local
497 last_used = fifo_used_last_bytes(cur_out, used_out, fifo_out_len); in decompress_file()
515 if (last_used > 0) { /* If more data available in the last part */ in decompress_file()
516 write_sz = last_used; /* Keep it here for later */ in decompress_file()
607 last_used = fifo_used_last_bytes(cur_in, used_in, fifo_in_len); in decompress_file()
612 if (last_used > 0) in decompress_file()
613 nx_append_dde(ddl_in, fifo_in, last_used); in decompress_file()
/linux-6.12.1/drivers/iommu/iommufd/
Dpages.c121 iter->last_used = min(iter->spans[i].last_used, last_hole); in interval_tree_double_span_iter_update()
985 WARN_ON(span->last_used < start_index)) in pfn_reader_fill_span()
990 start_index, span->last_used); in pfn_reader_fill_span()
1007 min(iopt_area_last_index(area), span->last_used)); in pfn_reader_fill_span()
1053 if (pfns->batch_end_index == pfns->span.last_used + 1) in pfn_reader_next()
1291 span.last_used - span.start_used + 1); in __iopt_area_unfill_domain()
1569 span.last_used); in iopt_pages_unfill_xarray()
1692 span.last_used, cur_pages); in iopt_pages_fill_xarray()
1699 span.last_used, cur_pages); in iopt_pages_fill_xarray()
1701 span.start_used, span.last_used, in iopt_pages_fill_xarray()
[all …]
Ddouble_span.h25 unsigned long last_used; member
Dio_pagetable.c94 if (span->is_hole || span->last_used - span->start_used < length - 1) in __alloc_iova_check_used()
99 if (span->start_used > span->last_used || in __alloc_iova_check_used()
100 span->last_used - span->start_used < length - 1) in __alloc_iova_check_used()
149 allowed_span.last_used = ULONG_MAX - PAGE_SIZE; in iopt_alloc_iova()
159 allowed_span.start_used, allowed_span.last_used) { in iopt_alloc_iova()
/linux-6.12.1/drivers/virtio/
Dvirtio_ring.c830 u16 last_used; in virtqueue_get_buf_ctx_split() local
848 last_used = (vq->last_used_idx & (vq->split.vring.num - 1)); in virtqueue_get_buf_ctx_split()
850 vq->split.vring.used->ring[last_used].id); in virtqueue_get_buf_ctx_split()
852 vq->split.vring.used->ring[last_used].len); in virtqueue_get_buf_ctx_split()
1663 u16 last_used; in more_used_packed() local
1668 last_used = packed_last_used(last_used_idx); in more_used_packed()
1670 return is_used_desc_packed(vq, last_used, used_wrap_counter); in more_used_packed()
1678 u16 last_used, id, last_used_idx; in virtqueue_get_buf_ctx_packed() local
1700 last_used = packed_last_used(last_used_idx); in virtqueue_get_buf_ctx_packed()
1701 id = le16_to_cpu(vq->packed.vring.desc[last_used].id); in virtqueue_get_buf_ctx_packed()
[all …]
/linux-6.12.1/net/atm/
Dlec_arpc.h28 unsigned long last_used; /* For expiry */ member
Dlec.c1374 vci : 0, rulla->last_used, in dump_arp_table()
1398 rulla->last_used, in dump_arp_table()
1420 rulla->last_used, in dump_arp_table()
1442 rulla->last_used, in dump_arp_table()
1541 to_return->last_used = jiffies; in make_entry()
1604 now, entry->last_used, time_to_check); in __lec_arp_check_expire()
1605 if (time_after(now, entry->last_used + time_to_check) && in __lec_arp_check_expire()
1677 entry->last_used = jiffies; in lec_arp_check_expire()
1722 entry->last_used = jiffies; in lec_arp_resolve()
1771 entry->last_used = entry->timestamp = jiffies; in lec_arp_resolve()
[all …]
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_matchall.h28 u64 last_used; /* Last updated jiffies time */ member
Dcxgb4_tc_flower.h44 u64 last_used; member
Dcxgb4_tc_matchall.c398 tc_port_matchall->ingress.last_used = 0; in cxgb4_matchall_free_filter()
503 0, tc_port_matchall->ingress.last_used, in cxgb4_tc_matchall_stats()
508 tc_port_matchall->ingress.last_used = jiffies; in cxgb4_tc_matchall_stats()
/linux-6.12.1/include/linux/
Dinterval_tree.h62 unsigned long last_used; member
Ddmaengine.h1490 dma_cookie_t last_complete, dma_cookie_t last_used) in dma_async_is_complete() argument
1492 if (last_complete <= last_used) { in dma_async_is_complete()
1493 if ((cookie <= last_complete) || (cookie > last_used)) in dma_async_is_complete()
1496 if ((cookie <= last_complete) && (cookie > last_used)) in dma_async_is_complete()
/linux-6.12.1/include/linux/platform_data/
Ddma-iop32x.h60 struct iop_adma_desc_slot *last_used; member
/linux-6.12.1/drivers/md/dm-vdo/indexer/
Dvolume.c209 WRITE_ONCE(page->last_used, 0); in clear_cache_page()
218 if (atomic64_read(&cache->clock) != READ_ONCE(page->last_used)) in make_page_most_recent()
219 WRITE_ONCE(page->last_used, atomic64_inc_return(&cache->clock)); in make_page_most_recent()
228 s64 last_used; in select_victim_in_cache() local
237 last_used = READ_ONCE(cache->cache[i].last_used); in select_victim_in_cache()
238 if (last_used <= oldest_time) { in select_victim_in_cache()
239 oldest_time = last_used; in select_victim_in_cache()
Dvolume.h58 s64 last_used; member
/linux-6.12.1/fs/btrfs/
Dzstd.c50 unsigned long last_used; /* jiffies */ member
126 if (time_after(victim->last_used, reclaim_threshold)) in zstd_reclaim_timer_fn()
325 workspace->last_used = jiffies; in zstd_put_workspace()
363 workspace->last_used = jiffies; in zstd_alloc_workspace()
/linux-6.12.1/fs/bcachefs/
Dalloc_types.h105 u64 last_used; member
/linux-6.12.1/drivers/dma/ppc4xx/
Dadma.h96 struct ppc440spe_adma_desc_slot *last_used; member
/linux-6.12.1/drivers/dma/qcom/
Dhidma.c258 dma_cookie_t last_success, dma_cookie_t last_used) in hidma_txn_is_success() argument
260 if (last_success <= last_used) { in hidma_txn_is_success()
261 if ((cookie <= last_success) || (cookie > last_used)) in hidma_txn_is_success()
264 if ((cookie <= last_success) && (cookie > last_used)) in hidma_txn_is_success()

12