Home
last modified time | relevance | path

Searched refs:new_nr (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/md/persistent-data/
Ddm-array.c176 const void *value, unsigned int new_nr) in fill_ablock() argument
181 BUG_ON(new_nr > le32_to_cpu(ab->max_entries)); in fill_ablock()
182 BUG_ON(new_nr < le32_to_cpu(ab->nr_entries)); in fill_ablock()
185 delta = new_nr - nr_entries; in fill_ablock()
188 for (i = nr_entries; i < new_nr; i++) in fill_ablock()
190 ab->nr_entries = cpu_to_le32(new_nr); in fill_ablock()
199 unsigned int new_nr) in trim_ablock() argument
204 BUG_ON(new_nr > le32_to_cpu(ab->max_entries)); in trim_ablock()
205 BUG_ON(new_nr > le32_to_cpu(ab->nr_entries)); in trim_ablock()
208 delta = nr_entries - new_nr; in trim_ablock()
[all …]
/Linux-v6.6/fs/
Daio.c665 unsigned i, new_nr; in ioctx_add_table() local
689 new_nr = (table ? table->nr : 1) * 4; in ioctx_add_table()
692 table = kzalloc(struct_size(table, table, new_nr), GFP_KERNEL); in ioctx_add_table()
696 table->nr = new_nr; in ioctx_add_table()
/Linux-v6.6/mm/
Dvmscan.c842 long new_nr; in do_shrink_slab() local
925 new_nr = add_nr_deferred(next_deferred, shrinker, shrinkctl); in do_shrink_slab()
927 trace_mm_shrink_slab_end(shrinker, shrinkctl->nid, freed, nr, new_nr, total_scan); in do_shrink_slab()