Lines Matching defs:amount_needed
1011 int amount_needed)
1146 int amount_needed,
1149 int rest = amount_needed;
1183 return (amount_needed - rest);
1188 int amount_needed) {
1202 amount_needed, hint->inode->i_uid);
1206 dquot_alloc_block_nodirty(hint->inode, amount_needed);
1247 amount_needed +
1255 amount_needed + hint->prealloc_size -
1271 amount_needed -
1275 < amount_needed);
1277 amount_needed + hint->prealloc_size >
1283 amount_needed + hint->prealloc_size -
1290 dquot_free_block_nodirty(hint->inode, amount_needed +
1304 int amount_needed)
1309 while (amount_needed) {
1314 amount_needed--;
1323 return amount_needed;
1328 int amount_needed,
1332 int initial_amount_needed = amount_needed;
1338 amount_needed - reserved_by_us)
1349 amount_needed = use_preallocated_list_if_available
1350 (hint, new_blocknrs, amount_needed);
1356 if (amount_needed == 0)
1358 new_blocknrs += (initial_amount_needed - amount_needed);
1362 determine_search_start(hint, amount_needed);
1368 (hint, new_blocknrs, amount_needed);
1377 while (amount_needed++ < initial_amount_needed) {