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);
86 static __always_inline void set_buffer_##name(struct buffer_head *bh) \
88 set_bit(BH_##bit, &(bh)->b_state); \
90 static __always_inline void clear_buffer_##name(struct buffer_head *bh) \
92 clear_bit(BH_##bit, &(bh)->b_state); \
94 static __always_inline int buffer_##name(const struct buffer_head *bh) \
96 return test_bit(BH_##bit, &(bh)->b_state); \
103 static __always_inline int test_set_buffer_##name(struct buffer_head *bh) \
105 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
107 static __always_inline int test_clear_buffer_##name(struct buffer_head *bh) \
[all …]
Djbd2.h343 static inline struct journal_head *bh2jh(struct buffer_head *bh) in bh2jh() argument
345 return bh->b_private; in bh2jh()
348 static inline void jbd_lock_bh_state(struct buffer_head *bh) in jbd_lock_bh_state() argument
350 bit_spin_lock(BH_State, &bh->b_state); in jbd_lock_bh_state()
353 static inline int jbd_trylock_bh_state(struct buffer_head *bh) in jbd_trylock_bh_state() argument
355 return bit_spin_trylock(BH_State, &bh->b_state); in jbd_trylock_bh_state()
358 static inline int jbd_is_locked_bh_state(struct buffer_head *bh) in jbd_is_locked_bh_state() argument
360 return bit_spin_is_locked(BH_State, &bh->b_state); in jbd_is_locked_bh_state()
363 static inline void jbd_unlock_bh_state(struct buffer_head *bh) in jbd_unlock_bh_state() argument
365 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.h95 struct tasklet_struct bh; member
Dusbnet.h65 struct tasklet_struct bh; member
Dhcd.h70 struct tasklet_struct bh; member
/include/net/bluetooth/
Dbluetooth.h276 void bt_accept_enqueue(struct sock *parent, struct sock *sk, bool bh);