/fs/cachefiles/ |
H A D | bind.c | 88 struct kstatfs stats; local 146 ret = vfs_statfs(&path, &stats); 151 if (stats.f_bsize <= 0) 155 if (stats.f_bsize > PAGE_SIZE) 158 cache->bsize = stats.f_bsize; 160 if (stats.f_bsize < PAGE_SIZE) 161 cache->bshift = PAGE_SHIFT - ilog2(stats.f_bsize); 167 (unsigned long long) stats.f_blocks, 168 (unsigned long long) stats.f_bavail); 171 do_div(stats [all...] |
H A D | daemon.c | 677 struct kstatfs stats; local 694 memset(&stats, 0, sizeof(stats)); 696 ret = vfs_statfs(&path, &stats); 704 stats.f_bavail >>= cache->bshift; 707 // (unsigned long long) stats.f_ffree, 708 // (unsigned long long) stats.f_bavail); 711 if (stats.f_ffree > fnr) 712 stats.f_ffree -= fnr; 714 stats [all...] |
/fs/nfs/ |
H A D | iostat.h | 65 static inline void nfs_free_iostats(struct nfs_iostats __percpu *stats) argument 67 if (stats != NULL) 68 free_percpu(stats);
|
H A D | super.c | 35 #include <linux/sunrpc/stats.h> 856 struct nfs_iostats *stats; local 859 stats = per_cpu_ptr(nfss->io_stats, cpu); 862 totals.events[i] += stats->events[i]; 864 totals.bytes[i] += stats->bytes[i]; 867 totals.fscache[i] += stats->fscache[i];
|
/fs/jbd2/ |
H A D | checkpoint.c | 529 struct transaction_chp_stats_s *stats; local 565 stats = &transaction->t_chp_stats; 566 if (stats->cs_chp_time) 567 stats->cs_chp_time = jbd2_time_diff(stats->cs_chp_time, 570 transaction->t_tid, stats);
|
H A D | commit.c | 372 struct transaction_stats_s stats; local 443 stats.run.rs_wait = commit_transaction->t_max_wait; 444 stats.run.rs_request_delay = 0; 445 stats.run.rs_locked = jiffies; 447 stats.run.rs_request_delay = 449 stats.run.rs_locked); 450 stats.run.rs_running = jbd2_time_diff(commit_transaction->t_start, 451 stats.run.rs_locked); 536 stats.run.rs_flushing = jiffies; 537 stats [all...] |
H A D | journal.c | 933 struct transaction_stats_s *stats; member in struct:jbd2_stats_proc_session 956 s->stats->ts_tid, s->stats->ts_requested, 958 if (s->stats->ts_tid == 0) 961 jiffies_to_msecs(s->stats->run.rs_wait / s->stats->ts_tid)); 963 (s->stats->ts_requested == 0) ? 0 : 964 jiffies_to_msecs(s->stats->run.rs_request_delay / 965 s->stats->ts_requested)); 967 jiffies_to_msecs(s->stats [all...] |
/fs/logfs/ |
H A D | super.c | 97 int logfs_statfs(struct dentry *dentry, struct kstatfs *stats) argument 102 stats->f_type = LOGFS_MAGIC_U32; 103 stats->f_bsize = sb->s_blocksize; 104 stats->f_blocks = super->s_size >> LOGFS_BLOCK_BITS >> 3; 105 stats->f_bfree = super->s_free_bytes >> sb->s_blocksize_bits; 106 stats->f_bavail = super->s_free_bytes >> sb->s_blocksize_bits; 107 stats->f_files = 0; 108 stats->f_ffree = 0; 109 stats->f_namelen = LOGFS_MAX_NAMELEN;
|
/fs/nfsd/ |
H A D | xdr.h | 113 struct kstatfs stats; member in struct:nfsd_statfsres
|
H A D | xdr3.h | 194 struct kstatfs stats; member in struct:nfsd3_fsstatres
|
/fs/ocfs2/ |
H A D | blockcheck.c | 250 static void ocfs2_blockcheck_debug_remove(struct ocfs2_blockcheck_stats *stats) argument 252 if (stats) { 253 debugfs_remove(stats->b_debug_check); 254 stats->b_debug_check = NULL; 255 debugfs_remove(stats->b_debug_failure); 256 stats->b_debug_failure = NULL; 257 debugfs_remove(stats->b_debug_recover); 258 stats->b_debug_recover = NULL; 259 debugfs_remove(stats->b_debug_dir); 260 stats 264 ocfs2_blockcheck_debug_install(struct ocfs2_blockcheck_stats *stats, struct dentry *parent) argument 300 ocfs2_blockcheck_debug_install(struct ocfs2_blockcheck_stats *stats, struct dentry *parent) argument 306 ocfs2_blockcheck_debug_remove(struct ocfs2_blockcheck_stats *stats) argument 312 ocfs2_blockcheck_stats_debugfs_install(struct ocfs2_blockcheck_stats *stats, struct dentry *parent) argument 318 ocfs2_blockcheck_stats_debugfs_remove(struct ocfs2_blockcheck_stats *stats) argument 323 ocfs2_blockcheck_inc_check(struct ocfs2_blockcheck_stats *stats) argument 339 ocfs2_blockcheck_inc_failure(struct ocfs2_blockcheck_stats *stats) argument 355 ocfs2_blockcheck_inc_recover(struct ocfs2_blockcheck_stats *stats) argument 420 ocfs2_block_check_validate(void *data, size_t blocksize, struct ocfs2_block_check *bc, struct ocfs2_blockcheck_stats *stats) argument 527 ocfs2_block_check_validate_bhs(struct buffer_head **bhs, int nr, struct ocfs2_block_check *bc, struct ocfs2_blockcheck_stats *stats) argument [all...] |
H A D | ioctl.c | 414 static void o2ffg_update_stats(struct ocfs2_info_freefrag_stats *stats, argument 417 if (chunksize > stats->ffs_max) 418 stats->ffs_max = chunksize; 420 if (chunksize < stats->ffs_min) 421 stats->ffs_min = chunksize; 423 stats->ffs_avg += chunksize; 424 stats->ffs_free_chunks_real++;
|
H A D | super.c | 131 struct ocfs2_blockcheck_stats *stats); 135 struct ocfs2_blockcheck_stats *stats); 750 struct ocfs2_blockcheck_stats *stats) 816 memset(stats, 0, sizeof(struct ocfs2_blockcheck_stats)); 817 spin_lock_init(&stats->b_lock); 818 tmpstat = ocfs2_verify_volume(di, *bh, blksize, stats); 1035 struct ocfs2_blockcheck_stats stats; local 1045 status = ocfs2_sb_probe(sb, &bh, §or_size, &stats); 1051 status = ocfs2_initialize_super(sb, bh, sector_size, &stats); 2053 struct ocfs2_blockcheck_stats *stats) 747 ocfs2_sb_probe(struct super_block *sb, struct buffer_head **bh, int *sector_size, struct ocfs2_blockcheck_stats *stats) argument 2050 ocfs2_initialize_super(struct super_block *sb, struct buffer_head *bh, int sector_size, struct ocfs2_blockcheck_stats *stats) argument 2358 ocfs2_verify_volume(struct ocfs2_dinode *di, struct buffer_head *bh, u32 blksz, struct ocfs2_blockcheck_stats *stats) argument [all...] |
H A D | dlmglue.c | 444 struct ocfs2_lock_stats *stats; local 447 stats = &res->l_lock_prmode; 449 stats = &res->l_lock_exmode; 456 stats->ls_gets++; 457 stats->ls_total += ktime_to_ns(kt); 459 if (unlikely(stats->ls_gets == 0)) { 460 stats->ls_gets++; 461 stats->ls_total = ktime_to_ns(kt); 464 if (stats->ls_max < usec) 465 stats [all...] |
/fs/ext4/ |
H A D | extents_status.c | 742 struct ext4_es_stats *stats; local 779 stats = &EXT4_SB(inode->i_sb)->s_es_stats; 785 stats->es_stats_cache_hits++; 787 stats->es_stats_cache_misses++; 1115 seq_printf(seq, "stats:\n %lld objects\n %lld reclaimable objects\n",
|
H A D | ialloc.c | 367 int flex_size, struct orlov_stats *stats) 373 stats->free_inodes = atomic_read(&flex_group[g].free_inodes); 374 stats->free_clusters = atomic64_read(&flex_group[g].free_clusters); 375 stats->used_dirs = atomic_read(&flex_group[g].used_dirs); 381 stats->free_inodes = ext4_free_inodes_count(sb, desc); 382 stats->free_clusters = ext4_free_group_clusters(sb, desc); 383 stats->used_dirs = ext4_used_dirs_count(sb, desc); 385 stats->free_inodes = 0; 386 stats->free_clusters = 0; 387 stats 366 get_orlov_stats(struct super_block *sb, ext4_group_t g, int flex_size, struct orlov_stats *stats) argument 427 struct orlov_stats stats; local [all...] |
H A D | namei.c | 582 struct stats struct 589 static struct stats dx_show_leaf(struct dx_hash_info *hinfo, struct ext4_dir_entry_2 *de, 616 return (struct stats) { names, space, 1 }; 619 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, 633 struct stats stats; local 638 stats = levels? 641 names += stats.names; 642 space += stats.space; 643 bcount += stats [all...] |
/fs/ext3/ |
H A D | namei.c | 251 struct stats struct 258 static struct stats dx_show_leaf(struct dx_hash_info *hinfo, struct ext3_dir_entry_2 *de, 285 return (struct stats) { names, space, 1 }; 288 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, 301 struct stats stats; local 304 stats = levels? 307 names += stats.names; 308 space += stats.space; 309 bcount += stats [all...] |
/fs/nilfs2/ |
H A D | btree.c | 985 struct nilfs_bmap_stats *stats) 993 stats->bs_nblocks = 0; 1015 stats->bs_nblocks++; 1033 stats->bs_nblocks++; 1051 stats->bs_nblocks++; 1071 stats->bs_nblocks++; 1084 stats->bs_nblocks++; 1107 stats->bs_nblocks += 2; 1127 stats->bs_nblocks = 0; 1158 struct nilfs_bmap_stats stats; local 982 nilfs_btree_prepare_insert(struct nilfs_bmap *btree, struct nilfs_btree_path *path, int *levelp, __u64 key, __u64 ptr, struct nilfs_bmap_stats *stats) argument 1355 nilfs_btree_prepare_delete(struct nilfs_bmap *btree, struct nilfs_btree_path *path, int *levelp, struct nilfs_bmap_stats *stats, struct inode *dat) argument 1509 struct nilfs_bmap_stats stats; local 1641 nilfs_btree_prepare_convert_and_insert(struct nilfs_bmap *btree, __u64 key, union nilfs_bmap_ptr_req *dreq, union nilfs_bmap_ptr_req *nreq, struct buffer_head **bhp, struct nilfs_bmap_stats *stats) argument 1772 struct nilfs_bmap_stats stats; local [all...] |
/fs/btrfs/ |
H A D | volumes.c | 6494 * called from commit_transaction. Writes all changed device stats to disk. 6561 struct btrfs_ioctl_get_dev_stats *stats) 6568 dev = btrfs_find_device(root->fs_info, stats->devid, NULL, NULL); 6577 } else if (stats->flags & BTRFS_DEV_STATS_RESET) { 6579 if (stats->nr_items > i) 6580 stats->values[i] = 6587 if (stats->nr_items > i) 6588 stats->values[i] = btrfs_dev_stat_read(dev, i); 6590 if (stats->nr_items > BTRFS_DEV_STAT_VALUES_MAX) 6591 stats 6560 btrfs_get_dev_stats(struct btrfs_root *root, struct btrfs_ioctl_get_dev_stats *stats) argument [all...] |
/fs/gfs2/ |
H A D | incore.h | 242 s64 stats[GFS2_NR_LKSTATS]; member in struct:gfs2_lkstats 822 gl->gl_stats.stats[which]++; 829 this_cpu_ptr(sdp->sd_lkstats)->lkstats[gl->gl_name.ln_type].stats[which]++;
|
/fs/cifs/ |
H A D | cifsglob.h | 857 } stats; member in struct:cifs_tcon 1272 update of optional stats into function below */
|