/fs/ocfs2/ |
H A D | locks.h | 6 * Function prototypes for Userspace file locking support 29 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl); 30 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl);
|
H A D | mmap.h | 4 int ocfs2_mmap(struct file *file, struct vm_area_struct *vma);
|
H A D | ioctl.h | 13 long ocfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); 14 long ocfs2_compat_ioctl(struct file *file, unsigned cmd, unsigned long arg);
|
H A D | move_extents.h | 20 int ocfs2_ioctl_move_extents(struct file *filp, void __user *argp);
|
H A D | locks.c | 6 * Userspace file locking support 34 #include "file.h" 38 static int ocfs2_do_flock(struct file *file, struct inode *inode, argument 42 struct ocfs2_file_private *fp = file->private_data; 69 flock_lock_file_wait(file, 72 ocfs2_file_unlock(file); 75 ret = ocfs2_file_lock(file, level, trylock); 84 ret = flock_lock_file_wait(file, fl); 92 static int ocfs2_do_funlock(struct file *fil argument 108 ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) argument 128 ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) argument [all...] |
/fs/ramfs/ |
H A D | Makefile | 7 file-mmu-y := file-nommu.o 8 file-mmu-$(CONFIG_MMU) := file-mmu.o 9 ramfs-objs += inode.o $(file-mmu-y)
|
/fs/ |
H A D | file_table.c | 10 #include <linux/file.h> 40 /* SLAB cache for file structures */ 47 struct file *f = container_of(head, struct file, f_u.fu_rcuhead); 53 static inline void file_free(struct file *f) 95 /* Find an unused file structure and return a pointer to it. 96 * Returns NULL, if there are no more free file structures or 105 struct file *get_empty_filp(void) 109 struct file * f; 143 pr_info("VFS: file 172 struct file *file; local 207 drop_file_write_access(struct file *file) argument 226 __fput(struct file *file) argument 268 fput(struct file *file) argument 278 struct file *file; local 298 struct file *file; local 333 struct file *file; local 360 struct file *file; local 382 put_filp(struct file *file) argument 391 file_list_cpu(struct file *file) argument 401 __file_sb_list_add(struct file *file, struct super_block *sb) argument 423 file_sb_list_add(struct file *file, struct super_block *sb) argument 437 file_sb_list_del(struct file *file) argument [all...] |
H A D | read_write.c | 10 #include <linux/file.h> 33 static inline int unsigned_offsets(struct file *file) argument 35 return file->f_mode & FMODE_UNSIGNED_OFFSET; 38 static loff_t lseek_execute(struct file *file, struct inode *inode, argument 41 if (offset < 0 && !unsigned_offsets(file)) 46 if (offset != file->f_pos) { 47 file->f_pos = offset; 48 file 69 generic_file_llseek_size(struct file *file, loff_t offset, int origin, loff_t maxsize) argument 130 generic_file_llseek(struct file *file, loff_t offset, int origin) argument 150 noop_llseek(struct file *file, loff_t offset, int origin) argument 156 no_llseek(struct file *file, loff_t offset, int origin) argument 162 default_llseek(struct file *file, loff_t offset, int origin) argument 217 vfs_llseek(struct file *file, loff_t offset, int origin) argument 233 struct file * file; local 259 struct file * file; local 294 rw_verify_area(int read_write, struct file *file, loff_t *ppos, size_t count) argument 364 vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos) argument 420 vfs_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) argument 450 file_pos_read(struct file *file) argument 455 file_pos_write(struct file *file, loff_t pos) argument 462 struct file *file; local 480 struct file *file; local 498 struct file *file; local 527 struct file *file; local 709 do_readv_writev(int type, struct file *file, const struct iovec __user * uvector, unsigned long nr_segs, loff_t *pos) argument 762 vfs_readv(struct file *file, const struct iovec __user *vec, unsigned long vlen, loff_t *pos) argument 775 vfs_writev(struct file *file, const struct iovec __user *vec, unsigned long vlen, loff_t *pos) argument 791 struct file *file; local 812 struct file *file; local 840 struct file *file; local 865 struct file *file; local [all...] |
H A D | binfmt_em86.c | 18 #include <linux/file.h> 28 struct file * file; local 41 (!bprm->file->f_op || !bprm->file->f_op->mmap)) { 46 allow_write_access(bprm->file); 47 fput(bprm->file); 48 bprm->file = NULL; 60 * (3) filename of emulated file (replace argv[0]) 83 file [all...] |
H A D | read_write.h | 2 * This file is only for sharing some helpers from read_write.c with compat.c. 7 typedef ssize_t (*io_fn_t)(struct file *, char __user *, size_t, loff_t *); 11 ssize_t do_sync_readv_writev(struct file *filp, const struct iovec *iov, 13 ssize_t do_loop_readv_writev(struct file *filp, struct iovec *iov,
|
H A D | eventfd.c | 8 #include <linux/file.h> 110 static int eventfd_release(struct inode *inode, struct file *file) argument 112 struct eventfd_ctx *ctx = file->private_data; 119 static unsigned int eventfd_poll(struct file *file, poll_table *wait) argument 121 struct eventfd_ctx *ctx = file->private_data; 125 poll_wait(file, &ctx->wqh, wait); 228 static ssize_t eventfd_read(struct file *file, cha argument 244 eventfd_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 311 struct file *file; local 336 struct file *file; local 358 eventfd_ctx_fileget(struct file *file) argument 383 struct file *file; local 413 struct file *file; local [all...] |
H A D | sync.c | 6 #include <linux/file.h> 136 struct file *file; local 141 file = fget_light(fd, &fput_needed); 142 if (!file) 144 sb = file->f_dentry->d_sb; 150 fput_light(file, fput_needed); 156 * @file: file to sync 161 * Write back data in range @start..@end and metadata for @file t 165 vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) argument 181 vfs_fsync(struct file *file, int datasync) argument 189 struct file *file; local 218 generic_write_sync(struct file *file, loff_t pos, loff_t count) argument 278 struct file *file; local [all...] |
/fs/debugfs/ |
H A D | Makefile | 1 debugfs-objs := inode.o file.o
|
/fs/jffs2/ |
H A D | ioctl.c | 9 * For licensing information, see the file 'LICENCE' in this directory. 16 long jffs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
|
/fs/lockd/ |
H A D | svcsubs.c | 28 * Global file hash table 46 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) argument 48 struct inode *inode = file->f_file->f_path.dentry->d_inode; 59 static inline void nlm_debug_print_file(char *msg, struct nlm_file *file) argument 75 * Lookup file info. If it doesn't exist, create a file info struct 76 * and open a (VFS) file for the given inode. 79 * Note that we open the file O_RDONLY even when creating write locks. 88 struct nlm_file *file; local 96 /* Lock file tabl 147 nlm_delete_file(struct nlm_file *file) argument 164 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) argument 212 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) argument 224 nlm_file_inuse(struct nlm_file *file) argument 248 nlm_traverse_files(void *data, nlm_host_match_fn_t match, int (*is_failover_file)(void *data, struct nlm_file *file)) argument 252 struct nlm_file *file; local 293 nlm_release_file(struct nlm_file *file) argument 402 nlmsvc_match_sb(void *datap, struct nlm_file *file) argument [all...] |
/fs/xfs/ |
H A D | xfs_ioctl.h | 25 struct file *filp, 37 struct file *parfilp, 42 struct file *parfilp, 69 struct file *parfilp, 75 struct file *filp, 81 struct file *file,
|
/fs/ecryptfs/ |
H A D | file.c | 26 #include <linux/file.h> 43 * returns without any errors. This is to be used only for file reads. 53 struct file *file = iocb->ki_filp; local 63 lower_dentry = ecryptfs_dentry_to_lower(file->f_path.dentry); 64 lower_vfsmount = ecryptfs_dentry_to_lower_mnt(file->f_path.dentry); 109 * @file: The eCryptfs directory file 113 static int ecryptfs_readdir(struct file *file, voi argument 152 ecryptfs_file_mmap(struct file *file, struct vm_area_struct *vma) argument 174 ecryptfs_open(struct inode *inode, struct file *file) argument 279 ecryptfs_flush(struct file *file, fl_owner_t td) argument 285 ecryptfs_release(struct inode *inode, struct file *file) argument 294 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) argument 307 ecryptfs_fasync(int fd, struct file *file, int flag) argument 319 ecryptfs_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 333 ecryptfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/fs/proc/ |
H A D | kmsg.c | 22 static int kmsg_open(struct inode * inode, struct file * file) argument 27 static int kmsg_release(struct inode * inode, struct file * file) argument 33 static ssize_t kmsg_read(struct file *file, char __user *buf, argument 36 if ((file->f_flags & O_NONBLOCK) && 42 static unsigned int kmsg_poll(struct file *file, poll_table *wait) argument 44 poll_wait(file, [all...] |
H A D | cpuinfo.c | 7 static int cpuinfo_open(struct inode *inode, struct file *file) argument 9 return seq_open(file, &cpuinfo_op);
|
/fs/sysfs/ |
H A D | bin.c | 2 * fs/sysfs/bin.c - sysfs binary file implementation 10 * This file is released under the GPLv2. 31 * There's one bin_buffer for each open file. 44 struct file *file; member in struct:bin_buffer 49 fill_read(struct file *file, char *buffer, loff_t off, size_t count) argument 51 struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata; 62 rc = attr->read(file, kobj, attr, buffer, off, count); 70 read(struct file *fil argument 119 flush_write(struct file *file, char *buffer, loff_t offset, size_t count) argument 139 write(struct file *file, const char __user *userbuf, size_t bytes, loff_t *off) argument 178 struct file *file = vma->vm_file; local 196 struct file *file = vma->vm_file; local 217 struct file *file = vma->vm_file; local 239 struct file *file = vma->vm_file; local 261 struct file *file = vma->vm_file; local 283 struct file *file = vma->vm_file; local 305 struct file *file = vma->vm_file; local 337 mmap(struct file *file, struct vm_area_struct *vma) argument 392 open(struct inode * inode, struct file * file) argument 436 release(struct inode * inode, struct file * file) argument [all...] |
/fs/bfs/ |
H A D | Makefile | 7 bfs-objs := inode.o file.o dir.o
|
/fs/nfsd/ |
H A D | fault_inject.c | 16 char *file; member in struct:nfsd_fault_inject_op 22 .file = "forget_clients", 26 .file = "forget_locks", 30 .file = "forget_openowners", 34 .file = "forget_delegations", 38 .file = "recall_delegations", 51 printk(KERN_INFO "NFSD Fault Injection: %s (all)", op->file); 53 printk(KERN_INFO "NFSD Fault Injection: %s (n = %llu)", op->file, val); 83 if (!debugfs_create_file(op->file, mode, debug_dir, op, &fops_nfsd))
|
/fs/omfs/ |
H A D | Makefile | 4 omfs-y := bitmap.o dir.o file.o inode.o
|
/fs/coda/ |
H A D | coda_int.h | 5 struct file; 14 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
|
/fs/exofs/ |
H A D | file.c | 16 * This file is part of exofs. 35 static int exofs_release_file(struct inode *inode, struct file *filp) 45 static int exofs_file_fsync(struct file *filp, loff_t start, loff_t end, 61 static int exofs_flush(struct file *file, fl_owner_t id) argument 63 int ret = vfs_fsync(file, 0);
|