cregit-Linux how code gets into the kernel

Release 4.12 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 Bottomley1850.00%240.00%
FUJITA Tomonori1644.44%240.00%
Jens Axboe25.56%120.00%
Total36100.00%5100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
James Bottomley763.64%125.00%
Jens Axboe218.18%125.00%
FUJITA Tomonori218.18%250.00%
Total11100.00%4100.00%

#endif #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
FUJITA Tomonori6141.78%333.33%
Jens Axboe5235.62%111.11%
James Bottomley2919.86%222.22%
Douglas Gilbert21.37%111.11%
Tony Jones10.68%111.11%
David Howells10.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.
Created with cregit.