Home
last modified time | relevance | path

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

12

/openbmc/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma.c235 rc = percpu_counter_init(&svcrdma_stat_read, 0, GFP_KERNEL); in svc_rdma_proc_init()
238 rc = percpu_counter_init(&svcrdma_stat_recv, 0, GFP_KERNEL); in svc_rdma_proc_init()
241 rc = percpu_counter_init(&svcrdma_stat_sq_starve, 0, GFP_KERNEL); in svc_rdma_proc_init()
244 rc = percpu_counter_init(&svcrdma_stat_write, 0, GFP_KERNEL); in svc_rdma_proc_init()
/openbmc/linux/fs/ceph/
H A Dmetric.c244 ret = percpu_counter_init(&m->d_lease_hit, 0, GFP_KERNEL); in ceph_metric_init()
248 ret = percpu_counter_init(&m->d_lease_mis, 0, GFP_KERNEL); in ceph_metric_init()
253 ret = percpu_counter_init(&m->i_caps_hit, 0, GFP_KERNEL); in ceph_metric_init()
257 ret = percpu_counter_init(&m->i_caps_mis, 0, GFP_KERNEL); in ceph_metric_init()
276 ret = percpu_counter_init(&m->opened_inodes, 0, GFP_KERNEL); in ceph_metric_init()
279 ret = percpu_counter_init(&m->total_inodes, 0, GFP_KERNEL); in ceph_metric_init()
/openbmc/linux/include/linux/
H A Dpercpu_counter.h46 #define percpu_counter_init(fbc, value, gfp) \ macro
142 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount, in percpu_counter_init() function
/openbmc/linux/lib/
H A Dflex_proportions.c44 err = percpu_counter_init(&p->events, 1, gfp); in fprop_global_init()
172 err = percpu_counter_init(&pl->events, 0, gfp); in fprop_local_init_percpu()
/openbmc/linux/include/net/
H A Ddst_ops.h65 return percpu_counter_init(&dst->pcpuc_entries, 0, GFP_KERNEL); in dst_entries_init()
/openbmc/linux/block/
H A Dblk-cgroup-rwstat.c13 ret = percpu_counter_init(&rwstat->cpu_cnt[i], 0, gfp); in blkg_rwstat_init()
H A Dbfq-cgroup.c23 ret = percpu_counter_init(&stat->cpu_cnt, 0, gfp); in bfq_stat_init()
/openbmc/linux/fs/nfsd/
H A Dstats.c81 err = percpu_counter_init(&counters[i], 0, GFP_KERNEL); in nfsd_percpu_counters_init()
/openbmc/linux/kernel/
H A Duser.c135 return percpu_counter_init(&up->epoll_watches, 0, GFP_KERNEL); in user_epoll_alloc()
/openbmc/linux/fs/xfs/
H A Dxfs_super.c1047 error = percpu_counter_init(&mp->m_icount, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1051 error = percpu_counter_init(&mp->m_ifree, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1055 error = percpu_counter_init(&mp->m_fdblocks, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1059 error = percpu_counter_init(&mp->m_delalloc_blks, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1063 error = percpu_counter_init(&mp->m_frextents, 0, GFP_KERNEL); in xfs_init_percpu_counters()
H A Dxfs_buf.c2031 if (percpu_counter_init(&btp->bt_io_count, 0, GFP_KERNEL)) in xfs_alloc_buftarg()
/openbmc/linux/io_uring/
H A Dtctx.c81 ret = percpu_counter_init(&tctx->inflight, 0, GFP_KERNEL); in io_uring_alloc_task_context()
/openbmc/linux/net/sunrpc/
H A Dsvc.c516 percpu_counter_init(&pool->sp_messages_arrived, 0, GFP_KERNEL); in __svc_create()
517 percpu_counter_init(&pool->sp_sockets_queued, 0, GFP_KERNEL); in __svc_create()
518 percpu_counter_init(&pool->sp_threads_woken, 0, GFP_KERNEL); in __svc_create()
/openbmc/linux/fs/ext4/
H A Dextents_status.c1714 err = percpu_counter_init(&sbi->s_es_stats.es_stats_cache_hits, 0, in ext4_es_register_shrinker()
1718 err = percpu_counter_init(&sbi->s_es_stats.es_stats_cache_misses, 0, in ext4_es_register_shrinker()
1724 err = percpu_counter_init(&sbi->s_es_stats.es_stats_all_cnt, 0, GFP_KERNEL); in ext4_es_register_shrinker()
1727 err = percpu_counter_init(&sbi->s_es_stats.es_stats_shk_cnt, 0, GFP_KERNEL); in ext4_es_register_shrinker()
H A Dsuper.c1228 err = percpu_counter_init(&sbi->s_freeclusters_counter, block, in ext4_percpu_param_init()
1233 err = percpu_counter_init(&sbi->s_freeinodes_counter, freei, in ext4_percpu_param_init()
1237 err = percpu_counter_init(&sbi->s_dirs_counter, in ext4_percpu_param_init()
1240 err = percpu_counter_init(&sbi->s_dirtyclusters_counter, 0, in ext4_percpu_param_init()
1243 err = percpu_counter_init(&sbi->s_sra_exceeded_retry_limit, 0, in ext4_percpu_param_init()
/openbmc/linux/fs/
H A Dfile_table.c475 percpu_counter_init(&nr_files, 0, GFP_KERNEL); in files_init()
/openbmc/linux/fs/ext2/
H A 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()
/openbmc/linux/ipc/
H A 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()
/openbmc/linux/mm/
H A Dbacking-dev.c445 err = percpu_counter_init(&wb->stat[i], 0, gfp); in wb_init()
H A Dnommu.c413 ret = percpu_counter_init(&vm_committed_as, 0, GFP_KERNEL); in mmap_init()
/openbmc/linux/fs/btrfs/
H A Ddisk-io.c2807 ret = percpu_counter_init(&fs_info->ordered_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
2811 ret = percpu_counter_init(&fs_info->dirty_metadata_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
2818 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
2822 ret = percpu_counter_init(&fs_info->dev_replace.bio_counter, 0, in init_mount_fs_info()
/openbmc/linux/fs/f2fs/
H A Dsuper.c3819 err = percpu_counter_init(&sbi->alloc_valid_block_count, 0, GFP_KERNEL); in init_percpu_info()
3823 err = percpu_counter_init(&sbi->rf_node_block_count, 0, GFP_KERNEL); in init_percpu_info()
3827 err = percpu_counter_init(&sbi->total_valid_inode_count, 0, in init_percpu_info()
/openbmc/linux/net/sctp/
H A Dprotocol.c1512 status = percpu_counter_init(&sctp_sockets_allocated, 0, GFP_KERNEL); in sctp_init()
/openbmc/linux/fs/jbd2/
H A Djournal.c1627 err = percpu_counter_init(&journal->j_checkpoint_jh_count, 0, in journal_init_common()
/openbmc/linux/kernel/bpf/
H A Dhashtab.c569 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL); in htab_map_alloc()

12