cregit-Linux how code gets into the kernel

Release 4.16 include/linux/bsg.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
#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%
FUJITA Tomonori218.18%250.00%
Jens Axboe218.18%125.00%
Total11100.00%4100.00%

#endif #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
FUJITA Tomonori6141.50%330.00%
Jens Axboe5235.37%110.00%
James Bottomley2919.73%220.00%
Douglas Gilbert21.36%110.00%
Greg Kroah-Hartman10.68%110.00%
David Howells10.68%110.00%
Tony Jones10.68%110.00%
Total147100.00%10100.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.