Home
last modified time | relevance | path

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

12345

/fs/
Dlocks.c308 locks_check_ctx_file_list(struct file *filp, struct list_head *list, in locks_check_ctx_file_list()
479 flock_make_lock(struct file *filp, unsigned int cmd, struct file_lock *fl) in flock_make_lock()
518 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock()
568 static int flock_to_posix_lock(struct file *filp, struct file_lock *fl, in flock_to_posix_lock()
592 struct file *filp = fl->fl_file; in lease_setup() local
615 static int lease_init(struct file *filp, long type, struct file_lock *fl) in lease_init()
633 static struct file_lock *lease_alloc(struct file *filp, long type) in lease_alloc()
929 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
1345 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
1420 int locks_mandatory_area(struct inode *inode, struct file *filp, loff_t start, in locks_mandatory_area()
[all …]
Dfcntl.c35 static int setfl(int fd, struct file * filp, unsigned long arg) in setfl()
87 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown()
105 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown()
113 int f_setown(struct file *filp, unsigned long arg, int force) in f_setown()
144 void f_delown(struct file *filp) in f_delown()
149 pid_t f_getown(struct file *filp) in f_getown()
160 static int f_setown_ex(struct file *filp, unsigned long arg) in f_setown_ex()
200 static int f_getown_ex(struct file *filp, unsigned long arg) in f_getown_ex()
237 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids()
255 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids()
[all …]
Dioctl.c40 long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in vfs_ioctl()
55 static int ioctl_fibmap(struct file *filp, int __user *p) in ioctl_fibmap()
178 static int ioctl_fiemap(struct file *filp, unsigned long arg) in ioctl_fiemap()
470 int ioctl_preallocate(struct file *filp, void __user *argp) in ioctl_preallocate()
494 static int file_ioctl(struct file *filp, unsigned int cmd, in file_ioctl()
513 static int ioctl_fionbio(struct file *filp, int __user *argp) in ioctl_fionbio()
536 static int ioctl_fioasync(unsigned int fd, struct file *filp, in ioctl_fioasync()
558 static int ioctl_fsfreeze(struct file *filp) in ioctl_fsfreeze()
575 static int ioctl_fsthaw(struct file *filp) in ioctl_fsthaw()
635 int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd, in do_vfs_ioctl()
Dpipe.c275 struct file *filp = iocb->ki_filp; in pipe_read() local
381 struct file *filp = iocb->ki_filp; in pipe_write() local
515 static long pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in pipe_ioctl()
540 pipe_poll(struct file *filp, poll_table *wait) in pipe_poll()
608 pipe_fasync(int fd, struct file *filp, int on) in pipe_fasync()
898 static int fifo_open(struct inode *inode, struct file *filp) in fifo_open()
Dno-block.c11 static int no_blkdev_open(struct inode * inode, struct file * filp) in no_blkdev_open()
/fs/f2fs/
Dfile.c498 static int f2fs_file_open(struct inode *inode, struct file *filp) in f2fs_file_open()
1668 static int f2fs_release_file(struct inode *inode, struct file *filp) in f2fs_release_file()
1810 static int f2fs_ioc_getflags(struct file *filp, unsigned long arg) in f2fs_ioc_getflags()
1830 static int f2fs_ioc_setflags(struct file *filp, unsigned long arg) in f2fs_ioc_setflags()
1871 static int f2fs_ioc_getversion(struct file *filp, unsigned long arg) in f2fs_ioc_getversion()
1878 static int f2fs_ioc_start_atomic_write(struct file *filp) in f2fs_ioc_start_atomic_write()
1946 static int f2fs_ioc_commit_atomic_write(struct file *filp) in f2fs_ioc_commit_atomic_write()
1988 static int f2fs_ioc_start_volatile_write(struct file *filp) in f2fs_ioc_start_volatile_write()
2023 static int f2fs_ioc_release_volatile_write(struct file *filp) in f2fs_ioc_release_volatile_write()
2052 static int f2fs_ioc_abort_volatile_write(struct file *filp) in f2fs_ioc_abort_volatile_write()
[all …]
/fs/9p/
Dvfs_file.c116 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock()
135 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()
306 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl()
341 static int v9fs_file_flock_dotl(struct file *filp, int cmd, in v9fs_file_flock_dotl()
445 static int v9fs_file_fsync(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync()
469 int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync_dotl()
492 v9fs_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_file_mmap()
505 v9fs_mmap_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_mmap_file_mmap()
547 struct file *filp = vmf->vma->vm_file; in v9fs_vm_page_mkwrite() local
Dvfs_addr.c83 static int v9fs_vfs_readpage(struct file *filp, struct page *page) in v9fs_vfs_readpage()
98 static int v9fs_vfs_readpages(struct file *filp, struct address_space *mapping, in v9fs_vfs_readpages()
255 static int v9fs_write_begin(struct file *filp, struct address_space *mapping, in v9fs_write_begin()
291 static int v9fs_write_end(struct file *filp, struct address_space *mapping, in v9fs_write_end()
Dvfs_dir.c71 static struct p9_rdir *v9fs_alloc_rdir_buf(struct file *filp, int buflen) in v9fs_alloc_rdir_buf()
206 int v9fs_dir_release(struct inode *inode, struct file *filp) in v9fs_dir_release()
/fs/nfs/
Dfile.c65 nfs_file_open(struct inode *inode, struct file *filp) in nfs_file_open()
81 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()
115 loff_t nfs_file_llseek(struct file *filp, loff_t offset, int whence) in nfs_file_llseek()
535 struct file *filp = vmf->vma->vm_file; in nfs_vm_page_mkwrite() local
583 static int nfs_need_check_write(struct file *filp, struct inode *inode) in nfs_need_check_write()
657 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk()
686 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk()
722 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk()
766 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock()
[all …]
/fs/nilfs2/
Dioctl.c128 static int nilfs_ioctl_setflags(struct inode *inode, struct file *filp, in nilfs_ioctl_setflags()
202 static int nilfs_ioctl_change_cpmode(struct inode *inode, struct file *filp, in nilfs_ioctl_change_cpmode()
257 nilfs_ioctl_delete_checkpoint(struct inode *inode, struct file *filp, in nilfs_ioctl_delete_checkpoint()
336 static int nilfs_ioctl_get_cpstat(struct inode *inode, struct file *filp, in nilfs_ioctl_get_cpstat()
403 static int nilfs_ioctl_get_sustat(struct inode *inode, struct file *filp, in nilfs_ioctl_get_sustat()
512 static int nilfs_ioctl_get_bdescs(struct inode *inode, struct file *filp, in nilfs_ioctl_get_bdescs()
859 static int nilfs_ioctl_clean_segments(struct inode *inode, struct file *filp, in nilfs_ioctl_clean_segments()
998 static int nilfs_ioctl_sync(struct inode *inode, struct file *filp, in nilfs_ioctl_sync()
1032 static int nilfs_ioctl_resize(struct inode *inode, struct file *filp, in nilfs_ioctl_resize()
1164 static int nilfs_ioctl_get_info(struct inode *inode, struct file *filp, in nilfs_ioctl_get_info()
[all …]
/fs/ext4/
Ddir.c67 struct inode *dir, struct file *filp, in __ext4_check_dir_entry()
316 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos()
325 static inline __u32 pos2maj_hash(struct file *filp, loff_t pos) in pos2maj_hash()
334 static inline __u32 pos2min_hash(struct file *filp, loff_t pos) in pos2min_hash()
346 static inline loff_t ext4_get_htree_eof(struct file *filp) in ext4_get_htree_eof()
416 static struct dir_private_info *ext4_htree_create_dir_info(struct file *filp, in ext4_htree_create_dir_info()
619 static int ext4_dir_open(struct inode * inode, struct file * filp) in ext4_dir_open()
626 static int ext4_release_dir(struct inode *inode, struct file *filp) in ext4_release_dir()
/fs/jffs2/
Dfile.c32 int jffs2_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in jffs2_fsync()
120 static int jffs2_readpage (struct file *filp, struct page *pg) in jffs2_readpage()
131 static int jffs2_write_begin(struct file *filp, struct address_space *mapping, in jffs2_write_begin()
235 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/nfsd/
Dlockd.c28 nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp) in nlm_fopen()
57 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()
168 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/jfs/
Dioctl.c60 long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_ioctl()
161 long jfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_compat_ioctl()
/fs/notify/dnotify/
Ddnotify.c141 void dnotify_flush(struct file *filp, fl_owner_t id) in dnotify_flush()
219 fl_owner_t id, int fd, struct file *filp, __u32 mask) in attach_dn()
249 int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) in fcntl_dirnotify()
/fs/fat/
Dfile.c156 long fat_generic_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in fat_generic_ioctl()
176 static long fat_generic_compat_ioctl(struct file *filp, unsigned int cmd, in fat_generic_compat_ioctl()
184 static int fat_file_release(struct inode *inode, struct file *filp) in fat_file_release()
194 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync()
/fs/crypto/
Dpolicy.c312 int fscrypt_ioctl_set_policy(struct file *filp, const void __user *arg) in fscrypt_ioctl_set_policy()
378 int fscrypt_ioctl_get_policy(struct file *filp, void __user *arg) in fscrypt_ioctl_get_policy()
397 int fscrypt_ioctl_get_policy_ex(struct file *filp, void __user *uarg) in fscrypt_ioctl_get_policy_ex()
Dkeyring.c495 int fscrypt_ioctl_add_key(struct file *filp, void __user *_uarg) in fscrypt_ioctl_add_key()
822 static int do_remove_key(struct file *filp, void __user *_uarg, bool all_users) in do_remove_key()
920 int fscrypt_ioctl_remove_key(struct file *filp, void __user *uarg) in fscrypt_ioctl_remove_key()
926 int fscrypt_ioctl_remove_key_all_users(struct file *filp, void __user *uarg) in fscrypt_ioctl_remove_key_all_users()
957 int fscrypt_ioctl_get_key_status(struct file *filp, void __user *uarg) in fscrypt_ioctl_get_key_status()
/fs/debugfs/
Dfile.c47 #define F_DENTRY(filp) ((filp)->f_path.dentry) argument
49 const struct file_operations *debugfs_real_fops(const struct file *filp) in debugfs_real_fops()
146 struct file *filp, in debugfs_locked_down()
162 static int open_proxy_open(struct inode *inode, struct file *filp) in open_proxy_open()
203 #define FULL_PROXY_FUNC(name, ret_type, filp, proto, args) \ argument
237 static __poll_t full_proxy_poll(struct file *filp, in full_proxy_poll()
253 static int full_proxy_release(struct inode *inode, struct file *filp) in full_proxy_release()
291 static int full_proxy_open(struct inode *inode, struct file *filp) in full_proxy_open()
/fs/verity/
Denable.c157 static int enable_verity(struct file *filp, in enable_verity()
299 int fsverity_ioctl_enable(struct file *filp, const void __user *uarg) in fsverity_ioctl_enable()
/fs/hpfs/
Ddir.c13 static int hpfs_dir_release(struct inode *inode, struct file *filp) in hpfs_dir_release()
24 static loff_t hpfs_dir_lseek(struct file *filp, loff_t off, int whence) in hpfs_dir_lseek()

12345