#include <linux/syscalls.h>
#include <linux/export.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/mmzone.h>
#include <linux/time.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/file.h>
#include <linux/fdtable.h>
#include <linux/bitops.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/rcupdate.h>
#include <linux/workqueue.h>
Go to the source code of this file.
|
struct files_struct * | dup_fd (struct files_struct *oldf, int *errorp) |
|
struct files_struct * | get_files_struct (struct task_struct *task) |
|
void | put_files_struct (struct files_struct *files) |
|
void | reset_files_struct (struct files_struct *files) |
|
void | exit_files (struct task_struct *tsk) |
|
void __init | files_defer_init (void) |
|
void | daemonize_descriptors (void) |
|
int | __alloc_fd (struct files_struct *files, unsigned start, unsigned end, unsigned flags) |
|
int | get_unused_fd_flags (unsigned flags) |
|
| EXPORT_SYMBOL (get_unused_fd_flags) |
|
void | put_unused_fd (unsigned int fd) |
|
| EXPORT_SYMBOL (put_unused_fd) |
|
void | __fd_install (struct files_struct *files, unsigned int fd, struct file *file) |
|
void | fd_install (unsigned int fd, struct file *file) |
|
| EXPORT_SYMBOL (fd_install) |
|
int | __close_fd (struct files_struct *files, unsigned fd) |
|
void | do_close_on_exec (struct files_struct *files) |
|
struct file * | fget (unsigned int fd) |
|
| EXPORT_SYMBOL (fget) |
|
struct file * | fget_raw (unsigned int fd) |
|
| EXPORT_SYMBOL (fget_raw) |
|
struct file * | fget_light (unsigned int fd, int *fput_needed) |
|
| EXPORT_SYMBOL (fget_light) |
|
struct file * | fget_raw_light (unsigned int fd, int *fput_needed) |
|
void | set_close_on_exec (unsigned int fd, int flag) |
|
bool | get_close_on_exec (unsigned int fd) |
|
int | replace_fd (unsigned fd, struct file *file, unsigned flags) |
|
| SYSCALL_DEFINE3 (dup3, unsigned int, oldfd, unsigned int, newfd, int, flags) |
|
| SYSCALL_DEFINE2 (dup2, unsigned int, oldfd, unsigned int, newfd) |
|
| SYSCALL_DEFINE1 (dup, unsigned int, fildes) |
|
int | f_dupfd (unsigned int from, struct file *file, unsigned flags) |
|
int | iterate_fd (struct files_struct *files, unsigned n, int(*f)(const void *, struct file *, unsigned), const void *p) |
|
| EXPORT_SYMBOL (iterate_fd) |
|
bool get_close_on_exec |
( |
unsigned int |
fd | ) |
|
int get_unused_fd_flags |
( |
unsigned |
flags | ) |
|
void put_unused_fd |
( |
unsigned int |
fd | ) |
|
int replace_fd |
( |
unsigned |
fd, |
|
|
struct file * |
file, |
|
|
unsigned |
flags |
|
) |
| |
void set_close_on_exec |
( |
unsigned int |
fd, |
|
|
int |
flag |
|
) |
| |
SYSCALL_DEFINE1 |
( |
dup |
, |
|
|
unsigned |
int, |
|
|
fildes |
|
|
) |
| |
SYSCALL_DEFINE2 |
( |
dup2 |
, |
|
|
unsigned |
int, |
|
|
oldfd |
, |
|
|
unsigned |
int, |
|
|
newfd |
|
|
) |
| |
SYSCALL_DEFINE3 |
( |
dup3 |
, |
|
|
unsigned |
int, |
|
|
oldfd |
, |
|
|
unsigned |
int, |
|
|
newfd |
, |
|
|
int |
, |
|
|
flags |
|
|
) |
| |
Initial value:
Definition at line 510 of file file.c.
int sysctl_nr_open_max = 1024 * 1024 |