cregit-Linux how code gets into the kernel

Release 4.7 include/linux/bsg.h

Directory: include/linux
#ifndef BSG_H

#define BSG_H

#include <uapi/linux/bsg.h>


#if defined(CONFIG_BLK_DEV_BSG)

struct bsg_class_device {
	
struct device *class_dev;
	
struct device *parent;
	
int minor;
	
struct request_queue *queue;
	
struct kref ref;
	
void (*release)(struct device *);
};

extern int bsg_register_queue(struct request_queue *q,
			      struct device *parent, const char *name,
			      void (*release)(struct device *));
extern void bsg_unregister_queue(struct request_queue *);
#else

static inline int bsg_register_queue(struct request_queue *q, struct device *parent, const char *name, void (*release)(struct device *)) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
james bottomleyjames bottomley1850.00%240.00%
fujita tomonorifujita tomonori1644.44%240.00%
jens axboejens axboe25.56%120.00%
Total36100.00%5100.00%


static inline void bsg_unregister_queue(struct request_queue *q) { }

Contributors

PersonTokensPropCommitsCommitProp
james bottomleyjames bottomley763.64%125.00%
jens axboejens axboe218.18%125.00%
fujita tomonorifujita tomonori218.18%250.00%
Total11100.00%4100.00%

#endif #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
fujita tomonorifujita tomonori6141.78%333.33%
jens axboejens axboe5235.62%111.11%
james bottomleyjames bottomley2919.86%222.22%
douglas gilbertdouglas gilbert21.37%111.11%
david howellsdavid howells10.68%111.11%
tony jonestony jones10.68%111.11%
Total146100.00%9100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}