Searched refs:n_active (Results 1 – 16 of 16) sorted by relevance
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_rapl.c | 123 int n_active; /* number of active events */ member 223 if (!pmu->n_active) in rapl_hrtimer_handle() 259 pmu->n_active++; in __rapl_pmu_event_start() 260 if (pmu->n_active == 1) in __rapl_pmu_event_start() 284 WARN_ON_ONCE(pmu->n_active <= 0); in rapl_pmu_event_stop() 285 pmu->n_active--; in rapl_pmu_event_stop() 286 if (pmu->n_active == 0) in rapl_pmu_event_stop()
|
D | perf_event_intel_uncore_snb.c | 328 box->n_active++; in snb_uncore_imc_event_start() 335 if (box->n_active == 1) in snb_uncore_imc_event_start() 345 box->n_active--; in snb_uncore_imc_event_stop() 352 if (box->n_active == 0) in snb_uncore_imc_event_stop()
|
D | perf_event_intel_uncore.c | 209 if (!box->n_active || box->cpu != smp_processor_id()) in uncore_pmu_hrtimer() 420 box->n_active++; in uncore_pmu_event_start() 426 if (box->n_active == 1) { in uncore_pmu_event_start() 439 box->n_active--; in uncore_pmu_event_stop() 444 if (box->n_active == 0) { in uncore_pmu_event_stop()
|
D | perf_event_intel_uncore.h | 93 int n_active; /* number of active events */ member
|
/linux-4.1.27/include/linux/ |
D | fscache-cache.h | 487 atomic_inc(&cookie->n_active); in __fscache_use_cookie() 500 return atomic_inc_not_zero(&cookie->n_active) != 0; in fscache_use_cookie() 505 return atomic_dec_and_test(&cookie->n_active); in __fscache_unuse_cookie() 510 wake_up_atomic_t(&cookie->n_active); in __fscache_wake_unused_cookie()
|
D | fscache.h | 179 atomic_t n_active; /* number of active users of netfs ptrs */ member
|
/linux-4.1.27/fs/fscache/ |
D | cookie.c | 102 atomic_set(&cookie->n_active, 1); in __fscache_acquire_cookie() 518 ASSERTCMP(atomic_read(&cookie->n_active), >, 0); in __fscache_disable_cookie() 558 if (!atomic_dec_and_test(&cookie->n_active)) in __fscache_disable_cookie() 559 wait_on_atomic_t(&cookie->n_active, fscache_wait_atomic_t, in __fscache_disable_cookie() 564 atomic_inc(&cookie->n_active); in __fscache_disable_cookie() 595 atomic_read(&cookie->n_active), retire); in __fscache_relinquish_cookie()
|
D | netfs.c | 43 atomic_set(&netfs->primary_index->n_active, 1); in __fscache_register_netfs()
|
D | fsdef.c | 58 .n_active = ATOMIC_INIT(1),
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
D | scan.c | 388 int n_active = 0; in iwl_limit_dwell() local 421 limits[n_active++] = ctx->beacon_int ?: IWL_PASSIVE_DWELL_BASE; in iwl_limit_dwell() 424 switch (n_active) { in iwl_limit_dwell() 434 limit /= n_active; in iwl_limit_dwell()
|
/linux-4.1.27/drivers/scsi/csiostor/ |
D | csio_scsi.c | 726 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()
|
D | csio_scsi.h | 135 uint32_t n_active; /* No. of IOs in active_q */ member
|
D | csio_hw.h | 220 uint32_t n_active; /* Count of active_q */ member
|
D | csio_lnode.c | 1449 mgmtm->stats.n_active--; in csio_ln_mgmt_wr_handler() 1805 mgmtm->stats.n_active++; in csio_ln_mgmt_submit_req()
|
D | csio_hw.c | 3699 mgmtm->stats.n_active--; in csio_mgmtm_cleanup()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | channel.c | 235 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()
|