Lines Matching refs:hash_size
115 int hash_size; member
218 static struct jbd2_revoke_table_s *jbd2_journal_init_revoke_table(int hash_size) in jbd2_journal_init_revoke_table() argument
221 int tmp = hash_size; in jbd2_journal_init_revoke_table()
231 table->hash_size = hash_size; in jbd2_journal_init_revoke_table()
234 kmalloc_array(hash_size, sizeof(struct list_head), GFP_KERNEL); in jbd2_journal_init_revoke_table()
241 for (tmp = 0; tmp < hash_size; tmp++) in jbd2_journal_init_revoke_table()
253 for (i = 0; i < table->hash_size; i++) { in jbd2_journal_destroy_revoke_table()
263 int jbd2_journal_init_revoke(journal_t *journal, int hash_size) in jbd2_journal_init_revoke() argument
266 J_ASSERT(is_power_of_2(hash_size)); in jbd2_journal_init_revoke()
268 journal->j_revoke_table[0] = jbd2_journal_init_revoke_table(hash_size); in jbd2_journal_init_revoke()
272 journal->j_revoke_table[1] = jbd2_journal_init_revoke_table(hash_size); in jbd2_journal_init_revoke()
489 for (i = 0; i < revoke->hash_size; i++) { in jbd2_clear_buffer_revoked_flags()
522 for (i = 0; i < journal->j_revoke->hash_size; i++) in jbd2_journal_switch_revoke_table()
548 for (i = 0; i < revoke->hash_size; i++) { in jbd2_journal_write_revoke_records()
735 for (i = 0; i < revoke->hash_size; i++) { in jbd2_journal_clear_revoke()