Home
last modified time | relevance | path

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

12345678910>>...21

/linux-3.4.99/drivers/staging/media/dt3155v4l/
Ddt3155v4l.c379 dt3155_open(struct file *filp) in dt3155_open()
418 dt3155_release(struct file *filp) in dt3155_release()
436 dt3155_read(struct file *filp, char __user *user, size_t size, loff_t *loff) in dt3155_read()
444 dt3155_poll(struct file *filp, struct poll_table_struct *polltbl) in dt3155_poll()
452 dt3155_mmap(struct file *filp, struct vm_area_struct *vma) in dt3155_mmap()
470 dt3155_ioc_streamon(struct file *filp, void *p, enum v4l2_buf_type type) in dt3155_ioc_streamon()
478 dt3155_ioc_streamoff(struct file *filp, void *p, enum v4l2_buf_type type) in dt3155_ioc_streamoff()
486 dt3155_ioc_querycap(struct file *filp, void *p, struct v4l2_capability *cap) in dt3155_ioc_querycap()
501 dt3155_ioc_enum_fmt_vid_cap(struct file *filp, void *p, struct v4l2_fmtdesc *f) in dt3155_ioc_enum_fmt_vid_cap()
510 dt3155_ioc_g_fmt_vid_cap(struct file *filp, void *p, struct v4l2_format *f) in dt3155_ioc_g_fmt_vid_cap()
[all …]
/linux-3.4.99/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.c363 struct file *filp = iocb->ki_filp; in pipe_read() local
488 struct file *filp = iocb->ki_filp; in pipe_write() local
663 bad_pipe_r(struct file *filp, char __user *buf, size_t count, loff_t *ppos) in bad_pipe_r()
669 bad_pipe_w(struct file *filp, const char __user *buf, size_t count, in bad_pipe_w()
675 static long pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in pipe_ioctl()
702 pipe_poll(struct file *filp, poll_table *wait) in pipe_poll()
756 pipe_read_fasync(int fd, struct file *filp, int on) in pipe_read_fasync()
770 pipe_write_fasync(int fd, struct file *filp, int on) in pipe_write_fasync()
784 pipe_rdwr_fasync(int fd, struct file *filp, int on) in pipe_rdwr_fasync()
803 pipe_read_release(struct inode *inode, struct file *filp) in pipe_read_release()
[all …]
/linux-3.4.99/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()
/linux-3.4.99/drivers/media/video/
Dvia-camera.c661 static int viacam_open(struct file *filp) in viacam_open()
693 static int viacam_release(struct file *filp) in viacam_release()
730 static ssize_t viacam_read(struct file *filp, char __user *buffer, in viacam_read()
773 static unsigned int viacam_poll(struct file *filp, struct poll_table_struct *pt) in viacam_poll()
781 static int viacam_mmap(struct file *filp, struct vm_area_struct *vma) in viacam_mmap()
822 static int viacam_queryctrl(struct file *filp, void *priv, in viacam_queryctrl()
835 static int viacam_g_ctrl(struct file *filp, void *priv, in viacam_g_ctrl()
848 static int viacam_s_ctrl(struct file *filp, void *priv, in viacam_s_ctrl()
863 static int viacam_enum_input(struct file *filp, void *priv, in viacam_enum_input()
875 static int viacam_g_input(struct file *filp, void *priv, unsigned int *i) in viacam_g_input()
[all …]
Dstk-webcam.c721 static int stk_vidioc_querycap(struct file *filp, in stk_vidioc_querycap()
733 static int stk_vidioc_enum_input(struct file *filp, in stk_vidioc_enum_input()
745 static int stk_vidioc_g_input(struct file *filp, void *priv, unsigned int *i) in stk_vidioc_g_input()
751 static int stk_vidioc_s_input(struct file *filp, void *priv, unsigned int i) in stk_vidioc_s_input()
760 static int stk_vidioc_s_std(struct file *filp, void *priv, v4l2_std_id *a) in stk_vidioc_s_std()
796 static int stk_vidioc_queryctrl(struct file *filp, in stk_vidioc_queryctrl()
813 static int stk_vidioc_g_ctrl(struct file *filp, in stk_vidioc_g_ctrl()
833 static int stk_vidioc_s_ctrl(struct file *filp, in stk_vidioc_s_ctrl()
854 static int stk_vidioc_enum_fmt_vid_cap(struct file *filp, in stk_vidioc_enum_fmt_vid_cap()
896 static int stk_vidioc_g_fmt_vid_cap(struct file *filp, in stk_vidioc_g_fmt_vid_cap()
[all …]
Dv4l2-dev.c269 static ssize_t v4l2_read(struct file *filp, char __user *buf, in v4l2_read()
286 static ssize_t v4l2_write(struct file *filp, const char __user *buf, in v4l2_write()
303 static unsigned int v4l2_poll(struct file *filp, struct poll_table_struct *poll) in v4l2_poll()
319 static long v4l2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in v4l2_ioctl()
373 static unsigned long v4l2_get_unmapped_area(struct file *filp, in v4l2_get_unmapped_area()
387 static int v4l2_mmap(struct file *filp, struct vm_area_struct *vm) in v4l2_mmap()
404 static int v4l2_open(struct inode *inode, struct file *filp) in v4l2_open()
441 static int v4l2_release(struct inode *inode, struct file *filp) in v4l2_release()
/linux-3.4.99/drivers/media/
Dmedia-devnode.c81 static ssize_t media_read(struct file *filp, char __user *buf, in media_read()
93 static ssize_t media_write(struct file *filp, const char __user *buf, in media_write()
105 static unsigned int media_poll(struct file *filp, in media_poll()
117 static long media_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in media_ioctl()
131 static int media_open(struct inode *inode, struct file *filp) in media_open()
168 static int media_release(struct inode *inode, struct file *filp) in media_release()
/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_gem.c162 struct drm_file *filp) in radeon_gem_info_ioctl()
183 struct drm_file *filp) in radeon_gem_pread_ioctl()
191 struct drm_file *filp) in radeon_gem_pwrite_ioctl()
199 struct drm_file *filp) in radeon_gem_create_ioctl()
226 struct drm_file *filp) in radeon_gem_set_domain_ioctl()
251 int radeon_mode_dumb_mmap(struct drm_file *filp, in radeon_mode_dumb_mmap()
269 struct drm_file *filp) in radeon_gem_mmap_ioctl()
277 struct drm_file *filp) in radeon_gem_busy_ioctl()
308 struct drm_file *filp) in radeon_gem_wait_idle_ioctl()
329 struct drm_file *filp) in radeon_gem_set_tiling_ioctl()
[all …]
/linux-3.4.99/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()
/linux-3.4.99/drivers/gpu/drm/
Ddrm_fops.c122 int drm_open(struct inode *inode, struct file *filp) in drm_open()
172 int drm_stub_open(struct inode *inode, struct file *filp) in drm_stub_open()
238 static int drm_open_helper(struct inode *inode, struct file *filp, in drm_open_helper()
365 int drm_fasync(int fd, struct file *filp, int on) in drm_fasync()
415 static void drm_master_release(struct drm_device *dev, struct file *filp) in drm_master_release()
480 int drm_release(struct inode *inode, struct file *filp) in drm_release()
636 ssize_t drm_read(struct file *filp, char __user *buffer, in drm_read()
665 unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait) in drm_poll()
/linux-3.4.99/drivers/w1/slaves/
Dw1_ds2408.c75 struct file *filp, struct kobject *kobj, in w1_f29_read_state()
88 struct file *filp, struct kobject *kobj, in w1_f29_read_output()
102 struct file *filp, struct kobject *kobj, in w1_f29_read_activity()
116 struct file *filp, struct kobject *kobj, in w1_f29_read_cond_search_mask()
130 struct file *filp, struct kobject *kobj, in w1_f29_read_cond_search_polarity()
141 struct file *filp, struct kobject *kobj, in w1_f29_read_status_control()
155 struct file *filp, struct kobject *kobj, in w1_f29_write_output()
221 struct file *filp, struct kobject *kobj, in w1_f29_write_activity()
252 struct file *filp, in w1_f29_write_status_control()
/linux-3.4.99/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 …]
/linux-3.4.99/fs/ext3/
Ddir.c94 static int ext3_readdir(struct file * filp, in ext3_readdir()
247 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos()
256 static inline __u32 pos2maj_hash(struct file *filp, loff_t pos) in pos2maj_hash()
265 static inline __u32 pos2min_hash(struct file *filp, loff_t pos) in pos2min_hash()
277 static inline loff_t ext3_get_htree_eof(struct file *filp) in ext3_get_htree_eof()
370 static struct dir_private_info *ext3_htree_create_dir_info(struct file *filp, in ext3_htree_create_dir_info()
454 static int call_filldir(struct file * filp, void * dirent, in call_filldir()
485 static int ext3_dx_readdir(struct file * filp, in ext3_dx_readdir()
573 static int ext3_release_dir (struct inode * inode, struct file * filp) in ext3_release_dir()
/linux-3.4.99/net/sunrpc/
Dcache.c753 static ssize_t cache_read(struct file *filp, char __user *buf, size_t count, in cache_read()
884 static ssize_t cache_write(struct file *filp, const char __user *buf, in cache_write()
904 static unsigned int cache_poll(struct file *filp, poll_table *wait, in cache_poll()
931 static int cache_ioctl(struct inode *ino, struct file *filp, in cache_ioctl()
960 static int cache_open(struct inode *inode, struct file *filp, in cache_open()
983 static int cache_release(struct inode *inode, struct file *filp, in cache_release()
1451 static ssize_t cache_read_procfs(struct file *filp, char __user *buf, in cache_read_procfs()
1459 static ssize_t cache_write_procfs(struct file *filp, const char __user *buf, in cache_write_procfs()
1467 static unsigned int cache_poll_procfs(struct file *filp, poll_table *wait) in cache_poll_procfs()
1474 static long cache_ioctl_procfs(struct file *filp, in cache_ioctl_procfs()
[all …]
/linux-3.4.99/drivers/media/video/marvell-ccic/
Dmcam-core.c1160 static int mcam_vidioc_streamon(struct file *filp, void *priv, in mcam_vidioc_streamon()
1173 static int mcam_vidioc_streamoff(struct file *filp, void *priv, in mcam_vidioc_streamoff()
1186 static int mcam_vidioc_reqbufs(struct file *filp, void *priv, in mcam_vidioc_reqbufs()
1199 static int mcam_vidioc_querybuf(struct file *filp, void *priv, in mcam_vidioc_querybuf()
1211 static int mcam_vidioc_qbuf(struct file *filp, void *priv, in mcam_vidioc_qbuf()
1223 static int mcam_vidioc_dqbuf(struct file *filp, void *priv, in mcam_vidioc_dqbuf()
1237 static int mcam_vidioc_queryctrl(struct file *filp, void *priv, in mcam_vidioc_queryctrl()
1250 static int mcam_vidioc_g_ctrl(struct file *filp, void *priv, in mcam_vidioc_g_ctrl()
1263 static int mcam_vidioc_s_ctrl(struct file *filp, void *priv, in mcam_vidioc_s_ctrl()
1288 static int mcam_vidioc_enum_fmt_vid_cap(struct file *filp, in mcam_vidioc_enum_fmt_vid_cap()
[all …]
/linux-3.4.99/drivers/staging/rts5139/
Drts51x_fop.c170 int rts51x_open(struct inode *inode, struct file *filp) in rts51x_open()
210 int rts51x_release(struct inode *inode, struct file *filp) in rts51x_release()
225 ssize_t rts51x_read(struct file *filp, char __user *buf, size_t count, in rts51x_read()
231 ssize_t rts51x_write(struct file *filp, const char __user *buf, size_t count, in rts51x_write()
241 long rts51x_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in rts51x_ioctl()
/linux-3.4.99/drivers/s390/char/
Dtape_char.c129 tapechar_read(struct file *filp, char __user *data, size_t count, loff_t *ppos) in tapechar_read()
192 tapechar_write(struct file *filp, const char __user *data, size_t count, loff_t *ppos) in tapechar_write()
281 tapechar_open (struct inode *inode, struct file *filp) in tapechar_open()
315 tapechar_release(struct inode *inode, struct file *filp) in tapechar_release()
450 tapechar_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_ioctl()
466 tapechar_compat_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_compat_ioctl()
/linux-3.4.99/mm/
Dreadahead.c109 static int read_pages(struct address_space *mapping, struct file *filp, in read_pages()
151 __do_page_cache_readahead(struct address_space *mapping, struct file *filp, in __do_page_cache_readahead()
209 int force_page_cache_readahead(struct address_space *mapping, struct file *filp, in force_page_cache_readahead()
252 struct address_space *mapping, struct file *filp) in ra_submit()
397 struct file_ra_state *ra, struct file *filp, in ondemand_readahead()
504 struct file_ra_state *ra, struct file *filp, in page_cache_sync_readahead()
539 struct file_ra_state *ra, struct file *filp, in page_cache_async_readahead()
/linux-3.4.99/drivers/infiniband/core/
Duverbs_main.c287 static ssize_t ib_uverbs_event_read(struct file *filp, char __user *buf, in ib_uverbs_event_read()
342 static unsigned int ib_uverbs_event_poll(struct file *filp, in ib_uverbs_event_poll()
358 static int ib_uverbs_event_fasync(int fd, struct file *filp, int on) in ib_uverbs_event_fasync()
365 static int ib_uverbs_event_close(struct inode *inode, struct file *filp) in ib_uverbs_event_close()
513 struct file *filp; in ib_uverbs_alloc_event_file() local
544 struct file *filp; in ib_uverbs_lookup_comp_file() local
566 static ssize_t ib_uverbs_write(struct file *filp, const char __user *buf, in ib_uverbs_write()
596 static int ib_uverbs_mmap(struct file *filp, struct vm_area_struct *vma) in ib_uverbs_mmap()
616 static int ib_uverbs_open(struct inode *inode, struct file *filp) in ib_uverbs_open()
657 static int ib_uverbs_close(struct inode *inode, struct file *filp) in ib_uverbs_close()
/linux-3.4.99/arch/sh/boards/mach-landisk/
Dgio.c32 static int gio_open(struct inode *inode, struct file *filp) in gio_open()
51 static int gio_close(struct inode *inode, struct file *filp) in gio_close()
62 static long gio_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in gio_ioctl()
/linux-3.4.99/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 …]

12345678910>>...21