/linux-master/block/ |
H A D | blk-iocost.c | 406 struct ioc { struct 464 struct ioc *ioc; member in struct:ioc_gq 648 * vrate adjust percentages indexed by ioc->busy_level. We adjust up on 660 static struct ioc *rqos_to_ioc(struct rq_qos *rqos) 662 return container_of(rqos, struct ioc, rqos); 665 static struct ioc *q_to_ioc(struct request_queue *q) 670 static const char __maybe_unused *ioc_name(struct ioc *ioc) argument 672 struct gendisk *disk = ioc 753 ioc_refresh_margins(struct ioc *ioc) argument 765 ioc_refresh_period_us(struct ioc *ioc) argument 807 ioc_autop_idx(struct ioc *ioc, struct gendisk *disk) argument 897 ioc_refresh_lcoefs(struct ioc *ioc) argument 912 ioc_refresh_params_disk(struct ioc *ioc, bool force, struct gendisk *disk) argument 951 ioc_refresh_params(struct ioc *ioc, bool force) argument 963 ioc_refresh_vrate(struct ioc *ioc, struct ioc_now *now) argument 993 ioc_adjust_base_vrate(struct ioc *ioc, u32 rq_wait_pct, int nr_lagging, int nr_shortages, int prev_busy_level, u32 *missed_ppm) argument 1042 ioc_now(struct ioc *ioc, struct ioc_now *now) argument 1066 ioc_start_period(struct ioc *ioc, struct ioc_now *now) argument 1087 struct ioc *ioc = iocg->ioc; local 1147 commit_weights(struct ioc *ioc) argument 1168 struct ioc *ioc = iocg->ioc; local 1248 struct ioc *ioc = iocg->ioc; local 1263 struct ioc *ioc = iocg->ioc; local 1348 struct ioc *ioc = iocg->ioc; local 1496 struct ioc *ioc = iocg->ioc; local 1592 ioc_lat_stat(struct ioc *ioc, u32 *missed_ppm_ar, u32 *rq_wait_pct_p) argument 1634 struct ioc *ioc = iocg->ioc; local 1698 struct ioc *ioc = iocg->ioc; local 1746 struct ioc *ioc = iocg->ioc; local 2075 ioc_forgive_debts(struct ioc *ioc, u64 usage_us_sum, int nr_debtors, struct ioc_now *now) argument 2166 ioc_check_iocgs(struct ioc *ioc, struct ioc_now *now) argument 2236 struct ioc *ioc = container_of(timer, struct ioc, timer); local 2463 struct ioc *ioc = iocg->ioc; local 2524 struct ioc *ioc = iocg->ioc; local 2574 calc_size_vtime_cost_builtin(struct request *rq, struct ioc *ioc, u64 *costp) argument 2591 calc_size_vtime_cost(struct request *rq, struct ioc *ioc) argument 2602 struct ioc *ioc = rqos_to_ioc(rqos); local 2738 struct ioc *ioc = rqos_to_ioc(rqos); local 2803 struct ioc *ioc = rqos_to_ioc(rqos); local 2843 struct ioc *ioc = rqos_to_ioc(rqos); local 2852 struct ioc *ioc = rqos_to_ioc(rqos); local 2876 struct ioc *ioc; local 2980 struct ioc *ioc = q_to_ioc(blkg->q); local 3016 struct ioc *ioc = iocg->ioc; local 3044 struct ioc *ioc = iocg->ioc; local 3162 struct ioc *ioc = pd_to_iocg(pd)->ioc; local 3214 struct ioc *ioc; local 3361 struct ioc *ioc = pd_to_iocg(pd)->ioc; local 3408 struct ioc *ioc; local [all...] |
/linux-master/drivers/parisc/ |
H A D | iommu-helpers.h | 6 * @ioc: The I/O Controller. 15 iommu_fill_pdir(struct ioc *ioc, struct scatterlist *startsg, int nents, argument 57 sg_dma_address(dma_sg) = pide | ioc->ibase; 64 pdirp = &(ioc->pdir_base[pide >> IOVP_SHIFT]); 75 ioc->msg_pages += startsg->length >> IOVP_SHIFT; 101 iommu_coalesce_chunks(struct ioc *ioc, struct device *dev, argument 103 int (*iommu_alloc_range)(struct ioc *, struct device *, size_t)) 175 | (iommu_alloc_range(ioc, de [all...] |
H A D | iommu.h | 7 struct ioc; 29 static inline struct ioc *GET_IOC(struct device *dev)
|
/linux-master/drivers/message/fusion/ |
H A D | mptscsih.h | 127 extern int mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); 128 extern int mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); 129 extern int mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r); 130 extern int mptscsih_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *pEvReply); 131 extern int mptscsih_ioc_reset(MPT_ADAPTER *ioc, int post_reset); 133 extern u8 mptscsih_raid_id_to_num(MPT_ADAPTER *ioc, u8 channel, u8 id); 134 extern int mptscsih_is_phys_disk(MPT_ADAPTER *ioc, u8 channel, u8 id); 136 extern struct scsi_cmnd *mptscsih_get_scsi_lookup(MPT_ADAPTER *ioc, int i); 137 extern void mptscsih_taskmgmt_response_code(MPT_ADAPTER *ioc, u8 response_code);
|
H A D | mptdebug.h | 150 DBG_DUMP_FW_DOWNLOAD(MPT_ADAPTER *ioc, u32 *mfp, int numfrags) argument 154 if (!(ioc->debug_level & MPT_DEBUG)) 163 DBG_DUMP_PUT_MSG_FRAME(MPT_ADAPTER *ioc, u32 *mfp) argument 167 if (!(ioc->debug_level & MPT_DEBUG_MSG_FRAME)) 170 ioc->name, mfp); 171 n = ioc->req_sz/4 - 1; 183 DBG_DUMP_FW_REQUEST_FRAME(MPT_ADAPTER *ioc, u32 *mfp) argument 187 if (!(ioc->debug_level & MPT_DEBUG_MSG_FRAME)) 197 DBG_DUMP_REQUEST_FRAME(MPT_ADAPTER *ioc, u32 *mfp) argument 201 if (!(ioc 213 DBG_DUMP_REPLY_FRAME(MPT_ADAPTER *ioc, u32 *mfp) argument 227 DBG_DUMP_REQUEST_FRAME_HDR(MPT_ADAPTER *ioc, u32 *mfp) argument 241 DBG_DUMP_TM_REQUEST_FRAME(MPT_ADAPTER *ioc, u32 *mfp) argument 258 DBG_DUMP_TM_REPLY_FRAME(MPT_ADAPTER *ioc, u32 *mfp) argument [all...] |
H A D | mptbase.h | 586 struct _MPT_ADAPTER *ioc; member in struct:_MPT_SCSI_HOST 597 typedef void (*MPT_SCHEDULE_TARGET_RESET)(void *ioc); 796 typedef int (*MPT_CALLBACK)(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply); 797 typedef int (*MPT_EVHANDLER)(MPT_ADAPTER *ioc, EventNotificationReply_t *evReply); 798 typedef int (*MPT_RESETHANDLER)(MPT_ADAPTER *ioc, int reset_phase); 826 #define mpt_msg_flags(ioc) \ 827 (ioc->sg_addr_size == sizeof(u64)) ? \ 840 #define MPT_INDEX_2_MFPTR(ioc,idx) \ 841 (MPT_FRAME_HDR*)( (u8*)(ioc)->req_frames + (ioc) [all...] |
H A D | mptsas.h | 95 MPT_ADAPTER *ioc; member in struct:mptsas_hotplug_event 111 MPT_ADAPTER *ioc; member in struct:fw_event_work 119 MPT_ADAPTER *ioc; member in struct:mptsas_discovery_event
|
/linux-master/include/linux/ |
H A D | iocontext.h | 15 * An io_cq (icq) is association between an io_context (ioc) and a 17 * information per ioc - q pair. 52 * As icq's are linked from both ioc and q, the locking rules are a bit 55 * - ioc lock nests inside q lock. 57 * - ioc->icq_list and icq->ioc_node are protected by ioc lock. 60 * - ioc->icq_tree and ioc->icq_hint are protected by ioc lock, while icq 66 * ioc o 75 struct io_context *ioc; member in struct:io_cq 130 put_io_context(struct io_context *ioc) argument [all...] |
H A D | ioprio.h | 59 struct io_context *ioc = p->io_context; local 62 if (!ioc) 68 prio = ioc->ioprio;
|
/linux-master/tools/cgroup/ |
H A D | iocost_monitor.py | 94 def __init__(self, ioc): 97 self.enabled = ioc.enabled.value_() 98 self.running = ioc.running.value_() == IOC_RUNNING 99 self.period_ms = ioc.period_us.value_() / 1_000 100 self.period_at = ioc.period_at.value_() / 1_000_000 101 self.vperiod_at = ioc.period_at_vtime.value_() / VTIME_PER_SEC 102 self.vrate_pct = ioc.vtime_base_rate.value_() * 100 / VTIME_PER_USEC 103 self.ivrate_pct = ioc.vtime_rate.counter.value_() * 100 / VTIME_PER_USEC 104 self.busy_level = ioc.busy_level.value_() 105 self.autop_idx = ioc 226 ioc = None variable [all...] |
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_ioc.h | 313 IOCPF_E_FAIL = 7, /* failure notice by ioc sm */ 314 IOCPF_E_INITFAIL = 8, /* init fail notice by ioc sm */ 315 IOCPF_E_GETATTRFAIL = 9, /* init fail notice by ioc sm */ 326 struct bfa_ioc_s *ioc; member in struct:bfa_iocpf_s 371 bfa_boolean_t (*ioc_firmware_lock) (struct bfa_ioc_s *ioc); 372 void (*ioc_firmware_unlock) (struct bfa_ioc_s *ioc); 373 void (*ioc_reg_init) (struct bfa_ioc_s *ioc); 374 void (*ioc_map_port) (struct bfa_ioc_s *ioc); 375 void (*ioc_isr_mode_set) (struct bfa_ioc_s *ioc, 377 void (*ioc_notify_fail) (struct bfa_ioc_s *ioc); 428 struct bfa_ioc_s *ioc; member in struct:bfa_ablk_s 448 struct bfa_ioc_s *ioc; member in struct:bfa_sfp_s 499 struct bfa_ioc_s *ioc; /* back pointer to ioc */ member in struct:bfa_flash_s 635 struct bfa_ioc_s *ioc; member in struct:bfa_diag_s 692 struct bfa_ioc_s *ioc; /* back pointer to ioc */ member in struct:bfa_phy_s 742 struct bfa_ioc_s *ioc; /* back pointer to ioc */ member in struct:bfa_fru_s [all...] |
H A D | bfa_port.c | 230 if (bfa_ioc_is_disabled(port->ioc)) { 235 if (!bfa_ioc_is_operational(port->ioc)) { 259 bfa_ioc_portid(port->ioc)); 260 bfa_ioc_mbox_queue(port->ioc, &port->endis_mb); 286 if (bfa_ioc_is_disabled(port->ioc)) { 291 if (!bfa_ioc_is_operational(port->ioc)) { 315 bfa_ioc_portid(port->ioc)); 316 bfa_ioc_mbox_queue(port->ioc, &port->endis_mb); 336 if (!bfa_ioc_is_operational(port->ioc)) { 355 bfa_ioc_portid(port->ioc)); 457 bfa_port_attach(struct bfa_port_s *port, struct bfa_ioc_s *ioc, void *dev, struct bfa_trc_mod_s *trcmod) argument 853 bfa_cee_attach(struct bfa_cee_s *cee, struct bfa_ioc_s *ioc, void *dev) argument [all...] |
H A D | bfa_port.h | 23 struct bfa_ioc_s *ioc; member in struct:bfa_port_s 47 void bfa_port_attach(struct bfa_port_s *port, struct bfa_ioc_s *ioc, 97 struct bfa_ioc_s *ioc; member in struct:bfa_cee_s 109 struct bfa_ioc_s *ioc, void *dev);
|
H A D | bfa_hw_cb.c | 19 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); 20 int fn = bfa_ioc_pcifn(&bfa->ioc); 34 writel(__HFN_INT_CPE_Q0 << CPE_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), reqq), 48 writel(__HFN_INT_RME_Q0 << RME_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), rspq), 73 if (bfa_ioc_pcifn(&bfa->ioc) == 0) {
|
H A D | bfa_core.c | 95 bfa_port_attach(port, &bfa->ioc, bfa, bfa->trcmod); 108 bfa_ablk_attach(ablk, &bfa->ioc); 119 bfa_cee_attach(cee, &bfa->ioc, bfa); 129 bfa_sfp_attach(sfp, &bfa->ioc, bfa, bfa->trcmod); 139 bfa_flash_attach(flash, &bfa->ioc, bfa, bfa->trcmod, mincfg); 150 bfa_diag_attach(diag, &bfa->ioc, bfa, bfa_fcport_beacon, bfa->trcmod); 160 bfa_phy_attach(phy, &bfa->ioc, bfa, bfa->trcmod, mincfg); 170 bfa_fru_attach(fru, &bfa->ioc, bfa, bfa->trcmod, mincfg); 271 bfa_ioc_enable(&iocfc->bfa->ioc); 452 bfa_ioc_disable(&iocfc->bfa->ioc); 1521 struct bfa_ioc_s *ioc = &bfa->ioc; local [all...] |
H A D | bfa_hw_ct.c | 29 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); 30 int fn = bfa_ioc_pcifn(&bfa->ioc); 45 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); 161 bfa_ioc_isr_mode_set(&bfa->ioc, msix);
|
H A D | bfad_debugfs.c | 85 rc = bfa_ioc_debug_fwtrc(&bfad->bfa.ioc, 127 rc = bfa_ioc_debug_fwsave(&bfad->bfa.ioc, 207 if ((offset + (len<<2)) > BFA_REG_ADDRMSK(&bfa->ioc)) 245 struct bfa_ioc_s *ioc = &bfa->ioc; local 279 rb = bfa_ioc_bar0(ioc); 280 addr &= BFA_REG_ADDRMSK(ioc); 314 struct bfa_ioc_s *ioc = &bfa->ioc; local 334 addr &= BFA_REG_ADDRMSK(ioc); /* offse [all...] |
H A D | bfa.h | 281 bfi_fn_lpu(bfa_ioc_pcifn(&(__bfa)->ioc), bfa_ioc_portid(&(__bfa)->ioc)) 367 bfa_ioc_fetch_stats(&(__bfa)->ioc, __ioc_stats) 369 bfa_ioc_clr_stats(&(__bfa)->ioc) 371 bfa_ioc_get_nports(&(__bfa)->ioc) 373 bfa_ioc_get_adapter_manufacturer(&(__bfa)->ioc, __manufacturer) 375 bfa_ioc_get_adapter_model(&(__bfa)->ioc, __model) 377 bfa_ioc_get_adapter_serial_num(&(__bfa)->ioc, __serial_num) 379 bfa_ioc_get_adapter_fw_ver(&(__bfa)->ioc, __fw_ver) 381 bfa_ioc_get_adapter_optrom_ver(&(__bfa)->ioc, __optrom_ve [all...] |
/linux-master/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_cee.h | 45 struct bfa_ioc *ioc; member in struct:bfa_cee 54 void bfa_nw_cee_attach(struct bfa_cee *cee, struct bfa_ioc *ioc, void *dev);
|
H A D | bfa_cee.c | 162 BUG_ON(!((cee != NULL) && (cee->ioc != NULL))); 163 if (!bfa_nw_ioc_is_operational(cee->ioc)) 175 bfa_ioc_portid(cee->ioc)); 177 bfa_nw_ioc_mbox_queue(cee->ioc, &cee->get_cfg_mb, NULL, NULL); 265 * @ioc: Pointer to the ioc module data structure 271 bfa_nw_cee_attach(struct bfa_cee *cee, struct bfa_ioc *ioc, argument 276 cee->ioc = ioc; 278 bfa_nw_ioc_mbox_regisr(cee->ioc, BFI_MC_CE [all...] |
H A D | bnad_debugfs.c | 62 rc = bfa_nw_ioc_debug_fwtrc(&bnad->bna.ioceth.ioc, 102 rc = bfa_nw_ioc_debug_fwsave(&bnad->bna.ioceth.ioc, 146 bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, &drvinfo->ioc_attr); 255 bna_reg_offset_check(struct bfa_ioc *ioc, u32 offset, u32 len) argument 271 if (offset + (len << 2) > BFA_REG_ADDRMSK(ioc)) 306 struct bfa_ioc *ioc = &bnad->bna.ioceth.ioc; local 335 rb = bfa_ioc_bar0(ioc); 336 addr &= BFA_REG_ADDRMSK(ioc); 339 rc = bna_reg_offset_check(ioc, add 367 struct bfa_ioc *ioc = &bnad->bna.ioceth.ioc; local [all...] |
/linux-master/tools/testing/selftests/sgx/ |
H A D | load.c | 83 struct sgx_enclave_create ioc; local 95 ioc.src = (unsigned long)secs; 96 rc = ioctl(encl->fd, SGX_IOC_ENCLAVE_CREATE, &ioc); 108 struct sgx_enclave_add_pages ioc; local 115 ioc.src = (uint64_t)seg->src; 116 ioc.offset = seg->offset; 117 ioc.length = seg->size; 118 ioc.secinfo = (unsigned long)&secinfo; 120 ioc.flags = SGX_PAGE_MEASURE; 122 ioc 341 struct sgx_enclave_init ioc; local [all...] |
/linux-master/include/trace/events/ |
H A D | iocost.h | 5 struct ioc; 22 __string(devname, ioc_name(iocg->ioc)) 41 __entry->vrate = iocg->ioc->vtime_base_rate; 86 __string(devname, ioc_name(iocg->ioc)) 144 TP_PROTO(struct ioc *ioc, u64 new_vrate, u32 *missed_ppm, 147 TP_ARGS(ioc, new_vrate, missed_ppm, rq_wait_pct, nr_lagging, nr_shortages), 150 __string(devname, ioc_name(ioc)) 163 __entry->old_vrate = ioc->vtime_base_rate; 165 __entry->busy_level = ioc [all...] |
/linux-master/drivers/usb/host/ |
H A D | fhci-mem.c | 88 u16 interval, u16 start_frame, bool ioc) 104 td->ioc = ioc; 85 fhci_td_fill(struct fhci_hcd *fhci, struct urb *urb, struct urb_priv *urb_priv, struct ed *ed, u16 index, enum fhci_ta_type type, int toggle, u8 *data, u32 len, u16 interval, u16 start_frame, bool ioc) argument
|
/linux-master/drivers/input/serio/ |
H A D | i8042-ip22io.h | 5 #include <asm/sgi/ioc.h>
|