id
stringlengths
4
63
text
stringlengths
153
8.81M
zfcp_erp_port_forced_reopen(9)
NAME zfcp_erp_port_forced_reopen - Forced close of port and open again SYNOPSIS void zfcp_erp_port_forced_reopen (struct zfcp_port *port , int clear , char *dbftag ); ARGUMENTS port Port to force close and to reopen. clear Status flags to clear. dbftag Tag for debug trace event. SEE...
zfcp_erp_port_reopen(9)
NAME zfcp_erp_port_reopen - trigger remote port recovery SYNOPSIS void zfcp_erp_port_reopen (struct zfcp_port *port , int clear , char *dbftag ); ARGUMENTS port port to recover clear flags in port status to be cleared dbftag Tag for debug trace event. SEE ALSO Kernel file ./driv...
zfcp_erp_port_shutdown(9)
NAME zfcp_erp_port_shutdown - Shutdown port SYNOPSIS void zfcp_erp_port_shutdown (struct zfcp_port *port , int clear , char *dbftag ); ARGUMENTS port Port to shut down. clear Status flags to clear. dbftag Tag for debug trace event. SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_er...
zfcp_erp_set_adapter_status(9)
NAME zfcp_erp_set_adapter_status - set adapter status bits SYNOPSIS void zfcp_erp_set_adapter_status (struct zfcp_adapter *adapter , u32 mask ); ARGUMENTS adapter adapter to change the status mask status bits to change DESCRIPTION Changes in common status bits are propagated to attached ports and ...
zfcp_erp_set_lun_status(9)
NAME zfcp_erp_set_lun_status - set lun status bits SYNOPSIS void zfcp_erp_set_lun_status (struct scsi_device *sdev , u32 mask ); ARGUMENTS sdev SCSI device / lun to set the status bits mask status bits to change SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_erp.c zfcp_erp_adapter_reopen(9...
zfcp_erp_set_port_status(9)
NAME zfcp_erp_set_port_status - set port status bits SYNOPSIS void zfcp_erp_set_port_status (struct zfcp_port *port , u32 mask ); ARGUMENTS port port to change the status mask status bits to change DESCRIPTION Changes in common status bits are propagated to attached LUNs. SEE ALSO Kernel fil...
zfcp_erp_thread_kill(9)
NAME zfcp_erp_thread_kill - Stop ERP thread. SYNOPSIS void zfcp_erp_thread_kill (struct zfcp_adapter *adapter ); ARGUMENTS adapter Adapter where the ERP thread should be stopped. DESCRIPTION The caller of this routine ensures that the specified adapter has been shut down and that this operation has been complete...
zfcp_erp_thread_setup(9)
NAME zfcp_erp_thread_setup - Start ERP thread for adapter SYNOPSIS int zfcp_erp_thread_setup (struct zfcp_adapter *adapter ); ARGUMENTS adapter Adapter to start the ERP thread for RETURN 0 on success, or error code from kthread_run. SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_erp.c zfcp_erp_adapter_reopen(9...
zfcp_erp_timeout_handler(9)
NAME zfcp_erp_timeout_handler - Trigger ERP action from timed out ERP request SYNOPSIS void zfcp_erp_timeout_handler (struct timer_list *t ); ARGUMENTS t timer list entry embedded in zfcp FSF request SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_erp.c zfcp_erp_adapter_reopen(9), zfcp_erp_adapter_sh...
zfcp_erp_try_rport_unblock(9)
NAME zfcp_erp_try_rport_unblock - unblock rport if no more/new recovery SYNOPSIS void zfcp_erp_try_rport_unblock (struct zfcp_port *port ); ARGUMENTS port zfcp_port whose fc_rport we should try to unblock SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_erp.c zfcp_erp_adapter_reopen(9), zfcp_erp_adapter_...
zfcp_erp_wait(9)
NAME zfcp_erp_wait - wait for completion of error recovery on an adapter SYNOPSIS void zfcp_erp_wait (struct zfcp_adapter *adapter ); ARGUMENTS adapter adapter for which to wait for completion of its error recovery SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_erp.c zfcp_erp_adapter_reopen(9), zfcp_erp_a...
zfcp_fc_enqueue_event(9)
NAME zfcp_fc_enqueue_event - safely enqueue FC HBA API event from irq context SYNOPSIS void zfcp_fc_enqueue_event (struct zfcp_adapter *adapter , enum fc_host_event_code event_code , u32 event_data ); ARGUMENTS adapter The adapter where to enqueue the event event_code The event code (as defined in fc_hos...
zfcp_fc_fcp_tm(9)
NAME zfcp_fc_fcp_tm - Setup FCP command as task management command. SYNOPSIS void zfcp_fc_fcp_tm (struct fcp_cmnd *fcp , struct scsi_device *dev , u8 tm_flags ); ARGUMENTS fcp Pointer to FCP_CMND IU to set up. dev Pointer to SCSI_device where to send the task management command. tm_fla...
zfcp_fc_incoming_els(9)
NAME zfcp_fc_incoming_els - handle incoming ELS SYNOPSIS void zfcp_fc_incoming_els (struct zfcp_fsf_req *fsf_req ); ARGUMENTS fsf_req request which contains incoming ELS SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fc.c zfcp_fc_post_event(9), zfcp_fc_enqueue_event(9), zfcp_fc_ns_gid_pn(9), zfcp_fc_trigger_di...
zfcp_fc_ns_gid_pn(9)
NAME zfcp_fc_ns_gid_pn - initiate GID_PN nameserver request SYNOPSIS int zfcp_fc_ns_gid_pn (struct zfcp_port *port ); ARGUMENTS port port where GID_PN request is needed RETURN -ENOMEM on error, 0 otherwise SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fc.c zfcp_fc_post_event(9), zfcp_fc_enqueue_event(9), zfc...
zfcp_fc_plogi_evaluate(9)
NAME zfcp_fc_plogi_evaluate - evaluate PLOGI playload SYNOPSIS void zfcp_fc_plogi_evaluate (struct zfcp_port *port , struct fc_els_flogi *plogi ); ARGUMENTS port zfcp_port structure plogi plogi payload DESCRIPTION Evaluate PLOGI playload and copy important fields into zfcp_port structure SEE AL...
zfcp_fc_post_event(9)
NAME zfcp_fc_post_event - post event to userspace via fc_transport SYNOPSIS void zfcp_fc_post_event (struct work_struct *work ); ARGUMENTS work work struct with enqueued events SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fc.c zfcp_fc_enqueue_event(9), zfcp_fc_incoming_els(9), zfcp_fc_ns_gid_pn(9),...
zfcp_fc_scan_ports(9)
NAME zfcp_fc_scan_ports - scan remote ports and attach new ports SYNOPSIS void zfcp_fc_scan_ports (struct work_struct *work ); ARGUMENTS work reference to scheduled work SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fc.c zfcp_fc_post_event(9), zfcp_fc_enqueue_event(9), zfcp_fc_incoming_els(9), zfcp_fc_ns_...
zfcp_fc_scsi_to_fcp(9)
NAME zfcp_fc_scsi_to_fcp - setup FCP command with data from scsi_cmnd SYNOPSIS void zfcp_fc_scsi_to_fcp (struct fcp_cmnd *fcp , struct scsi_cmnd *scsi ); ARGUMENTS fcp fcp_cmnd to setup scsi scsi_cmnd where to get LUN, task attributes/flags and CDB SEE ALSO Kernel file ./drivers/s390/scsi/zf...
zfcp_fc_sg_free_table(9)
NAME zfcp_fc_sg_free_table - free memory used by scatterlists SYNOPSIS void zfcp_fc_sg_free_table (struct scatterlist *sg , int count ); ARGUMENTS sg pointer to scatterlist count number of scatterlist which are to be free'ed the scatterlist are expected to reference pages always SEE ALSO Kerne...
zfcp_fc_sg_setup_table(9)
NAME zfcp_fc_sg_setup_table - init scatterlist and allocate, assign buffers SYNOPSIS int zfcp_fc_sg_setup_table (struct scatterlist *sg , int count ); ARGUMENTS sg pointer to struct scatterlist count number of scatterlists which should be assigned with buffers of size page RETURN 0 on success,...
zfcp_fc_sym_name_update(9)
NAME zfcp_fc_sym_name_update - Retrieve and update the symbolic port name SYNOPSIS void zfcp_fc_sym_name_update (struct work_struct *work ); ARGUMENTS work ns_up_work of the adapter where to update the symbolic port name DESCRIPTION Retrieve the current symbolic port name that may have been set by the hardwa...
zfcp_fc_test_link(9)
NAME zfcp_fc_test_link - lightweight link test procedure SYNOPSIS void zfcp_fc_test_link (struct zfcp_port *port ); ARGUMENTS port port to be tested DESCRIPTION Test status of a link to a remote port using the ELS command ADISC. If there is a problem with the remote port, error recovery steps will be trigger...
zfcp_fc_trigger_did_lookup(9)
NAME zfcp_fc_trigger_did_lookup - trigger the d_id lookup using a GID_PN request SYNOPSIS void zfcp_fc_trigger_did_lookup (struct zfcp_port *port ); ARGUMENTS port The zfcp_port to lookup the d_id for. SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fc.c zfcp_fc_post_event(9), zfcp_fc_enqueue_event(9), zfc...
zfcp_fsf_abort_fcp_cmnd(9)
NAME zfcp_fsf_abort_fcp_cmnd - abort running SCSI command SYNOPSIS struct zfcp_fsf_req * zfcp_fsf_abort_fcp_cmnd (struct scsi_cmnd *scmnd ); ARGUMENTS scmnd The SCSI command to abort RETURN pointer to struct zfcp_fsf_req SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_req_free(9), zfcp_fsf_req_co...
zfcp_fsf_close_lun(9)
NAME zfcp_fsf_close_lun - close LUN SYNOPSIS int zfcp_fsf_close_lun (struct zfcp_erp_action *erp_action ); ARGUMENTS erp_action pointer to erp_action triggering the "close LUN" RETURN 0 on success, error otherwise SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_req_free(9), zfcp_fsf_req_comple...
zfcp_fsf_close_physical_port(9)
NAME zfcp_fsf_close_physical_port - close physical port SYNOPSIS int zfcp_fsf_close_physical_port (struct zfcp_erp_action *erp_action ); ARGUMENTS erp_action pointer to struct zfcp_erp_action RETURN 0 on success SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_req_free(9), zfcp_fsf_req_complete...
zfcp_fsf_close_port(9)
NAME zfcp_fsf_close_port - create and send close port request SYNOPSIS int zfcp_fsf_close_port (struct zfcp_erp_action *erp_action ); ARGUMENTS erp_action pointer to struct zfcp_erp_action RETURN 0 on success, error otherwise SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_req_free(9), zfcp_fs...
zfcp_fsf_close_wka_port(9)
NAME zfcp_fsf_close_wka_port - create and send close wka port request SYNOPSIS int zfcp_fsf_close_wka_port (struct zfcp_fc_wka_port *wka_port ); ARGUMENTS wka_port WKA port to open RETURN 0 on success, error otherwise SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_req_free(9), zfcp_fsf_req_...
zfcp_fsf_exchange_config_data_sync(9)
NAME zfcp_fsf_exchange_config_data_sync - Request information about FCP channel. SYNOPSIS int zfcp_fsf_exchange_config_data_sync (struct zfcp_qdio *qdio , struct fsf_qtcb_bottom_config *data ); ARGUMENTS qdio pointer to the QDIO-Queue to use for sending the command. data pointer to the QTCB-Bott...
zfcp_fsf_exchange_port_data(9)
NAME zfcp_fsf_exchange_port_data - request information about local port SYNOPSIS int zfcp_fsf_exchange_port_data (struct zfcp_erp_action *erp_action ); ARGUMENTS erp_action ERP action for the adapter for which port data is requested RETURN 0 on success, error otherwise SEE ALSO Kernel file ./drivers/s390/scsi/...
zfcp_fsf_exchange_port_data_sync(9)
NAME zfcp_fsf_exchange_port_data_sync - Request information about local port. SYNOPSIS int zfcp_fsf_exchange_port_data_sync (struct zfcp_qdio *qdio , struct fsf_qtcb_bottom_port *data ); ARGUMENTS qdio pointer to the QDIO-Queue to use for sending the command. data pointer to the QTCB-Bottom for ...
zfcp_fsf_fcp_cmnd(9)
NAME zfcp_fsf_fcp_cmnd - initiate an FCP command (for a SCSI command) SYNOPSIS int zfcp_fsf_fcp_cmnd (struct scsi_cmnd *scsi_cmnd ); ARGUMENTS scsi_cmnd scsi command to be sent SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_req_free(9), zfcp_fsf_req_complete(9), zfcp_fsf_req_dismiss_all(9), zfc...
zfcp_fsf_fcp_handler_common(9)
NAME zfcp_fsf_fcp_handler_common - FCP response handler common to I/O and TMF. SYNOPSIS void zfcp_fsf_fcp_handler_common (struct zfcp_fsf_req *req , struct scsi_device *sdev ); ARGUMENTS req Pointer to FSF request. sdev Pointer to SCSI device as request context. SEE ALSO Kernel file ./driv...
zfcp_fsf_fcp_task_mgmt(9)
NAME zfcp_fsf_fcp_task_mgmt - Send SCSI task management command (TMF). SYNOPSIS struct zfcp_fsf_req * zfcp_fsf_fcp_task_mgmt (struct scsi_device *sdev , u8 tm_flags ); ARGUMENTS sdev Pointer to SCSI device to send the task management command to. tm_flags Unsigned byte for task management flags. RET...
zfcp_fsf_open_lun(9)
NAME zfcp_fsf_open_lun - open LUN SYNOPSIS int zfcp_fsf_open_lun (struct zfcp_erp_action *erp_action ); ARGUMENTS erp_action pointer to struct zfcp_erp_action RETURN 0 on success, error otherwise SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_req_free(9), zfcp_fsf_req_complete(9), zfcp_fsf_...
zfcp_fsf_open_port(9)
NAME zfcp_fsf_open_port - create and send open port request SYNOPSIS int zfcp_fsf_open_port (struct zfcp_erp_action *erp_action ); ARGUMENTS erp_action pointer to struct zfcp_erp_action RETURN 0 on success, error otherwise SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_req_free(9), zfcp_fsf_r...
zfcp_fsf_open_wka_port(9)
NAME zfcp_fsf_open_wka_port - create and send open wka-port request SYNOPSIS int zfcp_fsf_open_wka_port (struct zfcp_fc_wka_port *wka_port ); ARGUMENTS wka_port pointer to struct zfcp_fc_wka_port RETURN 0 on success, error otherwise SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_req_free(9), ...
zfcp_fsf_req_complete(9)
NAME zfcp_fsf_req_complete - process completion of a FSF request SYNOPSIS void zfcp_fsf_req_complete (struct zfcp_fsf_req *req ); ARGUMENTS req The FSF request that has been completed. DESCRIPTION When a request has been completed either from the FCP adapter, or it has been dismissed due to a queue shutdow...
zfcp_fsf_req_dismiss_all(9)
NAME zfcp_fsf_req_dismiss_all - dismiss all fsf requests SYNOPSIS void zfcp_fsf_req_dismiss_all (struct zfcp_adapter *adapter ); ARGUMENTS adapter pointer to struct zfcp_adapter DESCRIPTION Never ever call this without shutting down the adapter first. Otherwise the adapter would continue using and corrupting s...
zfcp_fsf_req_free(9)
NAME zfcp_fsf_req_free - free memory used by fsf request SYNOPSIS void zfcp_fsf_req_free (struct zfcp_fsf_req *req ); ARGUMENTS req pointer to struct zfcp_fsf_req SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_req_complete(9), zfcp_fsf_req_dismiss_all(9), zfcp_fsf_scnprint_fc_security...
zfcp_fsf_reqid_check(9)
NAME zfcp_fsf_reqid_check - validate req_id contained in SBAL returned by QDIO SYNOPSIS void zfcp_fsf_reqid_check (struct zfcp_qdio *qdio , int sbal_idx ); ARGUMENTS qdio pointer to struct zfcp_qdio sbal_idx response queue index of SBAL to be processed SEE ALSO Kernel file ./drivers/s390/scsi/z...
zfcp_fsf_scnprint_fc_security(9)
NAME zfcp_fsf_scnprint_fc_security - translate FC Endpoint Security flags into mnemonics and place in a buffer SYNOPSIS ssize_t zfcp_fsf_scnprint_fc_security (char *buf , size_t size , u32 fc_security , enum zfcp_fsf_print_fmt fmt ); ARGUMENTS buf the buffer to place the translated FC Endpoint Security flag(s...
zfcp_fsf_send_ct(9)
NAME zfcp_fsf_send_ct - initiate a Generic Service request (FC-GS) SYNOPSIS int zfcp_fsf_send_ct (struct zfcp_fc_wka_port *wka_port , struct zfcp_fsf_ct_els *ct , mempool_t *pool , unsigned int timeout ); ARGUMENTS wka_port pointer to zfcp WKA port to send CT/GS to ct pointer to struct zfcp_fsf_ct...
zfcp_fsf_send_els(9)
NAME zfcp_fsf_send_els - initiate an ELS command (FC-FS) SYNOPSIS int zfcp_fsf_send_els (struct zfcp_adapter *adapter , u32 d_id , struct zfcp_fsf_ct_els *els , unsigned int timeout ); ARGUMENTS adapter pointer to zfcp adapter d_id N_Port_ID to send ELS to els pointer to struct zfcp...
zfcp_fsf_status_read(9)
NAME zfcp_fsf_status_read - send status read request SYNOPSIS int zfcp_fsf_status_read (struct zfcp_qdio *qdio ); ARGUMENTS qdio pointer to struct zfcp_qdio RETURN 0 on success, ERROR otherwise SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_req_free(9), zfcp_fsf_req_complete(9), zfcp_fs...
zfcp_get_port_by_wwpn(9)
NAME zfcp_get_port_by_wwpn - find port in port list of adapter by wwpn SYNOPSIS struct zfcp_port * zfcp_get_port_by_wwpn (struct zfcp_adapter *adapter , u64 wwpn ); ARGUMENTS adapter pointer to adapter to search for port wwpn wwpn to search for RETURN pointer to zfcp_port or NULL SEE ALSO Kernel ...
zfcp_port_enqueue(9)
NAME zfcp_port_enqueue - enqueue port to port list of adapter SYNOPSIS struct zfcp_port * zfcp_port_enqueue (struct zfcp_adapter *adapter , u64 wwpn , u32 status , u32 d_id ); ARGUMENTS adapter adapter where remote port is added wwpn WWPN of the remote port to be enqueued status initia...
zfcp_qdio_allocate(9)
NAME zfcp_qdio_allocate - allocate queue memory and initialize QDIO data SYNOPSIS int zfcp_qdio_allocate (struct zfcp_qdio *qdio ); ARGUMENTS qdio pointer to struct zfcp_qdio RETURN -ENOMEM on memory allocation error or return value from qdio_allocate SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_qdio.c zfcp...
zfcp_qdio_close(9)
NAME zfcp_qdio_close - close qdio queues for an adapter SYNOPSIS void zfcp_qdio_close (struct zfcp_qdio *qdio ); ARGUMENTS qdio pointer to structure zfcp_qdio SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_qdio.c zfcp_qdio_sbals_from_sg(9), zfcp_qdio_sbal_get(9), zfcp_qdio_send(9), zfcp_qdio_allocate(9), zfcp_...
zfcp_qdio_fill_next(9)
NAME zfcp_qdio_fill_next - Fill next sbale, only for single sbal requests SYNOPSIS void zfcp_qdio_fill_next (struct zfcp_qdio *qdio , struct zfcp_qdio_req *q_req , void *data , u32 len ); ARGUMENTS qdio pointer to struct zfcp_qdio q_req pointer to struct zfcp_queue_req data pointer...
zfcp_qdio_open(9)
NAME zfcp_qdio_open - prepare and initialize response queue SYNOPSIS int zfcp_qdio_open (struct zfcp_qdio *qdio ); ARGUMENTS qdio pointer to struct zfcp_qdio RETURN 0 on success, otherwise -EIO SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_qdio.c zfcp_qdio_sbals_from_sg(9), zfcp_qdio_sbal_get(9), zfcp_qdio_s...
zfcp_qdio_real_bytes(9)
NAME zfcp_qdio_real_bytes - count bytes used SYNOPSIS unsigned int zfcp_qdio_real_bytes (struct scatterlist *sg ); ARGUMENTS sg pointer to struct scatterlist SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_qdio.h struct zfcp_qdio(9), struct zfcp_qdio_req(9), zfcp_qdio_sbale_req(9), zfcp_qdio_sbale_curr...
zfcp_qdio_req_init(9)
NAME zfcp_qdio_req_init - initialize qdio request SYNOPSIS void zfcp_qdio_req_init (struct zfcp_qdio *qdio , struct zfcp_qdio_req *q_req , u64 req_id , u8 sbtype , void *data , u32 len ); ARGUMENTS qdio request queue where to start putting the request q_req the qdio request to start req_i...
zfcp_qdio_sbal_get(9)
NAME zfcp_qdio_sbal_get - get free sbal in request queue, wait if necessary SYNOPSIS int zfcp_qdio_sbal_get (struct zfcp_qdio *qdio ); ARGUMENTS qdio pointer to struct zfcp_qdio DESCRIPTION The req_q_lock must be held by the caller of this function, and this function may only be called from process context; i...
zfcp_qdio_sbal_limit(9)
NAME zfcp_qdio_sbal_limit - set the sbal limit for a request in q_req SYNOPSIS void zfcp_qdio_sbal_limit (struct zfcp_qdio *qdio , struct zfcp_qdio_req *q_req , int max_sbals ); ARGUMENTS qdio pointer to struct zfcp_qdio q_req The current zfcp_qdio_req max_sbals maximum number of SBALs ...
zfcp_qdio_sbale_curr(9)
NAME zfcp_qdio_sbale_curr - return current sbale on req_q for a request SYNOPSIS struct qdio_buffer_element * zfcp_qdio_sbale_curr (struct zfcp_qdio *qdio , struct zfcp_qdio_req *q_req ); ARGUMENTS qdio pointer to struct zfcp_qdio q_req pointer to struct zfcp_qdio_req RETURN pointer to qdio_buff...
zfcp_qdio_sbale_req(9)
NAME zfcp_qdio_sbale_req - return pointer to sbale on req_q for a request SYNOPSIS struct qdio_buffer_element * zfcp_qdio_sbale_req (struct zfcp_qdio *qdio , struct zfcp_qdio_req *q_req ); ARGUMENTS qdio pointer to struct zfcp_qdio q_req pointer to struct zfcp_qdio_req RETURN pointer to qdio_buf...
zfcp_qdio_sbals_from_sg(9)
NAME zfcp_qdio_sbals_from_sg - fill SBALs from scatter-gather list SYNOPSIS int zfcp_qdio_sbals_from_sg (struct zfcp_qdio *qdio , struct zfcp_qdio_req *q_req , struct scatterlist *sg ); ARGUMENTS qdio pointer to struct zfcp_qdio q_req pointer to struct zfcp_qdio_req sg scatter-ga...
zfcp_qdio_send(9)
NAME zfcp_qdio_send - send req to QDIO SYNOPSIS int zfcp_qdio_send (struct zfcp_qdio *qdio , struct zfcp_qdio_req *q_req ); ARGUMENTS qdio pointer to struct zfcp_qdio q_req pointer to struct zfcp_qdio_req RETURN 0 on success, error otherwise SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_qdio.c ...
zfcp_qdio_set_data_div(9)
NAME zfcp_qdio_set_data_div - set data division count SYNOPSIS void zfcp_qdio_set_data_div (struct zfcp_qdio *qdio , struct zfcp_qdio_req *q_req , u32 count ); ARGUMENTS qdio pointer to struct zfcp_qdio q_req The current zfcp_qdio_req count The data division count SEE ALSO Kernel ...
zfcp_qdio_set_sbale_last(9)
NAME zfcp_qdio_set_sbale_last - set last entry flag in current sbale SYNOPSIS void zfcp_qdio_set_sbale_last (struct zfcp_qdio *qdio , struct zfcp_qdio_req *q_req ); ARGUMENTS qdio pointer to struct zfcp_qdio q_req pointer to struct zfcp_queue_req SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_q...
zfcp_qdio_set_scount(9)
NAME zfcp_qdio_set_scount - set SBAL count value SYNOPSIS void zfcp_qdio_set_scount (struct zfcp_qdio *qdio , struct zfcp_qdio_req *q_req ); ARGUMENTS qdio pointer to struct zfcp_qdio q_req The current zfcp_qdio_req SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_qdio.h struct zfcp_qdio(9), s...
zfcp_qdio_siosl(9)
NAME zfcp_qdio_siosl - Trigger logging in FCP channel SYNOPSIS void zfcp_qdio_siosl (struct zfcp_adapter *adapter ); ARGUMENTS adapter The zfcp_adapter where to trigger logging DESCRIPTION Call the cio siosl function to trigger hardware logging. This wrapper function sets a flag to ensure hardware logging ...
zfcp_qdio_skip_to_last_sbale(9)
NAME zfcp_qdio_skip_to_last_sbale - skip to last sbale in sbal SYNOPSIS void zfcp_qdio_skip_to_last_sbale (struct zfcp_qdio *qdio , struct zfcp_qdio_req *q_req ); ARGUMENTS qdio pointer to struct zfcp_qdio q_req The current zfcp_qdio_req SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_qdio.h st...
zfcp_reqlist_add(9)
NAME zfcp_reqlist_add - Add entry to reqlist SYNOPSIS void zfcp_reqlist_add (struct zfcp_reqlist *rl , struct zfcp_fsf_req *req ); ARGUMENTS rl reqlist where to add the entry req The entry to add DESCRIPTION The request id always increases. As an optimization new requests are added here with...
zfcp_reqlist_alloc(9)
NAME zfcp_reqlist_alloc - Allocate and initialize reqlist SYNOPSIS struct zfcp_reqlist * zfcp_reqlist_alloc (void ); ARGUMENTS void no arguments DESCRIPTION Returns pointer to allocated reqlist on success, or NULL on allocation failure. SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_reqlist.h struct zfcp_...
zfcp_reqlist_apply_for_all(9)
NAME zfcp_reqlist_apply_for_all - apply a function to every request. SYNOPSIS void zfcp_reqlist_apply_for_all (struct zfcp_reqlist *rl , void (*f)(struct zfcp_fsf_req *, void *) , void *data ); ARGUMENTS rl the requestlist that contains the target requests. f the function to apply to each r...
zfcp_reqlist_find(9)
NAME zfcp_reqlist_find - Lookup FSF request by its request id SYNOPSIS struct zfcp_fsf_req * zfcp_reqlist_find (struct zfcp_reqlist *rl , u64 req_id ); ARGUMENTS rl The reqlist where to lookup the FSF request req_id The request id to look for DESCRIPTION Returns a pointer to the FSF request wit...
zfcp_reqlist_find_rm(9)
NAME zfcp_reqlist_find_rm - Lookup request by id and remove it from reqlist SYNOPSIS struct zfcp_fsf_req * zfcp_reqlist_find_rm (struct zfcp_reqlist *rl , u64 req_id ); ARGUMENTS rl reqlist where to search and remove entry req_id The request id of the request to look for DESCRIPTION This functi...
zfcp_reqlist_free(9)
NAME zfcp_reqlist_free - Free allocated memory for reqlist SYNOPSIS void zfcp_reqlist_free (struct zfcp_reqlist *rl ); ARGUMENTS rl The reqlist where to free memory SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_reqlist.h struct zfcp_reqlist(9), zfcp_reqlist_alloc(9), zfcp_reqlist_isempty(9), zfcp_reqlis...
zfcp_reqlist_isempty(9)
NAME zfcp_reqlist_isempty - Check whether the request list empty SYNOPSIS int zfcp_reqlist_isempty (struct zfcp_reqlist *rl ); ARGUMENTS rl pointer to reqlist RETURN 1 if list is empty, 0 if not SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_reqlist.h struct zfcp_reqlist(9), zfcp_reqlist_alloc(9), zfc...
zfcp_reqlist_move(9)
NAME zfcp_reqlist_move - Move all entries from reqlist to simple list SYNOPSIS void zfcp_reqlist_move (struct zfcp_reqlist *rl , struct list_head *list ); ARGUMENTS rl The zfcp_reqlist where to remove all entries list The list where to move all entries SEE ALSO Kernel file ./drivers/s390/sc...
zfcp_scsi_adapter_register(9)
NAME zfcp_scsi_adapter_register - Allocate and register SCSI and FC host with SCSI midlayer SYNOPSIS int zfcp_scsi_adapter_register (struct zfcp_adapter *adapter ); ARGUMENTS adapter The zfcp adapter to register with the SCSI midlayer DESCRIPTION Allocates the SCSI host object for the given adapter, sets basic ...
zfcp_scsi_adapter_unregister(9)
NAME zfcp_scsi_adapter_unregister - Unregister SCSI and FC host from SCSI midlayer SYNOPSIS void zfcp_scsi_adapter_unregister (struct zfcp_adapter *adapter ); ARGUMENTS adapter The zfcp adapter to unregister. SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_scsi.c zfcp_scsi_task_mgmt_function(9), zfcp_scsi_sysfs...
zfcp_scsi_dev_lun(9)
NAME zfcp_scsi_dev_lun - Return SCSI device LUN as 64 bit FCP LUN SYNOPSIS u64 zfcp_scsi_dev_lun (struct scsi_device *sdev ); ARGUMENTS sdev SCSI device where to get the LUN from SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_def.h enum zfcp_erp_act_type(9), struct zfcp_unit(9), struct zfcp_scsi_dev(9), sdev_t...
zfcp_scsi_dif_sense_error(9)
NAME zfcp_scsi_dif_sense_error - Report DIF/DIX error as driver sense error SYNOPSIS void zfcp_scsi_dif_sense_error (struct scsi_cmnd *scmd , int ascq ); ARGUMENTS scmd The SCSI command to report the error for ascq The ASCQ to put in the sense buffer DESCRIPTION See the error handling in sd_don...
zfcp_scsi_set_prot(9)
NAME zfcp_scsi_set_prot - Configure DIF/DIX support in scsi_host SYNOPSIS void zfcp_scsi_set_prot (struct zfcp_adapter *adapter ); ARGUMENTS adapter The adapter where to configure DIF/DIX for the SCSI host SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_scsi.c zfcp_scsi_task_mgmt_function(9), zfcp_scsi_...
zfcp_scsi_sysfs_host_reset(9)
NAME zfcp_scsi_sysfs_host_reset - Support scsi_host sysfs attribute host_reset. SYNOPSIS int zfcp_scsi_sysfs_host_reset (struct Scsi_Host *shost , int reset_type ); ARGUMENTS shost Pointer to Scsi_Host to perform action on. reset_type We support SCSI_ADAPTER_RESET but not SCSI_FIRMWARE_RESET. RETURN 0...
zfcp_scsi_task_mgmt_function(9)
NAME zfcp_scsi_task_mgmt_function - Send a task management function (sync). SYNOPSIS int zfcp_scsi_task_mgmt_function (struct scsi_device *sdev , u8 tm_flags ); ARGUMENTS sdev Pointer to SCSI device to send the task management command to. tm_flags Task management flags, here we only handle FCP_TMF_T...
zfcp_scsi_terminate_rport_io(9)
NAME zfcp_scsi_terminate_rport_io - Terminate all I/O on a rport SYNOPSIS void zfcp_scsi_terminate_rport_io (struct fc_rport *rport ); ARGUMENTS rport The FC rport where to teminate I/O DESCRIPTION Abort all pending SCSI commands for a port by closing the port. Using a reopen avoids a conflict with a shutdow...
zfcp_status_read_refill(9)
NAME zfcp_status_read_refill - refill the long running status_read_requests SYNOPSIS int zfcp_status_read_refill (struct zfcp_adapter *adapter ); ARGUMENTS adapter ptr to struct zfcp_adapter for which the buffers should be refilled RETURN * 0 on success meaning at least one status read is pending * 1 if posting ...
zfcp_unit_add(9)
NAME zfcp_unit_add - add unit to unit list of a port. SYNOPSIS int zfcp_unit_add (struct zfcp_port *port , u64 fcp_lun ); ARGUMENTS port pointer to port where unit is added fcp_lun FCP LUN of unit to be added RETURN 0 success DESCRIPTION Sets up some unit internal structures and creates sysfs ent...
zfcp_unit_find(9)
NAME zfcp_unit_find - Find and return zfcp_unit with specified FCP LUN SYNOPSIS struct zfcp_unit * zfcp_unit_find (struct zfcp_port *port , u64 fcp_lun ); ARGUMENTS port zfcp_port where to look for the unit fcp_lun 64 Bit FCP LUN used to identify the zfcp_unit DESCRIPTION If zfcp_unit is found, a ...
zfcp_unit_queue_scsi_scan(9)
NAME zfcp_unit_queue_scsi_scan - Register configured units on port SYNOPSIS void zfcp_unit_queue_scsi_scan (struct zfcp_port *port ); ARGUMENTS port The zfcp_port where to register units DESCRIPTION After opening a port, all units configured on this port have to be registered with the SCSI midlayer. This func...
zfcp_unit_release(9)
NAME zfcp_unit_release - Drop reference to zfcp_port and free memory of zfcp_unit. SYNOPSIS void zfcp_unit_release (struct device *dev ); ARGUMENTS dev pointer to device in zfcp_unit SEE ALSO Kernel file ./drivers/s390/scsi/zfcp_unit.c zfcp_unit_scsi_scan(9), zfcp_unit_queue_scsi_scan(9), zfcp_unit_find(9), ...
zfcp_unit_remove(9)
NAME zfcp_unit_remove - Remove entry from list of configured units SYNOPSIS int zfcp_unit_remove (struct zfcp_port *port , u64 fcp_lun ); ARGUMENTS port The port where to remove the unit from the configuration fcp_lun The 64 bit LUN of the unit to remove RETURN -EINVAL if a unit with the specified...
zfcp_unit_scsi_scan(9)
NAME zfcp_unit_scsi_scan - Register LUN with SCSI midlayer SYNOPSIS void zfcp_unit_scsi_scan (struct zfcp_unit *unit ); ARGUMENTS unit The zfcp LUN/unit to register DESCRIPTION When the SCSI midlayer is not allowed to automatically scan and attach SCSI devices, zfcp has to register the single devices with the...
zfcp_unit_sdev(9)
NAME zfcp_unit_sdev - Return SCSI device for zfcp_unit SYNOPSIS struct scsi_device * zfcp_unit_sdev (struct zfcp_unit *unit ); ARGUMENTS unit The zfcp_unit where to get the SCSI device for RETURN scsi_device pointer on success, NULL if there is no SCSI device for this zfcp_unit DESCRIPTION On success, the ca...
zfcp_unit_sdev_status(9)
NAME zfcp_unit_sdev_status - Return zfcp LUN status for SCSI device SYNOPSIS unsigned int zfcp_unit_sdev_status (struct zfcp_unit *unit ); ARGUMENTS unit The unit to lookup the SCSI device for DESCRIPTION Returns the zfcp LUN status field of the SCSI device if the SCSI device for the zfcp_unit exists, 0 other...
zforce(1)
NAME zforce - force a '.gz' extension on all gzip files SYNOPSIS zforce [ name ... ] DESCRIPTION The zforce command forces a .gz extension on all gzip files so that gzip will not compress them twice. This can be useful for files with names truncated after a file transfer. On systems with a 14 char limitation o...
zgrep(1)
NAME zgrep - search possibly compressed files for a regular expression SYNOPSIS zgrep [ grep_options ] [ -e ] pattern filename... DESCRIPTION The zgrep command invokes grep on compressed or gzipped files. All options specified are passed directly to grep. If no file is specified, then the standard input is decompre...
zic(8)
NAME zic - timezone compiler SYNOPSIS zic [ option ... ] [ filename ... ] DESCRIPTION The zic program reads text from the file(s) named on the command line and creates the timezone information format (TZif) files specified in this input. If a filename is “-”, standard input is read. OPTIONS --version Output version...
zipdetails(1)
NAME zipdetails - display the internal structure of zip files SYNOPSIS zipdetails [options] zipfile.zip DESCRIPTION This program creates a detailed report on the internal structure of zip files. For each item of metadata within a zip file the program will output the offset into the zip file where the item is ...
zipgrep(1)
NAME zipgrep - search files in a ZIP archive for lines matching a pattern SYNOPSIS zipgrep [egrep_options] pattern file[.zip] [file(s) ...] [-x xfile(s) ...] DESCRIPTION zipgrep will search files within a ZIP archive for lines matching the given string or pattern. zipgrep is a shell script and requires egrep(1) and...
zipinfo(1)
NAME zipinfo - list detailed information about a ZIP archive SYNOPSIS zipinfo [-12smlvhMtTz] file[.zip] [file(s) ...] [-x xfile(s) ...] unzip -Z [-12smlvhMtTz] file[.zip] [file(s) ...] [-x xfile(s) ...] DESCRIPTION zipinfo lists technical information about files in a ZIP archive, most commonly found on MS-...
zl10036_attach(9)
NAME zl10036_attach - Attach a zl10036 tuner to the supplied frontend structure. SYNOPSIS struct dvb_frontend * zl10036_attach (struct dvb_frontend *fe , const struct zl10036_config *config , struct i2c_adapter *i2c ); ARGUMENTS fe Frontend to attach to. config zl10036_config structure. ...
zl3073x_dev_is_ref_phase_comp_32bit(9)
NAME zl3073x_dev_is_ref_phase_comp_32bit - check ref phase comp register size SYNOPSIS bool zl3073x_dev_is_ref_phase_comp_32bit (struct zl3073x_dev *zldev ); ARGUMENTS zldev pointer to zl3073x device DESCRIPTION Some chip IDs have a 32-bit wide ref_phase_offset_comp register instead of the default 48-bit. RET...
zl3073x_dev_out_dpll_get(9)
NAME zl3073x_dev_out_dpll_get - get DPLL ID the output is driven by SYNOPSIS u8 zl3073x_dev_out_dpll_get (struct zl3073x_dev *zldev , u8 index ); ARGUMENTS zldev pointer to zl3073x device index output index RETURN ID of DPLL the given output is driven by SEE ALSO Kernel file ./drivers/dpll...
zl3073x_dev_out_is_diff(9)
NAME zl3073x_dev_out_is_diff - check if the given output is differential SYNOPSIS bool zl3073x_dev_out_is_diff (struct zl3073x_dev *zldev , u8 index ); ARGUMENTS zldev pointer to zl3073x device index output index RETURN true if output is differential, false if output is single-ended SEE ALSO Ker...