Home
last modified time | relevance | path

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

/linux/include/trace/events/
A Dfscache.h245 __field(int, n_active )
255 __entry->n_active = atomic_read(&cookie->n_active);
262 __entry->parent, __entry->n_children, __entry->n_active,
275 __field(int, n_active )
283 __entry->n_active = atomic_read(&cookie->n_active);
289 __entry->n_children, __entry->n_active, __entry->flags)
301 __field(int, n_active )
309 __entry->n_active = atomic_read(&cookie->n_active);
315 __entry->n_children, __entry->n_active, __entry->flags)
/linux/fs/fscache/
A Dcookie.c45 atomic_read(&cookie->n_active)); in fscache_print_cookie()
174 atomic_set(&cookie->n_active, 1); in fscache_alloc_cookie()
725 ASSERTCMP(atomic_read(&cookie->n_active), >, 0); in __fscache_disable_cookie()
769 if (!atomic_dec_and_test(&cookie->n_active)) { in __fscache_disable_cookie()
770 wait_var_event(&cookie->n_active, in __fscache_disable_cookie()
771 !atomic_read(&cookie->n_active)); in __fscache_disable_cookie()
780 atomic_inc(&cookie->n_active); in __fscache_disable_cookie()
813 atomic_read(&cookie->n_active), retire); in __fscache_relinquish_cookie()
1019 atomic_read(&cookie->n_active), in fscache_cookies_seq_show()
A Dfsdef.c50 .n_active = ATOMIC_INIT(1),
/linux/include/linux/
A Dfscache-cache.h486 atomic_inc(&cookie->n_active); in __fscache_use_cookie()
499 return atomic_inc_not_zero(&cookie->n_active) != 0; in fscache_use_cookie()
504 return atomic_dec_and_test(&cookie->n_active); in __fscache_unuse_cookie()
509 wake_up_var(&cookie->n_active); in __fscache_wake_unused_cookie()
A Dfscache.h128 atomic_t n_active; /* number of active users of netfs ptrs */ member
/linux/arch/x86/events/
A Drapl.c107 int n_active; member
222 if (!pmu->n_active) in rapl_hrtimer_handle()
257 pmu->n_active++; in __rapl_pmu_event_start()
258 if (pmu->n_active == 1) in __rapl_pmu_event_start()
282 WARN_ON_ONCE(pmu->n_active <= 0); in rapl_pmu_event_stop()
283 pmu->n_active--; in rapl_pmu_event_stop()
284 if (pmu->n_active == 0) in rapl_pmu_event_stop()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
A Dscan.c361 int n_active = 0; in iwl_limit_dwell() local
394 limits[n_active++] = ctx->beacon_int ?: IWL_PASSIVE_DWELL_BASE; in iwl_limit_dwell()
397 switch (n_active) { in iwl_limit_dwell()
407 limit /= n_active; in iwl_limit_dwell()
/linux/drivers/scsi/csiostor/
A 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()
1828 scsim->stats.n_active); in csio_queuecommand()
2115 scsim->stats.n_active); in csio_eh_lun_reset_handler()
A Dcsio_scsi.h135 uint32_t n_active; /* No. of IOs in active_q */ member
A Dcsio_hw.h220 uint32_t n_active; /* Count of active_q */ member
A Dcsio_lnode.c1466 mgmtm->stats.n_active--; in csio_ln_mgmt_wr_handler()
1824 mgmtm->stats.n_active++; in csio_ln_mgmt_submit_req()
A Dcsio_hw.c4164 mgmtm->stats.n_active--; in csio_mgmtm_cleanup()
/linux/arch/x86/events/intel/
A Duncore.c293 if (!box->n_active || box->cpu != smp_processor_id()) in uncore_pmu_hrtimer()
510 if (box->n_active++ == 0) in uncore_pmu_event_start()
520 box->n_active++; in uncore_pmu_event_start()
526 if (box->n_active == 1) in uncore_pmu_event_start()
538 if (--box->n_active == 0) in uncore_pmu_event_stop()
546 box->n_active--; in uncore_pmu_event_stop()
551 if (box->n_active == 0) in uncore_pmu_event_stop()
A Duncore.h137 int n_active; /* number of active events */ member
/linux/drivers/net/wireless/ath/ath9k/
A Dchannel.c253 u8 n_active = 0; in ath_chanctx_check_active() local
299 n_active++; in ath_chanctx_check_active()
304 if (n_active <= 1) { in ath_chanctx_check_active()

Completed in 41 milliseconds