Searched refs:file (Results 326 - 350 of 3464) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/char/
H A Duv_mmtimer.c4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
41 static long uv_mmtimer_ioctl(struct file *file, unsigned int cmd,
43 static int uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma);
59 * @file: file structure for the device
84 static long uv_mmtimer_ioctl(struct file *file, unsigne argument
147 uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma) argument
[all...]
H A Dnsc_gpio.c4 National Semiconductor common GPIO device-file/VFS methods.
42 ssize_t nsc_gpio_write(struct file *file, const char __user *data, argument
45 unsigned m = iminor(file_inode(file));
46 struct nsc_gpio_ops *amp = file->private_data;
105 ssize_t nsc_gpio_read(struct file *file, char __user * buf, argument
108 unsigned m = iminor(file_inode(file));
110 struct nsc_gpio_ops *amp = file->private_data;
119 /* common file
[all...]
/linux-master/arch/um/drivers/
H A Dcow_sys.h31 static inline int cow_file_size(char *file, unsigned long long *size_out) argument
33 return os_file_size(file, size_out);
/linux-master/drivers/target/
H A Dtarget_core_file.h40 struct file *fd_file;
41 struct file *fd_prot_file;
/linux-master/include/linux/
H A Dsync_file.h24 * struct sync_file - sync file to export to the userspace
25 * @file: file representing this fence
26 * @sync_file_list: membership in global file list
36 struct file *file; member in struct:sync_file
40 * Name of the sync file provided by userspace, for merged fences.
/linux-master/arch/parisc/math-emu/
H A Dhppa.h10 PA header file -- do not include this header file for non-PA builds.
/linux-master/drivers/scsi/megaraid/
H A Dmegaraid_sas_debugfs.c48 megasas_debugfs_read(struct file *filp, char __user *ubuf, size_t cnt,
60 megasas_debugfs_raidmap_open(struct inode *inode, struct file *file) argument
74 file->private_data = debug;
80 megasas_debugfs_release(struct inode *inode, struct file *file) argument
82 struct megasas_debug_buffer *debug = file->private_data;
87 file->private_data = NULL;
149 "Cannot create raidmap debugfs file\n");
/linux-master/arch/sh/mm/
H A Dtlb-debugfs.c8 * This file is subject to the terms and conditions of the GNU General Public
9 * License. See the file "COPYING" in the main directory of this archive
39 static int tlb_seq_show(struct seq_file *file, void *iter) argument
41 unsigned int tlb_type = (unsigned int)file->private;
50 seq_printf(file, "address translation disabled\n");
91 seq_printf(file, "entry: vpn ppn asid size valid wired\n");
125 seq_printf(file, "%2d: 0x%08lx 0x%08lx %5lu %s %s %s\n",
137 static int tlb_debugfs_open(struct inode *inode, struct file *file) argument
139 return single_open(file, tlb_seq_sho
[all...]
/linux-master/drivers/scsi/mpt3sas/
H A Dmpt3sas_debugfs.c36 * @ppos: Offset in the file
40 _debugfs_iocdump_read(struct file *filp, char __user *ubuf, size_t cnt,
53 * _debugfs_iocdump_open : open the ioc_dump debugfs attribute file
56 _debugfs_iocdump_open(struct inode *inode, struct file *file) argument
67 file->private_data = debug;
74 * @file: File pointer
77 _debugfs_iocdump_release(struct inode *inode, struct file *file) argument
79 struct mpt3sas_debugfs_buffer *debug = file
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtv-ioctl.c309 static int ivtv_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) argument
331 static int ivtv_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
354 static int ivtv_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
372 static int ivtv_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
395 static int ivtv_g_fmt_vid_out(struct file *file, voi argument
435 ivtv_g_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt) argument
457 ivtv_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) argument
462 ivtv_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
485 ivtv_try_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
490 ivtv_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
511 ivtv_try_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt) argument
545 ivtv_try_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt) argument
562 ivtv_s_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) argument
567 ivtv_s_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
598 ivtv_s_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
610 ivtv_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
629 ivtv_s_fmt_vid_out(struct file *file, void *fh, struct v4l2_format *fmt) argument
674 ivtv_s_fmt_vid_out_overlay(struct file *file, void *fh, struct v4l2_format *fmt) argument
711 ivtv_g_register(struct file *file, void *fh, struct v4l2_dbg_register *reg) argument
719 ivtv_s_register(struct file *file, void *fh, const struct v4l2_dbg_register *reg) argument
728 ivtv_querycap(struct file *file, void *fh, struct v4l2_capability *vcap) argument
739 ivtv_enumaudio(struct file *file, void *fh, struct v4l2_audio *vin) argument
746 ivtv_g_audio(struct file *file, void *fh, struct v4l2_audio *vin) argument
754 ivtv_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout) argument
767 ivtv_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vin) argument
775 ivtv_g_audout(struct file *file, void *fh, struct v4l2_audioout *vin) argument
783 ivtv_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout) argument
792 ivtv_enum_input(struct file *file, void *fh, struct v4l2_input *vin) argument
800 ivtv_enum_output(struct file *file, void *fh, struct v4l2_output *vout) argument
807 ivtv_g_pixelaspect(struct file *file, void *fh, int type, struct v4l2_fract *f) argument
825 ivtv_s_selection(struct file *file, void *fh, struct v4l2_selection *sel) argument
868 ivtv_g_selection(struct file *file, void *fh, struct v4l2_selection *sel) argument
914 ivtv_enum_fmt_vid_cap(struct file *file, void *fh, struct v4l2_fmtdesc *fmt) argument
941 ivtv_enum_fmt_vid_out(struct file *file, void *fh, struct v4l2_fmtdesc *fmt) argument
968 ivtv_g_input(struct file *file, void *fh, unsigned int *i) argument
977 ivtv_s_input(struct file *file, void *fh, unsigned int inp) argument
1020 ivtv_g_output(struct file *file, void *fh, unsigned int *i) argument
1032 ivtv_s_output(struct file *file, void *fh, unsigned int outp) argument
1054 ivtv_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf) argument
1068 ivtv_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf) argument
1085 ivtv_g_std(struct file *file, void *fh, v4l2_std_id *std) argument
1158 ivtv_s_std(struct file *file, void *fh, v4l2_std_id std) argument
1186 ivtv_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt) argument
1199 ivtv_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) argument
1215 ivtv_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap) argument
1250 ivtv_g_enc_index(struct file *file, void *fh, struct v4l2_enc_idx *idx) argument
1276 ivtv_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc) argument
1328 ivtv_try_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *enc) argument
1358 ivtv_g_fbuf(struct file *file, void *fh, struct v4l2_framebuffer *fb) argument
1445 ivtv_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuffer *fb) argument
1466 ivtv_overlay(struct file *file, void *fh, unsigned int on) argument
1493 ivtv_log_status(struct file *file, void *fh) argument
1585 ivtv_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *dec) argument
1594 ivtv_try_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *dec) argument
1645 ivtv_default(struct file *file, void *fh, bool valid_prio, unsigned int cmd, void *arg) argument
[all...]
/linux-master/drivers/bluetooth/
H A Dbtmrvl_debugfs.c21 static ssize_t btmrvl_hscfgcmd_write(struct file *file, argument
24 struct btmrvl_private *priv = file->private_data;
41 static ssize_t btmrvl_hscfgcmd_read(struct file *file, char __user *userbuf, argument
44 struct btmrvl_private *priv = file->private_data;
61 static ssize_t btmrvl_pscmd_write(struct file *file, const char __user *ubuf, argument
64 struct btmrvl_private *priv = file->private_data;
82 static ssize_t btmrvl_pscmd_read(struct file *fil argument
101 btmrvl_hscmd_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument
120 btmrvl_hscmd_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dpkt_access.c7 const char *file = "./test_pkt_access.bpf.o"; local
16 err = bpf_prog_test_load(file, BPF_PROG_TYPE_SCHED_CLS, &obj, &prog_fd);
H A Dxdp_perf.c6 const char *file = "./xdp_dummy.bpf.o"; local
18 err = bpf_prog_test_load(file, BPF_PROG_TYPE_XDP, &obj, &prog_fd);
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_mman.h16 struct file;
21 int i915_gem_mmap(struct file *filp, struct vm_area_struct *vma);
/linux-master/fs/orangefs/
H A Dfile.c10 * Linux VFS file operations.
52 int *index_return, struct file *file)
98 * Orangefs has no open, and orangefs checks file permissions
99 * on each file access. Posix requires that file permissions
104 * method. We can see if a file was successfully opened for
105 * read and or for write by looking at file->f_mode.
107 * When writes are flowing from the page cache, file is no
109 * file
49 wait_for_direct_io(enum ORANGEFS_io_type type, struct inode *inode, loff_t *offset, struct iov_iter *iter, size_t total_size, loff_t readahead_size, struct orangefs_write_range *wr, int *index_return, struct file *file) argument
378 struct file *file = vmf->vma->vm_file; local
401 orangefs_file_mmap(struct file *file, struct vm_area_struct *vma) argument
428 orangefs_file_release(struct inode *inode, struct file *file) argument
456 orangefs_fsync(struct file *file, loff_t start, loff_t end, int datasync) argument
497 orangefs_file_llseek(struct file *file, loff_t offset, int origin) argument
552 orangefs_flush(struct file *file, fl_owner_t id) argument
[all...]
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_gem.h17 int lsdc_dumb_map_offset(struct drm_file *file,
22 int lsdc_dumb_create(struct drm_file *file,
/linux-master/fs/proc/
H A Dtask_nommu.c4 #include <linux/file.h>
125 * display a single VMA to a sequenced file
131 struct file *file; local
137 file = vma->vm_file;
139 if (file) {
158 if (file) {
160 seq_path(m, file_user_path(file), "");
252 static int maps_open(struct inode *inode, struct file *file, argument
274 map_release(struct inode *inode, struct file *file) argument
285 pid_maps_open(struct inode *inode, struct file *file) argument
[all...]
/linux-master/fs/debugfs/
H A Dfile.c3 * file.c - part of debugfs, a tiny little debug file system
29 static ssize_t default_read_file(struct file *file, char __user *buf, argument
35 static ssize_t default_write_file(struct file *file, const char __user *buf, argument
50 const struct file_operations *debugfs_real_fops(const struct file *filp)
68 * debugfs_file_get - mark the beginning of file data access
72 * into the file removing functions debugfs_remove() and
74 * file dat
175 debugfs_enter_cancellation(struct file *file, struct debugfs_cancellation *cancellation) argument
212 debugfs_leave_cancellation(struct file *file, struct debugfs_cancellation *cancellation) argument
458 debugfs_attr_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument
473 debugfs_attr_write_xsigned(struct file *file, const char __user *buf, size_t len, loff_t *ppos, bool is_signed) argument
490 debugfs_attr_write(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
497 debugfs_attr_write_signed(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
875 debugfs_read_file_bool(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
898 debugfs_write_file_bool(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
960 debugfs_read_file_str(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
996 debugfs_write_file_str(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1087 read_file_blob(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1103 write_file_blob(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1177 u32_array_open(struct inode *inode, struct file *file) argument
1200 u32_array_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument
1209 u32_array_release(struct inode *inode, struct file *file) argument
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dcgroup_helpers.h14 int write_cgroup_file(const char *relative_path, const char *file,
16 int write_cgroup_file_parent(const char *relative_path, const char *file,
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/
H A Dtest_ownership.tc3 # description: Test file and directory ownership changes for eventfs
26 file=$1
29 owner=`stat -c "%u" $file`
30 group=`stat -c "%g" $file`
32 echo "testing $file $owner=$original_owner and $group=$test_group"
41 echo "test owner $file to $other_owner"
42 chown $other_owner $file
43 owner=`stat -c "%u" $file`
48 chown $original_owner $file
49 owner=`stat -c "%u" $file`
[all...]
/linux-master/fs/bcachefs/
H A Dthread_with_file.c8 #include <linux/file.h>
26 struct file *file = NULL; local
51 file = anon_inode_getfile(name, fops, thr, fd_flags);
52 ret = PTR_ERR_OR_ZERO(file);
58 fd_install(fd, file);
109 static ssize_t thread_with_stdio_read(struct file *file, char __user *ubuf, argument
113 container_of(file->private_data, struct thread_with_stdio, thr);
118 if (!(file
149 thread_with_stdio_release(struct inode *inode, struct file *file) argument
162 thread_with_stdio_write(struct file *file, const char __user *ubuf, size_t len, loff_t *ppos) argument
215 thread_with_stdio_poll(struct file *file, struct poll_table_struct *wait) argument
234 thread_with_stdout_poll(struct file *file, struct poll_table_struct *wait) argument
250 thread_with_stdio_flush(struct file *file, fl_owner_t id) argument
258 thread_with_stdio_ioctl(struct file *file, unsigned int cmd, unsigned long p) argument
[all...]
/linux-master/tools/bpf/bpftool/skeleton/
H A Dpid_iter.bpf.c20 struct file *perf_file;
68 struct file *file = ctx->file; local
73 if (!file || !task)
93 if (file->f_op != fops)
98 e.id = get_obj_id(file->private_data, obj_type);
103 struct bpf_link *link = (struct bpf_link *) file->private_data;
/linux-master/scripts/
H A Dcheck-variable-fonts.sh95 notocjkvffonts=`fc-list : file family variable | \
/linux-master/drivers/gpu/drm/lima/
H A Dlima_drv.h48 to_lima_drm_priv(struct drm_file *file) argument
50 return file->driver_priv;
/linux-master/sound/core/
H A Dinfo.c102 * file ops for binary proc files
104 static loff_t snd_info_entry_llseek(struct file *file, loff_t offset, int orig) argument
110 data = file->private_data;
116 file, offset, orig);
123 offset += file->f_pos;
137 file->f_pos = offset;
141 static ssize_t snd_info_entry_read(struct file *file, char __user *buffer, argument
144 struct snd_info_private_data *data = file
163 snd_info_entry_write(struct file *file, const char __user *buffer, size_t count, loff_t * offset) argument
185 snd_info_entry_poll(struct file *file, poll_table *wait) argument
202 snd_info_entry_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
214 snd_info_entry_mmap(struct file *file, struct vm_area_struct *vma) argument
230 snd_info_entry_open(struct inode *inode, struct file *file) argument
263 snd_info_entry_release(struct inode *inode, struct file *file) argument
291 snd_info_text_entry_write(struct file *file, const char __user *buffer, size_t count, loff_t *offset) argument
347 snd_info_text_entry_open(struct inode *inode, struct file *file) argument
379 snd_info_text_entry_release(struct inode *inode, struct file *file) argument
[all...]

Completed in 592 milliseconds

<<11121314151617181920>>