1 #include <linux/kernel.h>
2 #include <linux/module.h>
3 #include <linux/debugfs.h>
8 int __init
drbd_debugfs_init(void);
9 void drbd_debugfs_cleanup(void);
11 void drbd_debugfs_resource_add(struct drbd_resource
*resource
);
12 void drbd_debugfs_resource_cleanup(struct drbd_resource
*resource
);
14 void drbd_debugfs_connection_add(struct drbd_connection
*connection
);
15 void drbd_debugfs_connection_cleanup(struct drbd_connection
*connection
);
17 void drbd_debugfs_device_add(struct drbd_device
*device
);
18 void drbd_debugfs_device_cleanup(struct drbd_device
*device
);
20 void drbd_debugfs_peer_device_add(struct drbd_peer_device
*peer_device
);
21 void drbd_debugfs_peer_device_cleanup(struct drbd_peer_device
*peer_device
);
24 static inline int __init
drbd_debugfs_init(void) { return -ENODEV
; }
25 static inline void drbd_debugfs_cleanup(void) { }
27 static inline void drbd_debugfs_resource_add(struct drbd_resource
*resource
) { }
28 static inline void drbd_debugfs_resource_cleanup(struct drbd_resource
*resource
) { }
30 static inline void drbd_debugfs_connection_add(struct drbd_connection
*connection
) { }
31 static inline void drbd_debugfs_connection_cleanup(struct drbd_connection
*connection
) { }
33 static inline void drbd_debugfs_device_add(struct drbd_device
*device
) { }
34 static inline void drbd_debugfs_device_cleanup(struct drbd_device
*device
) { }
36 static inline void drbd_debugfs_peer_device_add(struct drbd_peer_device
*peer_device
) { }
37 static inline void drbd_debugfs_peer_device_cleanup(struct drbd_peer_device
*peer_device
) { }