cregit-Linux how code gets into the kernel

Release 4.7 include/linux/aio.h

Directory: include/linux
#ifndef __LINUX__AIO_H

#define __LINUX__AIO_H

#include <linux/aio_abi.h>

struct kioctx;
struct kiocb;
struct mm_struct;


#define KIOCB_KEY		0


typedef int (kiocb_cancel_fn)(struct kiocb *);

/* prototypes */
#ifdef CONFIG_AIO
extern void exit_aio(struct mm_struct *mm);
extern long do_io_submit(aio_context_t ctx_id, long nr,
			 struct iocb __user *__user *iocbpp, bool compat);
void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel);
#else

static inline void exit_aio(struct mm_struct *mm) { }

Contributors

PersonTokensPropCommitsCommitProp
thomas petazzonithomas petazzoni11100.00%1100.00%
Total11100.00%1100.00%


static inline long do_io_submit(aio_context_t ctx_id, long nr, struct iocb __user * __user *iocbpp, bool compat) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
jeff moyerjeff moyer27100.00%1100.00%
Total27100.00%1100.00%


static inline void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel) { }

Contributors

PersonTokensPropCommitsCommitProp
kent overstreetkent overstreet15100.00%1100.00%
Total15100.00%1100.00%

#endif /* CONFIG_AIO */ /* for sysctl: */ extern unsigned long aio_nr; extern unsigned long aio_max_nr; #endif /* __LINUX__AIO_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
jeff moyerjeff moyer4931.82%19.09%
kent overstreetkent overstreet4227.27%218.18%
benjamin lahaisebenjamin lahaise2818.18%218.18%
thomas petazzonithomas petazzoni1912.34%19.09%
harvey harrisonharvey harrison53.25%19.09%
andrew mortonandrew morton53.25%218.18%
zach brownzach brown31.95%19.09%
christoph hellwigchristoph hellwig31.95%19.09%
Total154100.00%11100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}