/linux/net/sunrpc/xprtrdma/ |
H A D | svc_rdma.c | 234 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/fs/ceph/ |
H A D | metric.c | 245 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/lib/ |
H A D | flex_proportions.c | 44 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/include/linux/ |
H A D | percpu_counter.h | 46 #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/include/net/ |
H A D | dst_ops.h | 65 return percpu_counter_init(&dst->pcpuc_entries, 0, GFP_KERNEL); in dst_entries_init()
|
/linux/kernel/ |
H A D | user.c | 148 return percpu_counter_init(&up->epoll_watches, 0, GFP_KERNEL); in user_epoll_alloc()
|
/linux/fs/xfs/ |
H A D | xfs_super.c | 1044 error = percpu_counter_init(&mp->m_icount, 0, GFP_KERNEL); in xfs_init_percpu_counters() 1048 error = percpu_counter_init(&mp->m_ifree, 0, GFP_KERNEL); in xfs_init_percpu_counters() 1052 error = percpu_counter_init(&mp->m_fdblocks, 0, GFP_KERNEL); in xfs_init_percpu_counters() 1056 error = percpu_counter_init(&mp->m_delalloc_blks, 0, GFP_KERNEL); in xfs_init_percpu_counters() 1060 error = percpu_counter_init(&mp->m_delalloc_rtextents, 0, GFP_KERNEL); in xfs_init_percpu_counters() 1064 error = percpu_counter_init(&mp->m_frextents, 0, GFP_KERNEL); in xfs_init_percpu_counters()
|
/linux/io_uring/ |
H A D | tctx.c | 81 ret = percpu_counter_init(&tctx->inflight, 0, GFP_KERNEL); in io_uring_alloc_task_context()
|
/linux/fs/ext4/ |
H A D | extents_status.c | 1727 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()
|
H A D | mballoc-test.c | 98 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()
|
H A D | super.c | 1219 err = percpu_counter_init(&sbi->s_freeclusters_counter, block, in ext4_percpu_param_init() 1224 err = percpu_counter_init(&sbi->s_freeinodes_counter, freei, in ext4_percpu_param_init() 1228 err = percpu_counter_init(&sbi->s_dirs_counter, in ext4_percpu_param_init() 1231 err = percpu_counter_init(&sbi->s_dirtyclusters_counter, 0, in ext4_percpu_param_init() 1234 err = percpu_counter_init(&sbi->s_sra_exceeded_retry_limit, 0, in ext4_percpu_param_init()
|
/linux/net/sunrpc/ |
H A D | svc.c | 545 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/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()
|
/linux/fs/ |
H A D | file_table.c | 556 percpu_counter_init(&nr_files, 0, GFP_KERNEL); in files_init()
|
/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()
|
/linux/fs/btrfs/ |
H A D | disk-io.c | 2847 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() 2855 ret = percpu_counter_init(&fs_info->dirty_metadata_bytes, 0, GFP_KERNEL); in init_mount_fs_info() 2862 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in init_mount_fs_info() 2866 ret = percpu_counter_init(&fs_info->dev_replace.bio_counter, 0, in init_mount_fs_info()
|
/linux/mm/ |
H A D | backing-dev.c |
|
H A D | nommu.c | 402 ret = percpu_counter_init(&vm_committed_as, 0, GFP_KERNEL); in mmap_init()
|
H A D | mmap.c | 1941 ret = percpu_counter_init(&vm_committed_as, 0, GFP_KERNEL); in mmap_init()
|
/linux/block/ |
H A D | bfq-cgroup.c | 23 ret = percpu_counter_init(&stat->cpu_cnt, 0, gfp); in bfq_stat_init()
|
/linux/net/sctp/ |
H A D | protocol.c | 1521 status = percpu_counter_init(&sctp_sockets_allocated, 0, GFP_KERNEL); in sctp_init()
|
/linux/fs/jbd2/ |
H A D | journal.c | 1586 err = percpu_counter_init(&journal->j_checkpoint_jh_count, 0, in journal_init_common()
|
/linux/kernel/bpf/ |
H A D | hashtab.c | 573 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL); in htab_map_alloc()
|
/linux/drivers/md/ |
H A D | dm-crypt.c | 3307 ret = percpu_counter_init(&cc->n_allocated_pages, 0, GFP_KERNEL); in crypt_ctr()
|
/linux/net/mptcp/ |
H A D | protocol.c | 4147 if (percpu_counter_init(&mptcp_sockets_allocated, 0, GFP_KERNEL)) in mptcp_proto_init()
|