Lines Matching refs:reiserfs_journal_cnode
98 static int can_dirty(struct reiserfs_journal_cnode *cn);
123 JOURNAL_HASH_SIZE * sizeof(struct reiserfs_journal_cnode *)); in init_journal_hash()
349 static struct reiserfs_journal_cnode *allocate_cnodes(int num_cnodes) in allocate_cnodes()
351 struct reiserfs_journal_cnode *head; in allocate_cnodes()
356 head = vmalloc(num_cnodes * sizeof(struct reiserfs_journal_cnode)); in allocate_cnodes()
360 memset(head, 0, num_cnodes * sizeof(struct reiserfs_journal_cnode)); in allocate_cnodes()
374 static struct reiserfs_journal_cnode *get_cnode(struct super_block *sb) in get_cnode()
376 struct reiserfs_journal_cnode *cn; in get_cnode()
394 memset(cn, 0, sizeof(struct reiserfs_journal_cnode)); in get_cnode()
402 struct reiserfs_journal_cnode *cn) in free_cnode()
426 static inline struct reiserfs_journal_cnode *get_journal_hash_dev(struct in get_journal_hash_dev()
430 reiserfs_journal_cnode in get_journal_hash_dev()
434 struct reiserfs_journal_cnode *cn; in get_journal_hash_dev()
441 return (struct reiserfs_journal_cnode *)0; in get_journal_hash_dev()
467 struct reiserfs_journal_cnode *cn; in reiserfs_in_journal()
519 static inline void insert_journal_hash(struct reiserfs_journal_cnode **table, in insert_journal_hash()
520 struct reiserfs_journal_cnode *cn) in insert_journal_hash()
522 struct reiserfs_journal_cnode *cn_orig; in insert_journal_hash()
1157 reiserfs_journal_cnode in find_newer_jl_for_cn()
1173 static int newer_jl_done(struct reiserfs_journal_cnode *cn) in newer_jl_done()
1189 struct reiserfs_journal_cnode **,
1203 struct reiserfs_journal_cnode *cn, *last; in remove_all_from_journal_list()
1346 struct reiserfs_journal_cnode *cn, *last; in flush_journal_list()
1607 struct reiserfs_journal_cnode *cn; in test_transaction()
1633 struct reiserfs_journal_cnode *cn; in write_one_transaction()
1682 struct reiserfs_journal_cnode *cn; in dirty_one_transaction()
1832 struct reiserfs_journal_cnode **table, in remove_journal_hash()
1836 struct reiserfs_journal_cnode *cur; in remove_journal_hash()
1837 struct reiserfs_journal_cnode **head; in remove_journal_hash()
2823 JOURNAL_HASH_SIZE * sizeof(struct reiserfs_journal_cnode *)); in journal_init()
2858 sizeof (struct reiserfs_journal_cnode) * num_cnodes); in journal_init()
3253 struct reiserfs_journal_cnode *cn = NULL; in journal_mark_dirty()
3396 struct reiserfs_journal_cnode *cn; in remove_from_transaction()
3449 static int can_dirty(struct reiserfs_journal_cnode *cn) in can_dirty()
3453 struct reiserfs_journal_cnode *cur = cn->hprev; in can_dirty()
3694 struct reiserfs_journal_cnode *cn = NULL; in journal_mark_freed()
3865 struct reiserfs_journal_cnode *cn; in reiserfs_restore_prepared_buffer()
3940 struct reiserfs_journal_cnode *cn, *next, *jl_cn; in do_journal_end()
3941 struct reiserfs_journal_cnode *last_cn = NULL; in do_journal_end()