Home
last modified time | relevance | path

Searched refs:SB_JOURNAL (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/fs/reiserfs/
Djournal.c102 …memset(SB_JOURNAL(p_s_sb)->j_hash_table, 0, JOURNAL_HASH_SIZE * sizeof(struct reiserfs_journal_cno… in init_journal_hash()
141 struct list_head *entry = SB_JOURNAL(p_s_sb)->j_bitmap_nodes.next ; in get_bitmap_node()
143 SB_JOURNAL(p_s_sb)->j_used_bitmap_nodes++ ; in get_bitmap_node()
146 if(entry != &SB_JOURNAL(p_s_sb)->j_bitmap_nodes) { in get_bitmap_node()
150 SB_JOURNAL(p_s_sb)->j_free_bitmap_nodes-- ; in get_bitmap_node()
162 SB_JOURNAL(p_s_sb)->j_used_bitmap_nodes-- ; in free_bitmap_node()
163 if (SB_JOURNAL(p_s_sb)->j_free_bitmap_nodes > REISERFS_MAX_BITMAP_NODES) { in free_bitmap_node()
167 list_add(&bn->list, &SB_JOURNAL(p_s_sb)->j_bitmap_nodes) ; in free_bitmap_node()
168 SB_JOURNAL(p_s_sb)->j_free_bitmap_nodes++ ; in free_bitmap_node()
178 list_add(&bn->list, &SB_JOURNAL(p_s_sb)->j_bitmap_nodes) ; in allocate_bitmap_nodes()
[all …]
Dresize.c93 jb = SB_JOURNAL(s)->j_list_bitmap + i ; in reiserfs_resize()
165 SB_JOURNAL(s)->j_must_wait = 1; in reiserfs_resize()
Dbitmap.c381 struct list_head * plist = &SB_JOURNAL(th->t_super)->j_prealloc_list; in reiserfs_discard_all_prealloc()
759 &SB_JOURNAL(hint->th->t_super)->j_prealloc_list); in allocate_without_wrapping_disk()
Dsuper.c743 SB_JOURNAL(s)->j_must_wait = 1 ; in reiserfs_remount()
Dinode.c109 struct reiserfs_journal *j = SB_JOURNAL(inode->i_sb) ; in add_to_flushlist()
/linux-2.4.37.9/include/linux/
Dreiserfs_fs_sb.h493 #define SB_JOURNAL(s) ((s)->u.reiserfs_sb.s_journal) macro
494 #define SB_JOURNAL_1st_RESERVED_BLOCK(s) (SB_JOURNAL(s)->j_1st_reserved_block)
495 #define SB_JOURNAL_LIST(s) (SB_JOURNAL(s)->j_journal_list)
496 #define SB_JOURNAL_LIST_INDEX(s) (SB_JOURNAL(s)->j_journal_list_index)
497 #define SB_JOURNAL_LEN_FREE(s) (SB_JOURNAL(s)->j_journal_len_free)
500 #define SB_DISK_JOURNAL_HEAD(s) (SB_JOURNAL(s)->j_header_bh->)
502 #define SB_JOURNAL_TRANS_MAX(s) (SB_JOURNAL(s)->s_journal_trans_max)
503 #define SB_JOURNAL_MAX_BATCH(s) (SB_JOURNAL(s)->s_journal_max_batch)
504 #define SB_JOURNAL_MAX_COMMIT_AGE(s) (SB_JOURNAL(s)->s_journal_max_commit_age)
505 #define SB_JOURNAL_MAX_TRANS_AGE(s) (SB_JOURNAL(s)->s_journal_max_trans_age)
[all …]