Home
last modified time | relevance | path

Searched refs:percpu_counter_read_positive (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/include/linux/
Dpercpu_counter.h118 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive() function
240 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive() function
247 return percpu_counter_read_positive(fbc); in percpu_counter_sum_positive()
Dbacking-dev.h81 return percpu_counter_read_positive(&wb->stat[item]); in wb_stat()
Dmm.h2592 return percpu_counter_read_positive(&mm->rss_stat[member]); in get_mm_counter()
/linux-6.12.1/lib/
Dflex_proportions.c157 num = percpu_counter_read_positive(&pl->events); in fprop_fraction_percpu()
158 den = percpu_counter_read_positive(&p->events); in fprop_fraction_percpu()
/linux-6.12.1/include/net/
Ddst_ops.h48 return percpu_counter_read_positive(&dst->pcpuc_entries); in dst_entries_get_fast()
Dsock.h1407 return percpu_counter_read_positive(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_read_positive()
/linux-6.12.1/fs/ext2/
Dialloc.c268 freei = percpu_counter_read_positive(&sbi->s_freeinodes_counter); in find_group_orlov()
270 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter); in find_group_orlov()
272 ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter); in find_group_orlov()
Dballoc.c1162 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter); in ext2_has_free_blocks()
/linux-6.12.1/fs/xfs/
Dxfs_ioctl.c1132 .allocino = percpu_counter_read_positive(&mp->m_icount), in xfs_ioctl_fs_counts()
1133 .freeino = percpu_counter_read_positive(&mp->m_ifree), in xfs_ioctl_fs_counts()
1134 .freedata = percpu_counter_read_positive(&mp->m_fdblocks) - in xfs_ioctl_fs_counts()
1136 .freertx = percpu_counter_read_positive(&mp->m_frextents), in xfs_ioctl_fs_counts()
Dxfs_iomap.c406 freesp = percpu_counter_read_positive(counter); in xfs_iomap_freesp()
/linux-6.12.1/fs/ext4/
Dballoc.c627 free_clusters = percpu_counter_read_positive(fcc); in ext4_has_free_clusters()
628 dirty_clusters = percpu_counter_read_positive(dcc); in ext4_has_free_clusters()
Dialloc.c447 freei = percpu_counter_read_positive(&sbi->s_freeinodes_counter); in find_group_orlov()
449 freec = percpu_counter_read_positive(&sbi->s_freeclusters_counter); in find_group_orlov()
452 ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter); in find_group_orlov()
Dextents_status.c1652 nr = percpu_counter_read_positive(&sbi->s_es_stats.es_stats_shk_cnt); in ext4_es_count()
1664 ret = percpu_counter_read_positive(&sbi->s_es_stats.es_stats_shk_cnt); in ext4_es_scan()
1669 ret = percpu_counter_read_positive(&sbi->s_es_stats.es_stats_shk_cnt); in ext4_es_scan()
Dinode.c2878 percpu_counter_read_positive(&sbi->s_freeclusters_counter); in ext4_nonda_switch()
2880 percpu_counter_read_positive(&sbi->s_dirtyclusters_counter); in ext4_nonda_switch()
/linux-6.12.1/fs/
Dfile_table.c82 return percpu_counter_read_positive(&nr_files); in get_nr_files()
/linux-6.12.1/fs/btrfs/
Dspace-info.c972 ordered = percpu_counter_read_positive(&fs_info->ordered_bytes) >> 1; in need_preemptive_reclaim()
973 delalloc = percpu_counter_read_positive(&fs_info->delalloc_bytes); in need_preemptive_reclaim()
/linux-6.12.1/fs/jbd2/
Djournal.c1261 count = percpu_counter_read_positive(&journal->j_checkpoint_jh_count); in jbd2_journal_shrink_scan()
1266 count = percpu_counter_read_positive(&journal->j_checkpoint_jh_count); in jbd2_journal_shrink_scan()
1285 count = percpu_counter_read_positive(&journal->j_checkpoint_jh_count); in jbd2_journal_shrink_count()
/linux-6.12.1/mm/
Dutil.c1067 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_ialloc.c733 percpu_counter_read_positive(&args.mp->m_icount) + newlen > in xfs_ialloc_ag_alloc()
1897 percpu_counter_read_positive(&mp->m_icount) + igeo->ialloc_inos in xfs_dialloc()
1910 if (percpu_counter_read_positive(&mp->m_fdblocks) < in xfs_dialloc()
/linux-6.12.1/drivers/md/
Ddm-crypt.c1732 if (unlikely(percpu_counter_read_positive(&cc->n_allocated_pages) + in crypt_alloc_buffer()
2764 if (unlikely(percpu_counter_read_positive(&cc->n_allocated_pages) >= dm_crypt_pages_per_client) && in crypt_page_alloc()
/linux-6.12.1/fs/quota/
Ddquot.c804 percpu_counter_read_positive(&dqstats.counter[DQST_FREE_DQUOTS])); in dqcache_shrink_count()
/linux-6.12.1/io_uring/
Dio_uring.c2379 return percpu_counter_read_positive(&tctx->inflight); in current_pending_io()
/linux-6.12.1/arch/x86/kvm/mmu/
Dmmu.c7213 return percpu_counter_read_positive(&kvm_total_used_mmu_pages); in mmu_shrink_count()