/linux-6.6.21/tools/testing/selftests/pidfd/ |
D | pidfd_open_test.c | 27 long sli; in safe_int() local 30 sli = strtol(numstr, &err, 0); in safe_int() 31 if (errno == ERANGE && (sli == LONG_MAX || sli == LONG_MIN)) in safe_int() 34 if (errno != 0 && sli == 0) in safe_int() 40 if (sli > INT_MAX || sli < INT_MIN) in safe_int() 43 *converted = (int)sli; in safe_int()
|
/linux-6.6.21/drivers/scsi/elx/efct/ |
D | efct_hw.c | 58 if (sli_cmd_common_set_dump_location(&hw->sli, buf, 1, 0, NULL, 0)) in efct_hw_read_max_dump_size() 196 if (!sli_cmd_read_topology(&hw->sli, buf, in efct_hw_cb_link() 278 if (sli_setup(&hw->sli, hw->os, pdev, ((struct efct *)os)->reg)) { in efct_hw_setup() 285 sli_callback(&hw->sli, SLI4_CB_LINK, efct_hw_cb_link, hw); in efct_hw_setup() 291 hw->num_qentries[i] = hw->sli.qinfo.max_qentries[i]; in efct_hw_setup() 304 hw->config.n_io = hw->sli.ext[SLI4_RSRC_XRI].size; in efct_hw_setup() 309 max_sgl = sli_get_max_sgl(&hw->sli) - SLI4_SGE_MAX_RESERVED; in efct_hw_setup() 379 sli_fc_els_did(&hw->sli, cqe, &ext); in efct_hw_wq_process_io() 380 len = sli_fc_response_length(&hw->sli, cqe); in efct_hw_wq_process_io() 386 len = sli_fc_response_length(&hw->sli, cqe); in efct_hw_wq_process_io() [all …]
|
D | efct_hw_queues.c | 142 if (sli_queue_alloc(&hw->sli, SLI4_QTYPE_EQ, eq->queue, entry_count, in efct_hw_new_eq() 149 sli_eq_modify_delay(&hw->sli, eq->queue, 1, 0, 8); in efct_hw_new_eq() 175 if (sli_queue_alloc(&hw->sli, SLI4_QTYPE_CQ, cq->queue, in efct_hw_new_cq() 197 struct sli4 *sli4 = &hw->sli; in efct_hw_new_cq_set() 259 if (sli_queue_alloc(&hw->sli, SLI4_QTYPE_MQ, mq->queue, mq->entry_size, in efct_hw_new_mq() 294 if (sli_queue_alloc(&hw->sli, SLI4_QTYPE_WQ, wq->queue, in efct_hw_new_wq() 354 if (sli_fc_rq_set_alloc(&hw->sli, num_rq_pairs, qs, in efct_hw_new_rq_set() 533 rq_status = sli_fc_rqe_rqid_and_index(&hw->sli, cqe, in efct_hw_rqpair_process_rq() 590 sli_fc_rqe_length(&hw->sli, cqe, &h_len, &p_len); in efct_hw_rqpair_process_rq() 593 seq->fcfi = sli_fc_rqe_fcfi(&hw->sli, cqe); in efct_hw_rqpair_process_rq() [all …]
|
D | efct_driver.c | 93 struct sli4 *sli; in efct_efclib_config() local 111 sli = &efct->hw.sli; in efct_efclib_config() 112 efc->max_xfer_size = sli->sge_supported_length * in efct_efclib_config() 113 sli_get_max_sgl(&efct->hw.sli); in efct_efclib_config() 114 efc->sli = sli; in efct_efclib_config() 344 if (!strncmp(efct->hw.sli.fw_name[0], fw_image->revision, in efct_request_firmware_update() 352 efct->hw.sli.fw_name[0], fw_image->revision); in efct_request_firmware_update()
|
D | efct_xport.c | 363 link_module_type = sli_get_lmt(&efct->hw.sli); in efct_get_link_supported_speeds() 408 shost->sg_tablesize = sli_get_max_sgl(&efct->hw.sli); in efct_scsi_new_device() 426 efct->hw.sli.fw_name[0], EFCT_DRIVER_VERSION); in efct_scsi_new_device() 564 if (sli_reset_required(&efct->hw.sli)) { in efct_xport_control() 922 shost->sg_tablesize = sli_get_max_sgl(&efct->hw.sli); in efct_scsi_new_vport() 939 "Emulex %s FV%s DV%s", efct->model, efct->hw.sli.fw_name[0], in efct_scsi_new_vport()
|
D | efct_hw.h | 368 struct sli4 sli; member
|
D | efct_lio.c | 1101 efct->tgt_efct.max_sge = sli_get_max_sge(&efct->hw.sli); in efct_scsi_tgt_new_device() 1102 efct->tgt_efct.max_sgl = sli_get_max_sgl(&efct->hw.sli); in efct_scsi_tgt_new_device()
|
/linux-6.6.21/drivers/scsi/elx/libefc/ |
D | efc_cmds.c | 28 sli_resource_free(efc->sli, SLI4_RSRC_VPI, nport->indicator); in efc_nport_free_resources() 71 rc = sli_cmd_unreg_vpi(efc->sli, data, nport->indicator, in efc_nport_free_unreg_vpi() 131 rc = sli_cmd_init_vpi(efc->sli, data, in efc_nport_alloc_init_vpi() 189 rc = sli_cmd_read_sparm64(efc->sli, data, in efc_nport_alloc_read_sparm64() 221 if (sli_resource_alloc(efc->sli, SLI4_RSRC_VPI, in efc_cmd_nport_alloc() 239 sli_resource_free(efc->sli, SLI4_RSRC_VPI, nport->indicator); in efc_cmd_nport_alloc() 276 rc = sli_cmd_reg_vpi(efc->sli, buf, nport->fc_id, in efc_cmd_nport_attach() 347 sli_resource_free(efc->sli, SLI4_RSRC_VFI, domain->indicator); in efc_domain_free_resources() 389 rc = sli_cmd_read_sparm64(efc->sli, data, &domain->dma, 0); in efc_domain_alloc_read_sparm64() 435 rc = sli_cmd_init_vfi(efc->sli, data, domain->indicator, in efc_domain_alloc_init_vfi() [all …]
|
D | efclib.h | 518 struct sli4 *sli; member
|
/linux-6.6.21/tools/testing/selftests/net/af_unix/ |
D | scm_pidfd.c | 37 long sli; in safe_int() local 40 sli = strtol(numstr, &err, 0); in safe_int() 41 if (errno == ERANGE && (sli == LONG_MAX || sli == LONG_MIN)) in safe_int() 44 if (errno != 0 && sli == 0) in safe_int() 50 if (sli > INT_MAX || sli < INT_MIN) in safe_int() 53 *converted = (int)sli; in safe_int()
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 885 return (IOCB_t *) (((char *) pring->sli.sli3.cmdringaddr) + in lpfc_cmd_iocb() 886 pring->sli.sli3.cmdidx * phba->iocb_cmd_size); in lpfc_cmd_iocb() 902 return (IOCB_t *) (((char *) pring->sli.sli3.rspringaddr) + in lpfc_resp_iocb() 903 pring->sli.sli3.rspidx * phba->iocb_rsp_size); in lpfc_resp_iocb() 1676 struct lpfc_sli *psli = &phba->sli; in lpfc_sli_ring_map() 2057 uint32_t max_cmd_idx = pring->sli.sli3.numCiocb; in lpfc_sli_next_iocb_slot() 2061 if ((pring->sli.sli3.next_cmdidx == pring->sli.sli3.cmdidx) && in lpfc_sli_next_iocb_slot() 2062 (++pring->sli.sli3.next_cmdidx >= max_cmd_idx)) in lpfc_sli_next_iocb_slot() 2063 pring->sli.sli3.next_cmdidx = 0; in lpfc_sli_next_iocb_slot() 2065 if (unlikely(pring->sli.sli3.local_getidx == in lpfc_sli_next_iocb_slot() [all …]
|
D | lpfc_mbox.c | 1015 struct lpfc_sli *psli = &phba->sli; in lpfc_config_pcb_setup() 1028 pring->sli.sli3.sizeCiocb = in lpfc_config_pcb_setup() 1031 pring->sli.sli3.sizeRiocb = in lpfc_config_pcb_setup() 1036 if ((pring->sli.sli3.numCiocb == 0) || in lpfc_config_pcb_setup() 1037 (pring->sli.sli3.numRiocb == 0)) { in lpfc_config_pcb_setup() 1044 pring->sli.sli3.cmdringaddr = NULL; in lpfc_config_pcb_setup() 1045 pring->sli.sli3.rspringaddr = NULL; in lpfc_config_pcb_setup() 1049 pring->sli.sli3.cmdringaddr = (void *)&phba->IOCBs[iocbCnt]; in lpfc_config_pcb_setup() 1050 pcbp->rdsc[i].cmdEntries = pring->sli.sli3.numCiocb; in lpfc_config_pcb_setup() 1057 iocbCnt += pring->sli.sli3.numCiocb; in lpfc_config_pcb_setup() [all …]
|
D | lpfc_init.c | 423 struct lpfc_sli *psli = &phba->sli; in lpfc_config_port_post() 537 if (psli->sli3_ring[LPFC_EXTRA_RING].sli.sli3.cmdringaddr) in lpfc_config_port_post() 539 if (psli->sli3_ring[LPFC_FCP_RING].sli.sli3.cmdringaddr) in lpfc_config_port_post() 967 struct lpfc_sli *psli = &phba->sli; in lpfc_hba_free_post_buf() 1009 struct lpfc_sli *psli = &phba->sli; in lpfc_hba_clean_txcmplq() 1520 struct lpfc_sli *psli = &phba->sli; in lpfc_hb_timeout_handler() 1636 struct lpfc_sli *psli = &phba->sli; in lpfc_offline_eratt() 1694 struct lpfc_sli *psli = &phba->sli; in lpfc_handle_deferred_eratt() 1789 struct lpfc_sli *psli = &phba->sli; in lpfc_handle_eratt_s3() 1944 phba->sli.sli_flag &= ~LPFC_SLI_ACTIVE; in lpfc_sli4_port_sta_fn_reset() [all …]
|
D | lpfc_sli.h | 295 } sli; member
|
D | lpfc.h | 974 struct lpfc_sli sli; member 1657 phba->sli.slistat.err_attn_event++; in lpfc_sli_read_hs() 1689 return &phba->sli.sli3_ring[LPFC_ELS_RING]; in lpfc_phba_elsring()
|
D | lpfc_scsi.c | 527 for (i = 1; i <= phba->sli.last_iotag; i++) { in lpfc_sli4_io_xri_aborted() 528 iocbq = phba->sli.iocbq_lookup[i]; in lpfc_sli4_io_xri_aborted() 5148 if (!list_empty(&phba->sli.sli3_ring[LPFC_FCP_RING].txcmplq)) in lpfc_poll_rearm_timer() 5177 &phba->sli.sli3_ring[LPFC_FCP_RING], HA_R0RE_REQ); in lpfc_poll_timeout() 5422 &phba->sli.sli3_ring[LPFC_FCP_RING], HA_R0RE_REQ); in lpfc_queuecommand() 5601 pring = &phba->sli.sli3_ring[LPFC_FCP_RING]; in lpfc_abort_handler() 5622 &phba->sli.sli3_ring[LPFC_FCP_RING], HA_R0RE_REQ); in lpfc_abort_handler() 5939 &phba->sli.sli3_ring[LPFC_FCP_RING], in lpfc_reset_flush_io_context() 6352 &phba->sli.sli3_ring[LPFC_FCP_RING], HA_R0RE_REQ); in lpfc_slave_configure()
|
D | lpfc_attr.c | 1294 (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO)) in lpfc_issue_lip() 1394 psli = &phba->sli; in lpfc_do_offline() 2143 (phba->sli.sli_flag & LPFC_SLI_ACTIVE) == 0) in lpfc_get_hba_info() 2146 if (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO) in lpfc_get_hba_info() 6619 struct lpfc_sli *psli = &phba->sli; in lpfc_get_stats() 6632 (phba->sli.sli_flag & LPFC_SLI_ACTIVE) == 0) in lpfc_get_stats() 6635 if (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO) in lpfc_get_stats() 6768 struct lpfc_sli *psli = &phba->sli; in lpfc_reset_stats() 6774 if (phba->sli.sli_flag & LPFC_BLOCK_MGMT_IO) in lpfc_reset_stats()
|
D | lpfc_nportdisc.c | 533 if ((phba->sli.sli_flag & LPFC_SLI_SUPPRESS_RSP) && in lpfc_rcv_plogi() 1423 if ((phba->sli.sli_flag & LPFC_SLI_SUPPRESS_RSP) && in lpfc_cmpl_plogi_plogi_issue() 1872 if ((mb = phba->sli.mbox_active)) { in lpfc_rcv_logo_reglogin_issue() 1883 list_for_each_entry_safe(mb, nextmb, &phba->sli.mboxq, list) { in lpfc_rcv_logo_reglogin_issue() 1889 phba->sli.mboxq_cnt--; in lpfc_rcv_logo_reglogin_issue()
|
D | lpfc_mem.c | 289 struct lpfc_sli *psli = &phba->sli; in lpfc_mem_free_all()
|
D | lpfc_hbadisc.c | 1443 struct lpfc_sli *psli = &phba->sli; in lpfc_mbx_cmpl_clear_la() 3722 struct lpfc_sli *psli = &phba->sli; in lpfc_enable_la() 5144 struct lpfc_sli *psli = &phba->sli; in lpfc_sli3_dequeue_nport_iocbs() 5534 if ((mb = phba->sli.mbox_active)) { in lpfc_cleanup_node() 5545 list_for_each_entry(mb, &phba->sli.mboxq_cmpl, list) { in lpfc_cleanup_node() 5555 list_for_each_entry_safe(mb, nextmb, &phba->sli.mboxq, list) { in lpfc_cleanup_node() 5880 struct lpfc_sli *psli = &phba->sli; in lpfc_issue_clear_la() 6171 struct lpfc_sli *psli = &phba->sli; in lpfc_disc_timeout_handler()
|
/linux-6.6.21/drivers/scsi/elx/libefc_sli/ |
D | sli4.c | 1372 sli_abort_wqe(struct sli4 *sli, void *buf, enum sli4_abort_type type, in sli_abort_wqe() argument 1377 memset(buf, 0, sli->wqe_size); in sli_abort_wqe() 1383 efc_log_warn(sli, "%#x aborting XRI %#x warning non-zero mask", in sli_abort_wqe() 1395 efc_log_info(sli, "unsupported type %#x\n", type); in sli_abort_wqe() 1418 sli_els_request64_wqe(struct sli4 *sli, void *buf, struct efc_dma *sgl, in sli_els_request64_wqe() argument 1426 memset(buf, 0, sli->wqe_size); in sli_els_request64_wqe() 1429 if (sli->params.sgl_pre_registered) { in sli_els_request64_wqe() 1563 sli_fcp_icmnd64_wqe(struct sli4 *sli, void *buf, struct efc_dma *sgl, u16 xri, in sli_fcp_icmnd64_wqe() argument 1571 memset(buf, 0, sli->wqe_size); in sli_fcp_icmnd64_wqe() 1574 efc_log_err(sli, "bad parameter sgl=%p virt=%p\n", in sli_fcp_icmnd64_wqe() [all …]
|
D | sli4.h | 3806 sli_reg_read_status(struct sli4 *sli) in sli_reg_read_status() argument 3808 return readl(sli->reg[0] + SLI4_PORT_STATUS_REGOFF); in sli_reg_read_status() 3818 sli_reg_read_err1(struct sli4 *sli) in sli_reg_read_err1() argument 3820 return readl(sli->reg[0] + SLI4_PORT_ERROR1); in sli_reg_read_err1() 3824 sli_reg_read_err2(struct sli4 *sli) in sli_reg_read_err2() argument 3826 return readl(sli->reg[0] + SLI4_PORT_ERROR2); in sli_reg_read_err2() 4096 sli_fcp_treceive64_wqe(struct sli4 *sli, void *buf, struct efc_dma *sgl, 4100 sli_fcp_cont_treceive64_wqe(struct sli4 *sli, void *buf, struct efc_dma *sgl,
|
/linux-6.6.21/arch/arm64/crypto/ |
D | crct10dif-ce-core.S | 122 sli perm2.2d, perm1.2d, #56 123 sli perm3.2d, perm1.2d, #48 124 sli perm4.2d, perm1.2d, #40
|
D | ghash-ce-core.S | 181 sli perm2.2d, perm1.2d, #56 182 sli perm3.2d, perm1.2d, #48 183 sli T1.2d, perm1.2d, #40
|
/linux-6.6.21/Documentation/scsi/ |
D | ChangeLog.lpfc | 133 of the init, sli, mbox and ct groups of functions 145 sli layer now frees the response iocbs after processing it. 255 the sli layer which checks the mbox_cmpl == 0 to free mail box 400 statistic is owned by the ring and SLI stats are in sli 660 from hbadisc.c, sli.c, and fcp.c since these modules had no 1086 * Removed the forward declarations of the sli functions and
|