Searched refs:file (Results 176 - 200 of 3441) sorted by last modified time

1234567891011>>

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_dbg.c115 mlx5dr_dbg_dump_data_print(struct seq_file *file, char *str, u32 size) argument
117 struct mlx5dr_domain *dmn = file->private;
208 dr_dump_rule_action_mem(struct seq_file *file, char *buff, const u64 rule_id, argument
226 ret = mlx5dr_dbg_dump_data_print(file, buff, ret);
247 ret = mlx5dr_dbg_dump_data_print(file, buff, ret);
259 ret = mlx5dr_dbg_dump_data_print(file, buff, ret);
271 ret = mlx5dr_dbg_dump_data_print(file, buff, ret);
296 ret = mlx5dr_dbg_dump_data_print(file, buff, ret);
308 ret = mlx5dr_dbg_dump_data_print(file, buff, ret);
317 ret = mlx5dr_dbg_dump_data_print(file, buf
490 dr_dump_rule_mem(struct seq_file *file, char *buff, struct mlx5dr_ste *ste, bool is_rx, const u64 rule_id, u8 format_ver) argument
523 dr_dump_rule_rx_tx(struct seq_file *file, char *buff, struct mlx5dr_rule_rx_tx *rule_rx_tx, bool is_rx, const u64 rule_id, u8 format_ver) argument
545 dr_dump_rule(struct seq_file *file, struct mlx5dr_rule *rule) argument
589 dr_dump_matcher_mask(struct seq_file *file, char *buff, struct mlx5dr_match_param *mask, u8 criteria, const u64 matcher_id) argument
684 dr_dump_matcher_builder(struct seq_file *file, char *buff, struct mlx5dr_ste_build *builder, u32 index, bool is_rx, const u64 matcher_id) argument
705 dr_dump_matcher_rx_tx(struct seq_file *file, char *buff, bool is_rx, struct mlx5dr_matcher_rx_tx *matcher_rx_tx, const u64 matcher_id) argument
744 dr_dump_matcher(struct seq_file *file, struct mlx5dr_matcher *matcher) argument
786 dr_dump_matcher_all(struct seq_file *file, struct mlx5dr_matcher *matcher) argument
805 dr_dump_table_rx_tx(struct seq_file *file, char *buff, bool is_rx, struct mlx5dr_table_rx_tx *table_rx_tx, const u64 table_id) argument
831 dr_dump_table(struct seq_file *file, struct mlx5dr_table *table) argument
865 dr_dump_table_all(struct seq_file *file, struct mlx5dr_table *tbl) argument
883 dr_dump_send_ring(struct seq_file *file, char *buff, struct mlx5dr_send_ring *ring, const u64 domain_id) argument
905 dr_dump_domain_info_flex_parser(struct seq_file *file, char *buff, const char *flex_parser_name, const u8 flex_parser_value, const u64 domain_id) argument
928 dr_dump_domain_info_caps(struct seq_file *file, char *buff, struct mlx5dr_cmd_caps *caps, const u64 domain_id) argument
971 dr_dump_domain_info(struct seq_file *file, char *buff, struct mlx5dr_domain_info *info, const u64 domain_id) argument
1009 dr_dump_domain(struct seq_file *file, struct mlx5dr_domain *dmn) argument
1048 dr_dump_domain_all(struct seq_file *file, struct mlx5dr_domain *dmn) argument
1073 dr_dump_start(struct seq_file *file, loff_t *pos) argument
1109 dr_dump_next(struct seq_file *file, void *v, loff_t *pos) argument
1120 dr_dump_stop(struct seq_file *file, void *v) argument
1140 dr_dump_show(struct seq_file *file, void *v) argument
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.c114 static int fops_vcodec_open(struct file *file) argument
116 struct mtk_vcodec_enc_dev *dev = video_drvdata(file);
131 v4l2_fh_init(&ctx->fh, video_devdata(file));
132 file->private_data = &ctx->fh;
203 static int fops_vcodec_release(struct file *file) argument
205 struct mtk_vcodec_enc_dev *dev = video_drvdata(file);
206 struct mtk_vcodec_enc_ctx *ctx = fh_to_enc_ctx(file->private_data);
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_drv.c195 static int fops_vcodec_open(struct file *file) argument
197 struct mtk_vcodec_dec_dev *dev = video_drvdata(file);
208 v4l2_fh_init(&ctx->fh, video_devdata(file));
209 file->private_data = &ctx->fh;
294 static int fops_vcodec_release(struct file *file) argument
296 struct mtk_vcodec_dec_dev *dev = video_drvdata(file);
297 struct mtk_vcodec_dec_ctx *ctx = fh_to_dec_ctx(file->private_data);
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_fb.c137 struct drm_file *file, const struct drm_mode_fb_cmd2 *mode_cmd)
146 bos[i] = drm_gem_object_lookup(file, mode_cmd->handles[i]);
136 msm_framebuffer_create(struct drm_device *dev, struct drm_file *file, const struct drm_mode_fb_cmd2 *mode_cmd) argument
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_core_perf.c401 static ssize_t _dpu_core_perf_mode_write(struct file *file, argument
404 struct dpu_core_perf *perf = file->private_data;
429 static ssize_t _dpu_core_perf_mode_read(struct file *file, argument
432 struct dpu_core_perf *perf = file->private_data;
/linux-master/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c3605 static int smu_stb_debugfs_open(struct inode *inode, struct file *filp)
3629 static ssize_t smu_stb_debugfs_read(struct file *filp, char __user *buf, size_t size,
3645 static int smu_stb_debugfs_release(struct inode *inode, struct file *filp)
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c28 #include <linux/file.h>
49 static long kfd_ioctl(struct file *, unsigned int, unsigned long);
50 static int kfd_open(struct inode *, struct file *);
51 static int kfd_release(struct inode *, struct file *);
52 static int kfd_mmap(struct file *, struct vm_area_struct *);
129 static int kfd_open(struct inode *inode, struct file *filep)
165 static int kfd_release(struct inode *inode, struct file *filep)
175 static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p,
299 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p,
429 static int kfd_ioctl_destroy_queue(struct file *fil
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_drv.c656 * (-1 = auto (default), 0 = disabled, 1 = enabled, 2 = use ip_discovery table from file)
2821 long amdgpu_drm_ioctl(struct file *filp,
2856 static int amdgpu_flush(struct file *f, fl_owner_t id)
2885 int amdgpu_file_to_fpriv(struct file *filp, struct amdgpu_fpriv **fpriv)
2887 struct drm_file *file; local
2895 file = filp->private_data;
2896 *fpriv = file->driver_priv;
H A Damdgpu_device.c151 * The file pcie_replay_count is used for this and returns the total
168 static ssize_t amdgpu_sysfs_reg_state_get(struct file *f, struct kobject *kobj,
H A Damdgpu.h469 * file private structure
484 int amdgpu_file_to_fpriv(struct file *filp, struct amdgpu_fpriv **fpriv);
/linux-master/drivers/cxl/
H A Dcxlmem.h371 * @sanitize_node: sanitation sysfs file to notify
861 void cxl_dpa_debug(struct seq_file *file, struct cxl_dev_state *cxlds);
/linux-master/drivers/accel/ivpu/
H A Divpu_drv.c134 static int ivpu_get_param_ioctl(struct drm_device *dev, void *data, struct drm_file *file) argument
136 struct ivpu_file_priv *file_priv = file->driver_priv;
172 fw_hdr = (struct vpu_firmware_header *)vdev->fw->file->data;
202 static int ivpu_set_param_ioctl(struct drm_device *dev, void *data, struct drm_file *file) argument
215 static int ivpu_open(struct drm_device *dev, struct drm_file *file) argument
252 file->driver_priv = file_priv;
270 static void ivpu_postclose(struct drm_device *dev, struct drm_file *file) argument
272 struct ivpu_file_priv *file_priv = file->driver_priv;
/linux-master/arch/loongarch/mm/
H A Dmmap.c20 static unsigned long arch_get_unmapped_area_common(struct file *filp,
92 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr0,
103 unsigned long arch_get_unmapped_area_topdown(struct file *filp,
/linux-master/include/linux/
H A Dcompiler.h13 * to disable branch tracing on a per file basis.
29 .data.file = __FILE__, \
65 .file = __FILE__, \
/linux-master/drivers/crypto/ccp/
H A Dsev-dev.c232 static struct file *open_file_as_root(const char *filename, int flags, umode_t mode)
234 struct file *fp;
260 struct file *fp;
292 dev_dbg(sev->dev, "SEV: read %ld bytes from NV file\n", nread);
301 struct file *fp;
315 "SEV: could not open file for write, error %d\n",
331 dev_dbg(sev->dev, "SEV: write successful to NV file\n");
1202 * If an init_ex_path is provided allocate a buffer for the file and
1591 dev_dbg(dev, "No SEV firmware file present\n");
2030 static long sev_ioctl(struct file *fil argument
[all...]
/linux-master/tools/include/linux/
H A Dbtf_ids.h207 BTF_TRACING_TYPE(BTF_TRACING_TYPE_FILE, file) \
/linux-master/sound/usb/line6/
H A Ddriver.c536 static int line6_hwdep_open(struct snd_hwdep *hw, struct file *file) argument
543 line6->messages.nonblock = file->f_flags & O_NONBLOCK ? 1 : 0;
549 static int line6_hwdep_release(struct snd_hwdep *hw, struct file *file) argument
624 line6_hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) argument
629 poll_wait(file, &line6->messages.wait_queue, wait);
/linux-master/sound/soc/sof/
H A Dipc4-mtrace.c116 static int sof_ipc4_mtrace_dfs_open(struct inode *inode, struct file *file) argument
128 ret = debugfs_file_get(file->f_path.dentry);
134 debugfs_file_put(file->f_path.dentry);
139 ret = simple_open(inode, file);
142 debugfs_file_put(file->f_path.dentry);
176 static ssize_t sof_ipc4_mtrace_dfs_read(struct file *file, char __user *buffer, argument
179 struct sof_mtrace_core_data *core_data = file->private_data;
278 static int sof_ipc4_mtrace_dfs_release(struct inode *inode, struct file *fil argument
301 sof_ipc4_priority_mask_dfs_read(struct file *file, char __user *to, size_t count, loff_t *ppos) argument
331 sof_ipc4_priority_mask_dfs_write(struct file *file, const char __user *from, size_t count, loff_t *ppos) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dwm_adsp.c273 const char *file; member in struct:__anon308
279 [WM_ADSP_FW_MBC_VSS] = { .file = "mbc-vss" },
280 [WM_ADSP_FW_HIFI] = { .file = "hifi" },
281 [WM_ADSP_FW_TX] = { .file = "tx" },
282 [WM_ADSP_FW_TX_SPK] = { .file = "tx-spk" },
283 [WM_ADSP_FW_RX] = { .file = "rx" },
284 [WM_ADSP_FW_RX_ANC] = { .file = "rx-anc" },
286 .file = "ctrl",
292 [WM_ADSP_FW_ASR] = { .file = "asr" },
294 .file
[all...]
/linux-master/net/sunrpc/
H A Dsvcsock.c37 #include <linux/file.h>
1439 * @fd: file descriptor of the new listener
1618 if (sock->file)
/linux-master/net/core/
H A Dsock_map.c8 #include <linux/file.h>
/linux-master/net/bluetooth/
H A Dhci_debugfs.c35 static ssize_t __name ## _read(struct file *file, \
39 struct hci_dev *hdev = file->private_data; \
48 static ssize_t __name ## _write(struct file *file, \
52 struct hci_dev *hdev = file->private_data; \
277 static ssize_t use_debug_keys_read(struct file *file, char __user *user_buf, argument
280 struct hci_dev *hdev = file->private_data;
295 static ssize_t sc_only_mode_read(struct file *fil argument
431 ssp_debug_mode_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
503 force_bredr_smp_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
516 force_bredr_smp_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
748 force_static_address_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
761 force_static_address_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1150 force_no_mitm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1163 force_no_mitm_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1276 dut_mode_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1288 dut_mode_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1332 vendor_diag_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1344 vendor_diag_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/net/9p/
H A Dtrans_fd.c23 #include <linux/file.h>
42 * @rfd: file descriptor for reading (trans=fd)
43 * @wfd: file descriptor for writing (trans=fd)
136 * @rd: reference to file to read from
137 * @wr: reference of file to write to
143 struct file *rd;
144 struct file *wr;
544 * @filp: file pointer being polled
552 p9_pollwait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p)
871 struct file *fil local
[all...]
/linux-master/mm/
H A Dmemory.c531 pr_alert("file:%pD fault:%ps mmap:%ps read_folio:%ps\n",
1087 * protects anon from unexpected THP transitions; with shmem and file
1316 * file-backed (e.g. shmem). Because when uffd-wp is enabled, pgtable
1647 * For anon: always drop the marker; for file: only
3062 struct file *vm_file = vma->vm_file;
3068 * Special mappings (e.g. VDSO) do not have any file so fake
3109 * Handle dirtying of a page in shared file mapping on a write fault.
3141 * Drop the mmap_lock before waiting on IO, if we can. The file
3145 struct file *fpin;
3729 * @nr: Number of pages to be unmapped. 0 to unmap to end of file
6213 __might_fault(const char *file, int line) argument
[all...]
/linux-master/kernel/trace/
H A Dbpf_trace.c1442 * bpf_get_file_xattr - get xattr of a file
1443 * @file: file to get xattr from
1447 * Get xattr *name__str* of *file* and store the output in *value_ptr*.
1453 __bpf_kfunc int bpf_get_file_xattr(struct file *file, const char *name__str, argument
1469 dentry = file_dentry(file);

Completed in 570 milliseconds

1234567891011>>