Home
last modified time | relevance | path

Searched refs:active_count (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/gt/ !
Dintel_gt_requests.c138 unsigned long active_count = 0; in intel_gt_retire_requests_timeout() local
145 active_count++; /* report busy to caller, try again? */ in intel_gt_retire_requests_timeout()
150 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_gt_retire_requests_timeout()
151 atomic_inc(&tl->active_count); /* pin the list element */ in intel_gt_retire_requests_timeout()
168 active_count++; in intel_gt_retire_requests_timeout()
175 active_count++; in intel_gt_retire_requests_timeout()
182 if (atomic_dec_and_test(&tl->active_count)) in intel_gt_retire_requests_timeout()
187 GEM_BUG_ON(atomic_read(&tl->active_count)); in intel_gt_retire_requests_timeout()
197 active_count++; in intel_gt_retire_requests_timeout()
202 return active_count ? timeout ?: -ETIME : 0; in intel_gt_retire_requests_timeout()
Dintel_timeline.c258 if (atomic_add_unless(&tl->active_count, 1, 0)) in intel_timeline_enter()
262 if (!atomic_fetch_inc(&tl->active_count)) { in intel_timeline_enter()
282 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_timeline_exit()
283 if (atomic_add_unless(&tl->active_count, -1, 1)) in intel_timeline_exit()
287 if (atomic_dec_and_test(&tl->active_count)) in intel_timeline_exit()
434 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_gt_show_timelines()
435 atomic_inc(&tl->active_count); /* pin the list element */ in intel_gt_show_timelines()
475 if (atomic_dec_and_test(&tl->active_count)) in intel_gt_show_timelines()
480 GEM_BUG_ON(atomic_read(&tl->active_count)); in intel_gt_show_timelines()
Dintel_context.h211 if (ce->active_count++) in intel_context_enter()
222 ++ce->active_count; in intel_context_mark_active()
228 GEM_BUG_ON(!ce->active_count); in intel_context_exit()
229 if (--ce->active_count) in intel_context_exit()
Dintel_engine_pm.c123 GEM_BUG_ON(rq->context->active_count != 1); in __queue_and_release_pm()
138 if (!atomic_fetch_inc(&tl->active_count)) in __queue_and_release_pm()
209 GEM_BUG_ON(atomic_read(&ce->timeline->active_count) < 0); in switch_to_kernel_context()
Dintel_timeline_types.h44 atomic_t active_count; member
Dintel_context_types.h160 unsigned int active_count; /* protected by timeline->mutex */ member
Dintel_reset.c123 atomic_inc(&ctx->active_count); in mark_innocent()
/linux-6.6.21/drivers/base/power/ !
Dwakeup.c130 deleted_ws.active_count += ws->active_count; in wakeup_source_record()
567 ws->active_count++; in wakeup_source_activate()
679 if (ws->relax_count != ws->active_count) { in wakeup_source_deactivate()
1057 unsigned long active_count; in print_wakeup_source_stats() local
1066 active_count = ws->active_count; in print_wakeup_source_stats()
1083 ws->name, active_count, ws->event_count, in print_wakeup_source_stats()
Dwakeup_stats.c33 wakeup_attr(active_count);
Dsysfs.c378 count = dev->power.wakeup->active_count; in wakeup_active_count_show()
/linux-6.6.21/drivers/mtd/ !
Dmtdswap.c74 unsigned int active_count; member
506 unsigned int weight = eb->active_count; in mtdswap_store_eb()
596 d->curr_write->active_count++; in mtdswap_map_free_block()
634 eb->active_count--; in mtdswap_write_block()
646 eb->active_count--; in mtdswap_write_block()
669 eb->active_count--; in mtdswap_write_block()
722 eb->active_count--; in mtdswap_move_block()
1043 eb->active_count--; in mtdswap_writesect()
1154 eb->active_count--; in mtdswap_discard()
/linux-6.6.21/drivers/gpu/drm/i915/gem/ !
Di915_gem_context_types.h380 atomic_t active_count; member
Di915_gem_context.c2556 args->batch_pending = atomic_read(&ctx->active_count); in i915_gem_context_reset_stats_ioctl()
/linux-6.6.21/drivers/gpu/drm/tegra/ !
Dsor.c464 u32 active_count; member
1077 unsigned int active_count; member
1087 u64 active_sym, active_count, frac, approx; in tegra_sor_compute_params() local
1093 active_count = div_u64(active_sym, f) * f; in tegra_sor_compute_params()
1094 frac = active_sym - active_count; in tegra_sor_compute_params()
1122 approx = active_count + (active_frac * (f - 1)) * f; in tegra_sor_compute_params()
1125 approx = active_count + f; in tegra_sor_compute_params()
1129 approx = active_count + div_u64(f, active_frac); in tegra_sor_compute_params()
1131 approx = active_count; in tegra_sor_compute_params()
1138 params->active_count = div_u64(active_count, f); in tegra_sor_compute_params()
[all …]
/linux-6.6.21/sound/pci/cs46xx/ !
Dcs46xx_dsp_task_types.h118 active_count
/linux-6.6.21/drivers/gpu/drm/amd/display/modules/hdcp/ !
Dhdcp.h526 uint8_t active_count = 0; in get_active_display_count() local
531 active_count++; in get_active_display_count()
532 return active_count; in get_active_display_count()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/ !
Dlag_conf.c311 int active_count = 0, slaves = 0; in nfp_fl_lag_do_work() local
377 acti_netdevs[active_count++] = iter_netdev; in nfp_fl_lag_do_work()
387 active_count, &batch); in nfp_fl_lag_do_work()
/linux-6.6.21/include/linux/ !
Dpm_wakeup.h57 unsigned long active_count; member
/linux-6.6.21/Documentation/ABI/testing/ !
Dsysfs-class-wakeup14 What: /sys/class/wakeup/.../active_count
/linux-6.6.21/fs/gfs2/ !
Dlog.c310 int active_count = 0; in gfs2_ail1_empty_one() local
326 active_count++; in gfs2_ail1_empty_one()
347 return active_count; in gfs2_ail1_empty_one()
/linux-6.6.21/drivers/dma/ !
Dbcm-sba-raid.c454 u32 pending_count = 0, active_count = 0, aborted_count = 0; in sba_write_stats_in_seqfile() local
469 active_count++; in sba_write_stats_in_seqfile()
480 seq_printf(file, "active requests = %d\n", active_count); in sba_write_stats_in_seqfile()
/linux-6.6.21/drivers/gpu/drm/i915/ !
Di915_gpu_error.c1409 e->active = atomic_read(&ctx->active_count); in record_context()