Home
last modified time | relevance | path

Searched defs:filp (Results 1 – 25 of 134) sorted by relevance

123456

/fs/
Dlocks.c289 static int flock_make_lock(struct file *filp, struct file_lock **lock, in flock_make_lock()
328 static int flock_to_posix_lock(struct file *filp, struct file_lock *fl, in flock_to_posix_lock()
378 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock()
448 static int lease_init(struct file *filp, long type, struct file_lock *fl) in lease_init()
466 static struct file_lock *lease_alloc(struct file *filp, long type) in lease_alloc()
645 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
727 static int flock_lock_file(struct file *filp, struct file_lock *request) in flock_lock_file()
1022 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
1038 int posix_lock_file_wait(struct file *filp, struct file_lock *fl) in posix_lock_file_wait()
1097 struct file *filp, loff_t offset, in locks_mandatory_area()
[all …]
Dioctl.c35 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()
[all …]
Dfcntl.c148 static int setfl(int fd, struct file * filp, unsigned long arg) in setfl()
200 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown()
218 int __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown()
232 int f_setown(struct file *filp, unsigned long arg, int force) in f_setown()
251 void f_delown(struct file *filp) in f_delown()
256 pid_t f_getown(struct file *filp) in f_getown()
267 static int f_setown_ex(struct file *filp, unsigned long arg) in f_setown_ex()
307 static int f_getown_ex(struct file *filp, unsigned long arg) in f_getown_ex()
344 struct file *filp) in do_fcntl()
444 struct file *filp; in SYSCALL_DEFINE3() local
[all …]
Dpipe.c367 struct file *filp = iocb->ki_filp; in pipe_read() local
496 struct file *filp = iocb->ki_filp; in pipe_write() local
678 bad_pipe_r(struct file *filp, char __user *buf, size_t count, loff_t *ppos) in bad_pipe_r()
684 bad_pipe_w(struct file *filp, const char __user *buf, size_t count, in bad_pipe_w()
690 static long pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in pipe_ioctl()
717 pipe_poll(struct file *filp, poll_table *wait) in pipe_poll()
771 pipe_read_fasync(int fd, struct file *filp, int on) in pipe_read_fasync()
785 pipe_write_fasync(int fd, struct file *filp, int on) in pipe_write_fasync()
799 pipe_rdwr_fasync(int fd, struct file *filp, int on) in pipe_rdwr_fasync()
818 pipe_read_release(struct inode *inode, struct file *filp) in pipe_read_release()
[all …]
Dbad_inode.c24 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()
Dno-block.c15 static int no_blkdev_open(struct inode * inode, struct file * filp) in no_blkdev_open()
/fs/9p/
Dvfs_file.c133 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock()
152 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_do_lock()
241 static int v9fs_file_getlock(struct file *filp, struct file_lock *fl) in v9fs_file_getlock()
303 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl()
338 static int v9fs_file_flock_dotl(struct file *filp, int cmd, in v9fs_file_flock_dotl()
424 v9fs_file_readn(struct file *filp, char *data, char __user *udata, u32 count, in v9fs_file_readn()
440 v9fs_file_read(struct file *filp, char __user *udata, size_t count, in v9fs_file_read()
514 v9fs_file_write(struct file *filp, const char __user * data, in v9fs_file_write()
543 static int v9fs_file_fsync(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync()
567 int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync_dotl()
[all …]
Dvfs_dir.c96 static int v9fs_alloc_rdir_buf(struct file *filp, int buflen) in v9fs_alloc_rdir_buf()
133 static int v9fs_dir_readdir(struct file *filp, void *dirent, filldir_t filldir) in v9fs_dir_readdir()
205 static int v9fs_dir_readdir_dotl(struct file *filp, void *dirent, in v9fs_dir_readdir_dotl()
288 int v9fs_dir_release(struct inode *inode, struct file *filp) in v9fs_dir_release()
Dvfs_addr.c97 static int v9fs_vfs_readpage(struct file *filp, struct page *page) in v9fs_vfs_readpage()
112 static int v9fs_vfs_readpages(struct file *filp, struct address_space *mapping, in v9fs_vfs_readpages()
273 static int v9fs_write_begin(struct file *filp, struct address_space *mapping, in v9fs_write_begin()
306 static int v9fs_write_end(struct file *filp, struct address_space *mapping, in v9fs_write_end()
/fs/ext4/
Ddir.c73 struct inode *dir, struct file *filp, in __ext4_check_dir_entry()
115 static int ext4_readdir(struct file *filp, in ext4_readdir()
274 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos()
283 static inline __u32 pos2maj_hash(struct file *filp, loff_t pos) in pos2maj_hash()
292 static inline __u32 pos2min_hash(struct file *filp, loff_t pos) in pos2min_hash()
304 static inline loff_t ext4_get_htree_eof(struct file *filp) in ext4_get_htree_eof()
444 static struct dir_private_info *ext4_htree_create_dir_info(struct file *filp, in ext4_htree_create_dir_info()
528 static int call_filldir(struct file *filp, void *dirent, in call_filldir()
561 static int ext4_dx_readdir(struct file *filp, in ext4_dx_readdir()
649 static int ext4_release_dir(struct inode *inode, struct file *filp) in ext4_release_dir()
/fs/nfs/
Dfile.c79 nfs_file_open(struct inode *inode, struct file *filp) in nfs_file_open()
97 nfs_file_release(struct inode *inode, struct file *filp) in nfs_file_release()
118 static int nfs_revalidate_file_size(struct inode *inode, struct file *filp) in nfs_revalidate_file_size()
138 static loff_t nfs_file_llseek(struct file *filp, loff_t offset, int origin) in nfs_file_llseek()
206 nfs_file_splice_read(struct file *filp, loff_t *ppos, in nfs_file_splice_read()
516 struct file *filp = vma->vm_file; in nfs_vm_page_mkwrite() local
558 static int nfs_need_sync_write(struct file *filp, struct inode *inode) in nfs_need_sync_write()
623 struct file *filp, loff_t *ppos, in nfs_file_splice_write()
654 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk()
699 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk()
[all …]
/fs/nilfs2/
Dioctl.c109 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()
687 static int nilfs_ioctl_sync(struct inode *inode, struct file *filp, in nilfs_ioctl_sync()
709 static int nilfs_ioctl_resize(struct inode *inode, struct file *filp, in nilfs_ioctl_resize()
766 static int nilfs_ioctl_get_info(struct inode *inode, struct file *filp, in nilfs_ioctl_get_info()
[all …]
/fs/jffs2/
Dfile.c32 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/
Ddir.c12 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()
58 static int hpfs_readdir(struct file *filp, void *dirent, filldir_t filldir) in hpfs_readdir()
/fs/exofs/
Dfile.c35 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/
Dlockd.c27 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/
Dioctl.c22 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()
Dfile.c32 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/
Dfile.c118 long fat_generic_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in fat_generic_ioctl()
134 static long fat_generic_compat_ioctl(struct file *filp, unsigned int cmd, in fat_generic_compat_ioctl()
142 static int fat_file_release(struct inode *inode, struct file *filp) in fat_file_release()
152 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync()
/fs/jfs/
Dioctl.c55 long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_ioctl()
132 long jfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_compat_ioctl()
/fs/ext3/
Ddir.c90 static int ext3_readdir(struct file * filp, in ext3_readdir()
389 static int call_filldir(struct file * filp, void * dirent, in call_filldir()
420 static int ext3_dx_readdir(struct file * filp, in ext3_dx_readdir()
508 static int ext3_release_dir (struct inode * inode, struct file * filp) in ext3_release_dir()
/fs/notify/dnotify/
Ddnotify.c169 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/
Ddir.c38 static int do_udf_readdir(struct inode *dir, struct file *filp, in do_udf_readdir()
187 static int udf_readdir(struct file *filp, void *dirent, filldir_t filldir) in udf_readdir()
/fs/ntfs/
Ddir.c1100 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/
Ddir.c81 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()

123456