cregit-Linux how code gets into the kernel

Release 4.14 net/atm/resources.h

Directory: net/atm
/* SPDX-License-Identifier: GPL-2.0 */
/* net/atm/resources.h - ATM-related resources */

/* Written 1995-1998 by Werner Almesberger, EPFL LRC/ICA */


#ifndef NET_ATM_RESOURCES_H

#define NET_ATM_RESOURCES_H

#include <linux/atmdev.h>
#include <linux/mutex.h>


extern struct list_head atm_devs;
extern struct mutex atm_dev_mutex;

int atm_dev_ioctl(unsigned int cmd, void __user *arg, int compat);


#ifdef CONFIG_PROC_FS

#include <linux/proc_fs.h>

void *atm_dev_seq_start(struct seq_file *seq, loff_t *pos);
void atm_dev_seq_stop(struct seq_file *seq, void *v);
void *atm_dev_seq_next(struct seq_file *seq, void *v, loff_t *pos);


int atm_proc_dev_register(struct atm_dev *dev);
void atm_proc_dev_deregister(struct atm_dev *dev);

#else


static inline int atm_proc_dev_register(struct atm_dev *dev) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Chas Williams15100.00%1100.00%
Total15100.00%1100.00%


static inline void atm_proc_dev_deregister(struct atm_dev *dev) { /* nothing */ }

Contributors

PersonTokensPropCommitsCommitProp
Chas Williams13100.00%1100.00%
Total13100.00%1100.00%

#endif /* CONFIG_PROC_FS */ int atm_register_sysfs(struct atm_dev *adev, struct device *parent); void atm_unregister_sysfs(struct atm_dev *adev); #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Chas Williams8751.79%433.33%
Linus Torvalds (pre-git)4526.79%18.33%
Roman Kagan1810.71%18.33%
Dan J Williams52.98%18.33%
Ingo Molnar42.38%18.33%
David Woodhouse31.79%18.33%
Al Viro31.79%18.33%
Stanislaw W. Gruszka21.19%18.33%
Greg Kroah-Hartman10.60%18.33%
Total168100.00%12100.00%
Directory: net/atm
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.