Lines Matching full:file
2 * 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
1922 * @file: The file pointer to attach the log output.
1925 * This routine is the entry point for the debugfs open file operation. It gets
1928 * returns a pointer to that log in the private_data field in @file.
1935 lpfc_debugfs_disc_trc_open(struct inode *inode, struct file *file) in lpfc_debugfs_disc_trc_open() argument
1962 file->private_data = debug; in lpfc_debugfs_disc_trc_open()
1972 * @file: The file pointer to attach the log output.
1975 * This routine is the entry point for the debugfs open file operation. It gets
1978 * returns a pointer to that log in the private_data field in @file.
1985 lpfc_debugfs_slow_ring_trc_open(struct inode *inode, struct file *file) in lpfc_debugfs_slow_ring_trc_open() argument
2012 file->private_data = debug; in lpfc_debugfs_slow_ring_trc_open()
2022 * @file: The file pointer to attach the log output.
2025 * This routine is the entry point for the debugfs open file operation. It gets
2028 * returns a pointer to that log in the private_data field in @file.
2035 lpfc_debugfs_hbqinfo_open(struct inode *inode, struct file *file) in lpfc_debugfs_hbqinfo_open() argument
2054 file->private_data = debug; in lpfc_debugfs_hbqinfo_open()
2064 * @file: The file pointer to attach the log output.
2067 * This routine is the entry point for the debugfs open file operation. It gets
2070 * returns a pointer to that log in the private_data field in @file.
2077 lpfc_debugfs_multixripools_open(struct inode *inode, struct file *file) in lpfc_debugfs_multixripools_open() argument
2098 file->private_data = debug; in lpfc_debugfs_multixripools_open()
2109 * @file: The file pointer to attach the log output.
2112 * This routine is the entry point for the debugfs open file operation. It gets
2115 * returns a pointer to that log in the private_data field in @file.
2122 lpfc_debugfs_lockstat_open(struct inode *inode, struct file *file) in lpfc_debugfs_lockstat_open() argument
2141 file->private_data = debug; in lpfc_debugfs_lockstat_open()
2149 lpfc_debugfs_lockstat_write(struct file *file, const char __user *buf, in lpfc_debugfs_lockstat_write() argument
2152 struct lpfc_debug *debug = file->private_data; in lpfc_debugfs_lockstat_write()
2220 lpfc_debugfs_ras_log_release(struct inode *inode, struct file *file) in lpfc_debugfs_ras_log_release() argument
2222 struct lpfc_debug *debug = file->private_data; in lpfc_debugfs_ras_log_release()
2233 * @file: The file pointer to attach the log output.
2236 * This routine is the entry point for the debugfs open file operation. It gets
2239 * returns a pointer to that log in the private_data field in @file.
2246 lpfc_debugfs_ras_log_open(struct inode *inode, struct file *file) in lpfc_debugfs_ras_log_open() argument
2278 file->private_data = debug; in lpfc_debugfs_ras_log_open()
2293 * @file: The file pointer to attach the log output.
2296 * This routine is the entry point for the debugfs open file operation. It gets
2299 * returns a pointer to that log in the private_data field in @file.
2306 lpfc_debugfs_dumpHBASlim_open(struct inode *inode, struct file *file) in lpfc_debugfs_dumpHBASlim_open() argument
2325 file->private_data = debug; in lpfc_debugfs_dumpHBASlim_open()
2335 * @file: The file pointer to attach the log output.
2338 * This routine is the entry point for the debugfs open file operation. It gets
2341 * returns a pointer to that log in the private_data field in @file.
2348 lpfc_debugfs_dumpHostSlim_open(struct inode *inode, struct file *file) in lpfc_debugfs_dumpHostSlim_open() argument
2367 file->private_data = debug; in lpfc_debugfs_dumpHostSlim_open()
2375 lpfc_debugfs_dif_err_read(struct file *file, char __user *buf, in lpfc_debugfs_dif_err_read() argument
2378 struct lpfc_hba *phba = file->private_data; in lpfc_debugfs_dif_err_read()
2379 int kind = debugfs_get_aux_num(file); in lpfc_debugfs_dif_err_read()
2417 lpfc_debugfs_dif_err_write(struct file *file, const char __user *buf, in lpfc_debugfs_dif_err_write() argument
2420 struct lpfc_hba *phba = file->private_data; in lpfc_debugfs_dif_err_write()
2421 int kind = debugfs_get_aux_num(file); in lpfc_debugfs_dif_err_write()
2467 lpfc_debugfs_dif_err_release(struct inode *inode, struct file *file) in lpfc_debugfs_dif_err_release() argument
2473 * lpfc_debugfs_nodelist_open - Open the nodelist debugfs file
2475 * @file: The file pointer to attach the log output.
2478 * This routine is the entry point for the debugfs open file operation. It gets
2481 * returns a pointer to that log in the private_data field in @file.
2488 lpfc_debugfs_nodelist_open(struct inode *inode, struct file *file) in lpfc_debugfs_nodelist_open() argument
2507 file->private_data = debug; in lpfc_debugfs_nodelist_open()
2515 * lpfc_debugfs_lseek - Seek through a debugfs file
2516 * @file: The file pointer to seek through.
2521 * This routine is the entry point for the debugfs lseek file operation. The
2524 * what the new offset of the debugfs file will be and assigns that value to the
2525 * f_pos field of @file.
2532 lpfc_debugfs_lseek(struct file *file, loff_t off, int whence) in lpfc_debugfs_lseek() argument
2534 struct lpfc_debug *debug = file->private_data; in lpfc_debugfs_lseek()
2535 return fixed_size_llseek(file, off, whence, debug->len); in lpfc_debugfs_lseek()
2539 * lpfc_debugfs_read - Read a debugfs file
2540 * @file: The file pointer to read from.
2543 * @ppos: The position in the file to start reading from.
2547 * field of @file. It will start reading at @ppos and copy up to @nbytes of
2552 * than @nbytes if the end of the file was reached) or a negative error value.
2555 lpfc_debugfs_read(struct file *file, char __user *buf, in lpfc_debugfs_read() argument
2558 struct lpfc_debug *debug = file->private_data; in lpfc_debugfs_read()
2565 * lpfc_debugfs_release - Release the buffer used to store debugfs file data
2567 * @file: The file pointer that contains the buffer to release.
2570 * This routine frees the buffer that was allocated when the debugfs file was
2577 lpfc_debugfs_release(struct inode *inode, struct file *file) in lpfc_debugfs_release() argument
2579 struct lpfc_debug *debug = file->private_data; in lpfc_debugfs_release()
2589 * @file: The file pointer to read from.
2592 * @ppos: The position in the file to start reading from.
2603 lpfc_debugfs_multixripools_write(struct file *file, const char __user *buf, in lpfc_debugfs_multixripools_write() argument
2606 struct lpfc_debug *debug = file->private_data; in lpfc_debugfs_multixripools_write()
2654 lpfc_debugfs_nvmestat_open(struct inode *inode, struct file *file) in lpfc_debugfs_nvmestat_open() argument
2675 file->private_data = debug; in lpfc_debugfs_nvmestat_open()
2683 lpfc_debugfs_nvmestat_write(struct file *file, const char __user *buf, in lpfc_debugfs_nvmestat_write() argument
2686 struct lpfc_debug *debug = file->private_data; in lpfc_debugfs_nvmestat_write()
2742 lpfc_debugfs_scsistat_open(struct inode *inode, struct file *file) in lpfc_debugfs_scsistat_open() argument
2763 file->private_data = debug; in lpfc_debugfs_scsistat_open()
2771 lpfc_debugfs_scsistat_write(struct file *file, const char __user *buf, in lpfc_debugfs_scsistat_write() argument
2774 struct lpfc_debug *debug = file->private_data; in lpfc_debugfs_scsistat_write()
2796 lpfc_debugfs_ioktime_open(struct inode *inode, struct file *file) in lpfc_debugfs_ioktime_open() argument
2817 file->private_data = debug; in lpfc_debugfs_ioktime_open()
2825 lpfc_debugfs_ioktime_write(struct file *file, const char __user *buf, in lpfc_debugfs_ioktime_write() argument
2828 struct lpfc_debug *debug = file->private_data; in lpfc_debugfs_ioktime_write()
2923 lpfc_debugfs_nvmeio_trc_open(struct inode *inode, struct file *file) in lpfc_debugfs_nvmeio_trc_open() argument
2944 file->private_data = debug; in lpfc_debugfs_nvmeio_trc_open()
2952 lpfc_debugfs_nvmeio_trc_write(struct file *file, const char __user *buf, in lpfc_debugfs_nvmeio_trc_write() argument
2955 struct lpfc_debug *debug = file->private_data; in lpfc_debugfs_nvmeio_trc_write()
3028 lpfc_debugfs_hdwqstat_open(struct inode *inode, struct file *file) in lpfc_debugfs_hdwqstat_open() argument
3049 file->private_data = debug; in lpfc_debugfs_hdwqstat_open()
3057 lpfc_debugfs_hdwqstat_write(struct file *file, const char __user *buf, in lpfc_debugfs_hdwqstat_write() argument
3060 struct lpfc_debug *debug = file->private_data; in lpfc_debugfs_hdwqstat_write()
3120 * iDiag debugfs file access methods
3179 * @file: The file pointer to attach the file operation.
3182 * This routine is the entry point for the debugfs open file operation. It
3184 * allocates buffer for the file operation, performs the necessary PCI config
3187 * @file.
3194 lpfc_idiag_open(struct inode *inode, struct file *file) in lpfc_idiag_open() argument
3204 file->private_data = debug; in lpfc_idiag_open()
3210 * lpfc_idiag_release - Release idiag access file operation
3212 * @file: The file pointer that contains the buffer to release.
3215 * This routine is the generic release routine for the idiag access file
3216 * operation, it frees the buffer that was allocated when the debugfs file
3223 lpfc_idiag_release(struct inode *inode, struct file *file) in lpfc_idiag_release() argument
3225 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_release()
3227 /* Free the buffers to the file operation */ in lpfc_idiag_release()
3235 * lpfc_idiag_cmd_release - Release idiag cmd access file operation
3237 * @file: The file pointer that contains the buffer to release.
3240 * This routine frees the buffer that was allocated when the debugfs file
3248 lpfc_idiag_cmd_release(struct inode *inode, struct file *file) in lpfc_idiag_cmd_release() argument
3250 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_cmd_release()
3267 /* Free the buffers to the file operation */ in lpfc_idiag_cmd_release()
3276 * @file: The file pointer to read from.
3279 * @ppos: The position in the file to start reading from.
3290 * than @nbytes if the end of the file was reached) or a negative error value.
3293 lpfc_idiag_pcicfg_read(struct file *file, char __user *buf, size_t nbytes, in lpfc_idiag_pcicfg_read() argument
3296 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_pcicfg_read()
3397 * @file: The file pointer to read from.
3400 * @ppos: The position in the file to start reading from.
3414 lpfc_idiag_pcicfg_write(struct file *file, const char __user *buf, in lpfc_idiag_pcicfg_write() argument
3417 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_pcicfg_write()
3574 * @file: The file pointer to read from.
3577 * @ppos: The position in the file to start reading from.
3585 * than @nbytes if the end of the file was reached) or a negative error value.
3588 lpfc_idiag_baracc_read(struct file *file, char __user *buf, size_t nbytes, in lpfc_idiag_baracc_read() argument
3591 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_baracc_read()
3721 * @file: The file pointer to read from.
3724 * @ppos: The position in the file to start reading from.
3739 lpfc_idiag_baracc_write(struct file *file, const char __user *buf, in lpfc_idiag_baracc_write() argument
3742 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_baracc_write()
4027 * @file: The file pointer to read from.
4030 * @ppos: The position in the file to start reading from.
4041 * than @nbytes if the end of the file was reached) or a negative error value.
4044 lpfc_idiag_queinfo_read(struct file *file, char __user *buf, size_t nbytes, in lpfc_idiag_queinfo_read() argument
4047 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_queinfo_read()
4237 * @file: The file pointer to read from.
4240 * @ppos: The position in the file to start reading from.
4250 * than @nbytes if the end of the file was reached) or a negative error value.
4253 lpfc_idiag_queacc_read(struct file *file, char __user *buf, size_t nbytes, in lpfc_idiag_queacc_read() argument
4256 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_queacc_read()
4313 * @file: The file pointer to read from.
4316 * @ppos: The position in the file to start reading from.
4330 lpfc_idiag_queacc_write(struct file *file, const char __user *buf, in lpfc_idiag_queacc_write() argument
4333 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_queacc_write()
4611 * @file: The file pointer to read from.
4614 * @ppos: The position in the file to start reading from.
4624 * than @nbytes if the end of the file was reached) or a negative error value.
4627 lpfc_idiag_drbacc_read(struct file *file, char __user *buf, size_t nbytes, in lpfc_idiag_drbacc_read() argument
4630 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_drbacc_read()
4666 * @file: The file pointer to read from.
4669 * @ppos: The position in the file to start reading from.
4683 lpfc_idiag_drbacc_write(struct file *file, const char __user *buf, in lpfc_idiag_drbacc_write() argument
4686 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_drbacc_write()
4831 * @file: The file pointer to read from.
4834 * @ppos: The position in the file to start reading from.
4842 * than @nbytes if the end of the file was reached) or a negative error value.
4845 lpfc_idiag_ctlacc_read(struct file *file, char __user *buf, size_t nbytes, in lpfc_idiag_ctlacc_read() argument
4848 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_ctlacc_read()
4884 * @file: The file pointer to read from.
4887 * @ppos: The position in the file to start reading from.
4898 lpfc_idiag_ctlacc_write(struct file *file, const char __user *buf, in lpfc_idiag_ctlacc_write() argument
4901 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_ctlacc_write()
4998 * than @nbytes if the end of the file was reached) or a negative error value.
5025 * @file: The file pointer to read from.
5028 * @ppos: The position in the file to start reading from.
5036 * than @nbytes if the end of the file was reached) or a negative error value.
5039 lpfc_idiag_mbxacc_read(struct file *file, char __user *buf, size_t nbytes, in lpfc_idiag_mbxacc_read() argument
5042 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_mbxacc_read()
5070 * @file: The file pointer to read from.
5073 * @ppos: The position in the file to start reading from.
5084 lpfc_idiag_mbxacc_write(struct file *file, const char __user *buf, in lpfc_idiag_mbxacc_write() argument
5087 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_mbxacc_write()
5344 * @file: The file pointer to read from.
5347 * @ppos: The position in the file to start reading from.
5358 lpfc_idiag_extacc_write(struct file *file, const char __user *buf, in lpfc_idiag_extacc_write() argument
5361 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_extacc_write()
5390 * @file: The file pointer to read from.
5393 * @ppos: The position in the file to start reading from.
5401 * than @nbytes if the end of the file was reached) or a negative error value.
5404 lpfc_idiag_extacc_read(struct file *file, char __user *buf, size_t nbytes, in lpfc_idiag_extacc_read() argument
5407 struct lpfc_debug *debug = file->private_data; in lpfc_idiag_extacc_read()
5438 lpfc_cgn_buffer_open(struct inode *inode, struct file *file) in lpfc_cgn_buffer_open() argument
5454 file->private_data = debug; in lpfc_cgn_buffer_open()
5462 lpfc_cgn_buffer_read(struct file *file, char __user *buf, size_t nbytes, in lpfc_cgn_buffer_read() argument
5465 struct lpfc_debug *debug = file->private_data; in lpfc_cgn_buffer_read()
5519 lpfc_cgn_buffer_release(struct inode *inode, struct file *file) in lpfc_cgn_buffer_release() argument
5521 struct lpfc_debug *debug = file->private_data; in lpfc_cgn_buffer_release()
5530 lpfc_rx_monitor_open(struct inode *inode, struct file *file) in lpfc_rx_monitor_open() argument
5546 file->private_data = debug; in lpfc_rx_monitor_open()
5554 lpfc_rx_monitor_read(struct file *file, char __user *buf, size_t nbytes, in lpfc_rx_monitor_read() argument
5557 struct lpfc_rx_monitor_debug *debug = file->private_data; in lpfc_rx_monitor_read()
5575 lpfc_rx_monitor_release(struct inode *inode, struct file *file) in lpfc_rx_monitor_release() argument
5577 struct lpfc_rx_monitor_debug *debug = file->private_data; in lpfc_rx_monitor_release()
5734 * File operations for the iDiag debugfs
6033 * When Debugfs is configured this routine sets up the lpfc debugfs file system.
6036 * also create each file used to access lpfc specific debugfs information.
6474 * When Debugfs is configured this routine removes debugfs file system elements