Home
last modified time | relevance | path

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

/include/linux/
Dbuffer_head.h52 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate);
88 static __always_inline void set_buffer_##name(struct buffer_head *bh) \
90 if (!test_bit(BH_##bit, &(bh)->b_state)) \
91 set_bit(BH_##bit, &(bh)->b_state); \
93 static __always_inline void clear_buffer_##name(struct buffer_head *bh) \
95 clear_bit(BH_##bit, &(bh)->b_state); \
97 static __always_inline int buffer_##name(const struct buffer_head *bh) \
99 return test_bit(BH_##bit, &(bh)->b_state); \
106 static __always_inline int test_set_buffer_##name(struct buffer_head *bh) \
108 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
[all …]
Djbd2.h340 static inline struct journal_head *bh2jh(struct buffer_head *bh) in bh2jh() argument
342 return bh->b_private; in bh2jh()
345 static inline void jbd_lock_bh_state(struct buffer_head *bh) in jbd_lock_bh_state() argument
347 bit_spin_lock(BH_State, &bh->b_state); in jbd_lock_bh_state()
350 static inline int jbd_trylock_bh_state(struct buffer_head *bh) in jbd_trylock_bh_state() argument
352 return bit_spin_trylock(BH_State, &bh->b_state); in jbd_trylock_bh_state()
355 static inline int jbd_is_locked_bh_state(struct buffer_head *bh) in jbd_is_locked_bh_state() argument
357 return bit_spin_is_locked(BH_State, &bh->b_state); in jbd_is_locked_bh_state()
360 static inline void jbd_unlock_bh_state(struct buffer_head *bh) in jbd_unlock_bh_state() argument
362 bit_spin_unlock(BH_State, &bh->b_state); in jbd_unlock_bh_state()
[all …]
/include/trace/events/
Dblock.h17 TP_PROTO(struct buffer_head *bh),
19 TP_ARGS(bh),
28 __entry->dev = bh->b_bdev->bd_dev;
29 __entry->sector = bh->b_blocknr;
30 __entry->size = bh->b_size;
47 TP_PROTO(struct buffer_head *bh),
49 TP_ARGS(bh)
60 TP_PROTO(struct buffer_head *bh),
62 TP_ARGS(bh)
/include/linux/usb/
Dcdc_ncm.h96 struct tasklet_struct bh; member
Dusbnet.h66 struct tasklet_struct bh; member
Dhcd.h71 struct tasklet_struct bh; member
/include/net/bluetooth/
Dbluetooth.h279 void bt_accept_enqueue(struct sock *parent, struct sock *sk, bool bh);