Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 3734) sorted by relevance

12345678910>>...150

/linux/include/media/
A Dv4l2-ioctl.h414 int (*vidioc_qbuf)(struct file *file, void *fh,
416 int (*vidioc_expbuf)(struct file *file, void *fh,
418 int (*vidioc_dqbuf)(struct file *file, void *fh,
427 int (*vidioc_g_fbuf)(struct file *file, void *fh,
429 int (*vidioc_s_fbuf)(struct file *file, void *fh,
464 int (*vidioc_g_ctrl)(struct file *file, void *fh,
466 int (*vidioc_s_ctrl)(struct file *file, void *fh,
520 int (*vidioc_g_parm)(struct file *file, void *fh,
522 int (*vidioc_s_parm)(struct file *file, void *fh,
575 int (*vidioc_g_edid)(struct file *file, void *fh,
[all …]
A Dv4l2-mem2mem.h840 int v4l2_m2m_ioctl_reqbufs(struct file *file, void *priv,
842 int v4l2_m2m_ioctl_create_bufs(struct file *file, void *fh,
844 int v4l2_m2m_ioctl_querybuf(struct file *file, void *fh,
846 int v4l2_m2m_ioctl_expbuf(struct file *file, void *fh,
848 int v4l2_m2m_ioctl_qbuf(struct file *file, void *fh,
850 int v4l2_m2m_ioctl_dqbuf(struct file *file, void *fh,
852 int v4l2_m2m_ioctl_prepare_buf(struct file *file, void *fh,
854 int v4l2_m2m_ioctl_streamon(struct file *file, void *fh,
856 int v4l2_m2m_ioctl_streamoff(struct file *file, void *fh,
858 int v4l2_m2m_ioctl_encoder_cmd(struct file *file, void *fh,
[all …]
A Dvideobuf2-v4l2.h311 int vb2_ioctl_reqbufs(struct file *file, void *priv,
313 int vb2_ioctl_create_bufs(struct file *file, void *priv,
315 int vb2_ioctl_prepare_buf(struct file *file, void *priv,
318 int vb2_ioctl_qbuf(struct file *file, void *priv, struct v4l2_buffer *p);
322 int vb2_ioctl_expbuf(struct file *file, void *priv,
327 int vb2_fop_mmap(struct file *file, struct vm_area_struct *vma);
328 int vb2_fop_release(struct file *file);
329 int _vb2_fop_release(struct file *file, struct mutex *lock);
330 ssize_t vb2_fop_write(struct file *file, const char __user *buf,
332 ssize_t vb2_fop_read(struct file *file, char __user *buf,
[all …]
/linux/drivers/media/test-drivers/vivid/
A Dvivid-vid-cap.h20 int vivid_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
21 int vivid_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
22 int vivid_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
36 int vivid_vid_cap_overlay(struct file *file, void *fh, unsigned i);
40 int vidioc_g_input(struct file *file, void *priv, unsigned *i);
41 int vidioc_s_input(struct file *file, void *priv, unsigned i);
42 int vidioc_enumaudio(struct file *file, void *fh, struct v4l2_audio *vin);
43 int vidioc_g_audio(struct file *file, void *fh, struct v4l2_audio *vin);
49 int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *id);
50 int vivid_vid_cap_s_std(struct file *file, void *priv, v4l2_std_id id);
[all …]
A Dvivid-vid-out.h15 int vivid_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
16 int vivid_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
17 int vivid_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
21 int vidioc_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
22 int vidioc_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
23 int vidioc_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
31 int vivid_vid_out_overlay(struct file *file, void *fh, unsigned i);
35 int vidioc_g_output(struct file *file, void *priv, unsigned *i);
36 int vidioc_s_output(struct file *file, void *priv, unsigned i);
38 int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout);
[all …]
A Dvivid-sdr-cap.h11 int vivid_sdr_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band);
12 int vivid_sdr_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
13 int vivid_sdr_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
14 int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt);
15 int vivid_sdr_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
16 int vidioc_enum_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f);
17 int vidioc_g_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
18 int vidioc_s_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
19 int vidioc_try_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
/linux/fs/overlayfs/
A Dfile.c40 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile() argument
67 file, file, ovl_whatisit(inode, realinode), file->f_flags, in ovl_open_realfile()
111 real->file = file->private_data; in ovl_real_fdget_meta()
121 real->file = ovl_open_realfile(file, realinode); in ovl_real_fdget_meta()
137 real->file = ovl_dir_real_file(file, false); in ovl_real_fdget()
204 real.file->f_pos = file->f_pos; in ovl_llseek()
210 file->f_pos = real.file->f_pos; in ovl_llseek()
218 static void ovl_file_accessed(struct file *file) in ovl_file_accessed() argument
295 struct file *file = iocb->ki_filp; in ovl_read_iter() local
347 struct file *file = iocb->ki_filp; in ovl_write_iter() local
[all …]
/linux/tools/testing/selftests/efivarfs/
A Defivarfs.sh67 file_cleanup $file
70 file_cleanup $file
77 : > $file
83 file_cleanup $file
89 ./create-read $file
90 file_cleanup $file
105 file_cleanup $file
107 if [ -e $file ]; then
128 chattr -i $file
140 ./open-unlink $file
[all …]
/linux/fs/
A Dfile_table.c190 struct file *file; in alloc_file() local
200 file->f_sb_err = file_sample_sb_err(file); in alloc_file()
211 return file; in alloc_file()
223 struct file *file; in alloc_file_pseudo() local
237 return file; in alloc_file_pseudo()
254 static void __fput(struct file *file) in __fput() argument
277 file->f_op->fasync(-1, file, 0); in __fput()
280 file->f_op->release(inode, file); in __fput()
334 void fput_many(struct file *file, unsigned int refs) in fput_many() argument
355 void fput(struct file *file) in fput() argument
[all …]
A Dread_write.c37 static inline bool unsigned_offsets(struct file *file) in unsigned_offsets() argument
108 offset = vfs_setpos(file, file->f_pos + offset, maxsize); in generic_file_llseek_size()
308 if (!f.file) in ksys_lseek()
344 if (!f.file) in SYSCALL_DEFINE5()
433 if (unlikely(!file->f_op->read_iter || file->f_op->read)) in __kernel_read()
479 ret = file->f_op->read(file, buf, count, pos); in vfs_read()
588 ret = file->f_op->write(file, buf, count, pos); in vfs_write()
603 static inline loff_t *file_ppos(struct file *file) in file_ppos() argument
605 return file->f_mode & FMODE_STREAM ? NULL : &file->f_pos; in file_ppos()
613 if (f.file) { in ksys_read()
[all …]
A Dfile.c611 struct file *file; in pick_file() local
636 struct file *file; in close_fd() local
677 struct file *file; in __range_close() local
772 struct file *file; in __close_fd_get_file() local
826 struct file *file; in do_close_on_exec() local
848 struct file *file; in __fget_files_rcu() local
902 struct file *file; in __fget_files() local
1001 struct file *file; in __fget_light() local
1029 struct file *file = (struct file *)(v & ~3); in __fdget_pos() local
1206 struct file *file; in ksys_dup3() local
[all …]
/linux/fs/lockd/
A Dsvcsubs.c89 struct file **fp = &file->f_file[mode]; in nlm_do_fopen()
131 file = kzalloc(sizeof(*file), GFP_KERNEL); in nlm_lookup_file()
132 if (!file) in nlm_lookup_file()
156 kfree(file); in nlm_lookup_file()
187 for (f = file->f_file[0]; f <= file->f_file[1]; f++) { in nlm_unlock_files()
264 if (file->f_count || !list_empty(&file->f_blocks) || file->f_shares) in nlm_file_inuse()
285 for (f = file->f_file[0]; f <= file->f_file[1]; f++) in nlm_close_files()
317 if (list_empty(&file->f_blocks) && !file->f_locks in nlm_traverse_files()
318 && !file->f_shares && !file->f_count) { in nlm_traverse_files()
342 file, file->f_count); in nlm_release_file()
[all …]
/linux/include/linux/
A Dfile.h14 struct file;
27 extern struct file *alloc_file_clone(struct file *, int flags,
30 static inline void fput_light(struct file *file, int fput_needed) in fput_light() argument
33 fput(file); in fput_light()
37 struct file *file; member
46 fput(fd.file); in fdput()
86 extern int replace_fd(unsigned fd, struct file *file, unsigned flags);
93 extern void fd_install(unsigned int fd, struct file *file);
95 extern int __receive_fd(struct file *file, int __user *ufd,
98 extern int receive_fd(struct file *file, unsigned int o_flags);
[all …]
A Dfs.h417 void (*swap_deactivate)(struct file *file);
1010 static inline struct file *get_file(struct file *f) in get_file()
1994 int vfs_fchmod(struct file *file, umode_t mode);
2167 return file->f_op->mmap(file, vma); in call_mmap()
2313 static inline int iocb_flags(struct file *file);
2508 extern int file_modified(struct file *file);
2747 static inline struct file *file_clone_open(struct file *file) in file_clone_open() argument
2749 return dentry_open(&file->f_path, file->f_flags, file->f_cred); in file_clone_open()
3061 if (file) in allow_write_access()
3452 extern int file_update_time(struct file *file);
[all …]
/linux/fs/ecryptfs/
A Dfile.c37 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime() local
101 static int ecryptfs_readdir(struct file *file, struct dir_context *ctx) in ecryptfs_readdir() argument
171 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_mmap()
191 static int ecryptfs_open(struct inode *inode, struct file *file) in ecryptfs_open() argument
260 static int ecryptfs_dir_open(struct inode *inode, struct file *file) in ecryptfs_dir_open() argument
290 static int ecryptfs_flush(struct file *file, fl_owner_t td) in ecryptfs_flush() argument
292 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_flush()
302 static int ecryptfs_release(struct inode *inode, struct file *file) in ecryptfs_release() argument
335 static int ecryptfs_fasync(int fd, struct file *file, int flag) in ecryptfs_fasync() argument
349 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_unlocked_ioctl()
[all …]
/linux/drivers/gpu/drm/i915/gt/
A Dshmem_utils.c16 struct file *file; in shmem_create_from_data() local
20 if (IS_ERR(file)) in shmem_create_from_data()
21 return file; in shmem_create_from_data()
25 fput(file); in shmem_create_from_data()
29 return file; in shmem_create_from_data()
34 struct file *file; in shmem_create_from_object() local
40 return file; in shmem_create_from_object()
51 return file; in shmem_create_from_object()
54 void *shmem_pin_map(struct file *file) in shmem_pin_map() argument
84 void shmem_unpin_map(struct file *file, void *ptr) in shmem_unpin_map() argument
[all …]
/linux/tools/testing/selftests/rcutorture/bin/
A Dparse-console.sh15 file="$1"
23 if test -f "$file" -a -r "$file"
27 echo $title unreadable console output file: $file
30 if grep -Pq '\x00' < $file
41 if grep -q FAILURE $file || grep -q -e '-torture.*!!!' $file
101 echo " " $file
108 echo " " $file
118 fi | tee -a $file.diags
164 for i in $file.*.diags
168 cat $i >> $file.diags
[all …]
/linux/drivers/infiniband/core/
A Duser_mad.c175 return file->agents_dead ? NULL : file->agent[id]; in __get_agent()
312 buf += hdr_size(file); in copy_recv_mad()
359 buf += hdr_size(file); in copy_send_mad()
523 buf += hdr_size(file); in ib_umad_write()
738 agent = ib_register_mad_agent(file->port->ib_dev, file->port->port_num, in ib_umad_reg_agent()
851 agent = ib_register_mad_agent(file->port->ib_dev, file->port->port_num, in ib_umad_reg_agent2()
1003 file = kzalloc(sizeof(*file), GFP_KERNEL); in ib_umad_open()
1004 if (!file) { in ib_umad_open()
1015 file->port = port; in ib_umad_open()
1051 if (file->agent[i]) in ib_umad_close()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/
A Dmt76x02_debugfs.c12 struct mt76x02_dev *dev = file->private; in mt76x02_ampdu_stat_show()
16 seq_puts(file, "Length: "); in mt76x02_ampdu_stat_show()
19 seq_puts(file, "\n"); in mt76x02_ampdu_stat_show()
20 seq_puts(file, "Count: "); in mt76x02_ampdu_stat_show()
22 seq_printf(file, "%8d | ", in mt76x02_ampdu_stat_show()
24 seq_puts(file, "\n"); in mt76x02_ampdu_stat_show()
25 seq_puts(file, "--------"); in mt76x02_ampdu_stat_show()
27 seq_puts(file, "-----------"); in mt76x02_ampdu_stat_show()
28 seq_puts(file, "\n"); in mt76x02_ampdu_stat_show()
58 seq_puts(file, "\n"); in mt76x02_dfs_stat_show()
[all …]
/linux/tools/objtool/
A Dcheck.c479 file->pv_ops = NULL; in init_pv_ops()
487 if (!file->pv_ops) in init_pv_ops()
1018 if (!file) in insn_reloc()
1503 file->jl_short++; in handle_jump_alt()
1505 file->jl_long++; in handle_jump_alt()
1589 printf("short:\t%ld\t%ld\n", file->jl_nop_short, file->jl_short); in add_special_section_alts()
1590 printf("long:\t%ld\t%ld\n", file->jl_nop_long, file->jl_long); in add_special_section_alts()
1764 if (!file->rodata) in add_jump_table_alts()
2048 mark_rodata(file); in decode_sections()
2062 add_ignores(file); in decode_sections()
[all …]
/linux/tools/perf/util/
A Ddata.c62 file->fd = ret; in perf_data__create_dir()
113 if (!file) in perf_data__open_dir()
116 files = file; in perf_data__open_dir()
117 file = &files[nr++]; in perf_data__open_dir()
120 if (!file->path) in perf_data__open_dir()
127 file->fd = ret; in perf_data__open_dir()
271 data->file.path); in open_file_read()
310 data->file.fd = fd; in open_file()
501 FILE *file; in is_perf_data() local
505 if (!file) in is_perf_data()
[all …]
/linux/fs/proc/
A Dinode.c238 struct file *file; in close_pdeo() local
243 file = pdeo->file; in close_pdeo()
244 pde->proc_ops->proc_release(file_inode(file), file); in close_pdeo()
276 static loff_t proc_reg_llseek(struct file *file, loff_t offset, int whence) in proc_reg_llseek() argument
363 static __poll_t proc_reg_poll(struct file *file, struct poll_table_struct *pts) in proc_reg_poll() argument
436 static int proc_reg_mmap(struct file *file, struct vm_area_struct *vma) in proc_reg_mmap() argument
468 proc_reg_get_unmapped_area(struct file *file, unsigned long orig_addr, in proc_reg_get_unmapped_area() argument
484 static int proc_reg_open(struct inode *inode, struct file *file) in proc_reg_open() argument
529 pdeo->file = file; in proc_reg_open()
544 static int proc_reg_release(struct inode *inode, struct file *file) in proc_reg_release() argument
[all …]
/linux/sound/core/seq/oss/
A Dseq_oss.c44 static int odev_open(struct inode *inode, struct file *file);
45 static int odev_release(struct inode *inode, struct file *file);
48 static long odev_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
49 static __poll_t odev_poll(struct file *file, poll_table * wait);
118 odev_open(struct inode *inode, struct file *file) in odev_open() argument
135 odev_release(struct inode *inode, struct file *file) in odev_release() argument
139 dp = file->private_data; in odev_release()
151 odev_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in odev_read() argument
172 odev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in odev_ioctl() argument
191 static long odev_ioctl_compat(struct file *file, unsigned int cmd, in odev_ioctl_compat() argument
[all …]
/linux/drivers/gpu/drm/
A Ddrm_file.c160 file = kzalloc(sizeof(*file), GFP_KERNEL); in drm_file_alloc()
161 if (!file) in drm_file_alloc()
196 return file; in drm_file_alloc()
205 kfree(file); in drm_file_alloc()
248 if (!file) in drm_file_free()
296 kfree(file); in drm_file_free()
895 struct file *file; in mock_drm_getfile() local
904 return file; in mock_drm_getfile()
913 return file; in mock_drm_getfile()
986 unsigned long drm_get_unmapped_area(struct file *file, in drm_get_unmapped_area() argument
[all …]
/linux/kernel/trace/
A Dtrace_events.c504 file); in trace_event_reg()
1212 file = t_next(m, file, &l); in t_start()
1245 file = s_next(m, file, &l); in s_start()
1354 if (!file) in event_enable_read()
1661 if (file) in event_filter_read()
1665 if (file) in event_filter_read()
1691 if (file) in event_filter_write()
2447 trace_create_file("inject", 0200, file->dir, file, in event_create_dir()
2687 if (!file) in trace_create_new_event()
2949 if (!file || !file->event_call->class->reg || in find_event_file()
[all …]

Completed in 92 milliseconds

12345678910>>...150