Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:bh

257 void buffer_assertion_failure(struct buffer_head *bh);
258 #define J_ASSERT_BH(bh, expr) \
261 buffer_assertion_failure(bh); \
266 #define J_ASSERT_BH(bh, expr) J_ASSERT(expr)
284 static inline int buffer_jbd(struct buffer_head *bh)
286 return __buffer_state(bh, JBD);
294 static inline struct journal_head *bh2jh(struct buffer_head *bh)
296 return bh->b_private;
611 extern void __journal_free_buffer(struct journal_head *bh);
731 *journal_add_journal_head(struct buffer_head *bh);
732 extern void journal_remove_journal_head(struct buffer_head *bh);
733 extern void __journal_remove_journal_head(struct buffer_head *bh);
901 static inline int buffer_jlist_eq(struct buffer_head *bh, int list)
903 return SPLICE_LOCK(buffer_jbd(bh), bh2jh(bh)->b_jlist == list);
907 static inline int buffer_jdirty(struct buffer_head *bh)
909 return buffer_jbd(bh) && __buffer_state(bh, JBDDirty);
913 static inline int buffer_jbd_data(struct buffer_head *bh)
915 return SPLICE_LOCK(buffer_jbd(bh),
916 bh2jh(bh)->b_jlist == BJ_SyncData ||
917 bh2jh(bh)->b_jlist == BJ_AsyncData);
926 #define buffer_trace_init(bh) do {} while (0)
927 #define print_buffer_fields(bh) do {} while (0)
928 #define print_buffer_trace(bh) do {} while (0)
929 #define BUFFER_TRACE(bh, info) do {} while (0)
930 #define BUFFER_TRACE2(bh, bh2, info) do {} while (0)
945 #define J_ASSERT_BH(bh, expr) do {} while (0)
946 #define buffer_jbd(bh) 0
947 #define buffer_jlist_eq(bh, val) 0
948 #define journal_buffer_journal_lru(bh) 0