Searched refs:new_alloc (Results 1 – 2 of 2) sorted by relevance
357 int new_alloc; in pcpu_need_to_extend() local362 new_alloc = PCPU_DFL_MAP_ALLOC; in pcpu_need_to_extend()363 while (new_alloc < chunk->map_used + 2) in pcpu_need_to_extend()364 new_alloc *= 2; in pcpu_need_to_extend()366 return new_alloc; in pcpu_need_to_extend()382 static int pcpu_extend_area_map(struct pcpu_chunk *chunk, int new_alloc) in pcpu_extend_area_map() argument385 size_t old_size = 0, new_size = new_alloc * sizeof(new[0]); in pcpu_extend_area_map()395 if (new_alloc <= chunk->map_alloc) in pcpu_extend_area_map()403 chunk->map_alloc = new_alloc; in pcpu_extend_area_map()712 int slot, off, new_alloc; in pcpu_alloc() local[all …]
2870 int new_alloc) in journal_transaction_should_end() argument2879 (journal->j_len_alloc + new_alloc) >= journal->j_max_batch || in journal_transaction_should_end()2886 journal->j_len_alloc += new_alloc; in journal_transaction_should_end()2887 th->t_blocks_allocated += new_alloc ; in journal_transaction_should_end()