Home
last modified time | relevance | path

Searched refs:ioc (Results 1 – 25 of 115) sorted by relevance

12345

/Linux-v5.10/drivers/scsi/mpt3sas/
Dmpt3sas_base.c127 _base_wait_on_iocstate(struct MPT3SAS_ADAPTER *ioc,
130 _base_get_ioc_facts(struct MPT3SAS_ADAPTER *ioc);
132 _base_clear_outstanding_commands(struct MPT3SAS_ADAPTER *ioc);
147 mpt3sas_base_check_cmd_timeout(struct MPT3SAS_ADAPTER *ioc, in mpt3sas_base_check_cmd_timeout() argument
155 ioc_err(ioc, "Command %s\n", in mpt3sas_base_check_cmd_timeout()
173 struct MPT3SAS_ADAPTER *ioc; in _scsih_set_fwfault_debug() local
181 list_for_each_entry(ioc, &mpt3sas_ioc_list, list) in _scsih_set_fwfault_debug()
182 ioc->fwfault_debug = mpt3sas_fwfault_debug; in _scsih_set_fwfault_debug()
224 _base_clone_reply_to_sys_mem(struct MPT3SAS_ADAPTER *ioc, u32 reply, in _base_clone_reply_to_sys_mem() argument
232 u16 cmd_credit = ioc->facts.RequestCredit + 1; in _base_clone_reply_to_sys_mem()
[all …]
Dmpt3sas_trigger_diag.c68 _mpt3sas_raise_sigio(struct MPT3SAS_ADAPTER *ioc, in _mpt3sas_raise_sigio() argument
75 dTriggerDiagPrintk(ioc, ioc_info(ioc, "%s: enter\n", __func__)); in _mpt3sas_raise_sigio()
87 dTriggerDiagPrintk(ioc, in _mpt3sas_raise_sigio()
88 ioc_info(ioc, "%s: add to driver event log\n", in _mpt3sas_raise_sigio()
90 mpt3sas_ctl_add_to_event_log(ioc, mpi_reply); in _mpt3sas_raise_sigio()
95 spin_lock_irqsave(&ioc->diag_trigger_lock, flags); in _mpt3sas_raise_sigio()
96 dTriggerDiagPrintk(ioc, in _mpt3sas_raise_sigio()
97 ioc_info(ioc, "%s: clearing diag_trigger_active flag\n", in _mpt3sas_raise_sigio()
99 ioc->diag_trigger_active = 0; in _mpt3sas_raise_sigio()
100 spin_unlock_irqrestore(&ioc->diag_trigger_lock, flags); in _mpt3sas_raise_sigio()
[all …]
Dmpt3sas_ctl.c93 _ctl_display_some_debug(struct MPT3SAS_ADAPTER *ioc, u16 smid, in _ctl_display_some_debug() argument
99 if (!(ioc->logging_level & MPT_DEBUG_IOCTL)) in _ctl_display_some_debug()
102 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _ctl_display_some_debug()
109 snprintf(ioc->tmp_string, MPT_STRING_LENGTH, in _ctl_display_some_debug()
113 desc = ioc->tmp_string; in _ctl_display_some_debug()
130 snprintf(ioc->tmp_string, MPT_STRING_LENGTH, in _ctl_display_some_debug()
135 desc = ioc->tmp_string; in _ctl_display_some_debug()
161 snprintf(ioc->tmp_string, MPT_STRING_LENGTH, in _ctl_display_some_debug()
165 desc = ioc->tmp_string; in _ctl_display_some_debug()
194 ioc_info(ioc, "%s: %s, smid(%d)\n", calling_function_name, desc, smid); in _ctl_display_some_debug()
[all …]
Dmpt3sas_scsih.c66 static void _scsih_expander_node_remove(struct MPT3SAS_ADAPTER *ioc,
70 static void _scsih_remove_device(struct MPT3SAS_ADAPTER *ioc,
72 static int _scsih_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle,
74 static int _scsih_pcie_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle);
75 static void _scsih_pcie_device_remove_from_sml(struct MPT3SAS_ADAPTER *ioc,
78 _scsih_pcie_check_device(struct MPT3SAS_ADAPTER *ioc, u16 handle);
79 static u8 _scsih_check_for_pending_tm(struct MPT3SAS_ADAPTER *ioc, u16 smid);
203 struct MPT3SAS_ADAPTER *ioc; member
299 struct MPT3SAS_ADAPTER *ioc; in _scsih_set_debug_level() local
306 list_for_each_entry(ioc, &mpt3sas_ioc_list, list) in _scsih_set_debug_level()
[all …]
Dmpt3sas_transport.c73 _transport_sas_node_find_by_sas_address(struct MPT3SAS_ADAPTER *ioc, in _transport_sas_node_find_by_sas_address() argument
76 if (ioc->sas_hba.sas_address == sas_address) in _transport_sas_node_find_by_sas_address()
77 return &ioc->sas_hba; in _transport_sas_node_find_by_sas_address()
79 return mpt3sas_scsih_expander_find_by_sas_address(ioc, in _transport_sas_node_find_by_sas_address()
140 _transport_set_identify(struct MPT3SAS_ADAPTER *ioc, u16 handle, in _transport_set_identify() argument
148 if (ioc->shost_recovery || ioc->pci_error_recovery) { in _transport_set_identify()
149 ioc_info(ioc, "%s: host reset in progress!\n", __func__); in _transport_set_identify()
153 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _transport_set_identify()
155 ioc_err(ioc, "failure at %s:%d/%s()!\n", in _transport_set_identify()
163 ioc_err(ioc, "handle(0x%04x), ioc_status(0x%04x) failure at %s:%d/%s()!\n", in _transport_set_identify()
[all …]
Dmpt3sas_config.c98 _config_display_some_debug(struct MPT3SAS_ADAPTER *ioc, u16 smid, in _config_display_some_debug() argument
104 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _config_display_some_debug()
175 ioc_info(ioc, "%s: %s(%d), action(%d), form(0x%08x), smid(%d)\n", in _config_display_some_debug()
184 ioc_info(ioc, "\tiocstatus(0x%04x), loginfo(0x%08x)\n", in _config_display_some_debug()
199 _config_alloc_config_dma_memory(struct MPT3SAS_ADAPTER *ioc, in _config_alloc_config_dma_memory() argument
204 if (mem->sz > ioc->config_page_sz) { in _config_alloc_config_dma_memory()
205 mem->page = dma_alloc_coherent(&ioc->pdev->dev, mem->sz, in _config_alloc_config_dma_memory()
208 ioc_err(ioc, "%s: dma_alloc_coherent failed asking for (%d) bytes!!\n", in _config_alloc_config_dma_memory()
213 mem->page = ioc->config_page; in _config_alloc_config_dma_memory()
214 mem->page_dma = ioc->config_page_dma; in _config_alloc_config_dma_memory()
[all …]
Dmpt3sas_base.h171 #define ioc_err(ioc, fmt, ...) \ argument
172 pr_err("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
173 #define ioc_notice(ioc, fmt, ...) \ argument
174 pr_notice("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
175 #define ioc_warn(ioc, fmt, ...) \ argument
176 pr_warn("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
177 #define ioc_info(ioc, fmt, ...) \ argument
178 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
917 struct MPT3SAS_ADAPTER *ioc; member
933 typedef int (*MPT_BUILD_SG_SCMD)(struct MPT3SAS_ADAPTER *ioc,
[all …]
Dmpt3sas_debugfs.c58 struct MPT3SAS_ADAPTER *ioc = inode->i_private; in _debugfs_iocdump_open() local
65 debug->buf = (void *)ioc; in _debugfs_iocdump_open()
119 mpt3sas_setup_debugfs(struct MPT3SAS_ADAPTER *ioc) in mpt3sas_setup_debugfs() argument
123 snprintf(name, sizeof(name), "scsi_host%d", ioc->shost->host_no); in mpt3sas_setup_debugfs()
124 if (!ioc->debugfs_root) { in mpt3sas_setup_debugfs()
125 ioc->debugfs_root = in mpt3sas_setup_debugfs()
127 if (!ioc->debugfs_root) { in mpt3sas_setup_debugfs()
128 dev_err(&ioc->pdev->dev, in mpt3sas_setup_debugfs()
135 ioc->ioc_dump = debugfs_create_file(name, 0444, in mpt3sas_setup_debugfs()
136 ioc->debugfs_root, ioc, &mpt3sas_debugfs_iocdump_fops); in mpt3sas_setup_debugfs()
[all …]
/Linux-v5.10/drivers/message/fusion/
Dmptbase.c160 static int mptbase_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req,
162 static int mpt_handshake_req_reply_wait(MPT_ADAPTER *ioc, int reqBytes,
165 static int mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag);
166 static void mpt_detect_bound_ports(MPT_ADAPTER *ioc, struct pci_dev *pdev);
167 static void mpt_adapter_disable(MPT_ADAPTER *ioc);
168 static void mpt_adapter_dispose(MPT_ADAPTER *ioc);
170 static void MptDisplayIocCapabilities(MPT_ADAPTER *ioc);
171 static int MakeIocReady(MPT_ADAPTER *ioc, int force, int sleepFlag);
172 static int GetIocFacts(MPT_ADAPTER *ioc, int sleepFlag, int reason);
173 static int GetPortFacts(MPT_ADAPTER *ioc, int portnum, int sleepFlag);
[all …]
Dmptscsih.c84 struct scsi_cmnd *mptscsih_get_scsi_lookup(MPT_ADAPTER *ioc, int i);
85 static struct scsi_cmnd * mptscsih_getclear_scsi_lookup(MPT_ADAPTER *ioc, int i);
86 static void mptscsih_set_scsi_lookup(MPT_ADAPTER *ioc, int i, struct scsi_cmnd *scmd);
87 static int SCPNT_TO_LOOKUP_IDX(MPT_ADAPTER *ioc, struct scsi_cmnd *scmd);
88 int mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r);
90 int mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r);
92 static int mptscsih_AddSGE(MPT_ADAPTER *ioc, struct scsi_cmnd *SCpnt,
94 static void mptscsih_freeChainBuffers(MPT_ADAPTER *ioc, int req_idx);
100 int mptscsih_ioc_reset(MPT_ADAPTER *ioc, int post_reset);
101 int mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply);
[all …]
Dmptsas.c112 static inline void mptsas_set_rphy(MPT_ADAPTER *ioc,
115 (MPT_ADAPTER *ioc, u64 sas_address);
116 static int mptsas_sas_device_pg0(MPT_ADAPTER *ioc,
118 static int mptsas_sas_enclosure_pg0(MPT_ADAPTER *ioc,
120 static int mptsas_add_end_device(MPT_ADAPTER *ioc,
122 static void mptsas_del_end_device(MPT_ADAPTER *ioc,
126 (MPT_ADAPTER *ioc, u64 sas_address);
127 static void mptsas_expander_delete(MPT_ADAPTER *ioc,
130 static void mptsas_not_responding_devices(MPT_ADAPTER *ioc);
131 static void mptsas_scan_sas_topology(MPT_ADAPTER *ioc);
[all …]
Dmptctl.c129 struct buflist **blp, dma_addr_t *sglbuf_dma, MPT_ADAPTER *ioc);
131 struct buflist *buflist, MPT_ADAPTER *ioc);
136 static int mptctl_ioc_reset(MPT_ADAPTER *ioc, int reset_phase);
141 static int mptctl_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply);
179 mptctl_syscall_down(MPT_ADAPTER *ioc, int nonblock) in mptctl_syscall_down() argument
184 if (!mutex_trylock(&ioc->ioctl_cmds.mutex)) in mptctl_syscall_down()
187 if (mutex_lock_interruptible(&ioc->ioctl_cmds.mutex)) in mptctl_syscall_down()
201 mptctl_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) in mptctl_reply() argument
210 dctlprintk(ioc, printk(MYIOC_s_DEBUG_FMT "completing mpi function " in mptctl_reply()
211 "(0x%02X), req=%p, reply=%p\n", ioc->name, req->u.hdr.Function, in mptctl_reply()
[all …]
Dmptfc.c196 MPT_ADAPTER *ioc; in mptfc_block_error_handler() local
200 ioc = hd->ioc; in mptfc_block_error_handler()
203 || (loops > 0 && ioc->active == 0)) { in mptfc_block_error_handler()
205 dfcprintk (ioc, printk(MYIOC_s_DEBUG_FMT in mptfc_block_error_handler()
208 ioc->name, ioc->sh->host_no, in mptfc_block_error_handler()
210 ready, ioc->active, caller)); in mptfc_block_error_handler()
218 || ioc->active == 0) { in mptfc_block_error_handler()
219 dfcprintk (ioc, printk(MYIOC_s_DEBUG_FMT in mptfc_block_error_handler()
222 ioc->name, ioc->sh->host_no, in mptfc_block_error_handler()
224 ioc->active, SCpnt->device->hostdata)); in mptfc_block_error_handler()
[all …]
Dmptspi.c111 MPT_ADAPTER *ioc = hd->ioc; in mptspi_setTargetNegoParms() local
112 SpiCfgData *pspi_data = &ioc->spi_data; in mptspi_setTargetNegoParms()
143 ddvprintk(ioc, in mptspi_setTargetNegoParms()
145 "byte56=%02x on id=%d!\n", ioc->name, in mptspi_setTargetNegoParms()
237 ddvprintk(ioc, printk(MYIOC_s_DEBUG_FMT in mptspi_setTargetNegoParms()
238 "Disabling QAS due to noQas=%02x on id=%d!\n", ioc->name, noQas, id)); in mptspi_setTargetNegoParms()
256 MPT_ADAPTER *ioc = hd->ioc; in mptspi_writeIOCPage4() local
266 if ((mf = mpt_get_msg_frame(ioc->DoneCtx, ioc)) == NULL) { in mptspi_writeIOCPage4()
267 dfailprintk(ioc, printk(MYIOC_s_WARN_FMT in mptspi_writeIOCPage4()
268 "writeIOCPage4 : no msg frames!\n",ioc->name)); in mptspi_writeIOCPage4()
[all …]
/Linux-v5.10/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c50 static void bfa_ioc_hw_sem_init(struct bfa_ioc *ioc);
51 static void bfa_ioc_hw_sem_get(struct bfa_ioc *ioc);
52 static void bfa_ioc_hw_sem_get_cancel(struct bfa_ioc *ioc);
53 static void bfa_ioc_hwinit(struct bfa_ioc *ioc, bool force);
54 static void bfa_ioc_poll_fwinit(struct bfa_ioc *ioc);
55 static void bfa_ioc_send_enable(struct bfa_ioc *ioc);
56 static void bfa_ioc_send_disable(struct bfa_ioc *ioc);
57 static void bfa_ioc_send_getattr(struct bfa_ioc *ioc);
58 static void bfa_ioc_hb_monitor(struct bfa_ioc *ioc);
59 static void bfa_ioc_hb_stop(struct bfa_ioc *ioc);
[all …]
Dbfa_ioc_ct.c29 static bool bfa_ioc_ct_firmware_lock(struct bfa_ioc *ioc);
30 static void bfa_ioc_ct_firmware_unlock(struct bfa_ioc *ioc);
31 static void bfa_ioc_ct_reg_init(struct bfa_ioc *ioc);
32 static void bfa_ioc_ct2_reg_init(struct bfa_ioc *ioc);
33 static void bfa_ioc_ct_map_port(struct bfa_ioc *ioc);
34 static void bfa_ioc_ct2_map_port(struct bfa_ioc *ioc);
35 static void bfa_ioc_ct_isr_mode_set(struct bfa_ioc *ioc, bool msix);
36 static void bfa_ioc_ct_notify_fail(struct bfa_ioc *ioc);
37 static void bfa_ioc_ct_ownership_reset(struct bfa_ioc *ioc);
38 static bool bfa_ioc_ct_sync_start(struct bfa_ioc *ioc);
[all …]
Dbfa_ioc.h152 struct bfa_ioc *ioc; member
197 bool (*ioc_firmware_lock) (struct bfa_ioc *ioc);
198 void (*ioc_firmware_unlock) (struct bfa_ioc *ioc);
199 void (*ioc_reg_init) (struct bfa_ioc *ioc);
200 void (*ioc_map_port) (struct bfa_ioc *ioc);
201 void (*ioc_isr_mode_set) (struct bfa_ioc *ioc,
203 void (*ioc_notify_fail) (struct bfa_ioc *ioc);
204 void (*ioc_ownership_reset) (struct bfa_ioc *ioc);
205 bool (*ioc_sync_start) (struct bfa_ioc *ioc);
206 void (*ioc_sync_join) (struct bfa_ioc *ioc);
[all …]
/Linux-v5.10/arch/ia64/hp/common/
Dsba_iommu.c198 struct ioc { struct
231 struct ioc *next; /* list of IOC's in system */ argument
241 static struct ioc *ioc_list, *ioc_found; argument
244 static SBA_INLINE void sba_mark_invalid(struct ioc *, dma_addr_t, size_t);
245 static SBA_INLINE void sba_free_range(struct ioc *, dma_addr_t, size_t);
254 ? ((struct ioc *) PCI_CONTROLLER(to_pci_dev(dev))->iommu) : NULL)
309 sba_dump_pdir_entry(struct ioc *ioc, char *msg, uint pide) in sba_dump_pdir_entry() argument
312 u64 *ptr = &ioc->pdir_base[pide & ~(BITS_PER_LONG - 1)]; in sba_dump_pdir_entry()
313 unsigned long *rptr = (unsigned long *) &ioc->res_map[(pide >>3) & -sizeof(unsigned long)]; in sba_dump_pdir_entry()
340 sba_check_pdir(struct ioc *ioc, char *msg) in sba_check_pdir() argument
[all …]
/Linux-v5.10/drivers/scsi/bfa/
Dbfa_ioc_cb.c23 static bfa_boolean_t bfa_ioc_cb_firmware_lock(struct bfa_ioc_s *ioc);
24 static void bfa_ioc_cb_firmware_unlock(struct bfa_ioc_s *ioc);
25 static void bfa_ioc_cb_reg_init(struct bfa_ioc_s *ioc);
26 static void bfa_ioc_cb_map_port(struct bfa_ioc_s *ioc);
27 static void bfa_ioc_cb_isr_mode_set(struct bfa_ioc_s *ioc, bfa_boolean_t msix);
28 static void bfa_ioc_cb_notify_fail(struct bfa_ioc_s *ioc);
29 static void bfa_ioc_cb_ownership_reset(struct bfa_ioc_s *ioc);
30 static bfa_boolean_t bfa_ioc_cb_sync_start(struct bfa_ioc_s *ioc);
31 static void bfa_ioc_cb_sync_join(struct bfa_ioc_s *ioc);
32 static void bfa_ioc_cb_sync_leave(struct bfa_ioc_s *ioc);
[all …]
Dbfa_ioc_ct.c30 static bfa_boolean_t bfa_ioc_ct_firmware_lock(struct bfa_ioc_s *ioc);
31 static void bfa_ioc_ct_firmware_unlock(struct bfa_ioc_s *ioc);
32 static void bfa_ioc_ct_notify_fail(struct bfa_ioc_s *ioc);
33 static void bfa_ioc_ct_ownership_reset(struct bfa_ioc_s *ioc);
34 static bfa_boolean_t bfa_ioc_ct_sync_start(struct bfa_ioc_s *ioc);
35 static void bfa_ioc_ct_sync_join(struct bfa_ioc_s *ioc);
36 static void bfa_ioc_ct_sync_leave(struct bfa_ioc_s *ioc);
37 static void bfa_ioc_ct_sync_ack(struct bfa_ioc_s *ioc);
38 static bfa_boolean_t bfa_ioc_ct_sync_complete(struct bfa_ioc_s *ioc);
40 struct bfa_ioc_s *ioc, enum bfi_ioc_state fwstate);
[all …]
Dbfa_ioc.c90 static void bfa_ioc_hw_sem_get(struct bfa_ioc_s *ioc);
91 static void bfa_ioc_hwinit(struct bfa_ioc_s *ioc, bfa_boolean_t force);
92 static void bfa_ioc_timeout(void *ioc);
93 static void bfa_ioc_poll_fwinit(struct bfa_ioc_s *ioc);
94 static void bfa_ioc_send_enable(struct bfa_ioc_s *ioc);
95 static void bfa_ioc_send_disable(struct bfa_ioc_s *ioc);
96 static void bfa_ioc_send_getattr(struct bfa_ioc_s *ioc);
97 static void bfa_ioc_hb_monitor(struct bfa_ioc_s *ioc);
98 static void bfa_ioc_mbox_poll(struct bfa_ioc_s *ioc);
99 static void bfa_ioc_mbox_flush(struct bfa_ioc_s *ioc);
[all …]
/Linux-v5.10/drivers/parisc/
Dccio-dma.c225 struct ioc { struct
253 struct ioc *next; /* Linked list of discovered iocs */ argument
260 static struct ioc *ioc_list; argument
295 #define CCIO_SEARCH_LOOP(ioc, res_idx, mask, size) \ argument
299 idx = (unsigned int)((unsigned long)res_ptr - (unsigned long)ioc->res_map); \
304 ioc->res_hint = res_idx + (size >> 3); \
310 u##size *res_ptr = (u##size *)&((ioc)->res_map[ioa->res_hint & ~((size >> 3) - 1)]); \
311 u##size *res_end = (u##size *)&(ioc)->res_map[ioa->res_size]; \
312 CCIO_SEARCH_LOOP(ioc, res_idx, mask, size); \
313 res_ptr = (u##size *)&(ioc)->res_map[0]; \
[all …]
Dsba_iommu.c198 sba_dump_pdir_entry(struct ioc *ioc, char *msg, uint pide) in sba_dump_pdir_entry() argument
201 u64 *ptr = &(ioc->pdir_base[pide & (~0U * BITS_PER_LONG)]); in sba_dump_pdir_entry()
202 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]); in sba_dump_pdir_entry()
230 sba_check_pdir(struct ioc *ioc, char *msg) in sba_check_pdir() argument
232 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir()
233 u32 *rptr = (u32 *) ioc->res_map; /* resource map ptr */ in sba_check_pdir()
234 u64 *pptr = ioc->pdir_base; /* pdir ptr */ in sba_check_pdir()
250 sba_dump_pdir_entry(ioc, msg, pide); in sba_check_pdir()
274 sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) in sba_dump_sg() argument
306 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((ioc->ibase) | (iovp) | (offset)) argument
[all …]
/Linux-v5.10/block/
Dblk-ioc.c26 void get_io_context(struct io_context *ioc) in get_io_context() argument
28 BUG_ON(atomic_long_read(&ioc->refcount) <= 0); in get_io_context()
29 atomic_long_inc(&ioc->refcount); in get_io_context()
62 struct io_context *ioc = icq->ioc; in ioc_destroy_icq() local
66 lockdep_assert_held(&ioc->lock); in ioc_destroy_icq()
68 radix_tree_delete(&ioc->icq_tree, icq->q->id); in ioc_destroy_icq()
77 if (rcu_access_pointer(ioc->icq_hint) == icq) in ioc_destroy_icq()
78 rcu_assign_pointer(ioc->icq_hint, NULL); in ioc_destroy_icq()
97 struct io_context *ioc = container_of(work, struct io_context, in ioc_release_fn() local
99 spin_lock_irq(&ioc->lock); in ioc_release_fn()
[all …]
Dblk-iocost.c404 struct ioc { struct
462 struct ioc *ioc; argument
660 static struct ioc *rqos_to_ioc(struct rq_qos *rqos) in rqos_to_ioc()
662 return container_of(rqos, struct ioc, rqos); in rqos_to_ioc()
665 static struct ioc *q_to_ioc(struct request_queue *q) in q_to_ioc()
678 static const char __maybe_unused *ioc_name(struct ioc *ioc) in ioc_name() argument
680 return q_name(ioc->rqos.q); in ioc_name()
737 spin_lock_irqsave(&iocg->ioc->lock, *flags); in iocg_lock()
748 spin_unlock_irqrestore(&iocg->ioc->lock, *flags); in iocg_unlock()
757 static void ioc_refresh_margins(struct ioc *ioc) in ioc_refresh_margins() argument
[all …]

12345