|
int | do_truncate (struct dentry *dentry, loff_t length, unsigned int time_attrs, struct file *filp) |
|
| SYSCALL_DEFINE2 (truncate, const char __user *, path, long, length) |
|
| SYSCALL_DEFINE2 (ftruncate, unsigned int, fd, unsigned long, length) |
|
int | do_fallocate (struct file *file, int mode, loff_t offset, loff_t len) |
|
SYSCALL_DEFINE() | fallocate (int fd, int mode, loff_t offset, loff_t len) |
|
| SYSCALL_DEFINE3 (faccessat, int, dfd, const char __user *, filename, int, mode) |
|
| SYSCALL_DEFINE2 (access, const char __user *, filename, int, mode) |
|
| SYSCALL_DEFINE1 (chdir, const char __user *, filename) |
|
| SYSCALL_DEFINE1 (fchdir, unsigned int, fd) |
|
| SYSCALL_DEFINE1 (chroot, const char __user *, filename) |
|
| SYSCALL_DEFINE2 (fchmod, unsigned int, fd, umode_t, mode) |
|
| SYSCALL_DEFINE3 (fchmodat, int, dfd, const char __user *, filename, umode_t, mode) |
|
| SYSCALL_DEFINE2 (chmod, const char __user *, filename, umode_t, mode) |
|
| SYSCALL_DEFINE5 (fchownat, int, dfd, const char __user *, filename, uid_t, user, gid_t, group, int, flag) |
|
| SYSCALL_DEFINE3 (chown, const char __user *, filename, uid_t, user, gid_t, group) |
|
| SYSCALL_DEFINE3 (lchown, const char __user *, filename, uid_t, user, gid_t, group) |
|
| SYSCALL_DEFINE3 (fchown, unsigned int, fd, uid_t, user, gid_t, group) |
|
int | open_check_o_direct (struct file *f) |
|
int | finish_open (struct file *file, struct dentry *dentry, int(*open)(struct inode *, struct file *), int *opened) |
|
| EXPORT_SYMBOL (finish_open) |
|
int | finish_no_open (struct file *file, struct dentry *dentry) |
|
| EXPORT_SYMBOL (finish_no_open) |
|
struct file * | dentry_open (const struct path *path, int flags, const struct cred *cred) |
|
| EXPORT_SYMBOL (dentry_open) |
|
|
file_open_name - open file and return file pointer
: open flags as per the open(2) second argument : mode for the new file if O_CREAT is set, else ignored
This is the helper to open a file from kernelspace if you really have to. But in generally you should not do this, so please move along, nothing to see here..
|
struct file * | file_open_name (struct filename *name, int flags, umode_t mode) |
|
struct file * | filp_open (const char *filename, int flags, umode_t mode) |
|
| EXPORT_SYMBOL (filp_open) |
|
struct file * | file_open_root (struct dentry *dentry, struct vfsmount *mnt, const char *filename, int flags) |
|
| EXPORT_SYMBOL (file_open_root) |
|
long | do_sys_open (int dfd, const char __user *filename, int flags, umode_t mode) |
|
| SYSCALL_DEFINE3 (open, const char __user *, filename, int, flags, umode_t, mode) |
|
| SYSCALL_DEFINE4 (openat, int, dfd, const char __user *, filename, int, flags, umode_t, mode) |
|
| SYSCALL_DEFINE2 (creat, const char __user *, pathname, umode_t, mode) |
|
int | filp_close (struct file *filp, fl_owner_t id) |
|
| EXPORT_SYMBOL (filp_close) |
|
| SYSCALL_DEFINE1 (close, unsigned int, fd) |
|
| EXPORT_SYMBOL (sys_close) |
|
| SYSCALL_DEFINE0 (vhangup) |
|
int | generic_file_open (struct inode *inode, struct file *filp) |
|
| EXPORT_SYMBOL (generic_file_open) |
|
int | nonseekable_open (struct inode *inode, struct file *filp) |
|
| EXPORT_SYMBOL (nonseekable_open) |
|
filp_open - open file and return file pointer
: path to open : open flags as per the open(2) second argument : mode for the new file if O_CREAT is set, else ignored
This is the helper to open a file from kernelspace if you really have to. But in generally you should not do this, so please move along, nothing to see here..
Definition at line 890 of file open.c.