Home
last modified time | relevance | path

Searched refs:used_blocks (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/mtd/ubi/
H A Dfastmap.c791 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 Dubi.h235 int used_blocks; member
977 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_free_fastmap()
1238 for (i = 0; i < ubi->fm->used_blocks; i++) { in ubi_find_fm_block()
H A Dubi-media.h412 __be32 used_blocks; member
/linux/fs/befs/
H A Dsuper.c37 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks); in befs_load_sb()
H A Dbefs.h38 befs_off_t used_blocks; member
H A Dbefs_fs_types.h122 fs64 used_blocks; member
H A Ddebug.c173 befs_debug(sb, " used_blocks %llu", fs64_to_cpu(sb, sup->used_blocks)); in befs_dump_super_block()
/linux/fs/xfs/
H A Dxfs_zone_alloc.c50 uint32_t used_blocks) in xfs_zone_bucket() argument
52 return XFS_ZONE_USED_BUCKETS * used_blocks / in xfs_zone_bucket()