Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ocfs2/
Dlocalalloc.c1153 u32 cluster_off, cluster_count; in ocfs2_local_alloc_new_window() local
1173 &cluster_off, &cluster_count); in ocfs2_local_alloc_new_window()
1189 &cluster_count); in ocfs2_local_alloc_new_window()
1199 osb->local_alloc_bits = cluster_count; in ocfs2_local_alloc_new_window()
1212 alloc->id1.bitmap1.i_total = cpu_to_le32(cluster_count); in ocfs2_local_alloc_new_window()
1221 ocfs2_resmap_restart(&osb->osb_la_resmap, cluster_count, in ocfs2_local_alloc_new_window()
/kernel/linux/linux-5.10/mm/
Dswapfile.c287 static inline unsigned int cluster_count(struct swap_cluster_info *info) in cluster_count() function
529 VM_BUG_ON(cluster_count(ci) != 0); in free_cluster()
558 VM_BUG_ON(cluster_count(&cluster_info[idx]) >= SWAPFILE_CLUSTER); in inc_cluster_info_page()
560 cluster_count(&cluster_info[idx]) + 1); in inc_cluster_info_page()
576 VM_BUG_ON(cluster_count(&cluster_info[idx]) == 0); in dec_cluster_info_page()
578 cluster_count(&cluster_info[idx]) - 1); in dec_cluster_info_page()
580 if (cluster_count(&cluster_info[idx]) == 0) in dec_cluster_info_page()
3141 if (cluster_count(&cluster_info[idx])) in setup_swap_map_and_extents()
/kernel/linux/linux-5.10/fs/ext4/
Dmballoc.c5552 unsigned long cluster_count = last_cluster - first_cluster + 1; in ext4_group_add_blocks() local
5564 if (bit + cluster_count > EXT4_CLUSTERS_PER_GROUP(sb)) { in ext4_group_add_blocks()
5611 for (i = 0, clusters_freed = 0; i < cluster_count; i++) { in ext4_group_add_blocks()
5632 mb_clear_bits(bitmap_bh->b_data, bit, cluster_count); in ext4_group_add_blocks()
5633 mb_free_blocks(NULL, &e4b, bit, cluster_count); in ext4_group_add_blocks()