Home
last modified time | relevance | path

Searched refs:ocs_log_err (Results 1 – 22 of 22) sorted by relevance

/freebsd/sys/dev/ocs_fc/
H A Docs_gendump.c66 ocs_log_err(ocs, "failed to initialize hw\n"); in ocs_gen_dump_reset()
180 ocs_log_err(NULL, "port index(%d) out of boundary\n", in ocs_gen_dump()
225 ocs_log_err(ocs, "dump request to hw failed\n"); in ocs_fdb_dump()
265 ocs_log_err(ocs, "Failed to dump buffers\n"); in ocs_dump_to_host()
277 ocs_log_err(ocs, "Failed to allocate dump buffer\n"); in ocs_dump_to_host()
327 ocs_log_err(ocs, "zero buffer length is invalid\n"); in ocs_function_speciic_dump()
336 ocs_log_err(ocs, "Failed to allocate dump buffers\n"); in ocs_function_speciic_dump()
347 ocs_log_err(ocs, "Failed to allocate dma buffer\n"); in ocs_function_speciic_dump()
358 ocs_log_err(ocs, "ocs_hw_set_dump_location failed\n"); in ocs_function_speciic_dump()
365 ocs_log_err(ocs, "ocs_gen_dump failed\n"); in ocs_function_speciic_dump()
[all …]
H A Docs_xport.c143 ocs_log_err(ocs, "memory allocation failure\n"); in ocs_xport_rq_threads_create()
162 ocs_log_err(ocs, "ocs_thread_create failed: %d\n", rc); in ocs_xport_rq_threads_create()
215 ocs_log_err(ocs, "%s: Can't setup hardware\n", ocs->desc); in ocs_xport_attach()
256 ocs_log_err(ocs, "Can't allocate node pool\n"); in ocs_xport_attach()
266 ocs_log_err(ocs, "Can't allocate IO pool\n"); in ocs_xport_attach()
276 ocs_log_err(ocs, "failure creating RQ threads\n"); in ocs_xport_attach()
554 ocs_log_err(ocs, "ocs_hw_init failure\n"); in ocs_xport_initialize()
568 ocs_log_err(ocs, "failed to initialize target\n"); in ocs_xport_initialize()
578 ocs_log_err(ocs, "failed to initialize initiator\n"); in ocs_xport_initialize()
766 ocs_log_err(ocs, "%s: Can't init port\n", ocs->desc); in ocs_xport_control()
[all …]
H A Docs_hw.c386 ocs_log_err(hw->os, "SLI setup failed\n"); in ocs_hw_setup()
2535 ocs_log_err(hw ? hw->os : NULL, in ocs_hw_port_attach()
2743 ocs_log_err(hw ? hw->os : NULL, in ocs_hw_port_free()
2846 ocs_log_err(hw ? hw->os : NULL, in ocs_hw_domain_attach()
2889 ocs_log_err(hw ? hw->os : NULL, in ocs_hw_domain_free()
4754 ocs_log_err(hw ? hw->os : NULL, in ocs_hw_io_add_sge()
4823 ocs_log_err(hw ? hw->os : NULL, in ocs_hw_io_add_dif_sge()
4886 ocs_log_err(hw ? hw->os : NULL, in ocs_hw_io_abort()
5026 ocs_log_err(hw ? hw->os : NULL, in ocs_hw_io_get_xid()
5874 ocs_log_err(hw->os, "malloc failed\n"); in ocs_hw_set_linkcfg_lancer()
[all …]
H A Docs_domain.c118 ocs_log_err(ocs, "ocs_domain_alloc() failed\n"); in ocs_domain_cb()
232 ocs_log_err(ocs, "spv_new() failed\n"); in ocs_domain_alloc()
252 ocs_log_err(ocs, "domain allocation failed\n"); in ocs_domain_alloc()
382 ocs_log_err(ocs, "invalid index: %d\n", index); in ocs_domain_get_instance()
540 ocs_log_err(ocs, "ocs_sport_alloc() failed\n"); in __ocs_domain_init()
549 ocs_log_err(ocs, "no VLAN id available (FCF=%d)\n", in __ocs_domain_init()
561 ocs_log_err(ocs, "Can't allocate port\n"); in __ocs_domain_init()
597 ocs_log_err(ocs, "ocs_node_alloc() failed\n"); in __ocs_domain_init()
708 ocs_log_err(ocs, "Error: ocs_node_alloc() failed\n"); in __ocs_domain_wait_alloc()
792 ocs_log_err(ocs, "ocs_hw_domain_attach failed: %d\n", rc); in __ocs_domain_allocated()
[all …]
H A Docs_hw_queues.c171 ocs_log_err(hw->os, "invalid ULP %d for WQ\n", qt->ulp); in ocs_hw_init_queues()
224 ocs_log_err(hw->os, "invalid ULP %d for RQ\n", qt->ulp); in ocs_hw_init_queues()
470 ocs_log_err(NULL, "Failed to create CQ Set. \n"); in hw_new_cq_set()
519 ocs_log_err(hw->os, "MQ allocation failure\n"); in hw_new_mq()
565 ocs_log_err(hw->os, "WQ allocation failure\n"); in hw_new_wq()
1624 ocs_log_err(hw->os, "malloc qtop failed\n"); in ocs_hw_qtop_parse()
1632 ocs_log_err(hw->os, "malloc qtop entries failed\n"); in ocs_hw_qtop_parse()
2173 ocs_log_err(hw->os, "error writing buffers\n"); in ocs_hw_rqpair_sequence_free()
2225 ocs_log_err(hw->os, "DMA allocation failed\n"); in ocs_hw_rqpair_auto_xfer_rdy_buffer_alloc()
2329 ocs_log_err(hw->os, "no buffer for command\n"); in ocs_hw_rqpair_auto_xfer_rdy_move_to_port()
[all …]
H A Docs_els.c623 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_plogi()
682 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_flogi()
741 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_fdisc()
793 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_prli()
856 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_prlo()
914 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_logo()
974 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_adisc()
1031 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_pdisc()
1081 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_scr()
1130 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_rrq()
[all …]
H A Docs_io.c110 ocs_log_err(ocs, "allocate of IO pool failed\n"); in ocs_io_pool_create()
133 ocs_log_err(ocs, "ocs_dma_alloc cmdbuf failed\n"); in ocs_io_pool_create()
142 ocs_log_err(ocs, "ocs_dma_alloc cmdbuf failed\n"); in ocs_io_pool_create()
150 ocs_log_err(ocs, "malloc sgl's failed\n"); in ocs_io_pool_create()
163 ocs_log_err(ocs, "ocs_dma_alloc els_req failed\n"); in ocs_io_pool_create()
170 ocs_log_err(ocs, "ocs_dma_alloc els_rsp failed\n"); in ocs_io_pool_create()
H A Dsli4.c541 ocs_log_err(sli4->os, "invalid or wrong type\n"); in sli_bmbx_command()
3807 ocs_log_err(sli4->os, "bad READ_CONFIG write\n"); in sli_get_config()
3984 ocs_log_err(sli4->os, "READ_REV bad status %#x\n", in sli_get_config()
4015 ocs_log_err(sli4->os, "bad READ_REV write\n"); in sli_get_config()
4054 ocs_log_err(sli4->os, "bad READ_NVPARMS write\n"); in sli_get_config()
4097 ocs_log_err(os, "SLI_INTF is not valid\n"); in sli_setup()
4570 ocs_log_err(NULL, "bad parameter sli4=%p\n", sli4); in sli_get_queue_entry_size()
4751 ocs_log_err(NULL, "bad parameter sli4=%p\n", sli4); in sli_cq_alloc_set()
4761 ocs_log_err(sli4->os, "Queue init failed.\n"); in sli_cq_alloc_set()
4787 ocs_log_err(sli4->os, "DMA allocation failed\n"); in sli_cq_alloc_set()
[all …]
H A Docs_ioctl.c426 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
495 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
526 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
555 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
565 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
590 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
689 ocs_log_err(ocs, "ocs_firmware_write: malloc failed\n"); in ocs_firmware_write()
778 ocs_log_err(ocs, "Firmware update failed with status = %d\n", rc); in ocs_sys_fwupgrade()
1017 ocs_log_err(ocs, "Setting port to offline failed\n"); in ocs_sysctl_port_state()
1026 ocs_log_err(ocs, "Setting port to online failed\n"); in ocs_sysctl_port_state()
[all …]
H A Docs_unsol.c629 ocs_log_err(ocs, "ocs_node_alloc() failed\n"); in ocs_domain_dispatch_frame()
918 ocs_log_err(ocs, "IO allocation failed ox_id %04x\n", ocs_be16toh(fchdr->ox_id)); in ocs_dispatch_fcp_cmd()
931 ocs_log_err(ocs, "ESP Header present. Fix ESP Size.\n"); in ocs_dispatch_fcp_cmd()
1019 ocs_log_err(ocs, "IO allocation failed ox_id %04x\n", ocs_be16toh(fchdr->ox_id)); in ocs_dispatch_fcp_cmd_auto_xfer_rdy()
1029 ocs_log_err(ocs, "TMF flags set 0x%x\n", cmnd->task_management_flags); in ocs_dispatch_fcp_cmd_auto_xfer_rdy()
1082 ocs_log_err(ocs, "data received for NULL io, xri=0x%x\n", in ocs_dispatch_fcp_data()
1092 ocs_log_err(ocs, "data received for host owned XRI, xri=0x%x\n", in ocs_dispatch_fcp_data()
1099 ocs_log_err(ocs, "data with status 0x%x received, xri=0x%x\n", in ocs_dispatch_fcp_data()
1128 ocs_log_err(ocs, "error passing first burst, xri=0x%x, oxid=0x%x\n", in ocs_dispatch_fcp_data()
H A Docs_mgmt.c592 ocs_log_err(other_ocs, in ocs_mgmt_firmware_reset()
662 ocs_log_err(ocs, "ocs_sem_p failed\n"); in ocs_mgmt_firmware_write()
768 ocs_log_err(ocs, "ocs_sem_p failed\n"); in ocs_mgmt_get_sfp()
1621 ocs_log_err(ocs, "ocs_sem_p failed\n"); in set_linkcfg()
1890 ocs_log_err(ocs, "ocs_sem_p failed\n"); in get_port_protocol()
1972 ocs_log_err(ocs, "ocs_sem_p failed\n"); in set_port_protocol()
2029 ocs_log_err(ocs, "ocs_sem_p failed\n"); in get_profile_list()
2106 ocs_log_err(ocs, "ocs_sem_p failed\n"); in get_active_profile()
2162 ocs_log_err(ocs, "ocs_sem_p failed\n"); in set_active_profile()
2223 ocs_log_err(ocs, "ocs_sem_p failed\n"); in get_nv_wwpn()
[all …]
H A Docs_sport.c424 ocs_log_err(sport->ocs, "ocs_hw_port_attach failed: %d\n", rc); in ocs_sport_attach()
630 ocs_log_err(ocs, "Can't allocate port\n"); in __ocs_sport_vport_init()
689 ocs_log_err(ocs, "ocs_node_alloc() failed\n"); in __ocs_sport_vport_wait_alloc()
856 ocs_log_err(sport->ocs, "ocs_hw_port_free failed\n"); in __ocs_sport_wait_shutdown()
1530 ocs_log_err(ocs, "ocs_malloc failed\n"); in ocs_vport_create_spec()
1763 ocs_log_err(ocs, "ocs_hw_node_group_alloc() failed: %d\n", hrc); in ocs_remote_node_group_alloc()
1862 ocs_log_err(ocs, "ocs_node_group_dir_alloc() failed\n"); in ocs_node_group_init()
1875 ocs_log_err(ocs, "ocs_remote_node_group_alloc() failed\n"); in ocs_node_group_init()
1884 ocs_log_err(node->ocs, "assertion failed: idx >= ocs->hlm_group_size\n"); in ocs_node_group_init()
H A Docs_pci.c257 ocs_log_err(ocs, "failed to allocate memory for saved ddump\n"); in ocs_setup_params()
391 ocs_log_err(ocs, "Get default wwn failed \n"); in ocs_setup_fcports()
633 ocs_log_err(ocs, "%s: Transport Shutdown timed out\n", __func__); in ocs_device_detach()
639 ocs_log_err(ocs, "%s: Transport detach failed\n", __func__); in ocs_device_detach()
H A Docs_os.c948 ocs_log_err(NULL, "bad parameter\n"); in ocs_setup_timer()
984 ocs_log_err(NULL, "bad parameter\n"); in ocs_mod_timer()
1039 ocs_log_err(NULL, "%s(%d) assertion (%s) failed\n", (fn ? fn + 1 : filename), linenum, cond); in _ocs_assert()
H A Docs_cam.c218 ocs_log_err(ocs, "Attach port failed for chan: %d\n", i); in ocs_cam_attach()
431 ocs_log_err(ocs, "FCP is NULL \n"); in ocs_scsi_new_initiator()
503 ocs_log_err(ocs, "FCP is NULL \n"); in ocs_scsi_del_initiator()
560 ocs_log_err(ocs, "FCP is NULL \n"); in ocs_scsi_recv_cmd()
693 ocs_log_err(ocs, "FCP is NULL \n"); in ocs_scsi_recv_tmf()
1186 ocs_log_err(ocs,"OCS is NULL \n"); in ocs_scsi_del_target()
1192 ocs_log_err(ocs,"FCP is NULL \n"); in ocs_scsi_del_target()
1198 ocs_log_err(ocs,"target is invalid\n"); in ocs_scsi_del_target()
H A Docs_utils.c95 ocs_log_err(NULL, "Error: size exceeds slab length\n"); in ocs_array_alloc()
972 ocs_log_err(ocs, "Could not allocate queue history buffer\n"); in ocs_queue_history_init()
1853 ocs_log_err(textbuf->ocs, "alloc segment failed\n"); in ocs_textbuf_vprintf()
2317 ocs_log_err(ocs, "ocs_malloc ramlog failed\n"); in ocs_ramlog_init()
2325 ocs_log_err(ocs, "ocs_malloc textbufs failed\n"); in ocs_ramlog_init()
2333 ocs_log_err(ocs, "ocs_textbuf_alloc failed\n"); in ocs_ramlog_init()
H A Docs_fabric.c334 ocs_log_err(ocs, "FDISC failed, shutting down sport\n"); in __ocs_fabric_fdisc_wait_rsp()
873 ocs_log_err(node->ocs, "ocs_xport_control(OCS_XPORT_POST_NODE_EVENT) failed: %d\n", rc); in gidpt_delay_timer_cb()
1368 ocs_log_err(ocs, "node alloc failed\n"); in __ocs_p2p_wait_domain_attach()
1957 ocs_log_err(ocs, "ocs_node_alloc() failed\n"); in ocs_process_gidpt_payload()
H A Docs_scsi.c199 ocs_log_err(node->ocs, "assertion failed: io->hio is not NULL\n"); in ocs_scsi_io_alloc()
696 ocs_log_err(ocs, "ocs_hw_io_init_sges failed: %d\n", rc); in ocs_scsi_build_sgls()
761 ocs_log_err(ocs, "ocs_hw_io_add_sge failed: count=%d rc=%d\n", in ocs_scsi_build_sgls()
774 ocs_log_err(ocs, "ocs_hw_io_add_sge failed: count=%d rc=%d\n", in ocs_scsi_build_sgls()
1296 ocs_log_err(ocs, "ocs_dma_alloc overflow sgl failed\n"); in ocs_scsi_io_dispatch_hw_io()
1302 ocs_log_err(ocs, "ocs_hw_io_register_sgl() failed\n"); in ocs_scsi_io_dispatch_hw_io()
1679 ocs_log_err(ocs, "NULL response buffer\n"); in ocs_scsi_send_resp()
H A Docs_node.c247 ocs_log_err(ocs, "node ptrs allocation failed"); in ocs_node_create_pool()
266 ocs_log_err(ocs, "node allocation failed"); in ocs_node_create_pool()
278 ocs_log_err(ocs, "ocs_dma_alloc failed: %d\n", rc); in ocs_node_create_pool()
390 ocs_log_err(ocs, "node allocation failed %06x", port_id); in ocs_node_alloc()
414 ocs_log_err(ocs, "ocs_hw_node_alloc failed: %d\n", rc); in ocs_node_alloc()
H A Docs_os.h372 #define ocs_log_err(os, fmt, ...) ocs_log(os, LOG_ERR, fmt, ##__VA_ARGS__); macro
H A Docs_ddump.c806 ocs_log_err(ocs, "Saved ddump not allocated\n"); in ocs_save_ddump()
H A Dsli4.h3630 ocs_log_err(NULL, "unsupported FC-AL speed (speed_code: %d)\n", link_speed); in sli_fcal_is_speed_supported()