/fs/nfsd/ |
D | stats.h | 30 struct percpu_counter counter[NFSD_STATS_COUNTERS_NUM]; member 49 percpu_counter_inc(&nfsdstats.counter[NFSD_STATS_RC_HITS]); in nfsd_stats_rc_hits_inc() 54 percpu_counter_inc(&nfsdstats.counter[NFSD_STATS_RC_MISSES]); in nfsd_stats_rc_misses_inc() 59 percpu_counter_inc(&nfsdstats.counter[NFSD_STATS_RC_NOCACHE]); in nfsd_stats_rc_nocache_inc() 64 percpu_counter_inc(&nfsdstats.counter[NFSD_STATS_FH_STALE]); in nfsd_stats_fh_stale_inc() 66 percpu_counter_inc(&exp->ex_stats.counter[EXP_STATS_FH_STALE]); in nfsd_stats_fh_stale_inc() 71 percpu_counter_add(&nfsdstats.counter[NFSD_STATS_IO_READ], amount); in nfsd_stats_io_read_add() 73 percpu_counter_add(&exp->ex_stats.counter[EXP_STATS_IO_READ], amount); in nfsd_stats_io_read_add() 78 percpu_counter_add(&nfsdstats.counter[NFSD_STATS_IO_WRITE], amount); in nfsd_stats_io_write_add() 80 percpu_counter_add(&exp->ex_stats.counter[EXP_STATS_IO_WRITE], amount); in nfsd_stats_io_write_add() [all …]
|
D | stats.c | 40 percpu_counter_sum_positive(&nfsdstats.counter[NFSD_STATS_RC_HITS]), in nfsd_proc_show() 41 percpu_counter_sum_positive(&nfsdstats.counter[NFSD_STATS_RC_MISSES]), in nfsd_proc_show() 42 percpu_counter_sum_positive(&nfsdstats.counter[NFSD_STATS_RC_NOCACHE]), in nfsd_proc_show() 43 percpu_counter_sum_positive(&nfsdstats.counter[NFSD_STATS_FH_STALE]), in nfsd_proc_show() 44 percpu_counter_sum_positive(&nfsdstats.counter[NFSD_STATS_IO_READ]), in nfsd_proc_show() 45 percpu_counter_sum_positive(&nfsdstats.counter[NFSD_STATS_IO_WRITE])); in nfsd_proc_show() 66 percpu_counter_sum_positive(&nfsdstats.counter[NFSD_STATS_NFS4_OP(i)])); in nfsd_proc_show() 121 return nfsd_percpu_counters_init(nfsdstats.counter, NFSD_STATS_COUNTERS_NUM); in nfsd_stat_counters_init() 126 nfsd_percpu_counters_destroy(nfsdstats.counter, NFSD_STATS_COUNTERS_NUM); in nfsd_stat_counters_destroy()
|
D | nfscache.c | 159 return nfsd_percpu_counters_init(nn->counter, NFSD_NET_COUNTERS_NUM); in nfsd_reply_cache_stats_init() 164 nfsd_percpu_counters_destroy(nn->counter, NFSD_NET_COUNTERS_NUM); in nfsd_reply_cache_stats_destroy() 611 percpu_counter_sum_positive(&nn->counter[NFSD_NET_DRC_MEM_USAGE])); in nfsd_reply_cache_stats_show() 613 percpu_counter_sum_positive(&nfsdstats.counter[NFSD_STATS_RC_HITS])); in nfsd_reply_cache_stats_show() 615 percpu_counter_sum_positive(&nfsdstats.counter[NFSD_STATS_RC_MISSES])); in nfsd_reply_cache_stats_show() 617 percpu_counter_sum_positive(&nfsdstats.counter[NFSD_STATS_RC_NOCACHE])); in nfsd_reply_cache_stats_show() 619 percpu_counter_sum_positive(&nn->counter[NFSD_NET_PAYLOAD_MISSES])); in nfsd_reply_cache_stats_show()
|
D | export.c | 337 return nfsd_percpu_counters_init(stats->counter, EXP_STATS_COUNTERS_NUM); in export_stats_init() 342 nfsd_percpu_counters_reset(stats->counter, EXP_STATS_COUNTERS_NUM); in export_stats_reset() 347 nfsd_percpu_counters_destroy(stats->counter, EXP_STATS_COUNTERS_NUM); in export_stats_destroy() 749 percpu_counter_sum_positive(&exp->ex_stats.counter[EXP_STATS_FH_STALE])); in svc_export_show() 751 percpu_counter_sum_positive(&exp->ex_stats.counter[EXP_STATS_IO_READ])); in svc_export_show() 753 percpu_counter_sum_positive(&exp->ex_stats.counter[EXP_STATS_IO_WRITE])); in svc_export_show()
|
D | netns.h | 170 struct percpu_counter counter[NFSD_NET_COUNTERS_NUM]; member
|
D | export.h | 60 struct percpu_counter counter[EXP_STATS_COUNTERS_NUM]; member
|
D | nfs4proc.c | 2320 percpu_counter_inc(&nfsdstats.counter[NFSD_STATS_NFS4_OP(opnum)]); in nfsd4_increment_op_stats()
|
/fs/crypto/ |
D | hkdf.c | 127 u8 counter = 1; in fscrypt_hkdf_expand() local 158 BUILD_BUG_ON(sizeof(counter) != 1); in fscrypt_hkdf_expand() 160 err = crypto_shash_finup(desc, &counter, 1, tmp); in fscrypt_hkdf_expand() 166 err = crypto_shash_finup(desc, &counter, 1, &okm[i]); in fscrypt_hkdf_expand() 170 counter++; in fscrypt_hkdf_expand()
|
/fs/reiserfs/ |
D | fix_node.c | 831 int counter, number_of_freeblk; in get_empty_nodes() local 857 for (counter = 0, number_of_freeblk = tb->cur_blknum; in get_empty_nodes() 858 counter < h; counter++) in get_empty_nodes() 860 (tb->blknum[counter]) ? (tb->blknum[counter] - in get_empty_nodes() 884 for (blocknr = blocknrs, counter = 0; in get_empty_nodes() 885 counter < amount_needed; blocknr++, counter++) { in get_empty_nodes() 1032 int counter, in get_far_parent() local 1042 counter = path_offset; in get_far_parent() 1044 RFALSE(counter < FIRST_PATH_ELEMENT_OFFSET, in get_far_parent() 1047 for (; counter > FIRST_PATH_ELEMENT_OFFSET; counter--) { in get_far_parent() [all …]
|
/fs/ecryptfs/ |
D | messaging.c | 75 msg_ctx->counter = ++ecryptfs_msg_counter; in ecryptfs_msg_ctx_free_to_alloc() 228 } else if (msg_ctx->counter != seq) { in ecryptfs_process_response() 232 msg_ctx->counter, seq); in ecryptfs_process_response() 396 ecryptfs_msg_ctx_arr[i].counter = 0; in ecryptfs_init_messaging()
|
D | miscdev.c | 285 if (put_user(cpu_to_be32(msg_ctx->counter), in ecryptfs_miscdev_read()
|
D | ecryptfs_kernel.h | 393 u32 counter; member
|
/fs/cifs/ |
D | cifs_debug.c | 565 sesInfoAllocCount.counter); in cifs_stats_proc_show() 567 tconInfoAllocCount.counter); in cifs_stats_proc_show() 569 bufAllocCount.counter, in cifs_stats_proc_show() 570 cifs_min_rcv + tcpSesAllocCount.counter); in cifs_stats_proc_show() 572 smBufAllocCount.counter, cifs_min_small); in cifs_stats_proc_show() 582 tcpSesReconnectCount.counter, tconInfoReconnectCount.counter); in cifs_stats_proc_show()
|
D | inode.c | 2378 full_path, inode, inode->i_count.counter,
|
/fs/pstore/ |
D | zone.c | 58 uint32_t counter; member 437 max(cxt->oops_counter, hdr->counter); in psz_kmsg_recover_meta() 440 max(cxt->panic_counter, hdr->counter); in psz_kmsg_recover_meta() 669 if (record->count != hdr->counter) in psz_kmsg_erase() 734 hdr->counter = ++cxt->oops_counter; in psz_write_kmsg_hdr() 736 hdr->counter = ++cxt->panic_counter; in psz_write_kmsg_hdr() 738 hdr->counter = 0; in psz_write_kmsg_hdr() 954 record->count = hdr->counter; in psz_kmsg_read_hdr()
|
/fs/xfs/scrub/ |
D | fscounters.c | 280 struct percpu_counter *counter, in xchk_fscount_within_range() argument 284 int64_t curr_value = percpu_counter_sum(counter); in xchk_fscount_within_range()
|
/fs/nfs/ |
D | nfs4_fs.h | 86 u32 counter; member 522 extern struct nfs_seqid *nfs_alloc_seqid(struct nfs_seqid_counter *counter, gfp_t gfp_mask);
|
D | nfs4state.c | 477 sc->counter = 0; in nfs4_init_seqid_counter() 1078 struct nfs_seqid *nfs_alloc_seqid(struct nfs_seqid_counter *counter, gfp_t gfp_mask) in nfs_alloc_seqid() argument 1085 new->sequence = counter; in nfs_alloc_seqid() 1148 seqid->sequence->counter++; in nfs_increment_seqid()
|
D | nfs4xdr.c | 1024 encode_uint32(xdr, seqid->sequence->counter); in encode_nfs4_seqid()
|
/fs/ |
D | inode.c | 1327 static unsigned int counter; in iunique() local 1333 if (counter <= max_reserved) in iunique() 1334 counter = max_reserved + 1; in iunique() 1335 res = counter++; in iunique()
|
/fs/quota/ |
D | dquot.c | 803 percpu_counter_read_positive(&dqstats.counter[DQST_FREE_DQUOTS])); in dqcache_shrink_count() 2948 s64 value = percpu_counter_sum(&dqstats.counter[type]); in do_proc_dqstats() 3068 ret = percpu_counter_init(&dqstats.counter[i], 0, GFP_KERNEL); in dquot_init()
|