Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_timeline.c259 if (atomic_add_unless(&tl->active_count, 1, 0)) in intel_timeline_enter()
263 if (!atomic_fetch_inc(&tl->active_count)) { in intel_timeline_enter()
283 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_timeline_exit()
284 if (atomic_add_unless(&tl->active_count, -1, 1)) in intel_timeline_exit()
288 if (atomic_dec_and_test(&tl->active_count)) in intel_timeline_exit()
435 GEM_BUG_ON(!atomic_read(&tl->active_count)); in intel_gt_show_timelines()
436 atomic_inc(&tl->active_count); /* pin the list element */ in intel_gt_show_timelines()
476 if (atomic_dec_and_test(&tl->active_count)) in intel_gt_show_timelines()
481 GEM_BUG_ON(atomic_read(&tl->active_count)); in intel_gt_show_timelines()
H A 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()
H A Dintel_engine_pm.c123 GEM_BUG_ON(rq->context->active_count != 1); in __queue_and_release_pm()
139 if (!atomic_fetch_inc(&tl->active_count)) in __queue_and_release_pm()
210 GEM_BUG_ON(atomic_read(&ce->timeline->active_count) < 0); in switch_to_kernel_context()
H A Dintel_timeline_types.h44 atomic_t active_count; member
/linux/drivers/base/power/
H A Dwakeup.c129 deleted_ws.active_count += ws->active_count; in wakeup_source_record()
562 ws->active_count++; in wakeup_source_activate()
674 if (ws->relax_count != ws->active_count) { in wakeup_source_deactivate()
1052 unsigned long active_count; in print_wakeup_source_stats() local
1061 active_count = ws->active_count; in print_wakeup_source_stats()
1078 ws->name, active_count, ws->event_count, in print_wakeup_source_stats()
H A Dwakeup_stats.c33 wakeup_attr(active_count);
H A Dsysfs.c377 count = dev->power.wakeup->active_count; in wakeup_active_count_show()
/linux/drivers/mtd/
H A 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/drivers/gpu/drm/tegra/
H A Dsor.c467 u32 active_count; member
1080 unsigned int active_count; member
1090 u64 active_sym, active_count, frac, approx; in tegra_sor_compute_params() local
1096 active_count = div_u64(active_sym, f) * f; in tegra_sor_compute_params()
1097 frac = active_sym - active_count; in tegra_sor_compute_params()
1125 approx = active_count + (active_frac * (f - 1)) * f; in tegra_sor_compute_params()
1128 approx = active_count + f; in tegra_sor_compute_params()
1132 approx = active_count + div_u64(f, active_frac); in tegra_sor_compute_params()
1134 approx = active_count; in tegra_sor_compute_params()
1141 params->active_count = div_u64(active_count, f); in tegra_sor_compute_params()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c311 int active_count = 0, slaves = 0; in nfp_fl_lag_do_work() local
380 acti_netdevs[active_count++] = iter_netdev; in nfp_fl_lag_do_work()
390 active_count, &batch); in nfp_fl_lag_do_work()
/linux/sound/pci/cs46xx/
H A Dcs46xx_dsp_task_types.h118 active_count
/linux/drivers/gpu/drm/xe/
H A Dxe_eu_stall.c94 __u64 active_count:8; /* Bits 29 to 36 */ member
121 __u64 active_count:8; /* Bits 101 to 108 */ member
142 __u64 active_count:8; /* Bits 133 to 140 */ member
/linux/Documentation/ABI/testing/
H A Dsysfs-class-wakeup14 What: /sys/class/wakeup/.../active_count
/linux/drivers/md/dm-vdo/
H A Dslab-depot.c182 (slab->active_count > 0)) in check_if_slab_drained()
1020 slab->active_count--; in finish_summary_update()
1048 slab->active_count++; in launch_reference_block_write()
1074 slab->active_count--; in finish_reference_block_write()
1107 if ((slab->active_count > 0) || vdo_waitq_has_waiters(&slab->dirty_blocks)) { in finish_reference_block_write()
1113 slab->active_count++; in finish_reference_block_write()
1174 slab->active_count -= vio->io_size / VDO_BLOCK_SIZE; in handle_io_error()
2324 slab->active_count -= block_count; in finish_reference_block_load()
2377 slab->active_count = slab->reference_block_count; in load_reference_blocks()
3699 slab->active_count, in vdo_dump_block_allocator()
H A Dslab-depot.h259 size_t active_count; member
/linux/drivers/dma/
H A 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/drivers/gpu/drm/i915/gem/
H A Di915_gem_context.c2661 args->batch_pending = atomic_read(&ctx->active_count); in i915_gem_context_reset_stats_ioctl()
/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c1475 e->active = atomic_read(&ctx->active_count); in record_context()