Searched refs:filp (Results 1 - 25 of 25) sorted by relevance

/include/media/
H A Dv4l2-fh.h71 int v4l2_fh_open(struct file *filp);
75 * On error filp->private_data will be NULL, otherwise it will point to
89 * frees it. It will do nothing if filp->private_data (the pointer to the
92 int v4l2_fh_release(struct file *filp);
99 * Helper function with struct file as argument. If filp->private_data is
102 static inline int v4l2_fh_is_singular_file(struct file *filp) argument
104 return v4l2_fh_is_singular(filp->private_data);
H A Dmedia-devnode.h89 static inline struct media_devnode *media_devnode_data(struct file *filp) argument
91 return filp->private_data;
/include/linux/
H A Ddnotify.h37 static inline void dnotify_flush(struct file *filp, fl_owner_t id) argument
41 static inline int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) argument
H A Daio.h62 static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp) argument
66 .ki_filp = filp,
H A Dpoll.h42 static inline void poll_wait(struct file * filp, wait_queue_head_t * wait_address, poll_table *p) argument
45 p->_qproc(filp, wait_address, p);
76 struct file *filp; member in struct:poll_table_entry
H A Dfs.h346 int (*readpages)(struct file *filp, struct address_space *mapping,
972 extern int fcntl_setlease(unsigned int fd, struct file *filp, long arg);
973 extern int fcntl_getlease(struct file *filp);
990 extern int vfs_cancel_lock(struct file *filp, struct file_lock *fl);
991 extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl);
1023 static inline int fcntl_setlease(unsigned int fd, struct file *filp, long arg) argument
1028 static inline int fcntl_getlease(struct file *filp) argument
1048 static inline void locks_remove_posix(struct file *filp, fl_owner_t owner) argument
1053 static inline void locks_remove_file(struct file *filp) argument
1058 static inline void posix_test_lock(struct file *filp, struc argument
1063 posix_lock_file(struct file *filp, struct file_lock *fl, struct file_lock *conflock) argument
1069 posix_lock_file_wait(struct file *filp, struct file_lock *fl) argument
1079 vfs_test_lock(struct file *filp, struct file_lock *fl) argument
1084 vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) argument
1090 vfs_cancel_lock(struct file *filp, struct file_lock *fl) argument
1095 flock_lock_file_wait(struct file *filp, struct file_lock *request) argument
1111 generic_setlease(struct file *filp, long arg, struct file_lock **flp, void **priv) argument
1117 vfs_setlease(struct file *filp, long arg, struct file_lock **lease, void **priv) argument
1932 locks_verify_truncate(struct inode *inode, struct file *filp, loff_t size) argument
2000 locks_mandatory_area(int rw, struct inode *inode, struct file *filp, loff_t offset, size_t count) argument
2022 locks_verify_truncate(struct inode *inode, struct file *filp, size_t size) argument
[all...]
H A Drelay.h104 * @filp: relay file pointer
109 struct file *filp);
114 * @filp: relay file pointer
119 struct file *filp);
H A Dtty_driver.h32 * int (*open)(struct tty_struct * tty, struct file * filp);
40 * void (*close)(struct tty_struct * tty, struct file * filp);
256 int (*open)(struct tty_struct * tty, struct file * filp);
257 void (*close)(struct tty_struct * tty, struct file * filp);
H A Dtty.h440 extern void tty_unhangup(struct file *filp);
441 extern int tty_hung_up_p(struct file *filp);
496 extern int tty_release(struct inode *inode, struct file *filp);
546 struct tty_struct *tty, struct file *filp);
548 struct tty_struct *tty, struct file *filp);
551 struct tty_struct *tty, struct file *filp);
555 struct tty_struct *tty, struct file *filp);
632 extern int pcxe_open(struct tty_struct *tty, struct file *filp);
H A Dnfs_fs.h368 extern void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx);
429 static inline struct nfs_open_context *nfs_file_open_context(struct file *filp) argument
431 return filp->private_data;
H A Dring_buffer.h102 struct file *filp, poll_table *poll_table);
H A Dkvm_host.h594 long kvm_arch_dev_ioctl(struct file *filp,
596 long kvm_arch_vcpu_ioctl(struct file *filp,
609 long kvm_arch_vm_ioctl(struct file *filp,
1081 struct kvm_device *kvm_device_from_filp(struct file *filp);
H A Dmm_types.h355 unsigned long (*get_unmapped_area) (struct file *filp,
H A Dnetlink.h83 struct sock *netlink_getsockbyfilp(struct file *filp);
H A Dmm.h1918 int force_page_cache_readahead(struct address_space *mapping, struct file *filp,
1923 struct file *filp,
1929 struct file *filp,
H A Dsched.h395 arch_get_unmapped_area_topdown(struct file *filp, unsigned long addr,
/include/drm/
H A Ddrm_gem.h60 struct file *filp; member in struct:drm_gem_object
134 int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
165 int drm_gem_handle_delete(struct drm_file *filp, u32 handle);
177 struct drm_file *filp,
H A Ddrm_vma_manager.h68 int drm_vma_node_allow(struct drm_vma_offset_node *node, struct file *filp);
69 void drm_vma_node_revoke(struct drm_vma_offset_node *node, struct file *filp);
71 struct file *filp);
242 * @filp: Open-file
244 * This checks whether @filp is granted access to @node. It is the same as
252 struct file *filp)
254 return drm_vma_node_is_allowed(node, filp) ? 0 : -EACCES;
251 drm_vma_node_verify_access(struct drm_vma_offset_node *node, struct file *filp) argument
H A Ddrm_gem_cma_helper.h34 int drm_gem_cma_mmap(struct file *filp, struct vm_area_struct *vma);
H A DdrmP.h229 typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd,
299 struct file *filp; member in struct:drm_file
867 extern long drm_ioctl(struct file *filp,
869 extern long drm_compat_ioctl(struct file *filp,
874 extern int drm_open(struct inode *inode, struct file *filp);
875 extern ssize_t drm_read(struct file *filp, char __user *buffer,
877 extern int drm_release(struct inode *inode, struct file *filp);
880 extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait);
902 struct drm_file *filp);
H A Ddrm_legacy.h160 int drm_legacy_mmap(struct file *filp, struct vm_area_struct *vma);
169 * \param filp file pointer of the caller.
/include/drm/ttm/
H A Dttm_bo_api.h662 * @filp: filp as input from the mmap method.
670 extern int ttm_bo_mmap(struct file *filp, struct vm_area_struct *vma,
677 * @filp: Pointer to the struct file attempting to read / write.
694 extern ssize_t ttm_bo_io(struct ttm_bo_device *bdev, struct file *filp,
H A Dttm_bo_driver.h405 * @filp: Pointer to a struct file trying to access the object.
414 struct file *filp);
/include/net/
H A Daf_unix.h13 struct sock *unix_get_socket(struct file *filp);
H A Dsock.h1976 * @filp: file
1982 static inline void sock_poll_wait(struct file *filp, argument
1986 poll_wait(filp, wait_address, p);

Completed in 448 milliseconds