Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 18 of 18) sorted by relevance

/fs/crypto/
Dhkdf.c124 u8 counter = 1; in fscrypt_hkdf_expand() local
155 BUILD_BUG_ON(sizeof(counter) != 1); in fscrypt_hkdf_expand()
157 err = crypto_shash_finup(desc, &counter, 1, tmp); in fscrypt_hkdf_expand()
163 err = crypto_shash_finup(desc, &counter, 1, &okm[i]); in fscrypt_hkdf_expand()
167 counter++; in fscrypt_hkdf_expand()
/fs/xfs/
Dxfs_trans.c535 int8_t counter = *field; in xfs_sb_mod8() local
537 counter += delta; in xfs_sb_mod8()
538 if (counter < 0) { in xfs_sb_mod8()
542 *field = counter; in xfs_sb_mod8()
551 int32_t counter = *field; in xfs_sb_mod32() local
553 counter += delta; in xfs_sb_mod32()
554 if (counter < 0) { in xfs_sb_mod32()
558 *field = counter; in xfs_sb_mod32()
567 int64_t counter = *field; in xfs_sb_mod64() local
569 counter += delta; in xfs_sb_mod64()
[all …]
/fs/ecryptfs/
Dmessaging.c75 msg_ctx->counter = ++ecryptfs_msg_counter; in ecryptfs_msg_ctx_free_to_alloc()
227 } else if (msg_ctx->counter != seq) { in ecryptfs_process_response()
231 msg_ctx->counter, seq); in ecryptfs_process_response()
395 ecryptfs_msg_ctx_arr[i].counter = 0; in ecryptfs_init_messaging()
Dmiscdev.c285 if (put_user(cpu_to_be32(msg_ctx->counter), in ecryptfs_miscdev_read()
Decryptfs_kernel.h396 u32 counter; member
/fs/reiserfs/
Dfix_node.c831 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/cifs/
Dcifs_debug.c507 sesInfoAllocCount.counter); in cifs_stats_proc_show()
509 tconInfoAllocCount.counter); in cifs_stats_proc_show()
511 bufAllocCount.counter, in cifs_stats_proc_show()
512 cifs_min_rcv + tcpSesAllocCount.counter); in cifs_stats_proc_show()
514 smBufAllocCount.counter, cifs_min_small); in cifs_stats_proc_show()
524 tcpSesReconnectCount.counter, tconInfoReconnectCount.counter); in cifs_stats_proc_show()
Dinode.c2032 full_path, inode, inode->i_count.counter,
/fs/xfs/scrub/
Dfscounters.c259 struct percpu_counter *counter, in xchk_fscount_within_range() argument
263 int64_t curr_value = percpu_counter_sum(counter); in xchk_fscount_within_range()
/fs/nfs/
Dnfs4_fs.h82 u32 counter; member
497 extern struct nfs_seqid *nfs_alloc_seqid(struct nfs_seqid_counter *counter, gfp_t gfp_mask);
Dnfs4state.c473 sc->counter = 0; in nfs4_init_seqid_counter()
1073 struct nfs_seqid *nfs_alloc_seqid(struct nfs_seqid_counter *counter, gfp_t gfp_mask) in nfs_alloc_seqid() argument
1080 new->sequence = counter; in nfs_alloc_seqid()
1142 seqid->sequence->counter++; in nfs_increment_seqid()
Dnfs4xdr.c1012 encode_uint32(xdr, seqid->sequence->counter); in encode_nfs4_seqid()
/fs/
Dinode.c1279 static unsigned int counter; in iunique() local
1284 if (counter <= max_reserved) in iunique()
1285 counter = max_reserved + 1; in iunique()
1286 res = counter++; in iunique()
/fs/quota/
Ddquot.c742 percpu_counter_read_positive(&dqstats.counter[DQST_FREE_DQUOTS])); in dqcache_shrink_count()
2866 s64 value = percpu_counter_sum(&dqstats.counter[type]); in do_proc_dqstats()
2986 ret = percpu_counter_init(&dqstats.counter[i], 0, GFP_KERNEL); in dquot_init()
/fs/btrfs/
Ddisk-io.c1104 ret = percpu_counter_init(&writers->counter, 0, GFP_NOFS); in btrfs_alloc_subvolume_writers()
1117 percpu_counter_destroy(&writers->counter); in btrfs_free_subvolume_writers()
Dextent-tree.c5743 percpu_counter_dec(&root->subv_writers->counter); in btrfs_end_write_no_snapshotting()
5752 percpu_counter_inc(&root->subv_writers->counter); in btrfs_start_write_no_snapshotting()
Dctree.h912 struct percpu_counter counter; member
Dioctl.c797 percpu_counter_sum(&root->subv_writers->counter) == 0); in create_snapshot()