/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | svc_rdma.c | 235 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 D | metric.c | 244 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 D | percpu_counter.h | 46 #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 D | flex_proportions.c | 44 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 D | dst_ops.h | 65 return percpu_counter_init(&dst->pcpuc_entries, 0, GFP_KERNEL); in dst_entries_init()
|
/openbmc/linux/block/ |
H A D | blk-cgroup-rwstat.c | 13 ret = percpu_counter_init(&rwstat->cpu_cnt[i], 0, gfp); in blkg_rwstat_init()
|
H A D | bfq-cgroup.c | 23 ret = percpu_counter_init(&stat->cpu_cnt, 0, gfp); in bfq_stat_init()
|
/openbmc/linux/fs/nfsd/ |
H A D | stats.c | 81 err = percpu_counter_init(&counters[i], 0, GFP_KERNEL); in nfsd_percpu_counters_init()
|
/openbmc/linux/kernel/ |
H A D | user.c | 135 return percpu_counter_init(&up->epoll_watches, 0, GFP_KERNEL); in user_epoll_alloc()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_super.c | 1047 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 D | xfs_buf.c | 2031 if (percpu_counter_init(&btp->bt_io_count, 0, GFP_KERNEL)) in xfs_alloc_buftarg()
|
/openbmc/linux/io_uring/ |
H A D | tctx.c | 81 ret = percpu_counter_init(&tctx->inflight, 0, GFP_KERNEL); in io_uring_alloc_task_context()
|
/openbmc/linux/net/sunrpc/ |
H A D | svc.c | 516 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 D | extents_status.c | 1714 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 D | super.c | 1228 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 D | file_table.c | 475 percpu_counter_init(&nr_files, 0, GFP_KERNEL); in files_init()
|
/openbmc/linux/fs/ext2/ |
H A D | super.c | 1136 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 D | msg.c | 1314 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 D | backing-dev.c | 445 err = percpu_counter_init(&wb->stat[i], 0, gfp); in wb_init()
|
H A D | nommu.c | 413 ret = percpu_counter_init(&vm_committed_as, 0, GFP_KERNEL); in mmap_init()
|
/openbmc/linux/fs/btrfs/ |
H A D | disk-io.c | 2807 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 D | super.c | 3819 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 D | protocol.c | 1512 status = percpu_counter_init(&sctp_sockets_allocated, 0, GFP_KERNEL); in sctp_init()
|
/openbmc/linux/fs/jbd2/ |
H A D | journal.c | 1627 err = percpu_counter_init(&journal->j_checkpoint_jh_count, 0, in journal_init_common()
|
/openbmc/linux/kernel/bpf/ |
H A D | hashtab.c | 569 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL); in htab_map_alloc()
|