Searched refs:new_bucket_seq (Results 1 – 1 of 1) sorted by relevance
930 u64 *new_bucket_seq = NULL, *new_buckets = NULL; in __bch2_set_nr_journal_buckets() local941 new_bucket_seq = kcalloc(nr, sizeof(u64), GFP_KERNEL); in __bch2_set_nr_journal_buckets()942 if (!bu || !ob || !new_buckets || !new_bucket_seq) { in __bch2_set_nr_journal_buckets()988 memcpy(new_bucket_seq, ja->bucket_seq, ja->nr * sizeof(u64)); in __bch2_set_nr_journal_buckets()997 memmove(new_bucket_seq + pos + nr_got, in __bch2_set_nr_journal_buckets()998 new_bucket_seq + pos, in __bch2_set_nr_journal_buckets()999 sizeof(new_bucket_seq[0]) * (ja->nr - pos)); in __bch2_set_nr_journal_buckets()1003 new_bucket_seq[pos + i] = 0; in __bch2_set_nr_journal_buckets()1020 swap(new_bucket_seq, ja->bucket_seq); in __bch2_set_nr_journal_buckets()1051 kfree(new_bucket_seq); in __bch2_set_nr_journal_buckets()