Home
last modified time | relevance | path

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

/linux-6.15/include/trace/events/
H A Dfscache.h289 int n_active,
293 TP_ARGS(cookie_debug_id, ref, n_active, n_accesses, why),
298 __field(int, n_active )
306 __entry->n_active = n_active;
316 __entry->n_active)
443 __field(int, n_active )
452 __entry->n_active = atomic_read(&cookie->n_active);
459 __entry->n_active, __entry->flags, __entry->retire)
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmlo.h61 int n_active = 0; in iwl_mld_count_active_links() local
65 n_active++; in iwl_mld_count_active_links()
68 return n_active; in iwl_mld_count_active_links()
H A Dmac80211.c959 unsigned int n_active = iwl_mld_count_active_links(mld, vif); in iwl_mld_assign_vif_chanctx() local
969 n_active++; in iwl_mld_assign_vif_chanctx()
991 if (n_active > 1) { in iwl_mld_assign_vif_chanctx()
1054 unsigned int n_active = iwl_mld_count_active_links(mld, vif); in iwl_mld_unassign_vif_chanctx() local
1067 if (n_active > 1) { in iwl_mld_unassign_vif_chanctx()
/linux-6.15/fs/netfs/
H A Dfscache_cookie.c43 atomic_read(&cookie->n_active), in fscache_print_cookie()
573 int n_active; in __fscache_use_cookie() local
583 n_active = atomic_inc_return(&cookie->n_active); in __fscache_use_cookie()
585 n_active, atomic_read(&cookie->n_accesses), in __fscache_use_cookie()
677 c = atomic_fetch_add_unless(&cookie->n_active, -1, 1); in __fscache_unuse_cookie()
686 c = atomic_dec_return(&cookie->n_active); in __fscache_unuse_cookie()
867 atomic_read(&cookie->n_active) > 0) { in fscache_cookie_lru_do_one()
979 cookie->debug_id, atomic_read(&cookie->n_active), retire); in __fscache_relinquish_cookie()
989 ASSERTCMP(atomic_read(&cookie->n_active), ==, 0); in __fscache_relinquish_cookie()
1132 atomic_read(&cookie->n_active), in fscache_cookies_seq_show()
/linux-6.15/arch/x86/events/
H A Drapl.c131 int n_active; member
258 if (!rapl_pmu->n_active) in rapl_hrtimer_handle()
292 rapl_pmu->n_active++; in __rapl_pmu_event_start()
293 if (rapl_pmu->n_active == 1) in __rapl_pmu_event_start()
317 WARN_ON_ONCE(rapl_pmu->n_active <= 0); in rapl_pmu_event_stop()
318 rapl_pmu->n_active--; in rapl_pmu_event_stop()
319 if (rapl_pmu->n_active == 0) in rapl_pmu_event_stop()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmld-mac80211.c202 unsigned int n_active = 0; in iwl_mvm_mld_count_active_links() local
207 n_active++; in iwl_mvm_mld_count_active_links()
210 return n_active; in iwl_mvm_mld_count_active_links()
262 unsigned int n_active = iwl_mvm_mld_count_active_links(mvmvif); in __iwl_mvm_mld_assign_vif_chanctx() local
271 n_active++; in __iwl_mvm_mld_assign_vif_chanctx()
287 if (iwl_mvm_is_esr_supported(mvm->fwrt.trans) && n_active > 1) { in __iwl_mvm_mld_assign_vif_chanctx()
432 unsigned int n_active = iwl_mvm_mld_count_active_links(mvmvif); in __iwl_mvm_mld_unassign_vif_chanctx() local
454 if (iwl_mvm_is_esr_supported(mvm->fwrt.trans) && n_active > 1) { in __iwl_mvm_mld_unassign_vif_chanctx()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/dvm/
H 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-6.15/drivers/scsi/csiostor/
H 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()
H A Dcsio_scsi.h135 uint32_t n_active; /* No. of IOs in active_q */ member
H A Dcsio_hw.h220 uint32_t n_active; /* Count of active_q */ member
H 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()
H A Dcsio_hw.c4164 mgmtm->stats.n_active--; in csio_mgmtm_cleanup()
/linux-6.15/include/linux/
H A Dintel_rapl.h174 int n_active; member
H A Dfscache.h104 atomic_t n_active; /* number of active users of cookie */ member
/linux-6.15/arch/x86/events/intel/
H A Duncore.c312 if (!box->n_active || box->cpu != smp_processor_id()) in uncore_pmu_hrtimer()
528 if (box->n_active++ == 0) in uncore_pmu_event_start()
538 box->n_active++; in uncore_pmu_event_start()
544 if (box->n_active == 1) in uncore_pmu_event_start()
556 if (--box->n_active == 0) in uncore_pmu_event_stop()
564 box->n_active--; in uncore_pmu_event_stop()
569 if (box->n_active == 0) in uncore_pmu_event_stop()
H A Duncore.h143 int n_active; /* number of active events */ member
/linux-6.15/drivers/powercap/
H A Dintel_rapl_common.c1642 if (++data->n_active == 1) in __rapl_pmu_event_start()
1705 WARN_ON_ONCE(data->n_active <= 0); in rapl_pmu_event_stop()
1706 if (--data->n_active == 0) in rapl_pmu_event_stop()
1828 if (!data->n_active) in rapl_hrtimer_handle()
/linux-6.15/drivers/net/wireless/ath/ath9k/
H A Dchannel.c248 u8 n_active = 0; in ath_chanctx_check_active() local
294 n_active++; in ath_chanctx_check_active()
299 if (n_active <= 1) { in ath_chanctx_check_active()