Lines Matching defs:device

79 #define __drbd_printk_device(level, device, fmt, args...) \  argument
123 #define dynamic_drbd_dbg(device, fmt, args...) \ argument
126 #define D_ASSERT(device, exp) do { \ argument
164 drbd_insert_fault(struct drbd_device *device, unsigned int type) { in drbd_insert_fault()
264 struct drbd_device *device; member
276 struct drbd_device *device; member
807 struct drbd_device *device; member
974 struct drbd_device *device; member
1005 struct drbd_device *device; member
1015 static inline struct drbd_peer_device *first_peer_device(struct drbd_device *device) in first_peer_device()
1044 #define for_each_peer_device(peer_device, device) \ argument
1047 #define for_each_peer_device_rcu(peer_device, device) \ argument
1050 #define for_each_peer_device_safe(peer_device, tmp, device) \ argument
1053 static inline unsigned int device_to_minor(struct drbd_device *device) in device_to_minor()
1510 static inline void ov_out_of_sync_print(struct drbd_device *device) in ov_out_of_sync_print()
1578 static inline void drbd_submit_bio_noacct(struct drbd_device *device, in drbd_submit_bio_noacct()
1621 #define drbd_set_in_sync(device, sector, size) \ argument
1623 #define drbd_set_out_of_sync(device, sector, size) \ argument
1625 #define drbd_rs_failed_io(device, sector, size) \ argument
1696 static inline union drbd_state drbd_read_state(struct drbd_device *device) in drbd_read_state()
1717 static inline void __drbd_chk_io_error_(struct drbd_device *device, in __drbd_chk_io_error_()
1781 static inline void drbd_chk_io_error_(struct drbd_device *device, in drbd_chk_io_error_()
1913 drbd_device_post_work(struct drbd_device *device, int work_bit) in drbd_device_post_work()
1994 static inline void inc_ap_pending(struct drbd_device *device) in inc_ap_pending()
2005 #define dec_ap_pending(device) _dec_ap_pending(device, __func__, __LINE__) argument
2006 static inline void _dec_ap_pending(struct drbd_device *device, const char *func, int line) in _dec_ap_pending()
2019 static inline void inc_rs_pending(struct drbd_device *device) in inc_rs_pending()
2024 #define dec_rs_pending(device) _dec_rs_pending(device, __func__, __LINE__) argument
2025 static inline void _dec_rs_pending(struct drbd_device *device, const char *func, int line) in _dec_rs_pending()
2040 static inline void inc_unacked(struct drbd_device *device) in inc_unacked()
2045 #define dec_unacked(device) _dec_unacked(device, __func__, __LINE__) argument
2046 static inline void _dec_unacked(struct drbd_device *device, const char *func, int line) in _dec_unacked()
2052 #define sub_unacked(device, n) _sub_unacked(device, n, __func__, __LINE__) argument
2053 static inline void _sub_unacked(struct drbd_device *device, int n, const char *func, int line) in _sub_unacked()
2089 static inline void put_ldev(struct drbd_device *device) in put_ldev()
2116 static inline int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state()
2137 static inline int drbd_get_max_buffers(struct drbd_device *device) in drbd_get_max_buffers()
2150 static inline int drbd_state_is_stable(struct drbd_device *device) in drbd_state_is_stable()
2220 static inline int drbd_suspended(struct drbd_device *device) in drbd_suspended()
2227 static inline bool may_inc_ap_bio(struct drbd_device *device) in may_inc_ap_bio()
2253 static inline bool inc_ap_bio_cond(struct drbd_device *device) in inc_ap_bio_cond()
2266 static inline void inc_ap_bio(struct drbd_device *device) in inc_ap_bio()
2279 static inline void dec_ap_bio(struct drbd_device *device) in dec_ap_bio()
2300 static inline bool verify_can_do_stop_sector(struct drbd_device *device) in verify_can_do_stop_sector()
2306 static inline int drbd_set_ed_uuid(struct drbd_device *device, u64 val) in drbd_set_ed_uuid()
2313 static inline int drbd_queue_order_type(struct drbd_device *device) in drbd_queue_order_type()