id
stringlengths
4
63
text
stringlengths
153
8.81M
ib_umem_odp_get(9)
NAME ib_umem_odp_get - Create a umem_odp for a userspace va SYNOPSIS struct ib_umem_odp * ib_umem_odp_get (struct ib_device *device , unsigned long addr , size_t size , int access , const struct mmu_interval_notifier_ops *ops ); ARGUMENTS device IB device struct to get UMEM addr userspace virtual ...
ib_umem_odp_map_dma_and_lock(9)
NAME ib_umem_odp_map_dma_and_lock - DMA map userspace memory in an ODP MR and lock it. SYNOPSIS int ib_umem_odp_map_dma_and_lock (struct ib_umem_odp *umem_odp , u64 user_virt , u64 bcnt , u64 access_mask , bool fault ); ARGUMENTS umem_odp the umem to map and pin user_virt the address from which we need t...
ib_umem_release(9)
NAME ib_umem_release - release memory pinned with ib_umem_get SYNOPSIS void ib_umem_release (struct ib_umem *umem ); ARGUMENTS umem umem struct to release SEE ALSO Kernel file ./drivers/infiniband/core/umem.c ib_umem_find_best_pgsz(9), ib_umem_get(9) April 2026 ...
ib_unpack(9)
NAME ib_unpack - Unpack a buffer into a structure SYNOPSIS void ib_unpack (const struct ib_field *desc , int desc_len , void *buf , void *structure ); ARGUMENTS desc Array of structure field descriptions desc_len Number of entries in desc buf Buffer to unpack from structure ...
ib_unregister_client(9)
NAME ib_unregister_client - Unregister an IB client SYNOPSIS void ib_unregister_client (struct ib_client *client ); ARGUMENTS client Client to unregister DESCRIPTION Upper level users use ib_unregister_client to remove their client registration. When ib_unregister_client is called, the client will receive a ...
ib_unregister_device(9)
NAME ib_unregister_device - Unregister an IB device SYNOPSIS void ib_unregister_device (struct ib_device *ib_dev ); ARGUMENTS ib_dev The device to unregister DESCRIPTION Unregister an IB device. All clients will receive a remove callback. Callers should call this routine only once, and protect against races ...
ib_unregister_device_and_put(9)
NAME ib_unregister_device_and_put - Unregister a device while holding a 'get' SYNOPSIS void ib_unregister_device_and_put (struct ib_device *ib_dev ); ARGUMENTS ib_dev The device to unregister DESCRIPTION This is the same as ib_unregister_device, except it includes an internal ib_device_put that should match ...
ib_unregister_device_queued(9)
NAME ib_unregister_device_queued - Unregister a device using a work queue SYNOPSIS void ib_unregister_device_queued (struct ib_device *ib_dev ); ARGUMENTS ib_dev The device to unregister DESCRIPTION This schedules an asynchronous unregistration using a WQ for the device. A driver should use this to avoid hold...
ib_unregister_driver(9)
NAME ib_unregister_driver - Unregister all IB devices for a driver SYNOPSIS void ib_unregister_driver (enum rdma_driver_id driver_id ); ARGUMENTS driver_id The driver to unregister DESCRIPTION This implements a fence for device unregistration. It only returns once all devices associated with the driver_id have f...
ib_unregister_event_handler(9)
NAME ib_unregister_event_handler - Unregister an event handler SYNOPSIS void ib_unregister_event_handler (struct ib_event_handler *event_handler ); ARGUMENTS event_handler Handler to unregister DESCRIPTION Unregister an event handler registered with ib_register_event_handler. SEE ALSO Kernel file ./drivers/infinib...
ib_unregister_mad_agent(9)
NAME ib_unregister_mad_agent - Unregisters a client from using MAD services. SYNOPSIS void ib_unregister_mad_agent (struct ib_mad_agent *mad_agent ); ARGUMENTS mad_agent Corresponding MAD registration request to deregister. DESCRIPTION After invoking this routine, MAD services are no longer usable by the client on...
ib_update_fast_reg_key(9)
NAME ib_update_fast_reg_key - updates the key portion of the fast_reg MR R_Key and L_Key. SYNOPSIS void ib_update_fast_reg_key (struct ib_mr *mr , u8 newkey ); ARGUMENTS mr struct ib_mr pointer to be updated. newkey new key to be used. SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct...
ib_virt_dma_to_page(9)
NAME ib_virt_dma_to_page - Convert a dma_addr to a struct page SYNOPSIS struct page * ib_virt_dma_to_page (u64 dma_addr ); ARGUMENTS dma_addr The DMA address DESCRIPTION Used by ib_uses_virt_dma device to get back to the struct page after going through the dma_addr marshalling. SEE ALSO Kernel file ./include...
ib_virt_dma_to_ptr(9)
NAME ib_virt_dma_to_ptr - Convert a dma_addr to a kernel pointer SYNOPSIS void * ib_virt_dma_to_ptr (u64 dma_addr ); ARGUMENTS dma_addr The DMA address DESCRIPTION Used by ib_uses_virt_dma devices to get back to the kernel pointer after going through the dma_addr marshalling. SEE ALSO Kernel file ./include/r...
ibcm_reject_msg(9)
NAME ibcm_reject_msg - return a pointer to a reject message string. SYNOPSIS const char * ibcm_reject_msg (int reason ); ARGUMENTS reason Value returned in the REJECT event status field. SEE ALSO Kernel file ./include/rdma/ib_cm.h ib_cm_handler(9), ib_create_cm_id(9), ib_destroy_cm_id(9), ib_cm_listen(9),...
ibdev_to_node(9)
NAME ibdev_to_node - return the NUMA node for a given ib_device SYNOPSIS int ibdev_to_node (struct ib_device *ibdev ); ARGUMENTS ibdev device to get the NUMA node for. SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc(9), struct rdma_hw_stats(9), ib_rate_to_mult(9), ib_rate_to_m...
ibm_find_acpi_device(9)
NAME ibm_find_acpi_device - callback to find our ACPI device SYNOPSIS acpi_status ibm_find_acpi_device (acpi_handle handle , u32 lvl , void *context , void **rv ); ARGUMENTS handle the ACPI handle of the device we are inspecting lvl depth into the namespace tree context a pointer to o...
ibm_get_attention_status(9)
NAME ibm_get_attention_status - callback method to get attention LED status SYNOPSIS int ibm_get_attention_status (struct hotplug_slot *slot , u8 *status ); ARGUMENTS slot the hotplug_slot to work with status returns what the LED is set to (0 or 1) DESCRIPTION This method is registered with th...
ibm_get_table_from_acpi(9)
NAME ibm_get_table_from_acpi - reads the APLS buffer from ACPI SYNOPSIS int ibm_get_table_from_acpi (char **bufp ); ARGUMENTS bufp address to pointer to allocate for the table DESCRIPTION This method reads the APLS buffer in from ACPI and stores the "stripped" table into a single buffer it allocates and passe...
ibm_handle_events(9)
NAME ibm_handle_events - listens for ACPI events for the IBM37D0 device SYNOPSIS void ibm_handle_events (acpi_handle handle , u32 event , void *context ); ARGUMENTS handle an ACPI handle to the device that caused the event event the event info (device specific) context passed context (o...
ibm_read_apci_table(9)
NAME ibm_read_apci_table - callback for the sysfs apci_table file SYNOPSIS ssize_t ibm_read_apci_table (struct file *filp , struct kobject *kobj , const struct bin_attribute *bin_attr , char *buffer , loff_t pos , size_t size ); ARGUMENTS filp the open sysfs file kobj the kobject this binary att...
ibm_set_attention_status(9)
NAME ibm_set_attention_status - callback method to set the attention LED SYNOPSIS int ibm_set_attention_status (struct hotplug_slot *slot , u8 status ); ARGUMENTS slot the hotplug_slot to work with status what to set the LED to (0 or 1) DESCRIPTION This method is registered with the acpiphp modul...
ibm_slot_from_id(9)
NAME ibm_slot_from_id - workaround for bad ibm hardware SYNOPSIS union apci_descriptor * ibm_slot_from_id (int id ); ARGUMENTS id the slot number that linux refers to the slot by DESCRIPTION This method returns the aCPI slot descriptor corresponding to the Linux slot number. This descriptor has info about ...
ibmveth_get_desired_dma(9)
NAME ibmveth_get_desired_dma - Calculate IO memory desired by the driver SYNOPSIS unsigned long ibmveth_get_desired_dma (struct vio_dev *vdev ); ARGUMENTS vdev struct vio_dev for the device whose desired IO mem is to be returned DESCRIPTION Return value: Number of bytes of IO data the driver will need to perf...
ibmveth_remove_buffer_from_pool(9)
NAME ibmveth_remove_buffer_from_pool - remove a buffer from a pool SYNOPSIS int ibmveth_remove_buffer_from_pool (struct ibmveth_adapter *adapter , u64 correlator , bool reuse ); ARGUMENTS adapter adapter instance correlator identifies pool and index reuse whether to reuse buffer RETURN * 0...
ibmveth_remove_buffer_from_pool_test(9)
NAME ibmveth_remove_buffer_from_pool_test - unit test for some of ibmveth_remove_buffer_from_pool SYNOPSIS void ibmveth_remove_buffer_from_pool_test (struct kunit *test ); ARGUMENTS test pointer to kunit structure DESCRIPTION Tests the error returns from ibmveth_remove_buffer_from_pool. ibmveth_remove_buffer...
ibmveth_reset(9)
NAME ibmveth_reset - Handle scheduled reset work SYNOPSIS void ibmveth_reset (struct work_struct *w ); ARGUMENTS w pointer to work_struct embedded in adapter structure CONTEXT This routine acquires rtnl_mutex and disables its NAPI through ibmveth_close. It can't be called directly in a context that has alr...
ibmveth_reset_kunit(9)
NAME ibmveth_reset_kunit - reset routine for running in KUnit environment SYNOPSIS void ibmveth_reset_kunit (struct work_struct *w ); ARGUMENTS w pointer to work_struct embedded in adapter structure CONTEXT Called in the KUnit environment. Does nothing. RETURN void SEE ALSO Kernel file ./drivers/...
ibmveth_rxq_get_buffer_test(9)
NAME ibmveth_rxq_get_buffer_test - unit test for ibmveth_rxq_get_buffer SYNOPSIS void ibmveth_rxq_get_buffer_test (struct kunit *test ); ARGUMENTS test pointer to kunit structure DESCRIPTION Tests ibmveth_rxq_get_buffer. ibmveth_rxq_get_buffer also calls WARN_ON for the NULL returns, so dmesg should be checke...
ibmveth_rxq_harvest_buffer(9)
NAME ibmveth_rxq_harvest_buffer - Harvest buffer from pool SYNOPSIS int ibmveth_rxq_harvest_buffer (struct ibmveth_adapter *adapter , bool reuse ); ARGUMENTS adapter pointer to adapter reuse whether to reuse buffer CONTEXT called from ibmveth_poll RETURN * 0 - success * other - non-zero return ...
ibmvfc_abort_task_set(9)
NAME ibmvfc_abort_task_set - Abort outstanding commands to the device SYNOPSIS int ibmvfc_abort_task_set (struct scsi_device *sdev ); ARGUMENTS sdev scsi device to abort commands DESCRIPTION This sends an Abort Task Set to the VIOS for the specified device. This does NOT send any cancel to the VIOS. That must...
ibmvfc_adisc_needs_plogi(9)
NAME ibmvfc_adisc_needs_plogi - Does device need PLOGI? SYNOPSIS int ibmvfc_adisc_needs_plogi (struct ibmvfc_passthru_mad *mad , struct ibmvfc_target *tgt ); ARGUMENTS mad ibmvfc passthru mad struct tgt ibmvfc target struct RETURN 1 if PLOGI needed / 0 if PLOGI not needed SEE ALSO Kernel fi...
ibmvfc_adisc_timeout(9)
NAME ibmvfc_adisc_timeout - Handle an ADISC timeout SYNOPSIS void ibmvfc_adisc_timeout (struct timer_list *t ); ARGUMENTS t ibmvfc target struct DESCRIPTION If an ADISC times out, send a cancel. If the cancel times out, reset the CRQ. When the ADISC comes back as cancelled, log back into the target. SEE A...
ibmvfc_alloc_mem(9)
NAME ibmvfc_alloc_mem - Allocate memory for vhost SYNOPSIS int ibmvfc_alloc_mem (struct ibmvfc_host *vhost ); ARGUMENTS vhost ibmvfc host struct DESCRIPTION Return value: 0 on success / non-zero on failure SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvf...
ibmvfc_alloc_queue(9)
NAME ibmvfc_alloc_queue - Allocate queue SYNOPSIS int ibmvfc_alloc_queue (struct ibmvfc_host *vhost , struct ibmvfc_queue *queue , enum ibmvfc_msg_fmt fmt ); ARGUMENTS vhost ibmvfc host struct queue ibmvfc queue to allocate fmt queue format to allocate RETURN 0 on success / non-ze...
ibmvfc_alloc_target(9)
NAME ibmvfc_alloc_target - Allocate and initialize an ibmvfc target SYNOPSIS int ibmvfc_alloc_target (struct ibmvfc_host *vhost , struct ibmvfc_discover_targets_entry *target ); ARGUMENTS vhost ibmvfc host struct target Holds SCSI ID to allocate target forand the WWPN RETURN 0 on success / other o...
ibmvfc_alloc_targets(9)
NAME ibmvfc_alloc_targets - Allocate and initialize ibmvfc targets SYNOPSIS int ibmvfc_alloc_targets (struct ibmvfc_host *vhost ); ARGUMENTS vhost ibmvfc host struct RETURN 0 on success / other on failure SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc...
ibmvfc_bsg_plogi(9)
NAME ibmvfc_bsg_plogi - PLOGI into a target to handle a BSG command SYNOPSIS int ibmvfc_bsg_plogi (struct ibmvfc_host *vhost , unsigned int port_id ); ARGUMENTS vhost struct ibmvfc_host to send command port_id port ID to send command RETURN 0 on success / other on failure SEE ALSO Kernel file ./...
ibmvfc_bsg_request(9)
NAME ibmvfc_bsg_request - Handle a BSG request SYNOPSIS int ibmvfc_bsg_request (struct bsg_job *job ); ARGUMENTS job struct bsg_job to be executed RETURN 0 on success / other on failure SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ...
ibmvfc_bsg_timeout(9)
NAME ibmvfc_bsg_timeout - Handle a BSG timeout SYNOPSIS int ibmvfc_bsg_timeout (struct bsg_job *job ); ARGUMENTS job struct bsg_job that timed out RETURN 0 on success / other on failure SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9)...
ibmvfc_bsg_timeout_done(9)
NAME ibmvfc_bsg_timeout_done - Completion handler for cancelling BSG commands SYNOPSIS void ibmvfc_bsg_timeout_done (struct ibmvfc_event *evt ); ARGUMENTS evt struct ibmvfc_event SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvf...
ibmvfc_cancel_all(9)
NAME ibmvfc_cancel_all - Cancel all outstanding commands to the device SYNOPSIS int ibmvfc_cancel_all (struct scsi_device *sdev , int type ); ARGUMENTS sdev scsi device to cancel commands type type of error recovery being performed DESCRIPTION This sends a cancel to the VIOS for the specified d...
ibmvfc_change_queue_depth(9)
NAME ibmvfc_change_queue_depth - Change the device's queue depth SYNOPSIS int ibmvfc_change_queue_depth (struct scsi_device *sdev , int qdepth ); ARGUMENTS sdev scsi device struct qdepth depth to set DESCRIPTION Return value: actual depth set SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc...
ibmvfc_complete_purge(9)
NAME ibmvfc_complete_purge - Complete failed command list SYNOPSIS void ibmvfc_complete_purge (struct list_head *purge_list ); ARGUMENTS purge_list list head of failed commands DESCRIPTION This function runs completions on commands to fail as a result of a host reset or platform migration. SEE ALSO Kernel file ....
ibmvfc_del_tgt(9)
NAME ibmvfc_del_tgt - Schedule cleanup and removal of the target SYNOPSIS void ibmvfc_del_tgt (struct ibmvfc_target *tgt ); ARGUMENTS tgt ibmvfc target struct SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_get_cmd_error(9), ...
ibmvfc_dev_cancel_all_noreset(9)
NAME ibmvfc_dev_cancel_all_noreset - Device iterated cancel all function SYNOPSIS void ibmvfc_dev_cancel_all_noreset (struct scsi_device *sdev , void *data ); ARGUMENTS sdev scsi device struct data return code SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc...
ibmvfc_dev_init_to_do(9)
NAME ibmvfc_dev_init_to_do - Is there target initialization work to do? SYNOPSIS int ibmvfc_dev_init_to_do (struct ibmvfc_host *vhost ); ARGUMENTS vhost ibmvfc host struct RETURN 1 if work to do / 0 if not SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvf...
ibmvfc_dev_logo_to_do(9)
NAME ibmvfc_dev_logo_to_do - Is there target logout work to do? SYNOPSIS int ibmvfc_dev_logo_to_do (struct ibmvfc_host *vhost ); ARGUMENTS vhost ibmvfc host struct RETURN 1 if work to do / 0 if not SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_er...
ibmvfc_discover_targets(9)
NAME ibmvfc_discover_targets - Send Discover Targets MAD SYNOPSIS void ibmvfc_discover_targets (struct ibmvfc_host *vhost ); ARGUMENTS vhost ibmvfc host struct SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_get_cmd_error(9), ...
ibmvfc_discover_targets_done(9)
NAME ibmvfc_discover_targets_done - Completion handler for discover targets MAD SYNOPSIS void ibmvfc_discover_targets_done (struct ibmvfc_event *evt ); ARGUMENTS evt ibmvfc event struct SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9),...
ibmvfc_do_work(9)
NAME ibmvfc_do_work - Do task level work SYNOPSIS void ibmvfc_do_work (struct ibmvfc_host *vhost ); ARGUMENTS vhost ibmvfc host struct SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_get_cmd_error(9), ibmvfc_get_err_result(9),...
ibmvfc_eh_abort_handler(9)
NAME ibmvfc_eh_abort_handler - Abort a command SYNOPSIS int ibmvfc_eh_abort_handler (struct scsi_cmnd *cmd ); ARGUMENTS cmd scsi command to abort RETURN SUCCESS / FAST_IO_FAIL / FAILED SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9),...
ibmvfc_eh_device_reset_handler(9)
NAME ibmvfc_eh_device_reset_handler - Reset a single LUN SYNOPSIS int ibmvfc_eh_device_reset_handler (struct scsi_cmnd *cmd ); ARGUMENTS cmd scsi command struct RETURN SUCCESS / FAST_IO_FAIL / FAILED SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_ge...
ibmvfc_eh_host_reset_handler(9)
NAME ibmvfc_eh_host_reset_handler - Reset the connection to the server SYNOPSIS int ibmvfc_eh_host_reset_handler (struct scsi_cmnd *cmd ); ARGUMENTS cmd struct scsi_cmnd having problems SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9),...
ibmvfc_eh_target_reset_handler(9)
NAME ibmvfc_eh_target_reset_handler - Reset the target SYNOPSIS int ibmvfc_eh_target_reset_handler (struct scsi_cmnd *cmd ); ARGUMENTS cmd scsi command struct RETURN SUCCESS / FAST_IO_FAIL / FAILED SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_...
ibmvfc_event_is_free(9)
NAME ibmvfc_event_is_free - Check if event is free or not SYNOPSIS bool ibmvfc_event_is_free (struct ibmvfc_event *evt ); ARGUMENTS evt ibmvfc event struct RETURN true / false SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_...
ibmvfc_fail_request(9)
NAME ibmvfc_fail_request - Fail request with specified error code SYNOPSIS void ibmvfc_fail_request (struct ibmvfc_event *evt , int error_code ); ARGUMENTS evt ibmvfc event struct error_code error code to fail request with DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ibmvscs...
ibmvfc_free_event(9)
NAME ibmvfc_free_event - Free the specified event SYNOPSIS void ibmvfc_free_event (struct ibmvfc_event *evt ); ARGUMENTS evt ibmvfc_event to be freed SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_get_cmd_error(9), ibmvfc_g...
ibmvfc_free_event_pool(9)
NAME ibmvfc_free_event_pool - Frees memory of the event pool of a host SYNOPSIS void ibmvfc_free_event_pool (struct ibmvfc_host *vhost , struct ibmvfc_queue *queue ); ARGUMENTS vhost ibmvfc host who owns the event pool queue ibmvfc queue struct SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvf...
ibmvfc_free_mem(9)
NAME ibmvfc_free_mem - Free memory for vhost SYNOPSIS void ibmvfc_free_mem (struct ibmvfc_host *vhost ); ARGUMENTS vhost ibmvfc host struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_get_cmd...
ibmvfc_free_queue(9)
NAME ibmvfc_free_queue - Deallocate queue SYNOPSIS void ibmvfc_free_queue (struct ibmvfc_host *vhost , struct ibmvfc_queue *queue ); ARGUMENTS vhost ibmvfc host struct queue ibmvfc queue struct DESCRIPTION Unmaps dma and deallocates page for messages SEE ALSO Kernel file ./drivers/scsi/ibmvscs...
ibmvfc_gather_partition_info(9)
NAME ibmvfc_gather_partition_info - Gather info about the LPAR SYNOPSIS void ibmvfc_gather_partition_info (struct ibmvfc_host *vhost ); ARGUMENTS vhost ibmvfc host struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_ge...
ibmvfc_get_ae_desc(9)
NAME ibmvfc_get_ae_desc - Get text description for async event SYNOPSIS const struct ibmvfc_async_desc * ibmvfc_get_ae_desc (u64 ae ); ARGUMENTS ae async event SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_get_cmd_error(9)...
ibmvfc_get_cmd_error(9)
NAME ibmvfc_get_cmd_error - Find the error description for the fcp response SYNOPSIS const char * ibmvfc_get_cmd_error (u16 status , u16 error ); ARGUMENTS status status / error class error error DESCRIPTION Return value: error description string SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibm...
ibmvfc_get_desired_dma(9)
NAME ibmvfc_get_desired_dma - Calculate DMA resources needed by the driver SYNOPSIS unsigned long ibmvfc_get_desired_dma (struct vio_dev *vdev ); ARGUMENTS vdev vio device struct DESCRIPTION Return value: Number of bytes the driver will need to DMA map at the same time in order to perform well. SEE ALSO Kern...
ibmvfc_get_err_index(9)
NAME ibmvfc_get_err_index - Find the index into cmd_status for the fcp response SYNOPSIS int ibmvfc_get_err_index (u16 status , u16 error ); ARGUMENTS status status / error class error error DESCRIPTION Return value: index into cmd_status / -EINVAL on failure SEE ALSO Kernel file ./drivers/scsi...
ibmvfc_get_err_result(9)
NAME ibmvfc_get_err_result - Find the scsi status to return for the fcp response SYNOPSIS int ibmvfc_get_err_result (struct ibmvfc_host *vhost , struct ibmvfc_cmd *vfc_cmd ); ARGUMENTS vhost ibmvfc host struct vfc_cmd ibmvfc command struct DESCRIPTION Return value: SCSI result value to return for c...
ibmvfc_get_fc_type(9)
NAME ibmvfc_get_fc_type - Return the FC Type description text SYNOPSIS const char * ibmvfc_get_fc_type (u16 status ); ARGUMENTS status FC Type error status RETURN error string SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_get...
ibmvfc_get_gs_explain(9)
NAME ibmvfc_get_gs_explain - Return the FC Explain description text SYNOPSIS const char * ibmvfc_get_gs_explain (u16 status ); ARGUMENTS status FC Explain status RETURN error string SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmv...
ibmvfc_get_host_port_state(9)
NAME ibmvfc_get_host_port_state - Get host port state SYNOPSIS void ibmvfc_get_host_port_state (struct Scsi_Host *shost ); ARGUMENTS shost scsi host struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9),...
ibmvfc_get_host_speed(9)
NAME ibmvfc_get_host_speed - Get host port speed SYNOPSIS void ibmvfc_get_host_speed (struct Scsi_Host *shost ); ARGUMENTS shost scsi host struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_g...
ibmvfc_get_link_state(9)
NAME ibmvfc_get_link_state - Get text description for link state SYNOPSIS const char * ibmvfc_get_link_state (enum ibmvfc_ae_link_state state ); ARGUMENTS state link state SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_get_cmd...
ibmvfc_get_ls_explain(9)
NAME ibmvfc_get_ls_explain - Return the FC Explain description text SYNOPSIS const char * ibmvfc_get_ls_explain (u16 status ); ARGUMENTS status FC Explain status RETURN error string SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmv...
ibmvfc_get_prli_rsp(9)
NAME ibmvfc_get_prli_rsp - Find PRLI response index SYNOPSIS int ibmvfc_get_prli_rsp (u16 flags ); ARGUMENTS flags PRLI response flags SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_get_cmd_error(9), ibmvfc_get_err_result(9),...
ibmvfc_get_starget_node_name(9)
NAME ibmvfc_get_starget_node_name - Get SCSI target's node name SYNOPSIS void ibmvfc_get_starget_node_name (struct scsi_target *starget ); ARGUMENTS starget scsi target struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc...
ibmvfc_get_starget_port_id(9)
NAME ibmvfc_get_starget_port_id - Get SCSI target's port ID SYNOPSIS void ibmvfc_get_starget_port_id (struct scsi_target *starget ); ARGUMENTS starget scsi target struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_e...
ibmvfc_get_starget_port_name(9)
NAME ibmvfc_get_starget_port_name - Get SCSI target's port name SYNOPSIS void ibmvfc_get_starget_port_name (struct scsi_target *starget ); ARGUMENTS starget scsi target struct DESCRIPTION Return value: none SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc...
ibmvfc_get_target(9)
NAME ibmvfc_get_target - Find the specified scsi_target SYNOPSIS struct ibmvfc_target * ibmvfc_get_target (struct scsi_target *starget ); ARGUMENTS starget scsi target struct DESCRIPTION Return value: ibmvfc_target struct / NULL if not found SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_st...
ibmvfc_handle_async(9)
NAME ibmvfc_handle_async - Handle an async event from the adapter SYNOPSIS void ibmvfc_handle_async (struct ibmvfc_async_crq *crq , struct ibmvfc_host *vhost ); ARGUMENTS crq crq to process vhost ibmvfc host struct SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), i...
ibmvfc_handle_crq(9)
NAME ibmvfc_handle_crq - Handles and frees received events in the CRQ SYNOPSIS void ibmvfc_handle_crq (struct ibmvfc_crq *crq , struct ibmvfc_host *vhost , struct list_head *evt_doneq ); ARGUMENTS crq Command/Response queue vhost ibmvfc host struct evt_doneq Event done queue SEE ALSO ...
ibmvfc_hard_reset_host(9)
NAME ibmvfc_hard_reset_host - Reset the connection to the server by breaking the CRQ SYNOPSIS void ibmvfc_hard_reset_host (struct ibmvfc_host *vhost ); ARGUMENTS vhost struct ibmvfc host to reset SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_i...
ibmvfc_host_chkready(9)
NAME ibmvfc_host_chkready - Check if the host can accept commands SYNOPSIS int ibmvfc_host_chkready (struct ibmvfc_host *vhost ); ARGUMENTS vhost struct ibmvfc host RETURN 1 if host can accept command / 0 if not SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ...
ibmvfc_init_crq(9)
NAME ibmvfc_init_crq - Initializes and registers CRQ with hypervisor SYNOPSIS int ibmvfc_init_crq (struct ibmvfc_host *vhost ); ARGUMENTS vhost ibmvfc host struct DESCRIPTION Allocates a page for messages, maps it for dma, and registers the crq with the hypervisor. Return value: zero on success / other on fai...
ibmvfc_init_event(9)
NAME ibmvfc_init_event - Initialize fields in an event struct that are always required. SYNOPSIS void ibmvfc_init_event (struct ibmvfc_event *evt , void (*done) (struct ibmvfc_event *) , u8 format ); ARGUMENTS evt The event done Routine to call when the event is responded to format ...
ibmvfc_init_event_pool(9)
NAME ibmvfc_init_event_pool - Allocates and initializes the event pool for a host SYNOPSIS int ibmvfc_init_event_pool (struct ibmvfc_host *vhost , struct ibmvfc_queue *queue ); ARGUMENTS vhost ibmvfc host who owns the event pool queue ibmvfc queue struct DESCRIPTION Returns zero on success. SEE ...
ibmvfc_init_host(9)
NAME ibmvfc_init_host - Start host initialization SYNOPSIS void ibmvfc_init_host (struct ibmvfc_host *vhost ); ARGUMENTS vhost ibmvfc host struct DESCRIPTION Return value: nothing SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvf...
ibmvfc_init_passthru(9)
NAME ibmvfc_init_passthru - Initialize an event struct for FC passthru SYNOPSIS void ibmvfc_init_passthru (struct ibmvfc_event *evt ); ARGUMENTS evt ibmvfc event struct SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_get_cmd_...
ibmvfc_init_tgt(9)
NAME ibmvfc_init_tgt - Set the next init job step for the target SYNOPSIS void ibmvfc_init_tgt (struct ibmvfc_target *tgt , void (*job_step) (struct ibmvfc_target *) ); ARGUMENTS tgt ibmvfc target struct job_step job step to perform SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_t...
ibmvfc_interrupt(9)
NAME ibmvfc_interrupt - Interrupt handler SYNOPSIS irqreturn_t ibmvfc_interrupt (int irq , void *dev_instance ); ARGUMENTS irq number of irq to handle, not used dev_instance ibmvfc_host that received interrupt RETURN IRQ_HANDLED SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvf...
ibmvfc_issue_fc_host_lip(9)
NAME ibmvfc_issue_fc_host_lip - Re-initiate link initialization SYNOPSIS int ibmvfc_issue_fc_host_lip (struct Scsi_Host *shost ); ARGUMENTS shost scsi host struct DESCRIPTION Return value: 0 on success / other on failure SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc...
ibmvfc_link_down(9)
NAME ibmvfc_link_down - Handle a link down event from the adapter SYNOPSIS void ibmvfc_link_down (struct ibmvfc_host *vhost , enum ibmvfc_host_state state ); ARGUMENTS vhost ibmvfc host struct state ibmvfc host state to enter SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_sta...
ibmvfc_locked_done(9)
NAME ibmvfc_locked_done - Calls evt completion with host_lock held SYNOPSIS void ibmvfc_locked_done (struct ibmvfc_event *evt ); ARGUMENTS evt ibmvfc evt to complete DESCRIPTION All non-scsi command completion callbacks have the expectation that the host_lock is held. This callback is used by ibmvfc_init_eve...
ibmvfc_log_ae(9)
NAME ibmvfc_log_ae - Log async events if necessary SYNOPSIS void ibmvfc_log_ae (struct ibmvfc_host *vhost , int events ); ARGUMENTS vhost ibmvfc host struct events events to log SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(...
ibmvfc_log_error(9)
NAME ibmvfc_log_error - Log an error for the failed command if appropriate SYNOPSIS void ibmvfc_log_error (struct ibmvfc_event *evt ); ARGUMENTS evt ibmvfc event to log SEE ALSO Kernel file ./drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_trc_start(9), ibmvfc_trc_end(9), ibmvfc_get_err_index(9), ibmvfc_get_cmd_...
ibmvfc_map_sg_data(9)
NAME ibmvfc_map_sg_data - Maps dma for a scatterlist and initializes descriptor fields SYNOPSIS int ibmvfc_map_sg_data (struct scsi_cmnd *scmd , struct ibmvfc_event *evt , struct ibmvfc_cmd *vfc_cmd , struct device *dev ); ARGUMENTS scmd struct scsi_cmnd with the scatterlist evt ibmvfc event st...
ibmvfc_map_sg_list(9)
NAME ibmvfc_map_sg_list - Initialize scatterlist SYNOPSIS void ibmvfc_map_sg_list (struct scsi_cmnd *scmd , int nseg , struct srp_direct_buf *md ); ARGUMENTS scmd scsi command struct nseg number of scatterlist segments md memory descriptor list to initialize SEE ALSO Kernel fi...
ibmvfc_match_evt(9)
NAME ibmvfc_match_evt - Match function for specified event SYNOPSIS int ibmvfc_match_evt (struct ibmvfc_event *evt , void *match ); ARGUMENTS evt ibmvfc event struct match event to match RETURN 1 if event matches key / 0 if event does not match key SEE ALSO Kernel file ./drivers/scsi/ibmvscs...
ibmvfc_match_key(9)
NAME ibmvfc_match_key - Match function for specified cancel key SYNOPSIS int ibmvfc_match_key (struct ibmvfc_event *evt , void *key ); ARGUMENTS evt ibmvfc event struct key cancel key to match RETURN 1 if event matches key / 0 if event does not match key SEE ALSO Kernel file ./drivers/scsi...
ibmvfc_match_lun(9)
NAME ibmvfc_match_lun - Match function for specified LUN SYNOPSIS int ibmvfc_match_lun (struct ibmvfc_event *evt , void *device ); ARGUMENTS evt ibmvfc event struct device device to match (sdev) RETURN 1 if event matches sdev / 0 if event does not match sdev SEE ALSO Kernel file ./drivers/scs...
ibmvfc_match_rport(9)
NAME ibmvfc_match_rport - Match function for specified remote port SYNOPSIS int ibmvfc_match_rport (struct ibmvfc_event *evt , void *rport ); ARGUMENTS evt ibmvfc event struct rport device to match RETURN 1 if event matches rport / 0 if event does not match rport SEE ALSO Kernel file ./drive...