Home
last modified time | relevance | path

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

12

/linux-6.1.9/net/sunrpc/xprtrdma/
Dsvc_rdma.c253 rc = percpu_counter_init(&svcrdma_stat_read, 0, GFP_KERNEL); in svc_rdma_proc_init()
256 rc = percpu_counter_init(&svcrdma_stat_recv, 0, GFP_KERNEL); in svc_rdma_proc_init()
259 rc = percpu_counter_init(&svcrdma_stat_sq_starve, 0, GFP_KERNEL); in svc_rdma_proc_init()
262 rc = percpu_counter_init(&svcrdma_stat_write, 0, GFP_KERNEL); in svc_rdma_proc_init()
/linux-6.1.9/fs/ceph/
Dmetric.c236 ret = percpu_counter_init(&m->d_lease_hit, 0, GFP_KERNEL); in ceph_metric_init()
240 ret = percpu_counter_init(&m->d_lease_mis, 0, GFP_KERNEL); in ceph_metric_init()
245 ret = percpu_counter_init(&m->i_caps_hit, 0, GFP_KERNEL); in ceph_metric_init()
249 ret = percpu_counter_init(&m->i_caps_mis, 0, GFP_KERNEL); in ceph_metric_init()
268 ret = percpu_counter_init(&m->opened_inodes, 0, GFP_KERNEL); in ceph_metric_init()
271 ret = percpu_counter_init(&m->total_inodes, 0, GFP_KERNEL); in ceph_metric_init()
/linux-6.1.9/include/linux/
Dpercpu_counter.h37 #define percpu_counter_init(fbc, value, gfp) \ macro
120 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount, in percpu_counter_init() function
/linux-6.1.9/lib/
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()
/linux-6.1.9/include/net/
Ddst_ops.h65 return percpu_counter_init(&dst->pcpuc_entries, 0, GFP_KERNEL); in dst_entries_init()
/linux-6.1.9/fs/nfsd/
Dstats.c82 err = percpu_counter_init(&counters[i], 0, GFP_KERNEL); in nfsd_percpu_counters_init()
/linux-6.1.9/block/
Dblk-cgroup-rwstat.c13 ret = percpu_counter_init(&rwstat->cpu_cnt[i], 0, gfp); in blkg_rwstat_init()
Dbfq-cgroup.c23 ret = percpu_counter_init(&stat->cpu_cnt, 0, gfp); in bfq_stat_init()
/linux-6.1.9/kernel/
Duser.c135 return percpu_counter_init(&up->epoll_watches, 0, GFP_KERNEL); in user_epoll_alloc()
/linux-6.1.9/fs/btrfs/
Dlocking.c331 ret = percpu_counter_init(&lock->writers, 0, GFP_KERNEL); in btrfs_drew_lock_init()
Ddisk-io.c3116 ret = percpu_counter_init(&fs_info->ordered_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
3120 ret = percpu_counter_init(&fs_info->dirty_metadata_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
3127 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
3131 ret = percpu_counter_init(&fs_info->dev_replace.bio_counter, 0, in init_mount_fs_info()
/linux-6.1.9/fs/xfs/
Dxfs_super.c1018 error = percpu_counter_init(&mp->m_icount, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1022 error = percpu_counter_init(&mp->m_ifree, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1026 error = percpu_counter_init(&mp->m_fdblocks, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1030 error = percpu_counter_init(&mp->m_delalloc_blks, 0, GFP_KERNEL); in xfs_init_percpu_counters()
1034 error = percpu_counter_init(&mp->m_frextents, 0, GFP_KERNEL); in xfs_init_percpu_counters()
Dxfs_buf.c2021 if (percpu_counter_init(&btp->bt_io_count, 0, GFP_KERNEL)) in xfs_alloc_buftarg()
/linux-6.1.9/io_uring/
Dtctx.c70 ret = percpu_counter_init(&tctx->inflight, 0, GFP_KERNEL); in io_uring_alloc_task_context()
/linux-6.1.9/fs/
Dfile_table.c414 percpu_counter_init(&nr_files, 0, GFP_KERNEL); in files_init()
/linux-6.1.9/fs/ext4/
Dextents_status.c1637 err = percpu_counter_init(&sbi->s_es_stats.es_stats_cache_hits, 0, in ext4_es_register_shrinker()
1641 err = percpu_counter_init(&sbi->s_es_stats.es_stats_cache_misses, 0, in ext4_es_register_shrinker()
1647 err = percpu_counter_init(&sbi->s_es_stats.es_stats_all_cnt, 0, GFP_KERNEL); in ext4_es_register_shrinker()
1650 err = percpu_counter_init(&sbi->s_es_stats.es_stats_shk_cnt, 0, GFP_KERNEL); in ext4_es_register_shrinker()
Dsuper.c5454 err = percpu_counter_init(&sbi->s_freeclusters_counter, block, in __ext4_fill_super()
5459 err = percpu_counter_init(&sbi->s_freeinodes_counter, freei, in __ext4_fill_super()
5463 err = percpu_counter_init(&sbi->s_dirs_counter, in __ext4_fill_super()
5466 err = percpu_counter_init(&sbi->s_dirtyclusters_counter, 0, in __ext4_fill_super()
5469 err = percpu_counter_init(&sbi->s_sra_exceeded_retry_limit, 0, in __ext4_fill_super()
/linux-6.1.9/fs/ext2/
Dsuper.c1144 err = percpu_counter_init(&sbi->s_freeblocks_counter, in ext2_fill_super()
1147 err = percpu_counter_init(&sbi->s_freeinodes_counter, in ext2_fill_super()
1151 err = percpu_counter_init(&sbi->s_dirs_counter, in ext2_fill_super()
/linux-6.1.9/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.1.9/mm/
Dbacking-dev.c315 err = percpu_counter_init(&wb->stat[i], 0, gfp); in wb_init()
Dnommu.c413 ret = percpu_counter_init(&vm_committed_as, 0, GFP_KERNEL); in mmap_init()
/linux-6.1.9/fs/f2fs/
Dsuper.c3654 err = percpu_counter_init(&sbi->alloc_valid_block_count, 0, GFP_KERNEL); in init_percpu_info()
3658 err = percpu_counter_init(&sbi->rf_node_block_count, 0, GFP_KERNEL); in init_percpu_info()
3662 err = percpu_counter_init(&sbi->total_valid_inode_count, 0, in init_percpu_info()
/linux-6.1.9/net/sctp/
Dprotocol.c1503 status = percpu_counter_init(&sctp_sockets_allocated, 0, GFP_KERNEL); in sctp_init()
/linux-6.1.9/fs/jbd2/
Djournal.c1421 if (percpu_counter_init(&journal->j_checkpoint_jh_count, 0, GFP_KERNEL)) in journal_init_common()
/linux-6.1.9/kernel/bpf/
Dhashtab.c552 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL); in htab_map_alloc()

12