Searched refs:new_nr (Results 1 - 6 of 6) sorted by relevance

/linux-master/fs/bcachefs/
H A Djournal_seq_blacklist.c228 unsigned i, nr, new_nr; local
278 new_nr = dst - bl->start;
280 bch_info(c, "nr blacklist entries was %u, now %u", nr, new_nr);
282 if (new_nr != nr) {
284 new_nr ? sb_blacklist_u64s(new_nr) : 0);
285 BUG_ON(new_nr && !bl);
287 if (!new_nr)
/linux-master/drivers/md/persistent-data/
H A Ddm-array.c172 * cause an increment of the value_type. new_nr must always be more than
176 const void *value, unsigned int new_nr)
181 BUG_ON(new_nr > le32_to_cpu(ab->max_entries));
182 BUG_ON(new_nr < le32_to_cpu(ab->nr_entries));
185 delta = new_nr - nr_entries;
188 for (i = nr_entries; i < new_nr; i++)
190 ab->nr_entries = cpu_to_le32(new_nr);
195 * removed will be decremented. new_nr must be <= the current number of
199 unsigned int new_nr)
204 BUG_ON(new_nr > le32_to_cp
175 fill_ablock(struct dm_array_info *info, struct array_block *ab, const void *value, unsigned int new_nr) argument
198 trim_ablock(struct dm_array_info *info, struct array_block *ab, unsigned int new_nr) argument
707 populate_ablock_with_values(struct dm_array_info *info, struct array_block *ab, value_fn fn, void *context, unsigned int base, unsigned int new_nr) argument
[all...]
/linux-master/mm/
H A Dshrinker.c377 long new_nr; local
460 new_nr = add_nr_deferred(next_deferred, shrinker, shrinkctl);
462 trace_mm_shrink_slab_end(shrinker, shrinkctl->nid, freed, nr, new_nr, total_scan);
H A Dhuge_memory.c2898 unsigned int new_nr = 1 << new_order; local
2916 for (i = nr - new_nr; i >= new_nr; i -= new_nr) {
2954 folio_ref_add(folio, 1 + new_nr);
2961 folio_ref_add(folio, 1 + new_nr);
2981 for (i = 0; i < nr; i += new_nr) {
H A Dmemcontrol.c3616 unsigned int new_nr = 1 << new_order; local
3621 for (i = new_nr; i < old_nr; i += new_nr)
3625 obj_cgroup_get_many(__folio_objcg(folio), old_nr / new_nr - 1);
3627 css_get_many(&memcg->css, old_nr / new_nr - 1);
/linux-master/fs/
H A Daio.c675 unsigned i, new_nr; local
699 new_nr = (table ? table->nr : 1) * 4;
702 table = kzalloc(struct_size(table, table, new_nr), GFP_KERNEL);
706 table->nr = new_nr;

Completed in 199 milliseconds