cregit-Linux how code gets into the kernel

Release 4.7 drivers/block/drbd/drbd_debugfs.h

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/debugfs.h>

#include "drbd_int.h"

#ifdef CONFIG_DEBUG_FS
int __init drbd_debugfs_init(void);
void drbd_debugfs_cleanup(void);

void drbd_debugfs_resource_add(struct drbd_resource *resource);
void drbd_debugfs_resource_cleanup(struct drbd_resource *resource);

void drbd_debugfs_connection_add(struct drbd_connection *connection);
void drbd_debugfs_connection_cleanup(struct drbd_connection *connection);

void drbd_debugfs_device_add(struct drbd_device *device);
void drbd_debugfs_device_cleanup(struct drbd_device *device);

void drbd_debugfs_peer_device_add(struct drbd_peer_device *peer_device);
void drbd_debugfs_peer_device_cleanup(struct drbd_peer_device *peer_device);
#else


static inline int __init drbd_debugfs_init(void) { return -ENODEV; }

Contributors

PersonTokensPropCommitsCommitProp
lars ellenberglars ellenberg14100.00%1100.00%
Total14100.00%1100.00%


static inline void drbd_debugfs_cleanup(void) { }

Contributors

PersonTokensPropCommitsCommitProp
lars ellenberglars ellenberg8100.00%1100.00%
Total8100.00%1100.00%


static inline void drbd_debugfs_resource_add(struct drbd_resource *resource) { }

Contributors

PersonTokensPropCommitsCommitProp
lars ellenberglars ellenberg11100.00%1100.00%
Total11100.00%1100.00%


static inline void drbd_debugfs_resource_cleanup(struct drbd_resource *resource) { }

Contributors

PersonTokensPropCommitsCommitProp
lars ellenberglars ellenberg11100.00%1100.00%
Total11100.00%1100.00%


static inline void drbd_debugfs_connection_add(struct drbd_connection *connection) { }

Contributors

PersonTokensPropCommitsCommitProp
lars ellenberglars ellenberg11100.00%1100.00%
Total11100.00%1100.00%


static inline void drbd_debugfs_connection_cleanup(struct drbd_connection *connection) { }

Contributors

PersonTokensPropCommitsCommitProp
lars ellenberglars ellenberg11100.00%1100.00%
Total11100.00%1100.00%


static inline void drbd_debugfs_device_add(struct drbd_device *device) { }

Contributors

PersonTokensPropCommitsCommitProp
lars ellenberglars ellenberg11100.00%1100.00%
Total11100.00%1100.00%


static inline void drbd_debugfs_device_cleanup(struct drbd_device *device) { }

Contributors

PersonTokensPropCommitsCommitProp
lars ellenberglars ellenberg11100.00%1100.00%
Total11100.00%1100.00%


static inline void drbd_debugfs_peer_device_add(struct drbd_peer_device *peer_device) { }

Contributors

PersonTokensPropCommitsCommitProp
lars ellenberglars ellenberg11100.00%1100.00%
Total11100.00%1100.00%


static inline void drbd_debugfs_peer_device_cleanup(struct drbd_peer_device *peer_device) { }

Contributors

PersonTokensPropCommitsCommitProp
lars ellenberglars ellenberg11100.00%1100.00%
Total11100.00%1100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
lars ellenberglars ellenberg214100.00%1100.00%
Total214100.00%1100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}