Lines Matching refs:cold_count
77 int cold_count = le32_to_cpu(sbi->raw_super->extension_count); in f2fs_update_extension_list() local
79 int total_count = cold_count + hot_count; in f2fs_update_extension_list()
87 if (!hot && !cold_count) in f2fs_update_extension_list()
94 start = cold_count; in f2fs_update_extension_list()
98 count = cold_count; in f2fs_update_extension_list()
115 cpu_to_le32(cold_count - 1); in f2fs_update_extension_list()
128 memcpy(buf, &extlist[cold_count], in f2fs_update_extension_list()
130 memset(extlist[cold_count], 0, F2FS_EXTENSION_LEN); in f2fs_update_extension_list()
131 memcpy(extlist[cold_count], name, strlen(name)); in f2fs_update_extension_list()
132 memcpy(&extlist[cold_count + 1], buf, in f2fs_update_extension_list()
134 sbi->raw_super->extension_count = cpu_to_le32(cold_count + 1); in f2fs_update_extension_list()
148 int i, cold_count, hot_count; in set_compress_new_inode() local
162 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_compress_new_inode()
164 for (i = cold_count; i < cold_count + hot_count; i++) in set_compress_new_inode()
168 if (i < (cold_count + hot_count)) in set_compress_new_inode()
200 int i, cold_count, hot_count; in set_file_temperature() local
203 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_file_temperature()
205 for (i = 0; i < cold_count + hot_count; i++) in set_file_temperature()
210 if (i == cold_count + hot_count) in set_file_temperature()
213 if (i < cold_count) in set_file_temperature()