Home
last modified time | relevance | path

Searched refs:n_active (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_rapl.c121 int n_active; /* number of active events */ member
220 if (!pmu->n_active) in rapl_hrtimer_handle()
256 pmu->n_active++; in __rapl_pmu_event_start()
257 if (pmu->n_active == 1) in __rapl_pmu_event_start()
281 WARN_ON_ONCE(pmu->n_active <= 0); in rapl_pmu_event_stop()
282 pmu->n_active--; in rapl_pmu_event_stop()
283 if (pmu->n_active == 0) in rapl_pmu_event_stop()
Dperf_event_intel_uncore_snb.c348 box->n_active++; in snb_uncore_imc_event_start()
355 if (box->n_active == 1) in snb_uncore_imc_event_start()
365 box->n_active--; in snb_uncore_imc_event_stop()
372 if (box->n_active == 0) in snb_uncore_imc_event_stop()
Dperf_event_intel_uncore.c263 if (!box->n_active || box->cpu != smp_processor_id()) in uncore_pmu_hrtimer()
473 box->n_active++; in uncore_pmu_event_start()
479 if (box->n_active == 1) { in uncore_pmu_event_start()
492 box->n_active--; in uncore_pmu_event_stop()
497 if (box->n_active == 0) { in uncore_pmu_event_stop()
Dperf_event_intel_uncore.h93 int n_active; /* number of active events */ member
/linux-4.4.14/include/linux/
Dfscache-cache.h475 atomic_inc(&cookie->n_active); in __fscache_use_cookie()
488 return atomic_inc_not_zero(&cookie->n_active) != 0; in fscache_use_cookie()
493 return atomic_dec_and_test(&cookie->n_active); in __fscache_unuse_cookie()
498 wake_up_atomic_t(&cookie->n_active); in __fscache_wake_unused_cookie()
Dfscache.h179 atomic_t n_active; /* number of active users of netfs ptrs */ member
/linux-4.4.14/fs/fscache/
Dcookie.c102 atomic_set(&cookie->n_active, 1); in __fscache_acquire_cookie()
519 ASSERTCMP(atomic_read(&cookie->n_active), >, 0); in __fscache_disable_cookie()
559 if (!atomic_dec_and_test(&cookie->n_active)) in __fscache_disable_cookie()
560 wait_on_atomic_t(&cookie->n_active, fscache_wait_atomic_t, in __fscache_disable_cookie()
565 atomic_inc(&cookie->n_active); in __fscache_disable_cookie()
596 atomic_read(&cookie->n_active), retire); in __fscache_relinquish_cookie()
Dnetfs.c43 atomic_set(&cookie->n_active, 1); in __fscache_register_netfs()
Dfsdef.c58 .n_active = ATOMIC_INIT(1),
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Dscan.c379 int n_active = 0; in iwl_limit_dwell() local
412 limits[n_active++] = ctx->beacon_int ?: IWL_PASSIVE_DWELL_BASE; in iwl_limit_dwell()
415 switch (n_active) { in iwl_limit_dwell()
425 limit /= n_active; in iwl_limit_dwell()
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_scsi.c726 CSIO_INC_STATS(scsim, n_active); in csio_scsis_uninit()
781 CSIO_DEC_STATS(scm, n_active); in csio_scsis_io_active()
834 CSIO_DEC_STATS(scm, n_active); in csio_scsis_io_active()
957 CSIO_DEC_STATS(scm, n_active); in csio_scsis_aborting()
964 CSIO_DEC_STATS(scm, n_active); in csio_scsis_aborting()
1028 CSIO_DEC_STATS(scm, n_active); in csio_scsis_closing()
1038 CSIO_DEC_STATS(scm, n_active); in csio_scsis_closing()
1827 scsim->stats.n_active); in csio_queuecommand()
2115 scsim->stats.n_active); in csio_eh_lun_reset_handler()
Dcsio_scsi.h135 uint32_t n_active; /* No. of IOs in active_q */ member
Dcsio_hw.h220 uint32_t n_active; /* Count of active_q */ member
Dcsio_lnode.c1449 mgmtm->stats.n_active--; in csio_ln_mgmt_wr_handler()
1805 mgmtm->stats.n_active++; in csio_ln_mgmt_submit_req()
Dcsio_hw.c3699 mgmtm->stats.n_active--; in csio_mgmtm_cleanup()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dchannel.c235 u8 n_active = 0; in ath_chanctx_check_active() local
281 n_active++; in ath_chanctx_check_active()
286 if (n_active <= 1) { in ath_chanctx_check_active()