/fs/ |
D | locks.c | 285 static int flock_make_lock(struct file *filp, struct file_lock **lock, in flock_make_lock() 324 static int flock_to_posix_lock(struct file *filp, struct file_lock *fl, in flock_to_posix_lock() 374 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock() 434 static int lease_init(struct file *filp, long type, struct file_lock *fl) in lease_init() 452 static struct file_lock *lease_alloc(struct file *filp, long type) in lease_alloc() 625 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock() 707 static int flock_lock_file(struct file *filp, struct file_lock *request) in flock_lock_file() 1002 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file() 1018 int posix_lock_file_wait(struct file *filp, struct file_lock *fl) in posix_lock_file_wait() 1077 struct file *filp, loff_t offset, in locks_mandatory_area() [all …]
|
D | fcntl.c | 31 static int setfl(int fd, struct file * filp, unsigned long arg) in setfl() 83 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown() 101 int __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown() 115 int f_setown(struct file *filp, unsigned long arg, int force) in f_setown() 134 void f_delown(struct file *filp) in f_delown() 139 pid_t f_getown(struct file *filp) in f_getown() 150 static int f_setown_ex(struct file *filp, unsigned long arg) in f_setown_ex() 190 static int f_getown_ex(struct file *filp, unsigned long arg) in f_getown_ex() 227 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids() 245 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids() [all …]
|
D | ioctl.c | 35 static long vfs_ioctl(struct file *filp, unsigned int cmd, in vfs_ioctl() 50 static int ioctl_fibmap(struct file *filp, int __user *p) in ioctl_fibmap() 173 static int ioctl_fiemap(struct file *filp, unsigned long arg) in ioctl_fiemap() 425 int ioctl_preallocate(struct file *filp, void __user *argp) in ioctl_preallocate() 449 static int file_ioctl(struct file *filp, unsigned int cmd, in file_ioctl() 468 static int ioctl_fionbio(struct file *filp, int __user *argp) in ioctl_fionbio() 491 static int ioctl_fioasync(unsigned int fd, struct file *filp, in ioctl_fioasync() 513 static int ioctl_fsfreeze(struct file *filp) in ioctl_fsfreeze() 528 static int ioctl_fsthaw(struct file *filp) in ioctl_fsthaw() 546 int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd, in do_vfs_ioctl()
|
D | bad_inode.c | 24 static ssize_t bad_file_read(struct file *filp, char __user *buf, in bad_file_read() 30 static ssize_t bad_file_write(struct file *filp, const char __user *buf, in bad_file_write() 48 static int bad_file_readdir(struct file *filp, void *dirent, filldir_t filldir) in bad_file_readdir() 53 static unsigned int bad_file_poll(struct file *filp, poll_table *wait) in bad_file_poll() 75 static int bad_file_open(struct inode *inode, struct file *filp) in bad_file_open() 85 static int bad_file_release(struct inode *inode, struct file *filp) in bad_file_release() 101 static int bad_file_fasync(int fd, struct file *filp, int on) in bad_file_fasync() 129 static int bad_file_flock(struct file *filp, int cmd, struct file_lock *fl) in bad_file_flock()
|
D | pipe.c | 380 struct file *filp = iocb->ki_filp; in pipe_read() local 507 struct file *filp = iocb->ki_filp; in pipe_write() local 686 static long pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in pipe_ioctl() 711 pipe_poll(struct file *filp, poll_table *wait) in pipe_poll() 773 pipe_fasync(int fd, struct file *filp, int on) in pipe_fasync() 1025 static int fifo_open(struct inode *inode, struct file *filp) in fifo_open()
|
/fs/9p/ |
D | vfs_file.c | 129 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock() 148 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_do_lock() 237 static int v9fs_file_getlock(struct file *filp, struct file_lock *fl) in v9fs_file_getlock() 299 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl() 334 static int v9fs_file_flock_dotl(struct file *filp, int cmd, in v9fs_file_flock_dotl() 420 v9fs_file_readn(struct file *filp, char *data, char __user *udata, u32 count, in v9fs_file_readn() 436 v9fs_file_read(struct file *filp, char __user *udata, size_t count, in v9fs_file_read() 510 v9fs_file_write(struct file *filp, const char __user * data, in v9fs_file_write() 539 static int v9fs_file_fsync(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync() 563 int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync_dotl() [all …]
|
D | vfs_dir.c | 95 static struct p9_rdir *v9fs_alloc_rdir_buf(struct file *filp, int buflen) in v9fs_alloc_rdir_buf() 111 static int v9fs_dir_readdir(struct file *filp, void *dirent, filldir_t filldir) in v9fs_dir_readdir() 172 static int v9fs_dir_readdir_dotl(struct file *filp, void *dirent, in v9fs_dir_readdir_dotl() 242 int v9fs_dir_release(struct inode *inode, struct file *filp) in v9fs_dir_release()
|
D | vfs_addr.c | 98 static int v9fs_vfs_readpage(struct file *filp, struct page *page) in v9fs_vfs_readpage() 113 static int v9fs_vfs_readpages(struct file *filp, struct address_space *mapping, in v9fs_vfs_readpages() 275 static int v9fs_write_begin(struct file *filp, struct address_space *mapping, in v9fs_write_begin() 308 static int v9fs_write_end(struct file *filp, struct address_space *mapping, in v9fs_write_end()
|
/fs/ext3/ |
D | dir.c | 94 static int ext3_readdir(struct file * filp, in ext3_readdir() 247 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() 256 static inline __u32 pos2maj_hash(struct file *filp, loff_t pos) in pos2maj_hash() 265 static inline __u32 pos2min_hash(struct file *filp, loff_t pos) in pos2min_hash() 277 static inline loff_t ext3_get_htree_eof(struct file *filp) in ext3_get_htree_eof() 371 static struct dir_private_info *ext3_htree_create_dir_info(struct file *filp, in ext3_htree_create_dir_info() 455 static int call_filldir(struct file * filp, void * dirent, in call_filldir() 486 static int ext3_dx_readdir(struct file * filp, in ext3_dx_readdir() 574 static int ext3_release_dir (struct inode * inode, struct file * filp) in ext3_release_dir()
|
/fs/nfs/ |
D | file.c | 62 nfs_file_open(struct inode *inode, struct file *filp) in nfs_file_open() 80 nfs_file_release(struct inode *inode, struct file *filp) in nfs_file_release() 102 static int nfs_revalidate_file_size(struct inode *inode, struct file *filp) in nfs_revalidate_file_size() 122 loff_t nfs_file_llseek(struct file *filp, loff_t offset, int whence) in nfs_file_llseek() 200 nfs_file_splice_read(struct file *filp, loff_t *ppos, in nfs_file_splice_read() 560 struct file *filp = vma->vm_file; in nfs_vm_page_mkwrite() local 603 static int nfs_need_sync_write(struct file *filp, struct inode *inode) in nfs_need_sync_write() 669 struct file *filp, loff_t *ppos, in nfs_file_splice_write() 701 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk() 746 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk() [all …]
|
/fs/ext4/ |
D | dir.c | 64 struct inode *dir, struct file *filp, in __ext4_check_dir_entry() 297 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() 306 static inline __u32 pos2maj_hash(struct file *filp, loff_t pos) in pos2maj_hash() 315 static inline __u32 pos2min_hash(struct file *filp, loff_t pos) in pos2min_hash() 327 static inline loff_t ext4_get_htree_eof(struct file *filp) in ext4_get_htree_eof() 395 static struct dir_private_info *ext4_htree_create_dir_info(struct file *filp, in ext4_htree_create_dir_info() 598 static int ext4_dir_open(struct inode * inode, struct file * filp) in ext4_dir_open() 605 static int ext4_release_dir(struct inode *inode, struct file *filp) in ext4_release_dir()
|
/fs/nilfs2/ |
D | ioctl.c | 109 static int nilfs_ioctl_setflags(struct inode *inode, struct file *filp, in nilfs_ioctl_setflags() 166 static int nilfs_ioctl_change_cpmode(struct inode *inode, struct file *filp, in nilfs_ioctl_change_cpmode() 202 nilfs_ioctl_delete_checkpoint(struct inode *inode, struct file *filp, in nilfs_ioctl_delete_checkpoint() 245 static int nilfs_ioctl_get_cpstat(struct inode *inode, struct file *filp, in nilfs_ioctl_get_cpstat() 276 static int nilfs_ioctl_get_sustat(struct inode *inode, struct file *filp, in nilfs_ioctl_get_sustat() 332 static int nilfs_ioctl_get_bdescs(struct inode *inode, struct file *filp, in nilfs_ioctl_get_bdescs() 574 static int nilfs_ioctl_clean_segments(struct inode *inode, struct file *filp, in nilfs_ioctl_clean_segments() 685 static int nilfs_ioctl_sync(struct inode *inode, struct file *filp, in nilfs_ioctl_sync() 713 static int nilfs_ioctl_resize(struct inode *inode, struct file *filp, in nilfs_ioctl_resize() 770 static int nilfs_ioctl_get_info(struct inode *inode, struct file *filp, in nilfs_ioctl_get_info() [all …]
|
/fs/jffs2/ |
D | file.c | 32 int jffs2_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in jffs2_fsync() 123 static int jffs2_readpage (struct file *filp, struct page *pg) in jffs2_readpage() 134 static int jffs2_write_begin(struct file *filp, struct address_space *mapping, in jffs2_write_begin() 241 static int jffs2_write_end(struct file *filp, struct address_space *mapping, in jffs2_write_end()
|
/fs/hpfs/ |
D | dir.c | 12 static int hpfs_dir_release(struct inode *inode, struct file *filp) in hpfs_dir_release() 23 static loff_t hpfs_dir_lseek(struct file *filp, loff_t off, int whence) in hpfs_dir_lseek() 60 static int hpfs_readdir(struct file *filp, void *dirent, filldir_t filldir) in hpfs_readdir()
|
/fs/exofs/ |
D | file.c | 35 static int exofs_release_file(struct inode *inode, struct file *filp) in exofs_release_file() 45 static int exofs_file_fsync(struct file *filp, loff_t start, loff_t end, in exofs_file_fsync()
|
/fs/nfsd/ |
D | lockd.c | 27 nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp) in nlm_fopen() 56 nlm_fclose(struct file *filp) in nlm_fclose()
|
/fs/reiserfs/ |
D | ioctl.c | 22 long reiserfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in reiserfs_ioctl() 167 int reiserfs_unpack(struct inode *inode, struct file *filp) in reiserfs_unpack()
|
D | file.c | 32 static int reiserfs_file_release(struct inode *inode, struct file *filp) in reiserfs_file_release() 143 static int reiserfs_sync_file(struct file *filp, loff_t start, loff_t end, in reiserfs_sync_file()
|
/fs/fat/ |
D | file.c | 117 long fat_generic_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in fat_generic_ioctl() 133 static long fat_generic_compat_ioctl(struct file *filp, unsigned int cmd, in fat_generic_compat_ioctl() 141 static int fat_file_release(struct inode *inode, struct file *filp) in fat_file_release() 151 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync()
|
/fs/jfs/ |
D | ioctl.c | 59 long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_ioctl() 170 long jfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_compat_ioctl()
|
/fs/notify/dnotify/ |
D | dnotify.c | 169 void dnotify_flush(struct file *filp, fl_owner_t id) in dnotify_flush() 241 fl_owner_t id, int fd, struct file *filp, __u32 mask) in attach_dn() 271 int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) in fcntl_dirnotify()
|
/fs/udf/ |
D | dir.c | 38 static int do_udf_readdir(struct inode *dir, struct file *filp, in do_udf_readdir() 190 static int udf_readdir(struct file *filp, void *dirent, filldir_t filldir) in udf_readdir()
|
/fs/ntfs/ |
D | dir.c | 1100 static int ntfs_readdir(struct file *filp, void *dirent, filldir_t filldir) in ntfs_readdir() 1494 static int ntfs_dir_open(struct inode *vi, struct file *filp) in ntfs_dir_open() 1530 static int ntfs_dir_fsync(struct file *filp, loff_t start, loff_t end, in ntfs_dir_fsync()
|
/fs/isofs/ |
D | dir.c | 81 static int do_isofs_readdir(struct inode *inode, struct file *filp, in do_isofs_readdir() 250 static int isofs_readdir(struct file *filp, in isofs_readdir()
|
/fs/proc/ |
D | fd.c | 222 static int proc_readfd_common(struct file * filp, void * dirent, in proc_readfd_common() 282 static int proc_readfd(struct file *filp, void *dirent, filldir_t filldir) in proc_readfd() 362 static int proc_readfdinfo(struct file *filp, void *dirent, filldir_t filldir) in proc_readfdinfo()
|