Searched refs:sectors (Results 1 – 12 of 12) sorted by relevance
/fs/hfsplus/ |
D | btree.c | 76 u64 sectors, int file_id) in hfsplus_calc_btree_clump_size() argument 100 if (sectors < 0x200000) { in hfsplus_calc_btree_clump_size() 101 clump_size = sectors << 2; /* 0.8 % */ in hfsplus_calc_btree_clump_size() 106 for (i = 0, sectors = sectors >> 22; in hfsplus_calc_btree_clump_size() 107 sectors && (i < CLUMP_ENTRIES - 1); in hfsplus_calc_btree_clump_size() 108 ++i, sectors = sectors >> 1) { in hfsplus_calc_btree_clump_size()
|
D | hfsplus_fs.h | 385 u32 hfsplus_calc_btree_clump_size(u32 block_size, u32 node_size, u64 sectors,
|
/fs/btrfs/ |
D | scrub.c | 88 struct scrub_sector *sectors[SCRUB_SECTORS_PER_BIO]; member 100 struct scrub_sector *sectors[SCRUB_MAX_SECTORS_PER_BLOCK]; member 321 ASSERT(sblock->sectors[sblock->sector_count] == NULL); in alloc_scrub_sector() 327 sblock->sectors[sblock->sector_count] = ssector; in alloc_scrub_sector() 715 scrub_block_put(sbio->sectors[i]->sblock); in scrub_free_ctx() 909 if (sblock->sectors[0]->flags & BTRFS_EXTENT_FLAG_SUPER) { in scrub_print_warning() 1010 if (sblock_to_check->sectors[0]->flags & BTRFS_EXTENT_FLAG_SUPER) { in scrub_handle_errored_block() 1026 is_metadata = !(sblock_to_check->sectors[0]->flags & in scrub_handle_errored_block() 1028 have_csum = sblock_to_check->sectors[0]->have_csum; in scrub_handle_errored_block() 1207 if (!scrub_is_page_on_raid56(sblock_bad->sectors[0])) { in scrub_handle_errored_block() [all …]
|
/fs/ntfs3/ |
D | super.c | 688 u64 sectors, clusters, mlcn, mlcn2; in ntfs_init_from_boot() local 726 sectors = le64_to_cpu(boot->sectors_per_volume); in ntfs_init_from_boot() 728 if (mlcn * sct_per_clst >= sectors) in ntfs_init_from_boot() 731 if (mlcn2 * sct_per_clst >= sectors) in ntfs_init_from_boot() 748 sbi->volume.size = sectors * boot_sector_size; in ntfs_init_from_boot()
|
/fs/ext4/ |
D | sysfs.c | 67 (part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) - in session_write_kbytes_show() 77 ((part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) - in lifetime_write_kbytes_show()
|
D | super.c | 5058 part_stat_read(sb->s_bdev, sectors[STAT_WRITE]); in __ext4_fill_super() 5999 ((part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) - in ext4_update_super()
|
/fs/f2fs/ |
D | checkpoint.c | 1443 return (u64)part_stat_read(bdev, sectors[STAT_WRITE]); in get_sectors_written() 1449 u64 sectors = 0; in f2fs_get_sectors_written() local 1453 sectors += get_sectors_written(FDEV(i).bdev); in f2fs_get_sectors_written() 1455 return sectors; in f2fs_get_sectors_written()
|
D | segment.h | 138 #define SECTOR_TO_BLOCK(sectors) \ argument 139 ((sectors) >> F2FS_LOG_SECTORS_PER_BLOCK)
|
D | f2fs.h | 2392 blkcnt_t sectors = count << F2FS_LOG_SECTORS_PER_BLOCK; in dec_valid_block_count() local 2402 if (unlikely(inode->i_blocks < sectors)) { in dec_valid_block_count() 2406 (unsigned long long)sectors); in dec_valid_block_count()
|
/fs/ntfs/ |
D | layout.h | 43 le16 sectors; /* zero */ member
|
D | super.c | 609 le16_to_cpu(b->bpb.sectors) || in is_boot_sector_ntfs()
|
/fs/fat/ |
D | inode.c | 1447 if (get_unaligned_le16(&b->sectors)) in fat_bpb_is_zero() 1472 bpb->fat_sectors = get_unaligned_le16(&b->sectors); in fat_read_bpb()
|