Home
last modified time | relevance | path

Searched refs:bh (Results 1 – 7 of 7) sorted by relevance

/include/linux/
Dbuffer_head.h48 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate);
90 static __always_inline void set_buffer_##name(struct buffer_head *bh) \
92 if (!test_bit(BH_##bit, &(bh)->b_state)) \
93 set_bit(BH_##bit, &(bh)->b_state); \
95 static __always_inline void clear_buffer_##name(struct buffer_head *bh) \
97 clear_bit(BH_##bit, &(bh)->b_state); \
99 static __always_inline int buffer_##name(const struct buffer_head *bh) \
101 return test_bit(BH_##bit, &(bh)->b_state); \
108 static __always_inline int test_set_buffer_##name(struct buffer_head *bh) \
110 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
[all …]
Djbd2.h336 static inline struct journal_head *bh2jh(struct buffer_head *bh) in bh2jh() argument
338 return bh->b_private; in bh2jh()
341 static inline void jbd_lock_bh_journal_head(struct buffer_head *bh) in jbd_lock_bh_journal_head() argument
343 bit_spin_lock(BH_JournalHead, &bh->b_state); in jbd_lock_bh_journal_head()
346 static inline void jbd_unlock_bh_journal_head(struct buffer_head *bh) in jbd_unlock_bh_journal_head() argument
348 bit_spin_unlock(BH_JournalHead, &bh->b_state); in jbd_unlock_bh_journal_head()
353 #define J_ASSERT_BH(bh, expr) J_ASSERT(expr) argument
358 #define J_EXPECT_BH(bh, expr, why...) J_ASSERT_BH(bh, expr) argument
373 #define J_EXPECT_BH(bh, expr, why...) __journal_expect(expr, ## why) argument
1292 struct buffer_head *bh,
[all …]
/include/trace/events/
Dblock.h26 TP_PROTO(struct buffer_head *bh),
28 TP_ARGS(bh),
37 __entry->dev = bh->b_bdev->bd_dev;
38 __entry->sector = bh->b_blocknr;
39 __entry->size = bh->b_size;
56 TP_PROTO(struct buffer_head *bh),
58 TP_ARGS(bh)
69 TP_PROTO(struct buffer_head *bh),
71 TP_ARGS(bh)
/include/linux/usb/
Dcdc_ncm.h99 struct tasklet_struct bh; member
Dusbnet.h62 struct tasklet_struct bh; member
Dhcd.h59 struct work_struct bh; member
/include/net/bluetooth/
Dbluetooth.h419 void bt_accept_enqueue(struct sock *parent, struct sock *sk, bool bh);