Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ocfs2/
Dlocalalloc.c1151 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-v5.15/mm/
Dswapfile.c285 static inline unsigned int cluster_count(struct swap_cluster_info *info) in cluster_count() function
535 VM_BUG_ON(cluster_count(ci) != 0); in free_cluster()
564 VM_BUG_ON(cluster_count(&cluster_info[idx]) >= SWAPFILE_CLUSTER); in inc_cluster_info_page()
566 cluster_count(&cluster_info[idx]) + 1); in inc_cluster_info_page()
582 VM_BUG_ON(cluster_count(&cluster_info[idx]) == 0); in dec_cluster_info_page()
584 cluster_count(&cluster_info[idx]) - 1); in dec_cluster_info_page()
586 if (cluster_count(&cluster_info[idx]) == 0) in dec_cluster_info_page()
3103 if (cluster_count(&cluster_info[idx])) in setup_swap_map_and_extents()
/Linux-v5.15/fs/ext4/
Dmballoc.c6137 unsigned long cluster_count = last_cluster - first_cluster + 1; in ext4_group_add_blocks() local
6149 if (bit + cluster_count > EXT4_CLUSTERS_PER_GROUP(sb)) { in ext4_group_add_blocks()
6197 for (i = 0, clusters_freed = 0; i < cluster_count; i++) { in ext4_group_add_blocks()
6218 mb_clear_bits(bitmap_bh->b_data, bit, cluster_count); in ext4_group_add_blocks()
6219 mb_free_blocks(NULL, &e4b, bit, cluster_count); in ext4_group_add_blocks()