Lines Matching defs:device
91 drbd_insert_fault(struct drbd_device *device, unsigned int type) { in drbd_insert_fault()
191 struct drbd_device *device; member
203 struct drbd_device *device; member
737 struct drbd_device *device; member
904 struct drbd_device *device; member
935 struct drbd_device *device; member
945 static inline struct drbd_peer_device *first_peer_device(struct drbd_device *device) in first_peer_device()
974 #define for_each_peer_device(peer_device, device) \ argument
977 #define for_each_peer_device_rcu(peer_device, device) \ argument
980 #define for_each_peer_device_safe(peer_device, tmp, device) \ argument
983 static inline unsigned int device_to_minor(struct drbd_device *device) in device_to_minor()
1450 struct drbd_device *device = peer_device->device; in ov_out_of_sync_print() local
1515 static inline void drbd_submit_bio_noacct(struct drbd_device *device, in drbd_submit_bio_noacct()
1633 static inline union drbd_state drbd_read_state(struct drbd_device *device) in drbd_read_state()
1654 static inline void __drbd_chk_io_error_(struct drbd_device *device, in __drbd_chk_io_error_()
1718 static inline void drbd_chk_io_error_(struct drbd_device *device, in drbd_chk_io_error_()
1849 drbd_device_post_work(struct drbd_device *device, int work_bit) in drbd_device_post_work()
1930 static inline void inc_ap_pending(struct drbd_device *device) in inc_ap_pending()
1935 #define dec_ap_pending(device) ((void)expect((device), __dec_ap_pending(device) >= 0)) argument
1936 static inline int __dec_ap_pending(struct drbd_device *device) in __dec_ap_pending()
1972 static inline void inc_unacked(struct drbd_device *device) in inc_unacked()
1977 #define dec_unacked(device) ((void)expect(device, __dec_unacked(device) >= 0)) argument
1978 static inline int __dec_unacked(struct drbd_device *device) in __dec_unacked()
1983 #define sub_unacked(device, n) ((void)expect(device, __sub_unacked(device) >= 0)) argument
1984 static inline int __sub_unacked(struct drbd_device *device, int n) in __sub_unacked()
2019 static inline void put_ldev(struct drbd_device *device) in put_ldev()
2046 static inline int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state()
2067 static inline int drbd_get_max_buffers(struct drbd_device *device) in drbd_get_max_buffers()
2080 static inline int drbd_state_is_stable(struct drbd_device *device) in drbd_state_is_stable()
2150 static inline int drbd_suspended(struct drbd_device *device) in drbd_suspended()
2157 static inline bool may_inc_ap_bio(struct drbd_device *device) in may_inc_ap_bio()
2183 static inline bool inc_ap_bio_cond(struct drbd_device *device) in inc_ap_bio_cond()
2196 static inline void inc_ap_bio(struct drbd_device *device) in inc_ap_bio()
2209 static inline void dec_ap_bio(struct drbd_device *device) in dec_ap_bio()
2230 static inline bool verify_can_do_stop_sector(struct drbd_device *device) in verify_can_do_stop_sector()
2236 static inline int drbd_set_ed_uuid(struct drbd_device *device, u64 val) in drbd_set_ed_uuid()
2243 static inline int drbd_queue_order_type(struct drbd_device *device) in drbd_queue_order_type()