Home
last modified time | relevance | path

Searched refs:cluster_count (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-tpmi.c57 int cluster_count; member
109 for (j = 0; j < uncore_root->pd_info[i].cluster_count; ++j) { in uncore_read_control_freq()
167 for (j = 0; j < uncore_root->pd_info[i].cluster_count; ++j) in uncore_write_control_freq()
219 for (j = 0; j < pd_info->cluster_count; ++j) { in remove_cluster_entries()
320 pd_info->cluster_count = hweight8(cluster_mask); in uncore_probe()
322 pd_info->cluster_infos = devm_kcalloc(&auxdev->dev, pd_info->cluster_count, in uncore_probe()
336 for (j = 0; j < pd_info->cluster_count; ++j) { in uncore_probe()
/openbmc/linux/fs/ocfs2/
H A Dlocalalloc.c1170 u32 cluster_off, cluster_count; in ocfs2_local_alloc_new_window() local
1190 &cluster_off, &cluster_count); in ocfs2_local_alloc_new_window()
1206 &cluster_count); in ocfs2_local_alloc_new_window()
1216 osb->local_alloc_bits = cluster_count; in ocfs2_local_alloc_new_window()
1229 alloc->id1.bitmap1.i_total = cpu_to_le32(cluster_count); in ocfs2_local_alloc_new_window()
1238 ocfs2_resmap_restart(&osb->osb_la_resmap, cluster_count, in ocfs2_local_alloc_new_window()
/openbmc/qemu/block/
H A Dvvfat.c318 uint32_t cluster_count; /* total number of clusters of this partition */ member
938 s->cluster_count=sector2cluster(s, s->sector_count); in init_directories()
989 if(cluster > s->cluster_count) { in init_directories()
1263 + s->sectors_per_cluster * s->cluster_count; in vvfat_open()
1527 if(cluster_num > s->cluster_count || read_cluster(s, cluster_num) != 0) { in vvfat_read()
2068 int cluster_count = 0; in check_directory_consistency() local
2111 cluster_count = check_directory_consistency(s, in check_directory_consistency()
2113 if (cluster_count == 0) { in check_directory_consistency()
2119 cluster_count = get_cluster_count_for_direntry(s, direntries + i, path2); in check_directory_consistency()
2120 if (cluster_count != in check_directory_consistency()
[all …]
H A Dqcow2-refcount.c2381 int cluster_count, in alloc_clusters_imrt() argument
2396 contiguous_free_clusters < cluster_count; in alloc_clusters_imrt()
2419 if (contiguous_free_clusters < cluster_count) { in alloc_clusters_imrt()
2427 cluster + cluster_count in alloc_clusters_imrt()
2436 for (i = 0; i < cluster_count; i++) { in alloc_clusters_imrt()
3721 int64_t i, end_cluster, cluster_count = 0, threshold; in qcow2_detect_metadata_preallocation() local
3740 for (i = 0; i < end_cluster && cluster_count < threshold; i++) { in qcow2_detect_metadata_preallocation()
3746 cluster_count += !!refcount; in qcow2_detect_metadata_preallocation()
3749 return cluster_count >= threshold; in qcow2_detect_metadata_preallocation()
/openbmc/linux/mm/
H A Dswapfile.c293 static inline unsigned int cluster_count(struct swap_cluster_info *info) in cluster_count() function
543 VM_BUG_ON(cluster_count(ci) != 0); in free_cluster()
572 VM_BUG_ON(cluster_count(&cluster_info[idx]) >= SWAPFILE_CLUSTER); in inc_cluster_info_page()
574 cluster_count(&cluster_info[idx]) + 1); in inc_cluster_info_page()
590 VM_BUG_ON(cluster_count(&cluster_info[idx]) == 0); in dec_cluster_info_page()
592 cluster_count(&cluster_info[idx]) - 1); in dec_cluster_info_page()
594 if (cluster_count(&cluster_info[idx]) == 0) in dec_cluster_info_page()
2979 if (cluster_count(&cluster_info[idx])) in setup_swap_map_and_extents()
/openbmc/linux/fs/ext4/
H A Dmballoc.c6771 unsigned long cluster_count = last_cluster - first_cluster + 1; in ext4_group_add_blocks() local
6783 if (bit + cluster_count > EXT4_CLUSTERS_PER_GROUP(sb)) { in ext4_group_add_blocks()
6827 for (i = 0, clusters_freed = 0; i < cluster_count; i++) { in ext4_group_add_blocks()
6848 mb_clear_bits(bitmap_bh->b_data, bit, cluster_count); in ext4_group_add_blocks()
6849 mb_free_blocks(NULL, &e4b, bit, cluster_count); in ext4_group_add_blocks()