Searched refs:new_nr (Results 1 – 6 of 6) sorted by relevance
/linux/fs/bcachefs/ |
H A D | journal_seq_blacklist.c | 245 unsigned new_nr = dst - bl->start; in bch2_blacklist_entries_gc() local 246 if (new_nr == nr) in bch2_blacklist_entries_gc() 249 bch_verbose(c, "nr blacklist entries was %u, now %u", nr, new_nr); in bch2_blacklist_entries_gc() 252 new_nr ? sb_blacklist_u64s(new_nr) : 0); in bch2_blacklist_entries_gc() 253 BUG_ON(new_nr && !bl); in bch2_blacklist_entries_gc()
|
/linux/drivers/md/persistent-data/ |
H A D | dm-array.c | 176 const void *value, unsigned int new_nr) in fill_ablock() argument 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 205 BUG_ON(new_nr > le32_to_cpu(ab->nr_entries)); in trim_ablock() 208 delta = nr_entries - new_nr; in trim_ablock() 211 ab->nr_entries = cpu_to_le32(new_nr); in trim_ablock() 718 for (i = 0; i < new_nr; i++) { in populate_ablock_with_values() [all …]
|
/linux/mm/ |
H A D | shrinker.c | 379 long new_nr; in do_shrink_slab() local 462 new_nr = add_nr_deferred(next_deferred, shrinker, shrinkctl); in do_shrink_slab() 464 trace_mm_shrink_slab_end(shrinker, shrinkctl->nid, freed, nr, new_nr, total_scan); in do_shrink_slab()
|
H A D | huge_memory.c | 3185 unsigned int new_nr = 1 << new_order; in __split_huge_page() local 3203 for (i = nr - new_nr; i >= new_nr; i -= new_nr) { in __split_huge_page() 3242 folio_ref_add(folio, 1 + new_nr); in __split_huge_page() 3249 folio_ref_add(folio, 1 + new_nr); in __split_huge_page() 3266 for (i = 0; i < nr; i += new_nr) { in __split_huge_page()
|
H A D | memcontrol.c | 3025 unsigned int new_nr = 1 << new_order; in split_page_memcg() local 3030 for (i = new_nr; i < old_nr; i += new_nr) in split_page_memcg() 3034 obj_cgroup_get_many(__folio_objcg(folio), old_nr / new_nr - 1); in split_page_memcg() 3036 css_get_many(&folio_memcg(folio)->css, old_nr / new_nr - 1); in split_page_memcg()
|
/linux/fs/ |
H A D | aio.c | 669 unsigned i, new_nr; in ioctx_add_table() local 693 new_nr = (table ? table->nr : 1) * 4; in ioctx_add_table() 696 table = kzalloc(struct_size(table, table, new_nr), GFP_KERNEL); in ioctx_add_table() 700 table->nr = new_nr; in ioctx_add_table()
|