Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/scsi/mpt3sas/
Dmpt3sas_base.c134 _base_wait_on_iocstate(struct MPT3SAS_ADAPTER *ioc,
137 _base_get_ioc_facts(struct MPT3SAS_ADAPTER *ioc);
139 _base_clear_outstanding_commands(struct MPT3SAS_ADAPTER *ioc);
157 mpt3sas_base_check_cmd_timeout(struct MPT3SAS_ADAPTER *ioc, in mpt3sas_base_check_cmd_timeout() argument
165 ioc_err(ioc, "Command %s\n", in mpt3sas_base_check_cmd_timeout()
183 struct MPT3SAS_ADAPTER *ioc; in _scsih_set_fwfault_debug() local
191 list_for_each_entry(ioc, &mpt3sas_ioc_list, list) in _scsih_set_fwfault_debug()
192 ioc->fwfault_debug = mpt3sas_fwfault_debug; in _scsih_set_fwfault_debug()
248 _base_clone_reply_to_sys_mem(struct MPT3SAS_ADAPTER *ioc, u32 reply, in _base_clone_reply_to_sys_mem() argument
256 u16 cmd_credit = ioc->facts.RequestCredit + 1; in _base_clone_reply_to_sys_mem()
[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_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_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);
80 static void _scsih_complete_devices_scanning(struct MPT3SAS_ADAPTER *ioc);
218 struct MPT3SAS_ADAPTER *ioc; member
314 struct MPT3SAS_ADAPTER *ioc; in _scsih_set_debug_level() local
[all …]
Dmpt3sas_transport.c92 _transport_sas_node_find_by_sas_address(struct MPT3SAS_ADAPTER *ioc, in _transport_sas_node_find_by_sas_address() argument
95 if (ioc->sas_hba.sas_address == sas_address) in _transport_sas_node_find_by_sas_address()
96 return &ioc->sas_hba; in _transport_sas_node_find_by_sas_address()
98 return mpt3sas_scsih_expander_find_by_sas_address(ioc, in _transport_sas_node_find_by_sas_address()
110 _transport_get_port_id_by_rphy(struct MPT3SAS_ADAPTER *ioc, in _transport_get_port_id_by_rphy() argument
123 spin_lock_irqsave(&ioc->sas_node_lock, flags); in _transport_get_port_id_by_rphy()
125 &ioc->sas_expander_list, list) { in _transport_get_port_id_by_rphy()
131 spin_unlock_irqrestore(&ioc->sas_node_lock, flags); in _transport_get_port_id_by_rphy()
133 spin_lock_irqsave(&ioc->sas_device_lock, flags); in _transport_get_port_id_by_rphy()
134 sas_device = __mpt3sas_get_sdev_by_rphy(ioc, rphy); in _transport_get_port_id_by_rphy()
[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.h182 #define ioc_err(ioc, fmt, ...) \ argument
183 pr_err("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
184 #define ioc_notice(ioc, fmt, ...) \ argument
185 pr_notice("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
186 #define ioc_warn(ioc, fmt, ...) \ argument
187 pr_warn("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
188 #define ioc_info(ioc, fmt, ...) \ argument
189 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
950 struct MPT3SAS_ADAPTER *ioc; member
979 typedef int (*MPT_BUILD_SG_SCMD)(struct MPT3SAS_ADAPTER *ioc,
[all …]
/linux-6.6.21/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-6.6.21/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.h154 struct bfa_ioc *ioc; member
201 bool (*ioc_firmware_lock) (struct bfa_ioc *ioc);
202 void (*ioc_firmware_unlock) (struct bfa_ioc *ioc);
203 void (*ioc_reg_init) (struct bfa_ioc *ioc);
204 void (*ioc_map_port) (struct bfa_ioc *ioc);
205 void (*ioc_isr_mode_set) (struct bfa_ioc *ioc,
207 void (*ioc_notify_fail) (struct bfa_ioc *ioc);
208 void (*ioc_ownership_reset) (struct bfa_ioc *ioc);
209 bool (*ioc_sync_start) (struct bfa_ioc *ioc);
210 void (*ioc_sync_join) (struct bfa_ioc *ioc);
[all …]
/linux-6.6.21/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-6.6.21/drivers/scsi/mpi3mr/
Dmpi3mr_debug.h41 #define ioc_err(ioc, fmt, ...) \ argument
42 pr_err("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
43 #define ioc_notice(ioc, fmt, ...) \ argument
44 pr_notice("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
45 #define ioc_warn(ioc, fmt, ...) \ argument
46 pr_warn("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
47 #define ioc_info(ioc, fmt, ...) \ argument
48 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
50 #define dprint(ioc, fmt, ...) \ argument
52 if (ioc->logging_level & MPI3_DEBUG) \
[all …]
/linux-6.6.21/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-6.6.21/drivers/parisc/
Dccio-dma.c214 struct ioc { struct
242 struct ioc *next; /* Linked list of discovered iocs */ argument
249 static struct ioc *ioc_list; argument
284 #define CCIO_SEARCH_LOOP(ioc, res_idx, mask, size) \ argument
288 idx = (unsigned int)((unsigned long)res_ptr - (unsigned long)ioc->res_map); \
293 ioc->res_hint = res_idx + (size >> 3); \
299 u##size *res_ptr = (u##size *)&((ioc)->res_map[ioa->res_hint & ~((size >> 3) - 1)]); \
300 u##size *res_end = (u##size *)&(ioc)->res_map[ioa->res_size]; \
301 CCIO_SEARCH_LOOP(ioc, res_idx, mask, size); \
302 res_ptr = (u##size *)&(ioc)->res_map[0]; \
[all …]
Dsba_iommu.c202 sba_dump_pdir_entry(struct ioc *ioc, char *msg, uint pide) in sba_dump_pdir_entry() argument
205 __le64 *ptr = &(ioc->pdir_base[pide & (~0U * BITS_PER_LONG)]); in sba_dump_pdir_entry()
206 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]); in sba_dump_pdir_entry()
234 sba_check_pdir(struct ioc *ioc, char *msg) in sba_check_pdir() argument
236 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir()
237 u32 *rptr = (u32 *) ioc->res_map; /* resource map ptr */ in sba_check_pdir()
238 u64 *pptr = ioc->pdir_base; /* pdir ptr */ in sba_check_pdir()
254 sba_dump_pdir_entry(ioc, msg, pide); in sba_check_pdir()
278 sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) in sba_dump_sg() argument
310 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((ioc->ibase) | (iovp) | (offset)) argument
[all …]
/linux-6.6.21/block/
Dblk-ioc.c29 static void get_io_context(struct io_context *ioc) in get_io_context() argument
31 BUG_ON(atomic_long_read(&ioc->refcount) <= 0); in get_io_context()
32 atomic_long_inc(&ioc->refcount); in get_io_context()
59 static void ioc_exit_icqs(struct io_context *ioc) in ioc_exit_icqs() argument
63 spin_lock_irq(&ioc->lock); in ioc_exit_icqs()
64 hlist_for_each_entry(icq, &ioc->icq_list, ioc_node) in ioc_exit_icqs()
66 spin_unlock_irq(&ioc->lock); in ioc_exit_icqs()
75 struct io_context *ioc = icq->ioc; in ioc_destroy_icq() local
79 lockdep_assert_held(&ioc->lock); in ioc_destroy_icq()
85 radix_tree_delete(&ioc->icq_tree, icq->q->id); in ioc_destroy_icq()
[all …]
Dblk-iocost.c406 struct ioc { struct
464 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()
670 static const char __maybe_unused *ioc_name(struct ioc *ioc) in ioc_name() argument
672 struct gendisk *disk = ioc->rqos.disk; in ioc_name()
733 spin_lock_irqsave(&iocg->ioc->lock, *flags); in iocg_lock()
744 spin_unlock_irqrestore(&iocg->ioc->lock, *flags); in iocg_unlock()
753 static void ioc_refresh_margins(struct ioc *ioc) in ioc_refresh_margins() argument
[all …]

12345