Home
last modified time | relevance | path

Searched refs:SNIC_BUG_ON (Results 1 – 9 of 9) sorted by relevance

/drivers/scsi/snic/
Dsnic_io.c41 SNIC_BUG_ON(buf->os_buf == NULL); in snic_wq_cmpl_frame_send()
66 SNIC_BUG_ON(q_num != 0); in snic_wq_cmpl_handler_cont()
114 SNIC_BUG_ON(rqi->list.next == NULL); /* if not added to spl_cmd_list */ in snic_free_wq_buf()
237 SNIC_BUG_ON(sg_cnt > SNIC_MAX_SG_DESC_CNT); in snic_req_init()
259 SNIC_BUG_ON(!rqi); in snic_abort_req_init()
290 SNIC_BUG_ON(!rqi); in snic_dr_req_init()
300 SNIC_BUG_ON(rqi->dr_req != NULL); in snic_dr_req_init()
313 SNIC_BUG_ON(rqi->req == rqi->abort_req); in snic_req_free()
314 SNIC_BUG_ON(rqi->req == rqi->dr_req); in snic_req_free()
315 SNIC_BUG_ON(rqi->sge_va != 0); in snic_req_free()
[all …]
Dsnic_res.c123 SNIC_BUG_ON(snic->wq_count == 0); in snic_get_res_counts()
125 SNIC_BUG_ON(snic->cq_count == 0); in snic_get_res_counts()
128 SNIC_BUG_ON(snic->intr_count == 0); in snic_get_res_counts()
168 SNIC_BUG_ON(intr_mode != VNIC_DEV_INTR_MODE_MSIX); in snic_alloc_vnic_res()
197 SNIC_BUG_ON(snic->cq_count != 2 * snic->wq_count); in snic_alloc_vnic_res()
250 SNIC_BUG_ON(intr_mode != VNIC_DEV_INTR_MODE_MSIX); in snic_alloc_vnic_res()
Dsnic_disc.c100 SNIC_BUG_ON(ntgts == 0); in snic_queue_report_tgt_req()
112 SNIC_BUG_ON((((unsigned long)buf) % SNIC_SG_DESC_ALIGN) != 0); in snic_queue_report_tgt_req()
127 SNIC_BUG_ON(pa == 0); in snic_queue_report_tgt_req()
213 SNIC_BUG_ON(!list_empty(&tgt->list)); in snic_tgt_dev_release()
272 SNIC_BUG_ON(le16_to_cpu(tgtid->tgt_type) > SNIC_TGT_SAN); in snic_tgt_create()
370 SNIC_BUG_ON(snic->disc.rtgt_cnt == 0 || tgtid == NULL); in snic_handle_tgt_disc()
419 SNIC_BUG_ON(tgt_cnt > snic->fwinfo.max_tgts); in snic_report_tgt_cmpl_handler()
Dsnic_scsi.c134 SNIC_BUG_ON(!((CMD_STATE(sc) == SNIC_IOREQ_COMPLETE) || in snic_release_req_buf()
388 SNIC_BUG_ON(1); in snic_proc_tmreq_pending_state()
400 SNIC_BUG_ON(1); in snic_proc_tmreq_pending_state()
601 SNIC_BUG_ON(rqi != (struct snic_req_info *)ctx); in snic_icmnd_cmpl_handler()
896 SNIC_BUG_ON(1); in snic_process_itmf_cmpl()
942 SNIC_BUG_ON(1); in snic_itmf_cmpl_handler()
1024 SNIC_BUG_ON(1); in snic_hba_reset_cmpl_handler()
1075 SNIC_BUG_ON(snic_get_state(snic) != SNIC_OFFLINE && in snic_hba_reset_cmpl_handler()
1169 SNIC_BUG_ON(1); in snic_aen_handler()
1195 SNIC_BUG_ON((fwreq->hdr.type > SNIC_RSP_BOOT_LUNS_CMPL) && in snic_io_cmpl_handler()
[all …]
Dsnic_isr.c109 SNIC_BUG_ON(intr_mode != VNIC_DEV_INTR_MODE_MSIX); in snic_request_intr()
170 SNIC_BUG_ON(ARRAY_SIZE(snic->msix_entry) < (n + m + 1)); in snic_set_intr_mode()
Dsnic.h174 #define SNIC_BUG_ON(EXPR) \ macro
182 #define SNIC_BUG_ON(EXPR) \ macro
Dsnic_main.c310 SNIC_BUG_ON(shost->work_q != NULL); in snic_add_host()
481 SNIC_BUG_ON(snic->bar0.bus_addr == 0); in snic_probe()
963 SNIC_BUG_ON(snic_glob == NULL); in snic_global_data_cleanup()
Dsnic_ctl.c169 SNIC_BUG_ON(snic->config.hid != hid); in snic_io_exch_ver_cmpl_handler()
Dsnic_debugfs.c84 SNIC_BUG_ON(!inode->i_private); in snic_reset_stats_open()