Searched refs:n_active (Results 1 – 15 of 15) sorted by relevance
/Linux-v5.4/include/trace/events/ |
D | fscache.h | 175 __field(int, n_active ) 185 __entry->n_active = atomic_read(&cookie->n_active); 192 __entry->parent, __entry->n_children, __entry->n_active, 255 __field(int, n_active ) 265 __entry->n_active = atomic_read(&cookie->n_active); 272 __entry->parent, __entry->n_children, __entry->n_active, 285 __field(int, n_active ) 293 __entry->n_active = atomic_read(&cookie->n_active); 299 __entry->n_children, __entry->n_active, __entry->flags) 311 __field(int, n_active ) [all …]
|
/Linux-v5.4/include/linux/ |
D | fscache-cache.h | 486 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()
|
D | fscache.h | 136 atomic_t n_active; /* number of active users of netfs ptrs */ member
|
/Linux-v5.4/arch/x86/events/intel/ |
D | rapl.c | 116 int n_active; member 223 if (!pmu->n_active) in rapl_hrtimer_handle() 258 pmu->n_active++; in __rapl_pmu_event_start() 259 if (pmu->n_active == 1) in __rapl_pmu_event_start() 283 WARN_ON_ONCE(pmu->n_active <= 0); in rapl_pmu_event_stop() 284 pmu->n_active--; in rapl_pmu_event_stop() 285 if (pmu->n_active == 0) in rapl_pmu_event_stop()
|
D | uncore.c | 271 if (!box->n_active || box->cpu != smp_processor_id()) in uncore_pmu_hrtimer() 489 if (box->n_active++ == 0) in uncore_pmu_event_start() 499 box->n_active++; in uncore_pmu_event_start() 505 if (box->n_active == 1) in uncore_pmu_event_start() 517 if (--box->n_active == 0) in uncore_pmu_event_stop() 525 box->n_active--; in uncore_pmu_event_stop() 530 if (box->n_active == 0) in uncore_pmu_event_stop()
|
D | uncore.h | 116 int n_active; /* number of active events */ member
|
/Linux-v5.4/fs/fscache/ |
D | cookie.c | 39 atomic_read(&cookie->n_active)); in fscache_print_cookie() 170 atomic_set(&cookie->n_active, 1); in fscache_alloc_cookie() 720 ASSERTCMP(atomic_read(&cookie->n_active), >, 0); in __fscache_disable_cookie() 764 if (!atomic_dec_and_test(&cookie->n_active)) { in __fscache_disable_cookie() 765 wait_var_event(&cookie->n_active, in __fscache_disable_cookie() 766 !atomic_read(&cookie->n_active)); in __fscache_disable_cookie() 775 atomic_inc(&cookie->n_active); in __fscache_disable_cookie() 808 atomic_read(&cookie->n_active), retire); in __fscache_relinquish_cookie()
|
D | fsdef.c | 49 .n_active = ATOMIC_INIT(1),
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | scan.c | 366 int n_active = 0; in iwl_limit_dwell() local 399 limits[n_active++] = ctx->beacon_int ?: IWL_PASSIVE_DWELL_BASE; in iwl_limit_dwell() 402 switch (n_active) { in iwl_limit_dwell() 412 limit /= n_active; in iwl_limit_dwell()
|
/Linux-v5.4/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() 1824 scsim->stats.n_active); in csio_queuecommand() 2111 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 | 1464 mgmtm->stats.n_active--; in csio_ln_mgmt_wr_handler() 1822 mgmtm->stats.n_active++; in csio_ln_mgmt_submit_req()
|
D | csio_hw.c | 4164 mgmtm->stats.n_active--; in csio_mgmtm_cleanup()
|
/Linux-v5.4/drivers/net/wireless/ath/ath9k/ |
D | channel.c | 253 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()
|