Searched refs:bh (Results 1 – 7 of 7) sorted by relevance
/include/linux/ |
D | buffer_head.h | 52 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 …]
|
D | jbd2.h | 340 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/ |
D | block.h | 17 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/ |
D | cdc_ncm.h | 96 struct tasklet_struct bh; member
|
D | usbnet.h | 66 struct tasklet_struct bh; member
|
D | hcd.h | 71 struct tasklet_struct bh; member
|
/include/net/bluetooth/ |
D | bluetooth.h | 279 void bt_accept_enqueue(struct sock *parent, struct sock *sk, bool bh);
|