Lines Matching refs:nr_allocated
314 int nr_allocated = 0; in scan_bitmap() local
354 nr_allocated = in scan_bitmap()
357 if (nr_allocated) in scan_bitmap()
365 nr_allocated = in scan_bitmap()
367 if (nr_allocated) in scan_bitmap()
371 nr_allocated = in scan_bitmap()
376 return nr_allocated; in scan_bitmap()
1090 int nr_allocated; in allocate_without_wrapping_disk() local
1093 nr_allocated = scan_bitmap(hint->th, &start, finish, min, in allocate_without_wrapping_disk()
1097 if (nr_allocated == 0) /* no new blocks allocated, return */ in allocate_without_wrapping_disk()
1101 while (rest > 0 && nr_allocated > 0) { in allocate_without_wrapping_disk()
1104 nr_allocated--; in allocate_without_wrapping_disk()
1108 if (nr_allocated > 0) { in allocate_without_wrapping_disk()
1115 nr_allocated; in allocate_without_wrapping_disk()
1130 int nr_allocated = 0; in blocknrs_and_prealloc_arrays_from_search_start() local
1180 nr_allocated, in blocknrs_and_prealloc_arrays_from_search_start()
1186 nr_allocated); in blocknrs_and_prealloc_arrays_from_search_start()
1188 while (nr_allocated--) in blocknrs_and_prealloc_arrays_from_search_start()
1190 new_blocknrs[nr_allocated], in blocknrs_and_prealloc_arrays_from_search_start()
1195 } while ((nr_allocated += allocate_without_wrapping_disk(hint, in blocknrs_and_prealloc_arrays_from_search_start()
1197 nr_allocated, in blocknrs_and_prealloc_arrays_from_search_start()
1201 nr_allocated, in blocknrs_and_prealloc_arrays_from_search_start()
1207 nr_allocated + REISERFS_I(hint->inode)->i_prealloc_count) { in blocknrs_and_prealloc_arrays_from_search_start()
1213 nr_allocated - in blocknrs_and_prealloc_arrays_from_search_start()
1218 hint->prealloc_size - nr_allocated - in blocknrs_and_prealloc_arrays_from_search_start()