Home
last modified time | relevance | path

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

1234

/fs/
Dfcntl.c32 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 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown()
109 void f_setown(struct file *filp, unsigned long arg, int force) in f_setown()
130 void f_delown(struct file *filp) in f_delown()
135 pid_t f_getown(struct file *filp) in f_getown()
146 static int f_setown_ex(struct file *filp, unsigned long arg) in f_setown_ex()
186 static int f_getown_ex(struct file *filp, unsigned long arg) in f_getown_ex()
223 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids()
241 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids()
[all …]
Dlocks.c374 flock_make_lock(struct file *filp, unsigned int cmd) in flock_make_lock()
410 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock()
460 static int flock_to_posix_lock(struct file *filp, struct file_lock *fl, in flock_to_posix_lock()
484 struct file *filp = fl->fl_file; in lease_setup() local
507 static int lease_init(struct file *filp, long type, struct file_lock *fl) in lease_init()
525 static struct file_lock *lease_alloc(struct file *filp, long type) in lease_alloc()
763 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
1162 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
1242 struct file *filp, loff_t offset, in locks_mandatory_area()
1314 struct file *filp = fl->fl_file; in lease_modify() local
[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()
430 int ioctl_preallocate(struct file *filp, void __user *argp) in ioctl_preallocate()
454 static int file_ioctl(struct file *filp, unsigned int cmd, in file_ioctl()
473 static int ioctl_fionbio(struct file *filp, int __user *argp) in ioctl_fionbio()
496 static int ioctl_fioasync(unsigned int fd, struct file *filp, in ioctl_fioasync()
518 static int ioctl_fsfreeze(struct file *filp) in ioctl_fsfreeze()
535 static int ioctl_fsthaw(struct file *filp) in ioctl_fsthaw()
555 int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd, in do_vfs_ioctl()
Dpipe.c253 struct file *filp = iocb->ki_filp; in pipe_read() local
361 struct file *filp = iocb->ki_filp; in pipe_write() local
496 static long pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in pipe_ioctl()
521 pipe_poll(struct file *filp, poll_table *wait) in pipe_poll()
589 pipe_fasync(int fd, struct file *filp, int on) in pipe_fasync()
878 static int fifo_open(struct inode *inode, struct file *filp) in fifo_open()
Dno-block.c15 static int no_blkdev_open(struct inode * inode, struct file * filp) in no_blkdev_open()
Dopen.c38 unsigned int time_attrs, struct file *filp) in do_truncate2()
68 struct file *filp) in do_truncate()
860 char *file_path(struct file *filp, char *buf, int buflen) in file_path()
1104 int filp_close(struct file *filp, fl_owner_t id) in filp_close()
1165 int generic_file_open(struct inode * inode, struct file * filp) in generic_file_open()
1180 int nonseekable_open(struct inode *inode, struct file *filp) in nonseekable_open()
1197 int stream_open(struct inode *inode, struct file *filp) in stream_open()
/fs/9p/
Dvfs_file.c131 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock()
150 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_do_lock()
256 static int v9fs_file_getlock(struct file *filp, struct file_lock *fl) in v9fs_file_getlock()
321 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl()
356 static int v9fs_file_flock_dotl(struct file *filp, int cmd, in v9fs_file_flock_dotl()
460 static int v9fs_file_fsync(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync()
484 int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync_dotl()
507 v9fs_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_file_mmap()
520 v9fs_mmap_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_mmap_file_mmap()
562 struct file *filp = vma->vm_file; in v9fs_vm_page_mkwrite() local
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()
269 static int v9fs_write_begin(struct file *filp, struct address_space *mapping, in v9fs_write_begin()
305 static int v9fs_write_end(struct file *filp, struct address_space *mapping, in v9fs_write_end()
Dvfs_dir.c86 static struct p9_rdir *v9fs_alloc_rdir_buf(struct file *filp, int buflen) in v9fs_alloc_rdir_buf()
221 int v9fs_dir_release(struct inode *inode, struct file *filp) in v9fs_dir_release()
/fs/nfs/
Dfile.c64 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()
101 static int nfs_revalidate_file_size(struct inode *inode, struct file *filp) in nfs_revalidate_file_size()
121 loff_t nfs_file_llseek(struct file *filp, loff_t offset, int whence) in nfs_file_llseek()
184 nfs_file_splice_read(struct file *filp, loff_t *ppos, in nfs_file_splice_read()
595 struct file *filp = vma->vm_file; in nfs_vm_page_mkwrite() local
640 static int nfs_need_check_write(struct file *filp, struct inode *inode) in nfs_need_check_write()
711 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk()
745 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk()
786 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk()
[all …]
/fs/f2fs/
Dfile.c482 static int f2fs_file_open(struct inode *inode, struct file *filp) in f2fs_file_open()
1554 static int f2fs_release_file(struct inode *inode, struct file *filp) in f2fs_release_file()
1593 static int f2fs_ioc_getflags(struct file *filp, unsigned long arg) in f2fs_ioc_getflags()
1601 static int f2fs_ioc_setflags(struct file *filp, unsigned long arg) in f2fs_ioc_setflags()
1651 static int f2fs_ioc_getversion(struct file *filp, unsigned long arg) in f2fs_ioc_getversion()
1658 static int f2fs_ioc_start_atomic_write(struct file *filp) in f2fs_ioc_start_atomic_write()
1709 static int f2fs_ioc_commit_atomic_write(struct file *filp) in f2fs_ioc_commit_atomic_write()
1749 static int f2fs_ioc_start_volatile_write(struct file *filp) in f2fs_ioc_start_volatile_write()
1784 static int f2fs_ioc_release_volatile_write(struct file *filp) in f2fs_ioc_release_volatile_write()
1813 static int f2fs_ioc_abort_volatile_write(struct file *filp) in f2fs_ioc_abort_volatile_write()
[all …]
/fs/ext4/
Ddir.c61 struct inode *dir, struct file *filp, in __ext4_check_dir_entry()
305 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos()
314 static inline __u32 pos2maj_hash(struct file *filp, loff_t pos) in pos2maj_hash()
323 static inline __u32 pos2min_hash(struct file *filp, loff_t pos) in pos2min_hash()
335 static inline loff_t ext4_get_htree_eof(struct file *filp) in ext4_get_htree_eof()
403 static struct dir_private_info *ext4_htree_create_dir_info(struct file *filp, in ext4_htree_create_dir_info()
606 static int ext4_dir_open(struct inode * inode, struct file * filp) in ext4_dir_open()
613 static int ext4_release_dir(struct inode *inode, struct file *filp) in ext4_release_dir()
/fs/nilfs2/
Dioctl.c142 static int nilfs_ioctl_setflags(struct inode *inode, struct file *filp, in nilfs_ioctl_setflags()
221 static int nilfs_ioctl_change_cpmode(struct inode *inode, struct file *filp, in nilfs_ioctl_change_cpmode()
276 nilfs_ioctl_delete_checkpoint(struct inode *inode, struct file *filp, in nilfs_ioctl_delete_checkpoint()
355 static int nilfs_ioctl_get_cpstat(struct inode *inode, struct file *filp, in nilfs_ioctl_get_cpstat()
422 static int nilfs_ioctl_get_sustat(struct inode *inode, struct file *filp, in nilfs_ioctl_get_sustat()
531 static int nilfs_ioctl_get_bdescs(struct inode *inode, struct file *filp, in nilfs_ioctl_get_bdescs()
875 static int nilfs_ioctl_clean_segments(struct inode *inode, struct file *filp, in nilfs_ioctl_clean_segments()
1013 static int nilfs_ioctl_sync(struct inode *inode, struct file *filp, in nilfs_ioctl_sync()
1047 static int nilfs_ioctl_resize(struct inode *inode, struct file *filp, in nilfs_ioctl_resize()
1179 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()
122 static int jffs2_readpage (struct file *filp, struct page *pg) in jffs2_readpage()
133 static int jffs2_write_begin(struct file *filp, struct address_space *mapping, in jffs2_write_begin()
237 static int jffs2_write_end(struct file *filp, struct address_space *mapping, in jffs2_write_end()
Dioctl.c16 long jffs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jffs2_ioctl()
/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.c23 long reiserfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in reiserfs_ioctl()
171 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()
150 static int reiserfs_sync_file(struct file *filp, loff_t start, loff_t end, in reiserfs_sync_file()
/fs/fat/
Dfile.c120 long fat_generic_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in fat_generic_ioctl()
138 static long fat_generic_compat_ioctl(struct file *filp, unsigned int cmd, in fat_generic_compat_ioctl()
146 static int fat_file_release(struct inode *inode, struct file *filp) in fat_file_release()
156 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync()
/fs/jfs/
Dioctl.c59 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/
Ddnotify.c150 void dnotify_flush(struct file *filp, fl_owner_t id) in dnotify_flush()
228 fl_owner_t id, int fd, struct file *filp, __u32 mask) in attach_dn()
258 int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) in fcntl_dirnotify()
/fs/crypto/
Dpolicy.c57 int fscrypt_ioctl_set_policy(struct file *filp, const void __user *arg) in fscrypt_ioctl_set_policy()
105 int fscrypt_ioctl_get_policy(struct file *filp, void __user *arg) in fscrypt_ioctl_get_policy()
/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()
/fs/udf/
Dfile.c164 long udf_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in udf_ioctl()
218 static int udf_release_file(struct inode *inode, struct file *filp) in udf_release_file()

1234