Searched refs:used_blocks (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/mtd/ubi/ |
| H A D | fastmap.c | 791 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap() 869 int i, used_blocks, pnum, fm_anchor, ret = 0; in ubi_scan_fastmap() local 925 used_blocks = be32_to_cpu(fmsb->used_blocks); in ubi_scan_fastmap() 926 if (used_blocks > UBI_FM_MAX_BLOCKS || used_blocks < 1) { in ubi_scan_fastmap() 928 used_blocks); in ubi_scan_fastmap() 933 fm_size = ubi->leb_size * used_blocks; in ubi_scan_fastmap() 955 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap() 1051 fm->used_blocks = used_blocks; in ubi_scan_fastmap() 1060 for (i = 0; i < used_blocks; i++) { in ubi_scan_fastmap() 1188 fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); in ubi_write_fastmap() [all …]
|
| H A D | ubi.h | 235 int used_blocks; member 996 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_free_fastmap() 1257 for (i = 0; i < ubi->fm->used_blocks; i++) { in ubi_find_fm_block()
|
| H A D | ubi-media.h | 412 __be32 used_blocks; member
|
| /linux/fs/befs/ |
| H A D | super.c | 37 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks); in befs_load_sb()
|
| H A D | befs.h | 38 befs_off_t used_blocks; member
|
| H A D | befs_fs_types.h | 122 fs64 used_blocks; member
|
| H A D | debug.c | 173 befs_debug(sb, " used_blocks %llu", fs64_to_cpu(sb, sup->used_blocks)); in befs_dump_super_block()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | alloc.c | 75 size_t used_blocks; member 248 stats->used_blocks = stats->allocated_blocks - free_blocks; in mlx5_dma_pool_debugfs_get_stats() 258 stats.node, stats.block_size, stats.used_blocks, in mlx5_dma_pool_debugfs_stats_print()
|
| /linux/include/linux/ |
| H A D | shmem_fs.h | 73 struct percpu_counter used_blocks; /* How many are allocated */ member
|
| /linux/fs/f2fs/ |
| H A D | segment.h | 603 unsigned int used_blocks = __is_large_section(sbi) ? SEGS_TO_BLKS(sbi, in get_left_section_blocks() local 605 return CAP_BLKS_PER_SEC(sbi) - used_blocks - in get_left_section_blocks()
|
| /linux/fs/xfs/ |
| H A D | xfs_zone_alloc.c | 51 uint32_t used_blocks) in xfs_zone_bucket() argument 53 return XFS_ZONE_USED_BUCKETS * used_blocks / in xfs_zone_bucket()
|
| /linux/mm/ |
| H A D | shmem.c | 233 if (!percpu_counter_limited_add(&sbinfo->used_blocks, in shmem_inode_acct_blocks() 239 percpu_counter_sub(&sbinfo->used_blocks, pages); in shmem_inode_acct_blocks() 264 percpu_counter_sub(&sbinfo->used_blocks, pages); in shmem_inode_unacct_blocks() 3807 percpu_counter_sum(&sbinfo->used_blocks); in shmem_statfs() 4774 if (percpu_counter_compare(&sbinfo->used_blocks, in shmem_reconfigure() 4941 percpu_counter_destroy(&sbinfo->used_blocks); in shmem_put_super() 5033 if (percpu_counter_init(&sbinfo->used_blocks, 0, GFP_KERNEL)) in shmem_fill_super()
|