Home
last modified time | relevance | path

Searched refs:desc_count (Results 1 – 5 of 5) sorted by relevance

/fs/orangefs/
Dorangefs-bufmap.c150 int desc_count; member
228 bufmap->desc_count = user_desc->count; in orangefs_bufmap_alloc()
233 kzalloc(DIV_ROUND_UP(bufmap->desc_count, BITS_PER_LONG), GFP_KERNEL); in orangefs_bufmap_alloc()
238 kcalloc(bufmap->desc_count, sizeof(struct orangefs_bufmap_desc), in orangefs_bufmap_alloc()
298 for (offset = 0, i = 0; i < bufmap->desc_count; i++) { in orangefs_bufmap_map()
385 bufmap->desc_count, in orangefs_bufmap_initialize()
/fs/ext2/
Dialloc.c623 unsigned long desc_count = 0; in ext2_count_free_inodes() local
638 desc_count += le16_to_cpu(desc->bg_free_inodes_count); in ext2_count_free_inodes()
653 desc_count, bitmap_count); in ext2_count_free_inodes()
654 return desc_count; in ext2_count_free_inodes()
660 desc_count += le16_to_cpu(desc->bg_free_inodes_count); in ext2_count_free_inodes()
662 return desc_count; in ext2_count_free_inodes()
Dballoc.c1469 unsigned long desc_count = 0; in ext2_count_free_blocks() local
1476 desc_count = 0; in ext2_count_free_blocks()
1484 desc_count += le16_to_cpu(desc->bg_free_blocks_count); in ext2_count_free_blocks()
1497 desc_count, bitmap_count); in ext2_count_free_blocks()
1504 desc_count += le16_to_cpu(desc->bg_free_blocks_count); in ext2_count_free_blocks()
1506 return desc_count; in ext2_count_free_blocks()
/fs/ext4/
Dballoc.c679 ext4_fsblk_t desc_count; in ext4_count_free_clusters() local
691 desc_count = 0; in ext4_count_free_clusters()
703 desc_count += ext4_free_group_clusters(sb, gdp); in ext4_count_free_clusters()
721 desc_count, bitmap_count); in ext4_count_free_clusters()
724 desc_count = 0; in ext4_count_free_clusters()
733 desc_count += ext4_free_group_clusters(sb, gdp); in ext4_count_free_clusters()
736 return desc_count; in ext4_count_free_clusters()
Dialloc.c1270 unsigned long desc_count; in ext4_count_free_inodes() local
1279 desc_count = 0; in ext4_count_free_inodes()
1286 desc_count += ext4_free_inodes_count(sb, gdp); in ext4_count_free_inodes()
1303 le32_to_cpu(es->s_free_inodes_count), desc_count, bitmap_count); in ext4_count_free_inodes()
1304 return desc_count; in ext4_count_free_inodes()
1306 desc_count = 0; in ext4_count_free_inodes()
1311 desc_count += ext4_free_inodes_count(sb, gdp); in ext4_count_free_inodes()
1314 return desc_count; in ext4_count_free_inodes()