Searched refs:new_a (Results 1 – 2 of 2) sorted by relevance
845 struct bch_alloc_v4 *new_a; in bch2_trigger_alloc() local847 new_a = bkey_s_to_alloc_v4(new).v; in bch2_trigger_alloc()855 new_a = &new_ka->v; in bch2_trigger_alloc()859 alloc_data_type_set(new_a, new_a->data_type); in bch2_trigger_alloc()861 if (bch2_bucket_sectors_total(*new_a) > bch2_bucket_sectors_total(*old_a)) { in bch2_trigger_alloc()862 new_a->io_time[READ] = bch2_current_io_time(c, READ); in bch2_trigger_alloc()863 new_a->io_time[WRITE]= bch2_current_io_time(c, WRITE); in bch2_trigger_alloc()864 SET_BCH_ALLOC_V4_NEED_INC_GEN(new_a, true); in bch2_trigger_alloc()865 SET_BCH_ALLOC_V4_NEED_DISCARD(new_a, true); in bch2_trigger_alloc()868 if (data_type_is_empty(new_a->data_type) && in bch2_trigger_alloc()[all …]
453 * with "new_a". Points gbl_foo to the new structure, and463 void foo_update_a(int new_a)472 new_fp->a = new_a;555 * with "new_a". Points gbl_foo to the new structure, and565 void foo_update_a(int new_a)574 new_fp->a = new_a;