Searched refs:file (Results 426 - 450 of 3466) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/wireless/mediatek/mt76/mt7603/
H A Ddebugfs.c73 mt7603_ampdu_stat_show(struct seq_file *file, void *data) argument
75 struct mt7603_dev *dev = file->private;
82 seq_printf(file, "Length: %8d | ", bound[0]);
84 seq_printf(file, "%3d -%3d | ",
86 seq_puts(file, "\nCount: ");
88 seq_printf(file, "%8d | ", dev->mphy.aggr_stats[i]);
89 seq_puts(file, "\n");
/linux-master/arch/s390/hypfs/
H A Dhypfs_dbfs.c31 static ssize_t dbfs_read(struct file *file, char __user *buf, argument
41 df = file_inode(file)->i_private;
61 static long dbfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
63 struct hypfs_dbfs_file *df = file_inode(file)->i_private;
68 rc = df->unlocked_ioctl(file, cmd, arg);
/linux-master/sound/pci/hda/
H A Dhda_hwdep.c60 static int hda_hwdep_ioctl(struct snd_hwdep *hw, struct file *file, argument
78 static int hda_hwdep_ioctl_compat(struct snd_hwdep *hw, struct file *file, argument
81 return hda_hwdep_ioctl(hw, file, cmd, (unsigned long)compat_ptr(arg));
85 static int hda_hwdep_open(struct snd_hwdep *hw, struct file *file) argument
/linux-master/fs/udf/
H A Ddir.c13 * 10/05/98 dgb Split directory operations into its own file
35 static int udf_readdir(struct file *file, struct dir_context *ctx) argument
37 struct inode *dir = file_inode(file);
47 if (!dir_emit_dot(file, ctx))
63 if (!inode_eq_iversion(dir, file->f_version)) {
86 /* Update file position only if we got past the current one */
101 if (!dir_emit_dotdot(file, ctx))
125 file->f_version = inode_query_iversion(dir);
/linux-master/tools/objtool/
H A Dorc_gen.c49 int orc_create(struct objtool_file *file) argument
60 for_each_sec(file, sec) {
68 sec_for_each_insn(file, sec, insn) {
124 sec = find_section_by_name(file->elf, ".orc_unwind");
126 WARN("file already has .orc_unwind section, skipping");
129 orc_sec = elf_create_section(file->elf, ".orc_unwind",
134 sec = elf_create_section_pair(file->elf, ".orc_unwind_ip", sizeof(int), nr, nr);
140 if (write_orc_entry(file->elf, orc_sec, sec, idx++,
/linux-master/fs/affs/
H A Ddir.c20 static int affs_readdir(struct file *, struct dir_context *);
45 affs_readdir(struct file *file, struct dir_context *ctx) argument
47 struct inode *inode = file_inode(file);
62 file->private_data = (void *)0;
63 if (!dir_emit_dots(file, ctx))
83 ino = (u32)(long)file->private_data;
84 if (ino && inode_eq_iversion(inode, file->f_version)) {
134 file->f_version = inode_query_iversion(inode);
135 file
[all...]
/linux-master/sound/firewire/digi00x/
H A Ddigi00x-hwdep.c62 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, argument
68 poll_wait(file, &dg00x->hwdep_wait, wait);
135 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) argument
147 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, argument
165 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, argument
168 return hwdep_ioctl(hwdep, file, cm
[all...]
/linux-master/sound/firewire/oxfw/
H A Doxfw-hwdep.c52 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, argument
58 poll_wait(file, &oxfw->hwdep_wait, wait);
125 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) argument
137 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, argument
155 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, argument
158 return hwdep_ioctl(hwdep, file, cm
[all...]
/linux-master/sound/firewire/dice/
H A Ddice-hwdep.c54 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, argument
60 poll_wait(file, &dice->hwdep_wait, wait);
127 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) argument
139 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, argument
157 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, argument
160 return hwdep_ioctl(hwdep, file, cm
[all...]
/linux-master/sound/firewire/bebob/
H A Dbebob_hwdep.c53 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) argument
58 poll_wait(file, &bebob->hwdep_wait, wait);
129 hwdep_release(struct snd_hwdep *hwdep, struct file *file) argument
142 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, argument
161 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, argument
164 return hwdep_ioctl(hwdep, file, cm
[all...]
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-vbi.c147 static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id) argument
149 struct saa7164_vbi_fh *fh = file->private_data;
154 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id) argument
156 struct saa7164_encoder_fh *fh = file->private_data;
161 static int vidioc_g_input(struct file *file, void *priv, unsigned int *i) argument
163 struct saa7164_vbi_fh *fh = file->private_data;
168 static int vidioc_s_input(struct file *fil argument
175 vidioc_g_frequency(struct file *file, void *priv, struct v4l2_frequency *f) argument
183 vidioc_s_frequency(struct file *file, void *priv, const struct v4l2_frequency *f) argument
194 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
395 saa7164_vbi_fmt(struct file *file, void *priv, struct v4l2_format *f) argument
412 fops_open(struct file *file) argument
439 fops_release(struct file *file) argument
491 fops_read(struct file *file, char __user *buffer, size_t count, loff_t *pos) argument
599 fops_poll(struct file *file, poll_table *wait) argument
[all...]
/linux-master/kernel/
H A Dusermode_driver.c16 struct file *file; local
29 file = file_open_root_mnt(mnt, name, O_CREAT | O_WRONLY, 0700);
30 if (IS_ERR(file)) {
32 return ERR_CAST(file);
35 written = kernel_write(file, data, len, &pos);
40 filp_close(file, NULL);
45 fput(file);
47 /* Flush delayed fput so exec can open the file read-only */
56 * @data: a blob of bytes that can be executed as a file
[all...]
/linux-master/lib/
H A Dbug.c9 CONFIG_GENERIC_BUG_RELATIVE_POINTERS - use 32-bit relative pointers for bug_addr and file
10 CONFIG_DEBUG_BUGVERBOSE - emit full file+line information for each BUG
25 - NOTE: struct bug_entry does not have "file" or "line" entries
130 void bug_get_file_line(struct bug_entry *bug, const char **file, argument
135 *file = (const char *)&bug->file_disp + bug->file_disp;
137 *file = bug->file;
141 *file = NULL;
160 const char *file; local
172 bug_get_file_line(bug, &file,
[all...]
/linux-master/sound/firewire/fireface/
H A Dff-hwdep.c71 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, argument
77 poll_wait(file, &ff->hwdep_wait, wait);
144 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) argument
156 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, argument
174 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, argument
177 return hwdep_ioctl(hwdep, file, cm
[all...]
/linux-master/fs/jfs/
H A Dfile.c19 int jfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) argument
21 struct inode *inode = file->f_mapping->host;
24 rc = file_write_and_wait_range(file, start, end);
43 static int jfs_open(struct inode *inode, struct file *file) argument
47 if ((rc = dquot_file_open(inode, file)))
51 * We attempt to allow only one "active" file open per aggregate
55 * If the file is empty, it was probably just created and going
57 * file i
73 jfs_release(struct inode *inode, struct file *file) argument
[all...]
/linux-master/drivers/soc/tegra/cbb/
H A Dtegra-cbb.c18 void tegra_cbb_print_err(struct seq_file *file, const char *fmt, ...) argument
25 if (file) {
26 seq_vprintf(file, fmt, args);
36 void tegra_cbb_print_cache(struct seq_file *file, u32 cache) argument
48 tegra_cbb_print_err(file, "\t Cache\t\t\t: 0x%x -- %s%s%s%s\n",
52 void tegra_cbb_print_prot(struct seq_file *file, u32 prot) argument
60 tegra_cbb_print_err(file, "\t Protection\t\t: 0x%x -- %s, %s, %s Access\n",
64 static int tegra_cbb_err_show(struct seq_file *file, void *data) argument
66 struct tegra_cbb *cbb = file->private;
68 return cbb->ops->debugfs_show(cbb, file, dat
[all...]
/linux-master/fs/hfs/
H A Dattr.c27 struct hfs_cat_file *file; local
42 file = &rec.file;
47 memcpy(&file->UsrWds.fdType, value, 4);
54 memcpy(&file->UsrWds.fdCreator, value, 4);
73 struct hfs_cat_file *file; local
90 file = &rec.file;
95 memcpy(value, &file->UsrWds.fdType, 4);
103 memcpy(value, &file
[all...]
/linux-master/tools/perf/tests/shell/
H A Dstat+json_output.sh40 $PYTHON $pythonchecker --no-args --file "${stat_output}"
53 $PYTHON $pythonchecker --system-wide --file "${stat_output}"
66 $PYTHON $pythonchecker --system-wide-no-aggr --file "${stat_output}"
74 $PYTHON $pythonchecker --interval --file "${stat_output}"
83 $PYTHON $pythonchecker --event --file "${stat_output}"
96 $PYTHON $pythonchecker --per-core --file "${stat_output}"
109 $PYTHON $pythonchecker --per-thread --file "${stat_output}"
146 $PYTHON $pythonchecker --per-die --file "${stat_output}"
159 $PYTHON $pythonchecker --per-node --file "${stat_output}"
172 $PYTHON $pythonchecker --per-socket --file "
[all...]
/linux-master/drivers/bluetooth/
H A Dhci_vhci.c112 static ssize_t force_suspend_read(struct file *file, char __user *user_buf, argument
115 struct vhci_data *data = file->private_data;
135 static ssize_t force_suspend_write(struct file *file, argument
139 struct vhci_data *data = file->private_data;
164 static ssize_t force_wakeup_read(struct file *file, char __user *user_buf, argument
167 struct vhci_data *data = file->private_data;
176 static ssize_t force_wakeup_write(struct file *fil argument
230 aosp_capable_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
242 aosp_capable_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
323 force_devcd_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
572 vhci_read(struct file *file, char __user *buf, size_t count, loff_t *pos) argument
606 struct file *file = iocb->ki_filp; local
612 vhci_poll(struct file *file, poll_table *wait) argument
632 vhci_open(struct inode *inode, struct file *file) argument
655 vhci_release(struct inode *inode, struct file *file) argument
[all...]
/linux-master/include/media/
H A Ddvb_vb2.h127 #define dvb_vb2_fill_buffer(ctx, file, wait, flags) (0)
130 struct file *file,
179 * @file: &struct file argument passed to the poll
180 * file operation handler.
182 * file operation handler.
186 __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, struct file *file,
242 * Export a buffer as a file descripto
129 dvb_vb2_poll(struct dvb_vb2_ctx *ctx, struct file *file, poll_table *wait) argument
[all...]
/linux-master/scripts/dtc/
H A Dsrcpos.h25 * Open a source file.
27 * If the source file is a relative pathname, then it is searched for in the
28 * current directory (the directory of the last source file read) and after
34 * If the file is not found, then this function does not return, but calls
39 * file that was opened. The caller is then responsible
62 struct srcfile_state *file; member in struct:srcpos
75 (Current).file = YYRHSLOC(Rhs, N).file; \
81 (Current).file = YYRHSLOC (Rhs, 0).file; \
[all...]
/linux-master/tools/objtool/include/objtool/
H A Dcheck.h114 struct instruction *find_insn(struct objtool_file *file,
117 struct instruction *next_insn_same_sec(struct objtool_file *file, struct instruction *insn);
119 #define sec_for_each_insn(file, _sec, insn) \
120 for (insn = find_insn(file, _sec, 0); \
122 insn = next_insn_same_sec(file, insn))
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sched.c26 #include <linux/file.h>
46 if (!f.file)
49 r = amdgpu_file_to_fpriv(f.file, &fpriv);
75 if (!f.file)
78 r = amdgpu_file_to_fpriv(f.file, &fpriv);
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debugfs.c31 static int kfd_debugfs_open(struct inode *inode, struct file *file) argument
35 return single_open(file, show, NULL);
43 static ssize_t kfd_debugfs_hang_hws_write(struct file *file, argument
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtrampoline_count.c10 static struct bpf_program *load_prog(char *file, char *name, struct inst *inst) argument
16 obj = bpf_object__open_file(file, NULL);
36 char *file = "test_trampoline_count.bpf.o"; local
53 prog = load_prog(file, progs[i % ARRAY_SIZE(progs)], &inst[i]);
65 prog = load_prog(file, "fmod_ret_test", &inst[i]);

Completed in 405 milliseconds

<<11121314151617181920>>