Home
last modified time | relevance | path

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

/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()
/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()
Dmain.h78 ktime_t *last_used; member
/drivers/iommu/iommufd/
Dpages.c121 iter->last_used = min(iter->spans[i].last_used, last_hole); in interval_tree_double_span_iter_update()
984 WARN_ON(span->last_used < start_index)) in pfn_reader_fill_span()
989 start_index, span->last_used); in pfn_reader_fill_span()
1006 min(iopt_area_last_index(area), span->last_used)); in pfn_reader_fill_span()
1052 if (pfns->batch_end_index == pfns->span.last_used + 1) in pfn_reader_next()
1290 span.last_used - span.start_used + 1); in __iopt_area_unfill_domain()
1568 span.last_used); in iopt_pages_unfill_xarray()
1691 span.last_used, cur_pages); in iopt_pages_fill_xarray()
1698 span.last_used, cur_pages); in iopt_pages_fill_xarray()
1700 span.start_used, span.last_used, in iopt_pages_fill_xarray()
[all …]
Ddouble_span.h25 unsigned long last_used; member
Dio_pagetable.c93 if (span->is_hole || span->last_used - span->start_used < length - 1) in __alloc_iova_check_used()
98 if (span->start_used > span->last_used || in __alloc_iova_check_used()
99 span->last_used - span->start_used < length - 1) in __alloc_iova_check_used()
140 allowed_span.last_used = ULONG_MAX - PAGE_SIZE; in iopt_alloc_iova()
150 allowed_span.start_used, allowed_span.last_used) { in iopt_alloc_iova()
/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 …]
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_matchall.h28 u64 last_used; /* Last updated jiffies time */ 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()
Dcxgb4_tc_flower.h44 u64 last_used; member
Dcxgb4_tc_flower.c1040 ofld_stats->last_used = jiffies; in ch_flower_stats_handler()
1086 ofld_stats->last_used = jiffies; in cxgb4_tc_flower_stats()
1089 ofld_stats->last_used, in cxgb4_tc_flower_stats()
/drivers/dma/ppc4xx/
Dadma.h96 struct ppc440spe_adma_desc_slot *last_used; member
Dadma.c1701 iter = chan->last_used; in ppc440spe_adma_alloc_slots()
1721 struct ppc440spe_adma_desc_slot *last_used = NULL; in ppc440spe_adma_alloc_slots() local
1739 last_used = iter; in ppc440spe_adma_alloc_slots()
1749 chan->last_used = last_used; in ppc440spe_adma_alloc_slots()
1808 if (i && !ppc440spe_chan->last_used) { in ppc440spe_adma_alloc_chan_resources()
1809 ppc440spe_chan->last_used = in ppc440spe_adma_alloc_chan_resources()
3553 ppc440spe_chan->last_used = NULL; in ppc440spe_adma_free_chan_resources()
/drivers/dma/qcom/
Dhidma.c259 dma_cookie_t last_success, dma_cookie_t last_used) in hidma_txn_is_success() argument
261 if (last_success <= last_used) { in hidma_txn_is_success()
262 if ((cookie <= last_success) || (cookie > last_used)) in hidma_txn_is_success()
265 if ((cookie <= last_success) && (cookie > last_used)) in hidma_txn_is_success()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c72 u64 last_used; member
965 rule->last_used = jiffies; in mlxsw_sp_acl_rule_activity_update()
1043 *last_use = rule->last_used; in mlxsw_sp_acl_rule_get_stats()
/drivers/block/xen-blkback/
Dcommon.h245 unsigned long last_used; member
Dblkback.c137 return pgrant_timeout && (jiffies - persistent_gnt->last_used >= in persistent_gnt_timeout()
237 persistent_gnt->last_used = jiffies; in put_persistent_gnt()
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c3667 int s = q->last_used - q->first_empty; in ipw_tx_queue_space()
3708 q->first_empty = q->last_used = 0; in ipw_queue_init()
3755 struct tfd_frame *bd = &txq->bd[txq->q.last_used]; in ipw_queue_tx_free_tfd()
3778 if (txq->txb[txq->q.last_used]) { in ipw_queue_tx_free_tfd()
3779 libipw_txb_free(txq->txb[txq->q.last_used]); in ipw_queue_tx_free_tfd()
3780 txq->txb[txq->q.last_used] = NULL; in ipw_queue_tx_free_tfd()
3803 for (; q->first_empty != q->last_used; in ipw_queue_tx_free()
3804 q->last_used = ipw_queue_inc_wrap(q->last_used, q->n_bd)) { in ipw_queue_tx_free()
4974 for (; q->last_used != hw_tail; in ipw_queue_tx_reclaim()
4975 q->last_used = ipw_queue_inc_wrap(q->last_used, q->n_bd)) { in ipw_queue_tx_reclaim()
[all …]
Dipw2200.h369 int last_used; /**< last used entry (index) */ member
/drivers/md/
Ddm-integrity.c3024 unsigned char unused, last_used, want_commit_seq; in replay_journal() local
3032 last_used = 0; in replay_journal()
3098 last_used = prev_commit_seq(unused); in replay_journal()
3099 want_commit_seq = prev_commit_seq(last_used); in replay_journal()
3104 write_start = max_commit_id_sections[last_used] + 1; in replay_journal()
3149 erase_seq = prev_commit_seq(prev_commit_seq(last_used)); in replay_journal()