Home
last modified time | relevance | path

Searched +full:libiscsi +full:- +full:dev (Results 1 – 14 of 14) sorted by relevance

/linux-6.15/drivers/scsi/bnx2i/
Dbnx2i_sysfs.c3 * Copyright (c) 2004 - 2013 Broadcom Corporation
12 * Maintained by: QLogic-Storage-Upstream@qlogic.com
18 * bnx2i_dev_to_hba - maps dev pointer to adapter struct
19 * @dev: device pointer
23 static inline struct bnx2i_hba *bnx2i_dev_to_hba(struct device *dev) in bnx2i_dev_to_hba() argument
25 struct Scsi_Host *shost = class_to_shost(dev); in bnx2i_dev_to_hba()
31 * bnx2i_show_sq_info - return(s currently configured send queue (SQ) size
32 * @dev: device pointer
39 static ssize_t bnx2i_show_sq_info(struct device *dev, in bnx2i_show_sq_info() argument
42 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_show_sq_info()
[all …]
Dbnx2i.h3 * Copyright (c) 2006 - 2013 Broadcom Corporation
14 * Maintained by: QLogic-Storage-Upstream@qlogic.com
42 #include <scsi/libiscsi.h>
60 #define ISCSI_MAX_CMDS_PER_HBA_5708 (28 * (ISCSI_MAX_CMDS_PER_SESS - 1))
61 #define ISCSI_MAX_CMDS_PER_HBA_5709 (128 * (ISCSI_MAX_CMDS_PER_SESS - 1))
62 #define ISCSI_MAX_CMDS_PER_HBA_57710 (256 * (ISCSI_MAX_CMDS_PER_SESS - 1))
129 readl(__hba->regview + offset)
131 writel(val, __hba->regview + offset)
136 spin_lock_bh(&__hba->stat_lock); \
137 dst->field##_lo = __hba->stats.field##_lo; \
[all …]
Dbnx2i_iscsi.c4 * Copyright (c) 2006 - 2013 Broadcom Corporation
15 * Maintained by: QLogic-Storage-Upstream@qlogic.com
20 #include <scsi/libiscsi.h>
38 if (!hba || !test_bit(ADAPTER_STATE_UP, &hba->adapter_state) || in bnx2i_adapter_ready()
39 test_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state) || in bnx2i_adapter_ready()
40 test_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state)) in bnx2i_adapter_ready()
41 retval = -EPERM; in bnx2i_adapter_ready()
46 * bnx2i_get_write_cmd_bd_idx - identifies various BD bookmarks
59 struct iscsi_bd *bd_tbl = cmd->io_tbl.bd_tbl; in bnx2i_get_write_cmd_bd_idx()
64 while (buf_off >= (cur_offset + bd_tbl->buffer_length)) { in bnx2i_get_write_cmd_bd_idx()
[all …]
Dbnx2i_hwi.c3 * Copyright (c) 2006 - 2013 Broadcom Corporation
14 * Maintained by: QLogic-Storage-Upstream@qlogic.com
19 #include <scsi/libiscsi.h>
25 * bnx2i_get_cid_num - get cid from ep
34 if (test_bit(BNX2I_NX2_DEV_57710, &ep->hba->cnic_dev_type)) in bnx2i_get_cid_num()
35 cid = ep->ep_cid; in bnx2i_get_cid_num()
37 cid = GET_CID_NUM(ep->ep_cid); in bnx2i_get_cid_num()
43 * bnx2i_adjust_qp_size - Adjust SQ/RQ/CQ size for 57710 device type
52 if (test_bit(BNX2I_NX2_DEV_5706, &hba->cnic_dev_type) || in bnx2i_adjust_qp_size()
53 test_bit(BNX2I_NX2_DEV_5708, &hba->cnic_dev_type) || in bnx2i_adjust_qp_size()
[all …]
/linux-6.15/drivers/infiniband/ulp/iser/
Diser_memory.c3 * Copyright (c) 2013-2014 Mellanox Technologies. All rights reserved.
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
48 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_get_fr()
52 spin_lock_irqsave(&fr_pool->lock, flags); in iser_reg_desc_get_fr()
53 desc = list_first_entry(&fr_pool->list, in iser_reg_desc_get_fr()
55 list_del(&desc->list); in iser_reg_desc_get_fr()
56 spin_unlock_irqrestore(&fr_pool->lock, flags); in iser_reg_desc_get_fr()
64 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_put_fr()
67 spin_lock_irqsave(&fr_pool->lock, flags); in iser_reg_desc_put_fr()
[all …]
Discsi_iser.c2 * iSCSI Initiator over iSER Data-Path
8 * Copyright (c) 2013-2014 Mellanox Technologies. All rights reserved.
9 * maintained by openib-general@openib.org
21 * - Redistributions of source code must retain the above
25 * - Redistributions in binary form must reproduce the above
114 MODULE_PARM_DESC(pi_enable, "Enable T10-PI offload support (default:disabled)");
123 return -EINVAL; in iscsi_iser_set()
129 * iscsi_iser_recv() - Process a successful recv completion
145 datalen = ntoh24(hdr->dlength); in iscsi_iser_recv()
167 * iscsi_iser_pdu_alloc() - allocate an iscsi-iser PDU
[all …]
/linux-6.15/Documentation/translations/ja_JP/
DSubmittingPatches2 This is a version of Documentation/process/submitting-patches.rst into Japanese.
3 This document is maintained by Keiichi KII <k-keiichi@bx.jp.nec.com>
18 linux-2.6.39/Documentation/process/submitting-patches.rst の和訳
22 翻訳者: Keiichi Kii <k-keiichi at bx dot jp dot nec dot com>
24 Matsukura さん <nbh--mats at nifty dot com>
37 コードを投稿する前に、Documentation/process/submit-checklist.rst の項目リストに目
40 --------------------------------------------
42 --------------------------------------------
44 1) 「 diff -up 」
45 ------------
[all …]
/linux-6.15/drivers/scsi/qla4xxx/
Dql4_def.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright (c) 2003-2013 QLogic Corporation
16 #include <linux/dma-mapping.h>
26 #include <linux/bsg-lib.h>
38 #include <scsi/libiscsi.h>
117 dev_printk(level , &((ha)->pdev->dev) , format , ## arg)
173 for (i = 0, j = ISID_SIZE - 1; i < ISID_SIZE;) \
174 dst_isid[i++] = src_isid[j--]; \
220 * the qla4xxx driver does not use libiscsi for SCSI I/O.
300 uint32_t fw_ddb_device_state; /* F/W Device State -- see ql4_fw.h */
[all …]
/linux-6.15/drivers/scsi/
Dlibiscsi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 2004 - 2006 Mike Christie
7 * Copyright (C) 2004 - 2005 Dmitry Yusupov
8 * Copyright (C) 2004 - 2005 Alex Aizman
9 * maintained by open-iscsi@googlegroups.com
29 #include <scsi/libiscsi.h>
36 "Turn on debugging for connections in libiscsi module. "
43 "Turn on debugging for sessions in libiscsi module. "
50 "Turn on debugging for error handling in libiscsi module. "
60 &(_conn)->cls_conn->dev, \
[all …]
Discsi_tcp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * iSCSI Initiator over TCP/IP Data-Path
7 * Copyright (C) 2005 - 2006 Mike Christie
9 * maintained by open-iscsi@googlegroups.com
30 #include <linux/backing-dev.h>
45 MODULE_DESCRIPTION("iSCSI/TCP data-path");
72 &(_conn)->cls_conn->dev, \
78 * iscsi_sw_tcp_recv - TCP receive in sendfile fashion
82 * @len: skb->len - offset
87 struct iscsi_conn *conn = rd_desc->arg.data; in iscsi_sw_tcp_recv()
[all …]
/linux-6.15/drivers/scsi/be2iscsi/
Dbe_main.c16 * OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
22 * linux-drivers@broadcom.com
37 #include <linux/bsg-lib.h>
40 #include <scsi/libiscsi.h>
67 "memory that can be allocated. Range is 16 - 128");
71 beiscsi_##_name##_disp(struct device *dev,\
74 struct Scsi_Host *shost = class_to_shost(dev);\
77 phba->attr_##_name);\
88 phba->attr_##_name, val); \
89 phba->attr_##_name = val;\
[all …]
Dbe_iscsi.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * linux-drivers@broadcom.com
14 #include <scsi/libiscsi.h>
29 * beiscsi_session_create - creates a new iscsi session
53 beiscsi_ep = ep->dd_data; in beiscsi_session_create()
54 phba = beiscsi_ep->phba; in beiscsi_session_create()
58 "BS_%d : HBA in error 0x%lx\n", phba->state); in beiscsi_session_create()
64 if (cmds_max > beiscsi_ep->phba->params.wrbs_per_cxn) { in beiscsi_session_create()
69 beiscsi_ep->phba->params.wrbs_per_cxn, in beiscsi_session_create()
70 beiscsi_ep->phba->params.wrbs_per_cxn); in beiscsi_session_create()
[all …]
/linux-6.15/drivers/scsi/cxgbi/
Dlibcxgbi.c4 * Copyright (c) 2010-2015 Chelsio Communications, Inc.
41 #define DRV_MODULE_VERSION "0.9.1-ko"
54 MODULE_PARM_DESC(dbg_level, "libiscsi debug level (default=0)");
78 struct cxgbi_ports_map *pmap = &cdev->pmap; in cxgbi_device_portmap_create()
80 pmap->port_csk = kvzalloc(array_size(max_conn, in cxgbi_device_portmap_create()
83 if (!pmap->port_csk) { in cxgbi_device_portmap_create()
85 return -ENOMEM; in cxgbi_device_portmap_create()
88 pmap->max_connect = max_conn; in cxgbi_device_portmap_create()
89 pmap->sport_base = base; in cxgbi_device_portmap_create()
90 spin_lock_init(&pmap->lock); in cxgbi_device_portmap_create()
[all …]
/linux-6.15/drivers/scsi/qedi/
Dqedi_fw.c1 // SPDX-License-Identifier: GPL-2.0-only
22 struct scsi_cmnd *sc = cmd->scsi_cmd; in qedi_iscsi_unmap_sg_list()
24 if (cmd->io_tbl.sge_valid && sc) { in qedi_iscsi_unmap_sg_list()
25 cmd->io_tbl.sge_valid = 0; in qedi_iscsi_unmap_sg_list()
35 struct iscsi_conn *conn = qedi_conn->cls_conn->dd_data; in qedi_process_logout_resp()
37 struct iscsi_session *session = conn->session; in qedi_process_logout_resp()
41 cmd = (struct qedi_cmd *)task->dd_data; in qedi_process_logout_resp()
42 cqe_logout_response = &cqe->cqe_common.iscsi_hdr.logout_response; in qedi_process_logout_resp()
43 spin_lock(&session->back_lock); in qedi_process_logout_resp()
44 resp_hdr = (struct iscsi_logout_rsp *)&qedi_conn->gen_pdu.resp_hdr; in qedi_process_logout_resp()
[all …]