Home
last modified time | relevance | path

Searched refs:file (Results 1901 - 1925 of 6535) sorted by relevance

1...<<71727374757677787980>>...262

/kernel/linux/linux-6.6/drivers/iommu/iommufd/
H A Dselftest.c9 #include <linux/file.h>
605 struct file *file; member
623 struct file *file; in iommufd_access_get() local
625 file = fget(fd); in iommufd_access_get()
626 if (!file) in iommufd_access_get()
629 if (file->f_op != &iommfd_test_staccess_fops) { in iommufd_access_get()
630 fput(file); in iommufd_access_get()
633 return file in iommufd_access_get()
[all...]
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-ftrace.c64 char *file; in __write_tracing_file() local
71 file = get_tracing_file(name); in __write_tracing_file()
72 if (!file) { in __write_tracing_file()
73 pr_debug("cannot get tracing file: %s\n", name); in __write_tracing_file()
82 fd = open(file, flags); in __write_tracing_file()
84 pr_debug("cannot open tracing file: %s: %s\n", in __write_tracing_file()
108 put_tracing_file(file); in __write_tracing_file()
125 char *file; in read_tracing_file_to_stdout() local
129 file = get_tracing_file(name); in read_tracing_file_to_stdout()
130 if (!file) { in read_tracing_file_to_stdout()
168 char *file; read_tracing_file_by_line() local
209 char *file; write_tracing_option_file() local
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace.c148 /* Map of enums to their values, for "eval_map" file */
648 * @pos: The position of the file
676 * @pos: The position of the file
2927 struct trace_event_file *file; in output_printk() local
2941 file = fbuffer->trace_file; in output_printk()
2942 if (test_bit(EVENT_FILE_FL_SOFT_DISABLED_BIT, &file->flags) || in output_printk()
2943 (unlikely(file->flags & EVENT_FILE_FL_FILTERED) && in output_printk()
2944 !filter_match_preds(file->filter, fbuffer->entry))) in output_printk()
2995 struct trace_event_file *file = fbuffer->trace_file; in trace_event_buffer_commit() local
2997 if (__event_trigger_test_discard(file, fbuffe in trace_event_buffer_commit()
4818 __tracing_open(struct inode *inode, struct file *file, bool snapshot) __tracing_open() argument
4971 struct trace_event_file *file = inode->i_private; tracing_open_file_tr() local
4999 struct trace_event_file *file = inode->i_private; tracing_release_file_tr() local
5019 tracing_release(struct inode *inode, struct file *file) tracing_release() argument
5057 tracing_release_generic_tr(struct inode *inode, struct file *file) tracing_release_generic_tr() argument
5065 tracing_single_release_tr(struct inode *inode, struct file *file) tracing_single_release_tr() argument
5074 tracing_open(struct inode *inode, struct file *file) tracing_open() argument
5192 show_traces_open(struct inode *inode, struct file *file) show_traces_open() argument
5214 show_traces_release(struct inode *inode, struct file *file) show_traces_release() argument
5229 tracing_lseek(struct file *file, loff_t offset, int whence) tracing_lseek() argument
5590 tracing_trace_options_open(struct inode *inode, struct file *file) tracing_trace_options_open() argument
6831 tracing_release_pipe(struct inode *inode, struct file *file) tracing_release_pipe() argument
7504 tracing_clock_open(struct inode *inode, struct file *file) tracing_clock_open() argument
7536 tracing_time_stamp_mode_open(struct inode *inode, struct file *file) tracing_time_stamp_mode_open() argument
7594 tracing_snapshot_open(struct inode *inode, struct file *file) tracing_snapshot_open() argument
7727 tracing_snapshot_release(struct inode *inode, struct file *file) tracing_snapshot_release() argument
8188 tracing_err_log_open(struct inode *inode, struct file *file) tracing_err_log_open() argument
8213 tracing_err_log_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) tracing_err_log_write() argument
8220 tracing_err_log_release(struct inode *inode, struct file *file) tracing_err_log_release() argument
8362 tracing_buffers_release(struct inode *inode, struct file *file) tracing_buffers_release() argument
8445 tracing_buffers_splice_read(struct file *file, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags) tracing_buffers_splice_read() argument
8567 tracing_buffers_ioctl(struct file *file, unsigned int cmd, unsigned long arg) tracing_buffers_ioctl() argument
9006 tracing_release_options(struct inode *inode, struct file *file) tracing_release_options() argument
10276 trace_parse_run_command(struct file *file, const char __user *buffer, size_t count, loff_t *ppos, int (*createfn)(const char *)) trace_parse_run_command() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c2 * This file is part of the Emulex Linux Device Driver for *
19 * more details, a copy of which can be found in the file COPYING *
73 * This is an ACSII readable file that contains a trace of the last
84 * This is an ACSII readable file that contains a trace of the last
1924 * @file: The file pointer to attach the log output.
1927 * This routine is the entry point for the debugfs open file operation. It gets
1930 * returns a pointer to that log in the private_data field in @file.
1937 lpfc_debugfs_disc_trc_open(struct inode *inode, struct file *file) in lpfc_debugfs_disc_trc_open() argument
1987 lpfc_debugfs_slow_ring_trc_open(struct inode *inode, struct file *file) lpfc_debugfs_slow_ring_trc_open() argument
2037 lpfc_debugfs_hbqinfo_open(struct inode *inode, struct file *file) lpfc_debugfs_hbqinfo_open() argument
2079 lpfc_debugfs_multixripools_open(struct inode *inode, struct file *file) lpfc_debugfs_multixripools_open() argument
2124 lpfc_debugfs_lockstat_open(struct inode *inode, struct file *file) lpfc_debugfs_lockstat_open() argument
2151 lpfc_debugfs_lockstat_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_debugfs_lockstat_write() argument
2222 lpfc_debugfs_ras_log_release(struct inode *inode, struct file *file) lpfc_debugfs_ras_log_release() argument
2248 lpfc_debugfs_ras_log_open(struct inode *inode, struct file *file) lpfc_debugfs_ras_log_open() argument
2308 lpfc_debugfs_dumpHBASlim_open(struct inode *inode, struct file *file) lpfc_debugfs_dumpHBASlim_open() argument
2350 lpfc_debugfs_dumpHostSlim_open(struct inode *inode, struct file *file) lpfc_debugfs_dumpHostSlim_open() argument
2377 lpfc_debugfs_dif_err_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_debugfs_dif_err_read() argument
2419 lpfc_debugfs_dif_err_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_debugfs_dif_err_write() argument
2469 lpfc_debugfs_dif_err_release(struct inode *inode, struct file *file) lpfc_debugfs_dif_err_release() argument
2490 lpfc_debugfs_nodelist_open(struct inode *inode, struct file *file) lpfc_debugfs_nodelist_open() argument
2534 lpfc_debugfs_lseek(struct file *file, loff_t off, int whence) lpfc_debugfs_lseek() argument
2557 lpfc_debugfs_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_debugfs_read() argument
2579 lpfc_debugfs_release(struct inode *inode, struct file *file) lpfc_debugfs_release() argument
2605 lpfc_debugfs_multixripools_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_debugfs_multixripools_write() argument
2656 lpfc_debugfs_nvmestat_open(struct inode *inode, struct file *file) lpfc_debugfs_nvmestat_open() argument
2685 lpfc_debugfs_nvmestat_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_debugfs_nvmestat_write() argument
2744 lpfc_debugfs_scsistat_open(struct inode *inode, struct file *file) lpfc_debugfs_scsistat_open() argument
2773 lpfc_debugfs_scsistat_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_debugfs_scsistat_write() argument
2798 lpfc_debugfs_ioktime_open(struct inode *inode, struct file *file) lpfc_debugfs_ioktime_open() argument
2827 lpfc_debugfs_ioktime_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_debugfs_ioktime_write() argument
2925 lpfc_debugfs_nvmeio_trc_open(struct inode *inode, struct file *file) lpfc_debugfs_nvmeio_trc_open() argument
2954 lpfc_debugfs_nvmeio_trc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_debugfs_nvmeio_trc_write() argument
3030 lpfc_debugfs_hdwqstat_open(struct inode *inode, struct file *file) lpfc_debugfs_hdwqstat_open() argument
3059 lpfc_debugfs_hdwqstat_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_debugfs_hdwqstat_write() argument
3196 lpfc_idiag_open(struct inode *inode, struct file *file) lpfc_idiag_open() argument
3225 lpfc_idiag_release(struct inode *inode, struct file *file) lpfc_idiag_release() argument
3250 lpfc_idiag_cmd_release(struct inode *inode, struct file *file) lpfc_idiag_cmd_release() argument
3295 lpfc_idiag_pcicfg_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_pcicfg_read() argument
3416 lpfc_idiag_pcicfg_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_pcicfg_write() argument
3590 lpfc_idiag_baracc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_baracc_read() argument
3741 lpfc_idiag_baracc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_baracc_write() argument
4046 lpfc_idiag_queinfo_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_queinfo_read() argument
4255 lpfc_idiag_queacc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_queacc_read() argument
4332 lpfc_idiag_queacc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_queacc_write() argument
4629 lpfc_idiag_drbacc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_drbacc_read() argument
4685 lpfc_idiag_drbacc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_drbacc_write() argument
4847 lpfc_idiag_ctlacc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_ctlacc_read() argument
4900 lpfc_idiag_ctlacc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_ctlacc_write() argument
5041 lpfc_idiag_mbxacc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_mbxacc_read() argument
5086 lpfc_idiag_mbxacc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_mbxacc_write() argument
5360 lpfc_idiag_extacc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_extacc_write() argument
5406 lpfc_idiag_extacc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_idiag_extacc_read() argument
5440 lpfc_cgn_buffer_open(struct inode *inode, struct file *file) lpfc_cgn_buffer_open() argument
5464 lpfc_cgn_buffer_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_cgn_buffer_read() argument
5521 lpfc_cgn_buffer_release(struct inode *inode, struct file *file) lpfc_cgn_buffer_release() argument
5532 lpfc_rx_monitor_open(struct inode *inode, struct file *file) lpfc_rx_monitor_open() argument
5556 lpfc_rx_monitor_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) lpfc_rx_monitor_read() argument
5577 lpfc_rx_monitor_release(struct inode *inode, struct file *file) lpfc_rx_monitor_release() argument
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Dmd-bitmap.c27 #include <linux/file.h>
134 * bitmap file handling - read and write the bitmap file and its superblock
279 * write out a page to a file
285 if (bitmap->storage.file == NULL) { in write_page()
337 /* read a page from a file.
342 * to write to a file with no concerns of memory allocation failing.
344 static int read_page(struct file *file, unsigned long index, in read_page() argument
350 struct inode *inode = file_inode(file); in read_page()
830 struct file *file; md_bitmap_file_unmap() local
1054 struct file *file; md_bitmap_init_from_disk() local
1817 struct file *file = mddev->bitmap_info.file; md_bitmap_create() local
[all...]
/kernel/linux/common_modules/xpm/core/
H A Dxpm_report.h23 #define FORMAT_UNDEF "unkown file format"
79 struct file *file; member
107 void report_file_event(char *event_type, struct file *file);
/kernel/linux/common_modules/dec/
H A Ddec_misc.c47 static long dec_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in dec_ioctl() argument
72 static int dec_open(struct inode *inode, struct file *filp) in dec_open()
78 static int dec_release(struct inode *inode, struct file *filp) in dec_release()
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
H A Ddevsynth.c13 static ssize_t speakup_file_write(struct file *fp, const char __user *buffer, in speakup_file_write()
37 static ssize_t speakup_file_read(struct file *fp, char __user *buf, in speakup_file_read()
43 static int speakup_file_open(struct inode *ip, struct file *fp) in speakup_file_open()
52 static int speakup_file_release(struct inode *ip, struct file *fp) in speakup_file_release()
/kernel/linux/linux-5.10/scripts/atomic/
H A Datomic-tbl.sh48 local file=""
56 file="${ATOMICDIR}/fallbacks/${base}"
58 if [ -f "${file}" ]; then
59 printf "${file}"
/kernel/linux/linux-5.10/scripts/
H A Dconfig3 # Manipulate options in a .config file from the command line
15 Manipulate options in a .config file from the command line.
39 --file config-file .config file to change (default .config)
42 $myname doesn't check the validity of the .config file. This is done at next
79 # replace original file with the edited one
90 # replace original file with the edited one
100 # replace original file with the edited one
127 if [ "$1" = "--file" ]; the
[all...]
/kernel/linux/linux-5.10/tools/perf/scripts/perl/Perf-Trace-Util/
H A DContext.c3 * This file was generated automatically by ExtUtils::ParseXS version 2.18_02 from the
4 * contents of Context.xs. Do not edit this file, edit Context.xs instead.
109 const char* file = __FILE__; in XS() local
115 newXSproto("Perf::Trace::Context::common_pc", XS_Perf__Trace__Context_common_pc, file, "$"); in XS()
116 newXSproto("Perf::Trace::Context::common_flags", XS_Perf__Trace__Context_common_flags, file, "$"); in XS()
117 newXSproto("Perf::Trace::Context::common_lock_depth", XS_Perf__Trace__Context_common_lock_depth, file, "$"); in XS()
/kernel/linux/linux-5.10/fs/9p/
H A Dv9fs_vfs.h15 * we track the create fid here. When the file is opened, if fidopen is
19 * you lose the atomicity of file open
56 int v9fs_dir_release(struct inode *inode, struct file *filp);
57 int v9fs_file_open(struct inode *inode, struct file *file);
63 int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end,
/kernel/linux/linux-5.10/fs/notify/
H A Dgroup.c144 int fsnotify_fasync(int fd, struct file *file, int on) in fsnotify_fasync() argument
146 struct fsnotify_group *group = file->private_data; in fsnotify_fasync()
148 return fasync_helper(fd, file, on, &group->fsn_fa) >= 0 ? 0 : -EIO; in fsnotify_fasync()
/kernel/linux/linux-5.10/fs/efs/
H A Ddir.c11 static int efs_readdir(struct file *, struct dir_context *);
23 static int efs_readdir(struct file *file, struct dir_context *ctx) in efs_readdir() argument
25 struct inode *inode = file_inode(file); in efs_readdir()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_reflink.h42 extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in,
43 struct file *file_out, loff_t pos_out, loff_t len,
51 extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in,
52 struct file *file_out, loff_t pos_out, loff_t *len,
/kernel/linux/linux-5.10/drivers/gpu/drm/via/
H A Dvia_drv.c36 static int via_driver_open(struct drm_device *dev, struct drm_file *file) in via_driver_open() argument
45 file->driver_priv = file_priv; in via_driver_open()
52 static void via_driver_postclose(struct drm_device *dev, struct drm_file *file) in via_driver_postclose() argument
54 struct via_file_private *file_priv = file->driver_priv; in via_driver_postclose()
/kernel/linux/linux-6.6/drivers/accessibility/speakup/
H A Ddevsynth.c13 static ssize_t speakup_file_write(struct file *fp, const char __user *buffer, in speakup_file_write()
37 static ssize_t speakup_file_read(struct file *fp, char __user *buf, in speakup_file_read()
43 static int speakup_file_open(struct inode *ip, struct file *fp) in speakup_file_open()
52 static int speakup_file_release(struct inode *ip, struct file *fp) in speakup_file_release()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_message.c84 char *file, in asswarn()
87 xfs_warn(mp, "Assertion failed: %s, file: %s, line: %d", in asswarn()
88 expr, file, line); in asswarn()
96 char *file, in assfail()
99 xfs_emerg(mp, "Assertion failed: %s, file: %s, line: %d", in assfail()
100 expr, file, line); in assfail()
81 asswarn( struct xfs_mount *mp, char *expr, char *file, int line) asswarn() argument
93 assfail( struct xfs_mount *mp, char *expr, char *file, int line) assfail() argument
H A Dxfs_reflink.h38 extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in,
39 struct file *file_out, loff_t pos_out, loff_t len,
47 extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in,
48 struct file *file_out, loff_t pos_out, loff_t *len,
/kernel/linux/linux-6.6/fs/efs/
H A Ddir.c11 static int efs_readdir(struct file *, struct dir_context *);
23 static int efs_readdir(struct file *file, struct dir_context *ctx) in efs_readdir() argument
25 struct inode *inode = file_inode(file); in efs_readdir()
/kernel/linux/linux-6.6/fs/9p/
H A Dv9fs_vfs.h15 * we track the create fid here. When the file is opened, if fidopen is
19 * you lose the atomicity of file open
54 int v9fs_dir_release(struct inode *inode, struct file *filp);
55 int v9fs_file_open(struct inode *inode, struct file *file);
62 int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end,
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
H A Dvpu_v4l2.h16 int vpu_v4l2_open(struct file *file, struct vpu_inst *inst);
17 int vpu_v4l2_close(struct file *file);
/kernel/linux/linux-6.6/tools/perf/scripts/perl/Perf-Trace-Util/
H A DContext.c3 * This file was generated automatically by ExtUtils::ParseXS version 2.18_02 from the
4 * contents of Context.xs. Do not edit this file, edit Context.xs instead.
109 const char* file = __FILE__; in XS() local
115 newXSproto("Perf::Trace::Context::common_pc", XS_Perf__Trace__Context_common_pc, file, "$"); in XS()
116 newXSproto("Perf::Trace::Context::common_flags", XS_Perf__Trace__Context_common_flags, file, "$"); in XS()
117 newXSproto("Perf::Trace::Context::common_lock_depth", XS_Perf__Trace__Context_common_lock_depth, file, "$"); in XS()
/kernel/linux/linux-6.6/tools/perf/util/
H A Ddata.h31 struct perf_data_file file; member
74 return fileno(data->file.fptr); in perf_data__fd()
76 return data->file.fd; in perf_data__fd()
84 ssize_t perf_data_file__write(struct perf_data_file *file,
/kernel/linux/linux-6.6/sound/core/seq/
H A Dseq_clientmgr.h18 struct file *file; /* file struct of client */ member
87 int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table *wait);

Completed in 24 milliseconds

1...<<71727374757677787980>>...262