Home
last modified time | relevance | path

Searched refs:percpu_counter_init (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.12.1/net/sunrpc/xprtrdma/
Dsvc_rdma.c234 rc = percpu_counter_init(&svcrdma_stat_read, 0, GFP_KERNEL); in svc_rdma_proc_init()
237 rc = percpu_counter_init(&svcrdma_stat_recv, 0, GFP_KERNEL); in svc_rdma_proc_init()
240 rc = percpu_counter_init(&svcrdma_stat_sq_starve, 0, GFP_KERNEL); in svc_rdma_proc_init()
243 rc = percpu_counter_init(&svcrdma_stat_write, 0, GFP_KERNEL); in svc_rdma_proc_init()
/linux-6.12.1/fs/ceph/
Dmetric.c245 ret = percpu_counter_init(&m->d_lease_hit, 0, GFP_KERNEL); in ceph_metric_init()
249 ret = percpu_counter_init(&m->d_lease_mis, 0, GFP_KERNEL); in ceph_metric_init()
254 ret = percpu_counter_init(&m->i_caps_hit, 0, GFP_KERNEL); in ceph_metric_init()
258 ret = percpu_counter_init(&m->i_caps_mis, 0, GFP_KERNEL); in ceph_metric_init()
277 ret = percpu_counter_init(&m->opened_inodes, 0, GFP_KERNEL); in ceph_metric_init()
280 ret = percpu_counter_init(&m->total_inodes, 0, GFP_KERNEL); in ceph_metric_init()
/linux-6.12.1/lib/
Dflex_proportions.c44 err = percpu_counter_init(&p->events, 1, gfp); in fprop_global_init()
95 err = percpu_counter_init(&pl->events, 0, gfp); in fprop_local_init_percpu()
/linux-6.12.1/include/linux/
Dpercpu_counter.h46 #define percpu_counter_init(fbc, value, gfp) \ macro
151 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount, in percpu_counter_init() function
/linux-6.12.1/include/net/
Ddst_ops.h65 return percpu_counter_init(&dst->pcpuc_entries, 0, GFP_KERNEL); in dst_entries_init()
/linux-6.12.1/kernel/
Duser.c148 return percpu_counter_init(&up->epoll_watches, 0, GFP_KERNEL); in user_epoll_alloc()
/linux-6.12.1/fs/xfs/
Dxfs_super.c1040 error = percpu_counter_init(&mp->m_icount, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1044 error = percpu_counter_init(&mp->m_ifree, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1048 error = percpu_counter_init(&mp->m_fdblocks, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1052 error = percpu_counter_init(&mp->m_delalloc_blks, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1056 error = percpu_counter_init(&mp->m_delalloc_rtextents, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1060 error = percpu_counter_init(&mp->m_frextents, 0, GFP_KERNEL); in xfs_init_percpu_counters()
Dxfs_buf.c2078 if (percpu_counter_init(&btp->bt_io_count, 0, GFP_KERNEL)) in xfs_init_buftarg()
/linux-6.12.1/io_uring/
Dtctx.c70 ret = percpu_counter_init(&tctx->inflight, 0, GFP_KERNEL); in io_uring_alloc_task_context()
/linux-6.12.1/fs/ext4/
Dextents_status.c1727 err = percpu_counter_init(&sbi->s_es_stats.es_stats_cache_hits, 0, in ext4_es_register_shrinker()
1731 err = percpu_counter_init(&sbi->s_es_stats.es_stats_cache_misses, 0, in ext4_es_register_shrinker()
1737 err = percpu_counter_init(&sbi->s_es_stats.es_stats_all_cnt, 0, GFP_KERNEL); in ext4_es_register_shrinker()
1740 err = percpu_counter_init(&sbi->s_es_stats.es_stats_shk_cnt, 0, GFP_KERNEL); in ext4_es_register_shrinker()
Dmballoc-test.c98 ret = percpu_counter_init(&EXT4_SB(sb)->s_freeclusters_counter, block, in mbt_mb_init()
103 ret = percpu_counter_init(&EXT4_SB(sb)->s_dirtyclusters_counter, 0, in mbt_mb_init()
Dsuper.c1212 err = percpu_counter_init(&sbi->s_freeclusters_counter, block, in ext4_percpu_param_init()
1217 err = percpu_counter_init(&sbi->s_freeinodes_counter, freei, in ext4_percpu_param_init()
1221 err = percpu_counter_init(&sbi->s_dirs_counter, in ext4_percpu_param_init()
1224 err = percpu_counter_init(&sbi->s_dirtyclusters_counter, 0, in ext4_percpu_param_init()
1227 err = percpu_counter_init(&sbi->s_sra_exceeded_retry_limit, 0, in ext4_percpu_param_init()
/linux-6.12.1/net/sunrpc/
Dsvc.c545 percpu_counter_init(&pool->sp_messages_arrived, 0, GFP_KERNEL); in __svc_create()
546 percpu_counter_init(&pool->sp_sockets_queued, 0, GFP_KERNEL); in __svc_create()
547 percpu_counter_init(&pool->sp_threads_woken, 0, GFP_KERNEL); in __svc_create()
/linux-6.12.1/fs/ext2/
Dsuper.c1136 err = percpu_counter_init(&sbi->s_freeblocks_counter, in ext2_fill_super()
1139 err = percpu_counter_init(&sbi->s_freeinodes_counter, in ext2_fill_super()
1143 err = percpu_counter_init(&sbi->s_dirs_counter, in ext2_fill_super()
/linux-6.12.1/fs/
Dfile_table.c532 percpu_counter_init(&nr_files, 0, GFP_KERNEL); in files_init()
/linux-6.12.1/ipc/
Dmsg.c1314 ret = percpu_counter_init(&ns->percpu_msg_bytes, 0, GFP_KERNEL); in msg_init_ns()
1317 ret = percpu_counter_init(&ns->percpu_msg_hdrs, 0, GFP_KERNEL); in msg_init_ns()
/linux-6.12.1/fs/btrfs/
Ddisk-io.c2847 ret = percpu_counter_init(&fs_info->ordered_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
2851 ret = percpu_counter_init(&fs_info->evictable_extent_maps, 0, GFP_KERNEL); in init_mount_fs_info()
2857 ret = percpu_counter_init(&fs_info->dirty_metadata_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
2864 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
2868 ret = percpu_counter_init(&fs_info->dev_replace.bio_counter, 0, in init_mount_fs_info()
/linux-6.12.1/mm/
Dnommu.c402 ret = percpu_counter_init(&vm_committed_as, 0, GFP_KERNEL); in mmap_init()
Dmmap.c2203 ret = percpu_counter_init(&vm_committed_as, 0, GFP_KERNEL); in mmap_init()
/linux-6.12.1/block/
Dbfq-cgroup.c23 ret = percpu_counter_init(&stat->cpu_cnt, 0, gfp); in bfq_stat_init()
/linux-6.12.1/fs/f2fs/
Dsuper.c3850 err = percpu_counter_init(&sbi->alloc_valid_block_count, 0, GFP_KERNEL); in init_percpu_info()
3854 err = percpu_counter_init(&sbi->rf_node_block_count, 0, GFP_KERNEL); in init_percpu_info()
3858 err = percpu_counter_init(&sbi->total_valid_inode_count, 0, in init_percpu_info()
/linux-6.12.1/net/sctp/
Dprotocol.c1507 status = percpu_counter_init(&sctp_sockets_allocated, 0, GFP_KERNEL); in sctp_init()
/linux-6.12.1/fs/jbd2/
Djournal.c1591 err = percpu_counter_init(&journal->j_checkpoint_jh_count, 0, in journal_init_common()
/linux-6.12.1/kernel/bpf/
Dhashtab.c573 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL); in htab_map_alloc()
/linux-6.12.1/drivers/md/
Ddm-crypt.c3307 ret = percpu_counter_init(&cc->n_allocated_pages, 0, GFP_KERNEL); in crypt_ctr()

12