Searched refs:cluster_count (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/fs/ocfs2/ |
D | localalloc.c | 1151 u32 cluster_off, cluster_count; in ocfs2_local_alloc_new_window() local 1171 &cluster_off, &cluster_count); in ocfs2_local_alloc_new_window() 1187 &cluster_count); in ocfs2_local_alloc_new_window() 1197 osb->local_alloc_bits = cluster_count; in ocfs2_local_alloc_new_window() 1210 alloc->id1.bitmap1.i_total = cpu_to_le32(cluster_count); in ocfs2_local_alloc_new_window() 1219 ocfs2_resmap_restart(&osb->osb_la_resmap, cluster_count, in ocfs2_local_alloc_new_window()
|
/linux-5.19.10/mm/ |
D | swapfile.c | 287 static inline unsigned int cluster_count(struct swap_cluster_info *info) in cluster_count() function 537 VM_BUG_ON(cluster_count(ci) != 0); in free_cluster() 566 VM_BUG_ON(cluster_count(&cluster_info[idx]) >= SWAPFILE_CLUSTER); in inc_cluster_info_page() 568 cluster_count(&cluster_info[idx]) + 1); in inc_cluster_info_page() 584 VM_BUG_ON(cluster_count(&cluster_info[idx]) == 0); in dec_cluster_info_page() 586 cluster_count(&cluster_info[idx]) - 1); in dec_cluster_info_page() 588 if (cluster_count(&cluster_info[idx]) == 0) in dec_cluster_info_page() 2972 if (cluster_count(&cluster_info[idx])) in setup_swap_map_and_extents()
|
/linux-5.19.10/fs/ext4/ |
D | mballoc.c | 6232 unsigned long cluster_count = last_cluster - first_cluster + 1; in ext4_group_add_blocks() local 6244 if (bit + cluster_count > EXT4_CLUSTERS_PER_GROUP(sb)) { in ext4_group_add_blocks() 6288 for (i = 0, clusters_freed = 0; i < cluster_count; i++) { in ext4_group_add_blocks() 6309 mb_clear_bits(bitmap_bh->b_data, bit, cluster_count); in ext4_group_add_blocks() 6310 mb_free_blocks(NULL, &e4b, bit, cluster_count); in ext4_group_add_blocks()
|