Home
last modified time | relevance | path

Searched refs:reserved_blocks (Results 1 – 3 of 3) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr.cpp409 uint64_t reserved_blocks = entry.reserved_size / EXT4_BLOCK_SIZE(sb); in tune_reserved_size() local
411 if (reserved_blocks > max_reserved_blocks) { in tune_reserved_size()
412 LWARNING << "Reserved blocks " << reserved_blocks << " is too large; " in tune_reserved_size()
414 reserved_blocks = max_reserved_blocks; in tune_reserved_size()
417 if ((ext4_r_blocks_count(sb) == reserved_blocks) && (sb->s_def_resgid == AID_RESERVED_DISK)) { in tune_reserved_size()
427 LINFO << "Setting reserved block count on " << blk_device << " to " << reserved_blocks; in tune_reserved_size()
429 auto reserved_blocks_str = std::to_string(reserved_blocks); in tune_reserved_size()
/system/gsid/
Dgsi_service.cpp520 const uint64_t reserved_blocks = in suggestScratchSize() local
522 if (info.f_bavail > reserved_blocks) { in suggestScratchSize()
523 size = (info.f_bavail - reserved_blocks) * info.f_frsize; in suggestScratchSize()
/system/extras/ext4_utils/include/ext4_utils/
Dext4.h193 __u16 reserved_blocks; member