Home
last modified time | relevance | path

Searched defs:fnic (Results 1 – 7 of 7) sorted by relevance

/linux-3.3/drivers/scsi/fnic/
Dfnic.h147 struct fnic { struct
153 struct fnic_msix_entry msix[FNIC_MSIX_INTR_MAX]; argument
168 u32 in_remove:1; /* fnic device in removal */ argument
173 enum fnic_state state; argument
174 spinlock_t fnic_lock; argument
195 struct fnic_host_tag *tags; argument
196 mempool_t *io_req_pool;
197 mempool_t *io_sgl_pool[FNIC_SGL_NUM_CACHES];
198 spinlock_t io_req_lock[FNIC_IO_LOCKS]; /* locks for scsi cmnds */
223 static inline struct fnic *fnic_from_ctlr(struct fcoe_ctlr *fip) in fnic_from_ctlr() argument
Dfnic_isr.c32 struct fnic *fnic = data; in fnic_isr_legacy() local
66 struct fnic *fnic = data; in fnic_isr_msi() local
83 struct fnic *fnic = data; in fnic_isr_msix_rq() local
97 struct fnic *fnic = data; in fnic_isr_msix_wq() local
110 struct fnic *fnic = data; in fnic_isr_msix_wq_copy() local
123 struct fnic *fnic = data; in fnic_isr_msix_err_notify() local
132 void fnic_free_intr(struct fnic *fnic) in fnic_free_intr()
154 int fnic_request_intr(struct fnic *fnic) in fnic_request_intr()
217 int fnic_set_intr_mode(struct fnic *fnic) in fnic_set_intr_mode()
317 void fnic_clear_intr_mode(struct fnic *fnic) in fnic_clear_intr_mode()
Dfnic_main.c159 struct fnic *fnic = lport_priv(lp); in fnic_get_host_speed() local
177 struct fnic *fnic = lport_priv(lp); in fnic_get_stats() local
211 void fnic_log_q_error(struct fnic *fnic) in fnic_log_q_error()
241 void fnic_handle_link_event(struct fnic *fnic) in fnic_handle_link_event()
256 static int fnic_notify_set(struct fnic *fnic) in fnic_notify_set()
284 struct fnic *fnic = (struct fnic *)data; in fnic_notify_timer() local
291 static void fnic_notify_timer_start(struct fnic *fnic) in fnic_notify_timer_start()
334 static int fnic_cleanup(struct fnic *fnic) in fnic_cleanup()
385 static void fnic_iounmap(struct fnic *fnic) in fnic_iounmap()
397 struct fnic *fnic = lport_priv(lport); in fnic_get_mac() local
[all …]
Dfnic_fcs.c43 struct fnic *fnic = container_of(work, struct fnic, link_work); in fnic_handle_link() local
99 struct fnic *fnic = container_of(work, struct fnic, frame_work); in fnic_handle_frame() local
136 static inline int fnic_import_rq_eth_pkt(struct fnic *fnic, struct sk_buff *skb) in fnic_import_rq_eth_pkt()
188 void fnic_update_mac_locked(struct fnic *fnic, u8 *new) in fnic_update_mac_locked()
212 struct fnic *fnic = lport_priv(lport); in fnic_update_mac() local
235 struct fnic *fnic = lport_priv(lport); in fnic_set_port_id() local
294 struct fnic *fnic = vnic_dev_priv(rq->vdev); in fnic_rq_cmpl_frame_recv() local
392 struct fnic *fnic = vnic_dev_priv(vdev); in fnic_rq_cmpl_handler_cont() local
400 int fnic_rq_cmpl_handler(struct fnic *fnic, int rq_work_to_do) in fnic_rq_cmpl_handler()
430 struct fnic *fnic = vnic_dev_priv(rq->vdev); in fnic_alloc_rq_frame() local
[all …]
Dfnic_scsi.c105 static inline spinlock_t *fnic_io_lock_hash(struct fnic *fnic, in fnic_io_lock_hash()
117 static void fnic_release_ioreq_buf(struct fnic *fnic, in fnic_release_ioreq_buf()
136 static int free_wq_copy_descs(struct fnic *fnic, struct vnic_wq_copy *wq) in free_wq_copy_descs()
172 int fnic_fw_reset_handler(struct fnic *fnic) in fnic_fw_reset_handler()
207 int fnic_flogi_reg_handler(struct fnic *fnic, u32 fc_id) in fnic_flogi_reg_handler()
259 static inline int fnic_queue_wq_copy_desc(struct fnic *fnic, in fnic_queue_wq_copy_desc()
357 struct fnic *fnic; in fnic_queuecommand_lck() local
539 static int fnic_fcpio_flogi_reg_cmpl_handler(struct fnic *fnic, in fnic_fcpio_flogi_reg_cmpl_handler()
618 static inline void fnic_fcpio_ack_handler(struct fnic *fnic, in fnic_fcpio_ack_handler()
641 static void fnic_fcpio_icmnd_cmpl_handler(struct fnic *fnic, in fnic_fcpio_icmnd_cmpl_handler()
[all …]
Dfnic_res.c34 int fnic_get_vnic_config(struct fnic *fnic) in fnic_get_vnic_config()
180 int fnic_set_nic_config(struct fnic *fnic, u8 rss_default_cpu, in fnic_set_nic_config()
199 void fnic_get_res_counts(struct fnic *fnic) in fnic_get_res_counts()
210 void fnic_free_vnic_resources(struct fnic *fnic) in fnic_free_vnic_resources()
230 int fnic_alloc_vnic_resources(struct fnic *fnic) in fnic_alloc_vnic_resources()
Dfnic_attrs.c27 struct fnic *fnic = lport_priv(lp); in fnic_show_state() local