Home
last modified time | relevance | path

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

12345

/fs/incfs/
Dverity.h23 static inline int incfs_ioctl_enable_verity(struct file *filp, in incfs_ioctl_enable_verity()
29 static inline int incfs_ioctl_measure_verity(struct file *filp, in incfs_ioctl_measure_verity()
36 struct file *filp) in incfs_fsverity_file_open()
41 static inline int incfs_ioctl_read_verity_metadata(struct file *filp, in incfs_ioctl_read_verity_metadata()
Dverity.c58 static int incfs_get_root_hash(struct file *filp, u8 *root_hash) in incfs_get_root_hash()
71 static int incfs_end_enable_verity(struct file *filp, u8 *sig, size_t sig_size) in incfs_end_enable_verity()
254 struct file *filp, int hash_algorithm) in incfs_get_fsverity_descriptor()
280 struct inode *inode, struct file *filp, in incfs_calc_verity_digest()
517 static int incfs_enable_verity(struct file *filp, in incfs_enable_verity()
577 int incfs_ioctl_enable_verity(struct file *filp, const void __user *uarg) in incfs_ioctl_enable_verity()
613 static u8 *incfs_get_verity_signature(struct file *filp, size_t *sig_size) in incfs_get_verity_signature()
658 static int ensure_verity_info(struct inode *inode, struct file *filp) in ensure_verity_info()
701 int incfs_fsverity_file_open(struct inode *inode, struct file *filp) in incfs_fsverity_file_open()
709 int incfs_ioctl_measure_verity(struct file *filp, void __user *_uarg) in incfs_ioctl_measure_verity()
[all …]
/fs/f2fs/
Dfile.c526 static int f2fs_file_open(struct inode *inode, struct file *filp) in f2fs_file_open()
1783 static int f2fs_release_file(struct inode *inode, struct file *filp) in f2fs_release_file()
1958 static int f2fs_ioc_getflags(struct file *filp, unsigned long arg) in f2fs_ioc_getflags()
1978 static int f2fs_ioc_setflags(struct file *filp, unsigned long arg) in f2fs_ioc_setflags()
2019 static int f2fs_ioc_getversion(struct file *filp, unsigned long arg) in f2fs_ioc_getversion()
2026 static int f2fs_ioc_start_atomic_write(struct file *filp) in f2fs_ioc_start_atomic_write()
2098 static int f2fs_ioc_commit_atomic_write(struct file *filp) in f2fs_ioc_commit_atomic_write()
2140 static int f2fs_ioc_start_volatile_write(struct file *filp) in f2fs_ioc_start_volatile_write()
2175 static int f2fs_ioc_release_volatile_write(struct file *filp) in f2fs_ioc_release_volatile_write()
2204 static int f2fs_ioc_abort_volatile_write(struct file *filp) in f2fs_ioc_abort_volatile_write()
[all …]
/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()
952 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
1369 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
1445 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()
165 static int f_setown_ex(struct file *filp, unsigned long arg) in f_setown_ex()
205 static int f_getown_ex(struct file *filp, unsigned long arg) in f_getown_ex()
245 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids()
263 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids()
[all …]
Dioctl.c41 long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in vfs_ioctl()
56 static int ioctl_fibmap(struct file *filp, int __user *p) in ioctl_fibmap()
196 static int ioctl_fiemap(struct file *filp, struct fiemap __user *ufiemap) in ioctl_fiemap()
473 static int ioctl_preallocate(struct file *filp, int mode, void __user *argp) in ioctl_preallocate()
527 static int file_ioctl(struct file *filp, unsigned int cmd, int __user *p) in file_ioctl()
545 static int ioctl_fionbio(struct file *filp, int __user *argp) in ioctl_fionbio()
568 static int ioctl_fioasync(unsigned int fd, struct file *filp, in ioctl_fioasync()
590 static int ioctl_fsfreeze(struct file *filp) in ioctl_fsfreeze()
607 static int ioctl_fsthaw(struct file *filp) in ioctl_fsthaw()
667 static int do_vfs_ioctl(struct file *filp, unsigned int fd, in do_vfs_ioctl()
Dpipe.c233 struct file *filp = iocb->ki_filp; in pipe_read() local
419 struct file *filp = iocb->ki_filp; in pipe_write() local
608 static long pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in pipe_ioctl()
650 pipe_poll(struct file *filp, poll_table *wait) in pipe_poll()
737 pipe_fasync(int fd, struct file *filp, int on) in pipe_fasync()
1091 static int fifo_open(struct inode *inode, struct file *filp) in fifo_open()
/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()
448 static int v9fs_file_fsync(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync()
472 int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync_dotl()
495 v9fs_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_file_mmap()
508 v9fs_mmap_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_mmap_file_mmap()
550 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/verity/
Denable.c21 static struct page *read_file_data_page(struct file *filp, pgoff_t index, in read_file_data_page()
44 static int build_merkle_tree_level(struct file *filp, unsigned int level, in build_merkle_tree_level()
151 static int build_merkle_tree(struct file *filp, in build_merkle_tree()
198 static int enable_verity(struct file *filp, in enable_verity()
340 int fsverity_ioctl_enable(struct file *filp, const void __user *uarg) in fsverity_ioctl_enable()
/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()
552 struct file *filp = vmf->vma->vm_file; in nfs_vm_page_mkwrite() local
600 static int nfs_need_check_write(struct file *filp, struct inode *inode, in nfs_need_check_write()
680 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk()
709 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk()
745 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk()
789 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()
858 static int nilfs_ioctl_clean_segments(struct inode *inode, struct file *filp, in nilfs_ioctl_clean_segments()
997 static int nilfs_ioctl_sync(struct inode *inode, struct file *filp, in nilfs_ioctl_sync()
1031 static int nilfs_ioctl_resize(struct inode *inode, struct file *filp, in nilfs_ioctl_resize()
1170 static int nilfs_ioctl_get_info(struct inode *inode, struct file *filp, in nilfs_ioctl_get_info()
[all …]
/fs/ext4/
Ddir.c82 struct inode *dir, struct file *filp, in __ext4_check_dir_entry()
339 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos()
348 static inline __u32 pos2maj_hash(struct file *filp, loff_t pos) in pos2maj_hash()
357 static inline __u32 pos2min_hash(struct file *filp, loff_t pos) in pos2min_hash()
369 static inline loff_t ext4_get_htree_eof(struct file *filp) in ext4_get_htree_eof()
439 static struct dir_private_info *ext4_htree_create_dir_info(struct file *filp, in ext4_htree_create_dir_info()
641 static int ext4_release_dir(struct inode *inode, struct file *filp) in ext4_release_dir()
Dioctl.c467 static int ext4_ioctl_setproject(struct file *filp, __u32 projid) in ext4_ioctl_setproject()
553 static int ext4_ioctl_setproject(struct file *filp, __u32 projid) in ext4_ioctl_setproject()
795 static int ext4_ioctl_get_es_cache(struct file *filp, unsigned long arg) in ext4_ioctl_get_es_cache()
823 static long __ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in __ext4_ioctl()
1332 long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in ext4_ioctl()
/fs/jffs2/
Dfile.c32 int jffs2_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in jffs2_fsync()
121 static int jffs2_readpage (struct file *filp, struct page *pg) in jffs2_readpage()
132 static int jffs2_write_begin(struct file *filp, struct address_space *mapping, in jffs2_write_begin()
245 static int jffs2_write_end(struct file *filp, struct address_space *mapping, in jffs2_write_end()
/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()
144 static int reiserfs_sync_file(struct file *filp, loff_t start, loff_t end, in reiserfs_sync_file()
/fs/notify/dnotify/
Ddnotify.c135 void dnotify_flush(struct file *filp, fl_owner_t id) in dnotify_flush()
213 fl_owner_t id, int fd, struct file *filp, __u32 mask) in attach_dn()
243 int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) in fcntl_dirnotify()
/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/crypto/
Dpolicy.c436 int fscrypt_ioctl_set_policy(struct file *filp, const void __user *arg) in fscrypt_ioctl_set_policy()
502 int fscrypt_ioctl_get_policy(struct file *filp, void __user *arg) in fscrypt_ioctl_get_policy()
521 int fscrypt_ioctl_get_policy_ex(struct file *filp, void __user *uarg) in fscrypt_ioctl_get_policy_ex()
553 int fscrypt_ioctl_get_nonce(struct file *filp, void __user *arg) in fscrypt_ioctl_get_nonce()
Dkeyring.c702 int fscrypt_ioctl_add_key(struct file *filp, void __user *_uarg) in fscrypt_ioctl_add_key()
997 static int do_remove_key(struct file *filp, void __user *_uarg, bool all_users) in do_remove_key()
1086 int fscrypt_ioctl_remove_key(struct file *filp, void __user *uarg) in fscrypt_ioctl_remove_key()
1092 int fscrypt_ioctl_remove_key_all_users(struct file *filp, void __user *uarg) in fscrypt_ioctl_remove_key_all_users()
1123 int fscrypt_ioctl_get_key_status(struct file *filp, void __user *uarg) in fscrypt_ioctl_get_key_status()
/fs/debugfs/
Dfile.c48 #define F_DENTRY(filp) ((filp)->f_path.dentry) argument
50 const struct file_operations *debugfs_real_fops(const struct file *filp) in debugfs_real_fops()
155 struct file *filp, in debugfs_locked_down()
171 static int open_proxy_open(struct inode *inode, struct file *filp) in open_proxy_open()
219 #define FULL_PROXY_FUNC(name, ret_type, filp, proto, args) \ argument
253 static __poll_t full_proxy_poll(struct file *filp, in full_proxy_poll()
269 static int full_proxy_release(struct inode *inode, struct file *filp) in full_proxy_release()
307 static int full_proxy_open(struct inode *inode, struct file *filp) in full_proxy_open()
/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