Searched refs:active_count (Results 1 - 23 of 23) sorted by relevance

/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_gt_requests.c138 unsigned long active_count = 0; local
145 active_count++; /* report busy to caller, try again? */
150 GEM_BUG_ON(!atomic_read(&tl->active_count));
151 atomic_inc(&tl->active_count); /* pin the list element */
168 active_count++;
175 active_count++;
182 if (atomic_dec_and_test(&tl->active_count))
187 GEM_BUG_ON(atomic_read(&tl->active_count));
197 active_count++;
202 return active_count
[all...]
H A Dintel_timeline_types.h28 * pin_count and active_count track essentially the same thing:
39 * Note that the active_count is protected by the intel_timeline.mutex,
44 atomic_t active_count; member in struct:intel_timeline
H A Dintel_timeline.c251 * barrier, and there we use the tl->active_count as a means to
254 * use atomic to manipulate tl->active_count.
258 if (atomic_add_unless(&tl->active_count, 1, 0))
262 if (!atomic_fetch_inc(&tl->active_count)) {
282 GEM_BUG_ON(!atomic_read(&tl->active_count));
283 if (atomic_add_unless(&tl->active_count, -1, 1))
287 if (atomic_dec_and_test(&tl->active_count))
434 GEM_BUG_ON(!atomic_read(&tl->active_count));
435 atomic_inc(&tl->active_count); /* pin the list element */
475 if (atomic_dec_and_test(&tl->active_count))
[all...]
H A Dintel_context.h211 if (ce->active_count++)
222 ++ce->active_count;
228 GEM_BUG_ON(!ce->active_count);
229 if (--ce->active_count)
H A Dintel_engine_pm.c123 GEM_BUG_ON(rq->context->active_count != 1);
130 * engine->wakeref.counter or our timeline->active_count.
139 if (!atomic_fetch_inc(&tl->active_count))
210 GEM_BUG_ON(atomic_read(&ce->timeline->active_count) < 0);
H A Dintel_context_types.h162 unsigned int active_count; /* protected by timeline->mutex */ member in struct:intel_context
H A Dintel_reset.c124 atomic_inc(&ctx->active_count);
/linux-master/drivers/base/power/
H A Dwakeup.c130 deleted_ws.active_count += ws->active_count;
567 ws->active_count++;
677 * case ws->relax_count will be different from ws->active_count.
679 if (ws->relax_count != ws->active_count) {
1057 unsigned long active_count; local
1066 active_count = ws->active_count;
1083 ws->name, active_count, ws->event_count,
H A Dwakeup_stats.c33 wakeup_attr(active_count); variable
H A Dsysfs.c378 count = dev->power.wakeup->active_count;
/linux-master/sound/pci/cs46xx/
H A Dcs46xx_dsp_task_types.h118 active_count
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_context_types.h380 * @active_count: How many times this context was active during a GPU
383 atomic_t active_count; member in struct:i915_gem_context
H A Di915_gem_context.c2561 args->batch_pending = atomic_read(&ctx->active_count);
/linux-master/drivers/mtd/
H A Dmtdswap.c74 unsigned int active_count; member in struct:swap_eb
506 unsigned int weight = eb->active_count;
596 d->curr_write->active_count++;
634 eb->active_count--;
646 eb->active_count--;
669 eb->active_count--;
722 eb->active_count--;
1043 eb->active_count--;
1154 eb->active_count--;
/linux-master/include/linux/
H A Dpm_wakeup.h35 * @active_count: Number of times the wakeup source was activated.
57 unsigned long active_count; member in struct:wakeup_source
/linux-master/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp.h526 uint8_t active_count = 0; local
531 active_count++;
532 return active_count;
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c311 int active_count = 0, slaves = 0; local
381 acti_netdevs[active_count++] = iter_netdev;
391 active_count, &batch);
/linux-master/drivers/gpu/drm/tegra/
H A Dsor.c466 u32 active_count; member in struct:tegra_sor_config
1079 unsigned int active_count; member in struct:tegra_sor_params
1089 u64 active_sym, active_count, frac, approx; local
1095 active_count = div_u64(active_sym, f) * f;
1096 frac = active_sym - active_count;
1124 approx = active_count + (active_frac * (f - 1)) * f;
1127 approx = active_count + f;
1131 approx = active_count + div_u64(f, active_frac);
1133 approx = active_count;
1140 params->active_count
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dslab-depot.h252 size_t active_count; member in struct:vdo_slab
H A Dslab-depot.c181 (slab->active_count > 0))
1020 slab->active_count--;
1048 slab->active_count++;
1074 slab->active_count--;
1107 if ((slab->active_count > 0) || vdo_waitq_has_waiters(&slab->dirty_blocks)) {
1113 slab->active_count++;
1174 slab->active_count--;
2247 slab->active_count--;
2292 slab->active_count = slab->reference_block_count;
3621 slab->active_count,
[all...]
/linux-master/fs/gfs2/
H A Dlog.c310 int active_count = 0; local
326 active_count++;
347 return active_count;
/linux-master/drivers/dma/
H A Dbcm-sba-raid.c454 u32 pending_count = 0, active_count = 0, aborted_count = 0; local
469 active_count++;
480 seq_printf(file, "active requests = %d\n", active_count);
/linux-master/drivers/gpu/drm/i915/
H A Di915_gpu_error.c1421 e->active = atomic_read(&ctx->active_count);

Completed in 217 milliseconds