• Home
  • Raw
  • Download

Lines Matching refs:count

272 	unsigned int count = 0;  in ext4_blks_to_allocate()  local
281 count += blks; in ext4_blks_to_allocate()
283 count += blocks_to_boundary + 1; in ext4_blks_to_allocate()
284 return count; in ext4_blks_to_allocate()
287 count++; in ext4_blks_to_allocate()
288 while (count < blks && count <= blocks_to_boundary && in ext4_blks_to_allocate()
289 le32_to_cpu(*(branch[0].p + count)) == 0) { in ext4_blks_to_allocate()
290 count++; in ext4_blks_to_allocate()
292 return count; in ext4_blks_to_allocate()
526 int count = 0; in ext4_ind_map_blocks() local
543 count++; in ext4_ind_map_blocks()
545 while (count < map->m_len && count <= blocks_to_boundary) { in ext4_ind_map_blocks()
548 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext4_ind_map_blocks()
550 if (blk == first_block + count) in ext4_ind_map_blocks()
551 count++; in ext4_ind_map_blocks()
564 count = 1; in ext4_ind_map_blocks()
566 count *= epb; in ext4_ind_map_blocks()
569 map->m_len = min_t(unsigned int, map->m_len, count); in ext4_ind_map_blocks()
630 count = ar.len; in ext4_ind_map_blocks()
634 map->m_len = count; in ext4_ind_map_blocks()
635 if (count > blocks_to_boundary) in ext4_ind_map_blocks()
637 err = count; in ext4_ind_map_blocks()
825 unsigned long count, __le32 *first, in ext4_clear_blocks() argument
838 count)) { in ext4_clear_blocks()
841 (unsigned long long) block_to_free, count); in ext4_clear_blocks()
870 ext4_free_blocks(handle, inode, NULL, block_to_free, count, flags); in ext4_clear_blocks()
901 unsigned long count = 0; /* Number of blocks in the run */ in ext4_free_data() local
923 if (count == 0) { in ext4_free_data()
926 count = 1; in ext4_free_data()
927 } else if (nr == block_to_free + count) { in ext4_free_data()
928 count++; in ext4_free_data()
931 block_to_free, count, in ext4_free_data()
937 count = 1; in ext4_free_data()
942 if (!err && count > 0) in ext4_free_data()
944 count, block_to_free_p, p); in ext4_free_data()