Home
last modified time | relevance | path

Searched refs:snic (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/scsi/snic/
H A Dsnic_isr.c27 #include "snic.h"
37 struct snic *snic = data; in snic_isr_msix_wq() local
40 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_wq()
41 atomic64_inc(&snic->s_stats.misc.ack_isr_cnt); in snic_isr_msix_wq()
43 wq_work_done = snic_wq_cmpl_handler(snic, -1); in snic_isr_msix_wq()
44 svnic_intr_return_credits(&snic->intr[SNIC_MSIX_WQ], in snic_isr_msix_wq()
55 struct snic *snic = data; in snic_isr_msix_io_cmpl() local
58 snic in snic_isr_msix_io_cmpl()
73 struct snic *snic = data; snic_isr_msix_err_notify() local
89 snic_free_intr(struct snic *snic) snic_free_intr() argument
103 snic_request_intr(struct snic *snic) snic_request_intr() argument
157 snic_set_intr_mode(struct snic *snic) snic_set_intr_mode() argument
190 snic_clear_intr_mode(struct snic *snic) snic_clear_intr_mode() argument
[all...]
H A Dsnic_ctl.c30 #include "snic.h"
40 struct snic *snic = container_of(work, struct snic, link_work); in snic_handle_link() local
42 if (snic->config.xpt_type == SNIC_DAS) in snic_handle_link()
45 snic->link_status = svnic_dev_link_status(snic->vdev); in snic_handle_link()
46 snic->link_down_cnt = svnic_dev_link_down_cnt(snic->vdev); in snic_handle_link()
47 SNIC_HOST_INFO(snic in snic_handle_link()
106 snic_queue_exch_ver_req(struct snic *snic) snic_queue_exch_ver_req() argument
155 snic_io_exch_ver_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_io_exch_ver_cmpl_handler() argument
234 snic_get_conf(struct snic *snic) snic_get_conf() argument
[all...]
H A Dsnic_main.c32 #include "snic.h"
37 /* Supported devices by snic module */
45 MODULE_PARM_DESC(snic_log_level, "bitmask for snic logging levels");
51 "Total allocated memory pages for snic trace buffer");
80 struct snic *snic = shost_priv(sdev->host); in snic_slave_configure() local
89 if (snic->fwinfo.io_tmo > 1) in snic_slave_configure()
90 tmo = snic->fwinfo.io_tmo * HZ; in snic_slave_configure()
101 struct snic *snic in snic_change_queue_depth() local
142 snic_handle_link_event(struct snic *snic) snic_handle_link_event() argument
164 snic_notify_set(struct snic *snic) snic_notify_set() argument
228 snic_cleanup(struct snic *snic) snic_cleanup() argument
272 snic_iounmap(struct snic *snic) snic_iounmap() argument
284 struct snic *snic = svnic_dev_priv(vdev); snic_vdev_open_done() local
341 snic_get_state(struct snic *snic) snic_get_state() argument
347 snic_set_state(struct snic *snic, enum snic_state state) snic_set_state() argument
363 struct snic *snic; snic_probe() local
760 struct snic *snic = pci_get_drvdata(pdev); snic_remove() local
[all...]
H A Dsnic_res.c30 #include "snic.h"
33 snic_get_vnic_config(struct snic *snic) in snic_get_vnic_config() argument
35 struct vnic_snic_config *c = &snic->config; in snic_get_vnic_config()
40 ret = svnic_dev_spec(snic->vdev, \ in snic_get_vnic_config()
45 SNIC_HOST_ERR(snic->shost, \ in snic_get_vnic_config()
120 snic_get_res_counts(struct snic *snic) in snic_get_res_counts() argument
122 snic->wq_count = svnic_dev_get_res_count(snic in snic_get_res_counts()
132 snic_free_vnic_res(struct snic *snic) snic_free_vnic_res() argument
147 snic_alloc_vnic_res(struct snic *snic) snic_alloc_vnic_res() argument
282 snic_log_q_error(struct snic *snic) snic_log_q_error() argument
[all...]
H A Dsnic_scsi.c34 #include "snic.h"
56 /* snic cmd status strings */
80 static void snic_scsi_cleanup(struct snic *, int);
112 snic_io_lock_hash(struct snic *snic, struct scsi_cmnd *sc) in snic_io_lock_hash() argument
116 return &snic->io_req_lock[hash]; in snic_io_lock_hash()
120 snic_io_lock_tag(struct snic *snic, int tag) in snic_io_lock_tag() argument
122 return &snic->io_req_lock[tag & (SNIC_IO_LOCKS - 1)]; in snic_io_lock_tag()
127 snic_release_req_buf(struct snic *sni argument
163 snic_queue_icmnd_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int sg_cnt) snic_queue_icmnd_req() argument
240 snic_issue_scsi_req(struct snic *snic, struct snic_tgt *tgt, struct scsi_cmnd *sc) snic_issue_scsi_req() argument
336 struct snic *snic = shost_priv(shost); snic_queuecommand() local
377 snic_proc_tmreq_pending_state(struct snic *snic, struct scsi_cmnd *sc, u8 cmpl_status) snic_proc_tmreq_pending_state() argument
409 snic_process_io_failed_state(struct snic *snic, struct snic_icmnd_cmpl *icmnd_cmpl, struct scsi_cmnd *sc, u8 cmpl_stat) snic_process_io_failed_state() argument
498 snic_process_icmnd_cmpl_status(struct snic *snic, struct snic_icmnd_cmpl *icmnd_cmpl, u8 cmpl_stat, struct scsi_cmnd *sc) snic_process_icmnd_cmpl_status() argument
545 snic_icmnd_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_icmnd_cmpl_handler() argument
686 snic_proc_dr_cmpl_locked(struct snic *snic, struct snic_fw_req *fwreq, u8 cmpl_stat, u32 cmnd_id, struct scsi_cmnd *sc) snic_proc_dr_cmpl_locked() argument
748 snic_update_abort_stats(struct snic *snic, u8 cmpl_stat) snic_update_abort_stats() argument
773 snic_process_itmf_cmpl(struct snic *snic, struct snic_fw_req *fwreq, u32 cmnd_id, u8 cmpl_stat, struct scsi_cmnd *sc) snic_process_itmf_cmpl() argument
920 snic_itmf_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_itmf_cmpl_handler() argument
977 snic_hba_reset_scsi_cleanup(struct snic *snic, struct scsi_cmnd *sc) snic_hba_reset_scsi_cleanup() argument
1002 snic_hba_reset_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_hba_reset_cmpl_handler() argument
1122 snic_msg_ack_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_msg_ack_handler() argument
1130 snic_aen_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_aen_handler() argument
1204 struct snic *snic = svnic_dev_priv(vdev); snic_io_cmpl_handler() local
1281 snic_fwcq_cmpl_handler(struct snic *snic, int io_cmpl_work) snic_fwcq_cmpl_handler() argument
1307 snic_queue_itmf_req(struct snic *snic, struct snic_host_req *tmreq, struct scsi_cmnd *sc, u32 tmf, u32 req_id) snic_queue_itmf_req() argument
1356 snic_issue_tm_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int tmf) snic_issue_tm_req() argument
1411 snic_queue_abort_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int tmf) snic_queue_abort_req() argument
1429 snic_abort_finish(struct snic *snic, struct scsi_cmnd *sc) snic_abort_finish() argument
1506 snic_send_abort_and_wait(struct snic *snic, struct scsi_cmnd *sc) snic_send_abort_and_wait() argument
1634 struct snic *snic = shost_priv(sc->device->host); snic_abort_cmd() local
1673 snic_is_abts_pending(struct snic *snic, struct scsi_cmnd *lr_sc) snic_is_abts_pending() argument
1725 snic_dr_clean_single_req(struct snic *snic, u32 tag, struct scsi_device *lr_sdev) snic_dr_clean_single_req() argument
1871 snic_dr_clean_pending_req(struct snic *snic, struct scsi_cmnd *lr_sc) snic_dr_clean_pending_req() argument
1917 snic_dr_finish(struct snic *snic, struct scsi_cmnd *sc) snic_dr_finish() argument
2012 snic_queue_dr_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc) snic_queue_dr_req() argument
2023 snic_send_dr_and_wait(struct snic *snic, struct scsi_cmnd *sc) snic_send_dr_and_wait() argument
2112 snic_unlink_and_release_req(struct snic *snic, struct scsi_cmnd *sc, int flag) snic_unlink_and_release_req() argument
2147 struct snic *snic = shost_priv(shost); snic_device_reset() local
2228 snic_issue_hba_reset(struct snic *snic, struct scsi_cmnd *sc) snic_issue_hba_reset() argument
2327 struct snic *snic = shost_priv(shost); snic_reset() local
2406 snic_cmpl_pending_tmreq(struct snic *snic, struct scsi_cmnd *sc) snic_cmpl_pending_tmreq() argument
2435 snic_scsi_cleanup(struct snic *snic, int ex_tag) snic_scsi_cleanup() argument
2515 snic_shutdown_scsi_cleanup(struct snic *snic) snic_shutdown_scsi_cleanup() argument
2527 snic_internal_abort_io(struct snic *snic, struct scsi_cmnd *sc, int tmf) snic_internal_abort_io() argument
2614 struct snic *snic = NULL; snic_tgt_scsi_abort_io() local
[all...]
H A Dsnic_disc.c24 #include "snic.h"
28 /* snic target types */
80 snic_queue_report_tgt_req(struct snic *snic) in snic_queue_report_tgt_req() argument
88 rqi = snic_req_init(snic, 1); in snic_queue_report_tgt_req()
94 if (snic->fwinfo.max_tgts) in snic_queue_report_tgt_req()
95 ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id); in snic_queue_report_tgt_req()
97 ntgts = snic->shost->max_id; in snic_queue_report_tgt_req()
105 snic_req_free(snic, rq in snic_queue_report_tgt_req()
186 snic_tgt_lookup(struct snic *snic, struct snic_tgt_id *tgtid) snic_tgt_lookup() argument
249 snic_tgt_create(struct snic *snic, struct snic_tgt_id *tgtid) snic_tgt_create() argument
341 struct snic *snic = container_of(work, struct snic, tgt_work); snic_handle_tgt_disc() local
398 snic_report_tgt_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_report_tgt_cmpl_handler() argument
468 snic_disc_term(struct snic *snic) snic_disc_term() argument
484 snic_disc_start(struct snic *snic) snic_disc_start() argument
525 struct snic *snic = container_of(work, struct snic, disc_work); snic_handle_disc() local
545 snic_tgt_del_all(struct snic *snic) snic_tgt_del_all() argument
[all...]
H A Dsnic_io.c29 #include "snic.h"
39 struct snic *snic = svnic_dev_priv(wq->vdev); in snic_wq_cmpl_frame_send() local
44 SNIC_HOST_INFO(snic->shost, in snic_wq_cmpl_frame_send()
48 SNIC_TRC(snic->shost->host_no, 0, 0, in snic_wq_cmpl_frame_send()
63 struct snic *snic = svnic_dev_priv(vdev); in snic_wq_cmpl_handler_cont() local
68 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont()
69 svnic_wq_service(&snic->wq[q_num], in snic_wq_cmpl_handler_cont()
74 spin_unlock_irqrestore(&snic in snic_wq_cmpl_handler_cont()
80 snic_wq_cmpl_handler(struct snic *snic, int work_to_do) snic_wq_cmpl_handler() argument
101 struct snic *snic = svnic_dev_priv(wq->vdev); snic_free_wq_buf() local
133 snic_select_wq(struct snic *snic) snic_select_wq() argument
142 snic_wqdesc_avail(struct snic *snic, int q_num, int req_type) snic_wqdesc_avail() argument
163 snic_queue_wq_desc(struct snic *snic, void *os_buf, u16 len) snic_queue_wq_desc() argument
218 snic_handle_untagged_req(struct snic *snic, struct snic_req_info *rqi) snic_handle_untagged_req() argument
234 snic_req_init(struct snic *snic, int sg_cnt) snic_req_init() argument
286 snic_abort_req_init(struct snic *snic, struct snic_req_info *rqi) snic_abort_req_init() argument
317 snic_dr_req_init(struct snic *snic, struct snic_req_info *rqi) snic_dr_req_init() argument
342 snic_req_free(struct snic *snic, struct snic_req_info *rqi) snic_req_free() argument
382 snic_pci_unmap_rsp_buf(struct snic *snic, struct snic_req_info *rqi) snic_pci_unmap_rsp_buf() argument
398 snic_free_all_untagged_reqs(struct snic *snic) snic_free_all_untagged_reqs() argument
423 snic_release_untagged_req(struct snic *snic, struct snic_req_info *rqi) snic_release_untagged_req() argument
561 snic_calc_io_process_time(struct snic *snic, struct snic_req_info *rqi) snic_calc_io_process_time() argument
[all...]
H A Dsnic_debugfs.c22 #include "snic.h"
25 * snic_debugfs_init - Initialize debugfs for snic debug logging
35 snic_glob->trc_root = debugfs_create_dir("snic", NULL); in snic_debugfs_init()
46 * elements that are specific to snic
91 struct snic *snic = (struct snic *) filp->private_data; in snic_reset_stats_read() local
95 len = sprintf(buf, "%u\n", snic->reset_stats); in snic_reset_stats_read()
109 * resets cumulative stats of snic.
120 struct snic *sni in snic_reset_stats_write() local
181 struct snic *snic = (struct snic *) sfp->private; snic_stats_show() local
374 snic_stats_debugfs_init(struct snic *snic) snic_stats_debugfs_init() argument
400 snic_stats_debugfs_remove(struct snic *snic) snic_stats_debugfs_remove() argument
[all...]
H A Dsnic_attrs.c21 #include "snic.h"
28 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_sym_name() local
30 return snprintf(buf, PAGE_SIZE, "%s\n", snic->name); in snic_show_sym_name()
38 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_state() local
41 snic_state_str[snic_get_state(snic)]); in snic_show_state()
57 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_link_state() local
59 if (snic in snic_show_link_state()
[all...]
H A Dsnic_io.h25 /* SG descriptor for snic */
68 struct snic;
88 struct snic *snic; /* Associated snic */ member
110 snic_req_init(struct snic *, int sg_cnt);
111 void snic_req_free(struct snic *, struct snic_req_info *);
112 void snic_calc_io_process_time(struct snic *, struct snic_req_info *);
113 void snic_pci_unmap_rsp_buf(struct snic *, struct snic_req_info *);
115 snic_abort_req_init(struct snic *, struc
[all...]
H A Dsnic.h42 #define SNIC_DRV_NAME "snic"
125 /* snic module params */
128 /* snic debugging */
251 struct completion *wait; /* protected by snic lock*/
264 * snic structure to represent SCSI vNIC
266 struct snic { struct
267 /* snic specific members */
308 /* Maintain snic specific commands, cmds with no tag in spl_cmd_list */
335 struct dentry *stats_host; /* Per snic debugfs root */
336 struct dentry *stats_file; /* Per snic debugf
[all...]
H A Dsnic_disc.h30 struct snic;
41 void (*cb)(struct snic *);
67 /* snic tgt flags */
87 int snic_disc_start(struct snic *);
88 void snic_disc_term(struct snic *);
89 int snic_report_tgt_cmpl_handler(struct snic *, struct snic_fw_req *);
90 int snic_tgtinfo_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq);
95 void snic_tgt_del_all(struct snic *);
H A Dsnic_res.h89 struct snic;
91 int snic_get_vnic_config(struct snic *);
92 int snic_alloc_vnic_res(struct snic *);
93 void snic_free_vnic_res(struct snic *);
94 void snic_get_res_counts(struct snic *);
95 void snic_log_q_error(struct snic *);
96 int snic_get_vnic_resources_size(struct snic *);
/kernel/linux/linux-6.6/drivers/scsi/snic/
H A Dsnic_isr.c13 #include "snic.h"
23 struct snic *snic = data; in snic_isr_msix_wq() local
26 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_wq()
27 atomic64_inc(&snic->s_stats.misc.ack_isr_cnt); in snic_isr_msix_wq()
29 wq_work_done = snic_wq_cmpl_handler(snic, -1); in snic_isr_msix_wq()
30 svnic_intr_return_credits(&snic->intr[SNIC_MSIX_WQ], in snic_isr_msix_wq()
41 struct snic *snic = data; in snic_isr_msix_io_cmpl() local
44 snic in snic_isr_msix_io_cmpl()
59 struct snic *snic = data; snic_isr_msix_err_notify() local
75 snic_free_intr(struct snic *snic) snic_free_intr() argument
89 snic_request_intr(struct snic *snic) snic_request_intr() argument
143 snic_set_intr_mode(struct snic *snic) snic_set_intr_mode() argument
176 snic_clear_intr_mode(struct snic *snic) snic_clear_intr_mode() argument
[all...]
H A Dsnic_ctl.c16 #include "snic.h"
26 struct snic *snic = container_of(work, struct snic, link_work); in snic_handle_link() local
28 if (snic->config.xpt_type == SNIC_DAS) in snic_handle_link()
31 snic->link_status = svnic_dev_link_status(snic->vdev); in snic_handle_link()
32 snic->link_down_cnt = svnic_dev_link_down_cnt(snic->vdev); in snic_handle_link()
33 SNIC_HOST_INFO(snic in snic_handle_link()
92 snic_queue_exch_ver_req(struct snic *snic) snic_queue_exch_ver_req() argument
138 snic_io_exch_ver_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_io_exch_ver_cmpl_handler() argument
217 snic_get_conf(struct snic *snic) snic_get_conf() argument
[all...]
H A Dsnic_main.c18 #include "snic.h"
23 /* Supported devices by snic module */
31 MODULE_PARM_DESC(snic_log_level, "bitmask for snic logging levels");
37 "Total allocated memory pages for snic trace buffer");
66 struct snic *snic = shost_priv(sdev->host); in snic_slave_configure() local
75 if (snic->fwinfo.io_tmo > 1) in snic_slave_configure()
76 tmo = snic->fwinfo.io_tmo * HZ; in snic_slave_configure()
87 struct snic *snic in snic_change_queue_depth() local
128 snic_handle_link_event(struct snic *snic) snic_handle_link_event() argument
150 snic_notify_set(struct snic *snic) snic_notify_set() argument
214 snic_cleanup(struct snic *snic) snic_cleanup() argument
258 snic_iounmap(struct snic *snic) snic_iounmap() argument
270 struct snic *snic = svnic_dev_priv(vdev); snic_vdev_open_done() local
327 snic_get_state(struct snic *snic) snic_get_state() argument
333 snic_set_state(struct snic *snic, enum snic_state state) snic_set_state() argument
349 struct snic *snic; snic_probe() local
746 struct snic *snic = pci_get_drvdata(pdev); snic_remove() local
[all...]
H A Dsnic_res.c16 #include "snic.h"
19 snic_get_vnic_config(struct snic *snic) in snic_get_vnic_config() argument
21 struct vnic_snic_config *c = &snic->config; in snic_get_vnic_config()
26 ret = svnic_dev_spec(snic->vdev, \ in snic_get_vnic_config()
31 SNIC_HOST_ERR(snic->shost, \ in snic_get_vnic_config()
106 snic_get_res_counts(struct snic *snic) in snic_get_res_counts() argument
108 snic->wq_count = svnic_dev_get_res_count(snic in snic_get_res_counts()
118 snic_free_vnic_res(struct snic *snic) snic_free_vnic_res() argument
133 snic_alloc_vnic_res(struct snic *snic) snic_alloc_vnic_res() argument
268 snic_log_q_error(struct snic *snic) snic_log_q_error() argument
[all...]
H A Dsnic_scsi.c20 #include "snic.h"
42 /* snic cmd status strings */
66 static void snic_scsi_cleanup(struct snic *, int);
98 snic_io_lock_hash(struct snic *snic, struct scsi_cmnd *sc) in snic_io_lock_hash() argument
102 return &snic->io_req_lock[hash]; in snic_io_lock_hash()
106 snic_io_lock_tag(struct snic *snic, int tag) in snic_io_lock_tag() argument
108 return &snic->io_req_lock[tag & (SNIC_IO_LOCKS - 1)]; in snic_io_lock_tag()
113 snic_release_req_buf(struct snic *sni argument
149 snic_queue_icmnd_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int sg_cnt) snic_queue_icmnd_req() argument
226 snic_issue_scsi_req(struct snic *snic, struct snic_tgt *tgt, struct scsi_cmnd *sc) snic_issue_scsi_req() argument
322 struct snic *snic = shost_priv(shost); snic_queuecommand() local
363 snic_proc_tmreq_pending_state(struct snic *snic, struct scsi_cmnd *sc, u8 cmpl_status) snic_proc_tmreq_pending_state() argument
395 snic_process_io_failed_state(struct snic *snic, struct snic_icmnd_cmpl *icmnd_cmpl, struct scsi_cmnd *sc, u8 cmpl_stat) snic_process_io_failed_state() argument
484 snic_process_icmnd_cmpl_status(struct snic *snic, struct snic_icmnd_cmpl *icmnd_cmpl, u8 cmpl_stat, struct scsi_cmnd *sc) snic_process_icmnd_cmpl_status() argument
526 snic_icmnd_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_icmnd_cmpl_handler() argument
666 snic_proc_dr_cmpl_locked(struct snic *snic, struct snic_fw_req *fwreq, u8 cmpl_stat, u32 cmnd_id, struct scsi_cmnd *sc) snic_proc_dr_cmpl_locked() argument
728 snic_update_abort_stats(struct snic *snic, u8 cmpl_stat) snic_update_abort_stats() argument
753 snic_process_itmf_cmpl(struct snic *snic, struct snic_fw_req *fwreq, u32 cmnd_id, u8 cmpl_stat, struct scsi_cmnd *sc) snic_process_itmf_cmpl() argument
898 snic_itmf_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_itmf_cmpl_handler() argument
955 snic_hba_reset_scsi_cleanup(struct snic *snic, struct scsi_cmnd *sc) snic_hba_reset_scsi_cleanup() argument
980 snic_hba_reset_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_hba_reset_cmpl_handler() argument
1100 snic_msg_ack_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_msg_ack_handler() argument
1108 snic_aen_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_aen_handler() argument
1182 struct snic *snic = svnic_dev_priv(vdev); snic_io_cmpl_handler() local
1259 snic_fwcq_cmpl_handler(struct snic *snic, int io_cmpl_work) snic_fwcq_cmpl_handler() argument
1285 snic_queue_itmf_req(struct snic *snic, struct snic_host_req *tmreq, struct scsi_cmnd *sc, u32 tmf, u32 req_id) snic_queue_itmf_req() argument
1334 snic_issue_tm_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int tmf) snic_issue_tm_req() argument
1389 snic_queue_abort_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int tmf) snic_queue_abort_req() argument
1407 snic_abort_finish(struct snic *snic, struct scsi_cmnd *sc) snic_abort_finish() argument
1484 snic_send_abort_and_wait(struct snic *snic, struct scsi_cmnd *sc) snic_send_abort_and_wait() argument
1612 struct snic *snic = shost_priv(sc->device->host); snic_abort_cmd() local
1651 snic_is_abts_pending(struct snic *snic, struct scsi_cmnd *lr_sc) snic_is_abts_pending() argument
1703 snic_dr_clean_single_req(struct snic *snic, u32 tag, struct scsi_device *lr_sdev) snic_dr_clean_single_req() argument
1849 snic_dr_clean_pending_req(struct snic *snic, struct scsi_cmnd *lr_sc) snic_dr_clean_pending_req() argument
1895 snic_dr_finish(struct snic *snic, struct scsi_cmnd *sc) snic_dr_finish() argument
1990 snic_queue_dr_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc) snic_queue_dr_req() argument
2001 snic_send_dr_and_wait(struct snic *snic, struct scsi_cmnd *sc) snic_send_dr_and_wait() argument
2090 snic_unlink_and_release_req(struct snic *snic, struct scsi_cmnd *sc, int flag) snic_unlink_and_release_req() argument
2125 struct snic *snic = shost_priv(shost); snic_device_reset() local
2206 snic_issue_hba_reset(struct snic *snic, struct scsi_cmnd *sc) snic_issue_hba_reset() argument
2305 struct snic *snic = shost_priv(shost); snic_reset() local
2384 snic_cmpl_pending_tmreq(struct snic *snic, struct scsi_cmnd *sc) snic_cmpl_pending_tmreq() argument
2413 snic_scsi_cleanup(struct snic *snic, int ex_tag) snic_scsi_cleanup() argument
2491 snic_shutdown_scsi_cleanup(struct snic *snic) snic_shutdown_scsi_cleanup() argument
2503 snic_internal_abort_io(struct snic *snic, struct scsi_cmnd *sc, int tmf) snic_internal_abort_io() argument
2590 struct snic *snic = NULL; snic_tgt_scsi_abort_io() local
[all...]
H A Dsnic_disc.c10 #include "snic.h"
14 /* snic target types */
66 snic_queue_report_tgt_req(struct snic *snic) in snic_queue_report_tgt_req() argument
74 rqi = snic_req_init(snic, 1); in snic_queue_report_tgt_req()
80 if (snic->fwinfo.max_tgts) in snic_queue_report_tgt_req()
81 ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id); in snic_queue_report_tgt_req()
83 ntgts = snic->shost->max_id; in snic_queue_report_tgt_req()
91 snic_req_free(snic, rq in snic_queue_report_tgt_req()
172 snic_tgt_lookup(struct snic *snic, struct snic_tgt_id *tgtid) snic_tgt_lookup() argument
235 snic_tgt_create(struct snic *snic, struct snic_tgt_id *tgtid) snic_tgt_create() argument
327 struct snic *snic = container_of(work, struct snic, tgt_work); snic_handle_tgt_disc() local
384 snic_report_tgt_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) snic_report_tgt_cmpl_handler() argument
454 snic_disc_term(struct snic *snic) snic_disc_term() argument
470 snic_disc_start(struct snic *snic) snic_disc_start() argument
511 struct snic *snic = container_of(work, struct snic, disc_work); snic_handle_disc() local
531 snic_tgt_del_all(struct snic *snic) snic_tgt_del_all() argument
[all...]
H A Dsnic_io.c15 #include "snic.h"
25 struct snic *snic = svnic_dev_priv(wq->vdev); in snic_wq_cmpl_frame_send() local
30 SNIC_HOST_INFO(snic->shost, in snic_wq_cmpl_frame_send()
34 SNIC_TRC(snic->shost->host_no, 0, 0, in snic_wq_cmpl_frame_send()
49 struct snic *snic = svnic_dev_priv(vdev); in snic_wq_cmpl_handler_cont() local
54 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont()
55 svnic_wq_service(&snic->wq[q_num], in snic_wq_cmpl_handler_cont()
60 spin_unlock_irqrestore(&snic in snic_wq_cmpl_handler_cont()
66 snic_wq_cmpl_handler(struct snic *snic, int work_to_do) snic_wq_cmpl_handler() argument
87 struct snic *snic = svnic_dev_priv(wq->vdev); snic_free_wq_buf() local
119 snic_select_wq(struct snic *snic) snic_select_wq() argument
128 snic_wqdesc_avail(struct snic *snic, int q_num, int req_type) snic_wqdesc_avail() argument
149 snic_queue_wq_desc(struct snic *snic, void *os_buf, u16 len) snic_queue_wq_desc() argument
204 snic_handle_untagged_req(struct snic *snic, struct snic_req_info *rqi) snic_handle_untagged_req() argument
220 snic_req_init(struct snic *snic, int sg_cnt) snic_req_init() argument
272 snic_abort_req_init(struct snic *snic, struct snic_req_info *rqi) snic_abort_req_init() argument
303 snic_dr_req_init(struct snic *snic, struct snic_req_info *rqi) snic_dr_req_init() argument
328 snic_req_free(struct snic *snic, struct snic_req_info *rqi) snic_req_free() argument
368 snic_pci_unmap_rsp_buf(struct snic *snic, struct snic_req_info *rqi) snic_pci_unmap_rsp_buf() argument
384 snic_free_all_untagged_reqs(struct snic *snic) snic_free_all_untagged_reqs() argument
409 snic_release_untagged_req(struct snic *snic, struct snic_req_info *rqi) snic_release_untagged_req() argument
547 snic_calc_io_process_time(struct snic *snic, struct snic_req_info *rqi) snic_calc_io_process_time() argument
[all...]
H A Dsnic_debugfs.c8 #include "snic.h"
11 * snic_debugfs_init - Initialize debugfs for snic debug logging
21 snic_glob->trc_root = debugfs_create_dir("snic", NULL); in snic_debugfs_init()
32 * elements that are specific to snic
77 struct snic *snic = (struct snic *) filp->private_data; in snic_reset_stats_read() local
81 len = sprintf(buf, "%u\n", snic->reset_stats); in snic_reset_stats_read()
95 * resets cumulative stats of snic.
106 struct snic *sni in snic_reset_stats_write() local
167 struct snic *snic = (struct snic *) sfp->private; snic_stats_show() local
342 snic_stats_debugfs_init(struct snic *snic) snic_stats_debugfs_init() argument
368 snic_stats_debugfs_remove(struct snic *snic) snic_stats_debugfs_remove() argument
[all...]
H A Dsnic_attrs.c7 #include "snic.h"
14 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_sym_name() local
16 return snprintf(buf, PAGE_SIZE, "%s\n", snic->name); in snic_show_sym_name()
24 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_state() local
27 snic_state_str[snic_get_state(snic)]); in snic_show_state()
43 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_link_state() local
45 if (snic in snic_show_link_state()
[all...]
H A Dsnic_io.h11 /* SG descriptor for snic */
54 struct snic;
74 struct snic *snic; /* Associated snic */ member
96 snic_req_init(struct snic *, int sg_cnt);
97 void snic_req_free(struct snic *, struct snic_req_info *);
98 void snic_calc_io_process_time(struct snic *, struct snic_req_info *);
99 void snic_pci_unmap_rsp_buf(struct snic *, struct snic_req_info *);
101 snic_abort_req_init(struct snic *, struc
[all...]
H A Dsnic.h28 #define SNIC_DRV_NAME "snic"
111 /* snic module params */
114 /* snic debugging */
237 struct completion *wait; /* protected by snic lock*/
250 * snic structure to represent SCSI vNIC
252 struct snic { struct
253 /* snic specific members */
294 /* Maintain snic specific commands, cmds with no tag in spl_cmd_list */
321 struct dentry *stats_host; /* Per snic debugfs root */
322 struct dentry *stats_file; /* Per snic debugf
[all...]
H A Dsnic_disc.h16 struct snic;
27 void (*cb)(struct snic *);
53 /* snic tgt flags */
73 int snic_disc_start(struct snic *);
74 void snic_disc_term(struct snic *);
75 int snic_report_tgt_cmpl_handler(struct snic *, struct snic_fw_req *);
76 int snic_tgtinfo_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq);
81 void snic_tgt_del_all(struct snic *);

Completed in 11 milliseconds

12