Searched refs:bh (Results 1 – 5 of 5) sorted by relevance
/include/linux/ |
D | jbd_common.h | 33 static inline struct journal_head *bh2jh(struct buffer_head *bh) in bh2jh() argument 35 return bh->b_private; in bh2jh() 38 static inline void jbd_lock_bh_state(struct buffer_head *bh) in jbd_lock_bh_state() argument 40 bit_spin_lock(BH_State, &bh->b_state); in jbd_lock_bh_state() 43 static inline int jbd_trylock_bh_state(struct buffer_head *bh) in jbd_trylock_bh_state() argument 45 return bit_spin_trylock(BH_State, &bh->b_state); in jbd_trylock_bh_state() 48 static inline int jbd_is_locked_bh_state(struct buffer_head *bh) in jbd_is_locked_bh_state() argument 50 return bit_spin_is_locked(BH_State, &bh->b_state); in jbd_is_locked_bh_state() 53 static inline void jbd_unlock_bh_state(struct buffer_head *bh) in jbd_unlock_bh_state() argument 55 bit_spin_unlock(BH_State, &bh->b_state); in jbd_unlock_bh_state() [all …]
|
D | buffer_head.h | 48 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate); 82 static inline void set_buffer_##name(struct buffer_head *bh) \ 84 set_bit(BH_##bit, &(bh)->b_state); \ 86 static inline void clear_buffer_##name(struct buffer_head *bh) \ 88 clear_bit(BH_##bit, &(bh)->b_state); \ 90 static inline int buffer_##name(const struct buffer_head *bh) \ 92 return test_bit(BH_##bit, &(bh)->b_state); \ 99 static inline int test_set_buffer_##name(struct buffer_head *bh) \ 101 return test_and_set_bit(BH_##bit, &(bh)->b_state); \ 103 static inline int test_clear_buffer_##name(struct buffer_head *bh) \ [all …]
|
D | jbd.h | 251 #define J_ASSERT_BH(bh, expr) J_ASSERT(expr) argument 256 #define J_EXPECT_BH(bh, expr, why...) J_ASSERT_BH(bh, expr) argument 270 #define J_EXPECT_BH(bh, expr, why...) __journal_expect(expr, ## why) argument 780 extern void __journal_free_buffer(struct journal_head *bh); 875 struct journal_head *journal_add_journal_head(struct buffer_head *bh); 876 struct journal_head *journal_grab_journal_head(struct buffer_head *bh); 1022 #define buffer_trace_init(bh) do {} while (0) argument 1023 #define print_buffer_fields(bh) do {} while (0) argument 1024 #define print_buffer_trace(bh) do {} while (0) argument 1025 #define BUFFER_TRACE(bh, info) do {} while (0) argument [all …]
|
D | jbd2.h | 282 #define J_ASSERT_BH(bh, expr) J_ASSERT(expr) argument 287 #define J_EXPECT_BH(bh, expr, why...) J_ASSERT_BH(bh, expr) argument 302 #define J_EXPECT_BH(bh, expr, why...) __journal_expect(expr, ## why) argument 968 extern void __journal_free_buffer(struct journal_head *bh); 1001 struct buffer_head *bh, void *mapped_data, 1009 struct buffer_head *bh); 1114 struct journal_head *jbd2_journal_add_journal_head(struct buffer_head *bh); 1115 struct journal_head *jbd2_journal_grab_journal_head(struct buffer_head *bh); 1275 #define buffer_trace_init(bh) do {} while (0) argument 1276 #define print_buffer_fields(bh) do {} while (0) argument [all …]
|
/include/linux/usb/ |
D | usbnet.h | 59 struct tasklet_struct bh; member
|