/src/sys/arch/vax/vax/ |
multicpu.c | 83 struct cpuq *cq; local in function:cpu_slavesetup 107 cq = kmem_zalloc(sizeof(*cq), KM_SLEEP); 108 cq->cq_ci = ci; 109 cq->cq_dev = ci->ci_dev; 110 SIMPLEQ_INSERT_TAIL(&cpuq, cq, cq_q);
|
/src/lib/libc/gen/ |
disklabel.c | 98 char *cp, *cq; /* can't be */ local in function:getdiskbyname 113 cq = dp->d_typename; 115 while (cq < dp->d_typename + sizeof(dp->d_typename) - 1 && 116 (*cq = *cp) && *cq != '|' && *cq != ':') 117 cq++, cp++; 118 *cq = '\0'; 125 if (cgetstr(buf, "ty", &cq) >= 0) { 126 if (strcmp(cq, "removable") == 0 [all...] |
/src/lib/libc/citrus/ |
citrus_iconv.c | 110 const char *cp, *cq; local in function:lookup_iconv_entry 124 cq = _bcs_skip_nonws(cp); 125 p[cq-cp] = '\0'; 126 p += cq-cp+1; 127 cq++; 130 cp = _bcs_skip_ws(cq); 131 *variable = p += cp - cq; 132 cq = _bcs_skip_nonws(cp); 133 p[cq-cp] = '\0';
|
citrus_mapper.c | 139 const char *cp, *cq; local in function:lookup_mapper_entry 168 cq = _bcs_skip_nonws_len(cp, &len); 169 strlcpy(p, cp, (size_t)(cq-cp+1)); 170 p += cq-cp+1; 174 cp = _bcs_skip_ws_len(cq, &len);
|
/src/sys/kern/ |
bufq_priocscan.c | 122 cscan_dump(struct cscan_queue *cq) 124 const int sortby = cq->cq_sortby; 127 RB_TREE_FOREACH(bp, &cq->cq_buffers) { 267 struct cscan_queue *cq; local in function:bufq_priocscan_put 269 cq = bufq_priocscan_selectqueue(q, bp); 270 cscan_put(cq, bp); 401 struct cscan_queue * const cq = &q->bq_queue[i].q_queue; local in function:bufq_priocscan_cancel 408 RB_TREE_FOREACH(it, &cq->cq_buffers) { 410 rb_tree_remove_node(&cq->cq_buffers, bp); 441 struct cscan_queue *cq = &q->bq_queue[i].q_queue local in function:bufq_priocscan_init [all...] |
/src/libexec/ftpd/ |
cmds.c | 854 char *cq; local in function:discover_path 920 for (cq = cp - 1; *cq != '/'; cq--); 922 ((unsigned long)cq - (unsigned long)cp) 925 (void)memmove(cq + 1 + sz2, 927 (void)memcpy(cq + 1, tq, sz2); 944 for (cq = cp - 1; *cq != '/'; cq--) [all...] |
/src/sys/external/bsd/ena-com/ |
ena_com.c | 145 struct ena_com_admin_cq *cq = &queue->cq; local in function:ena_com_admin_init_cq 148 ENA_MEM_ALLOC_COHERENT(queue->q_dmadev, size, cq->entries, cq->dma_addr, 149 cq->mem_handle); 151 if (!cq->entries) { 156 cq->head = 0; 157 cq->phase = 1; 497 head_masked = admin_queue->cq.head & (admin_queue->q_depth - 1); 498 phase = admin_queue->cq.phase 1583 struct ena_com_admin_cq *cq = &admin_queue->cq; local in function:ena_com_admin_destroy [all...] |
ena_com.h | 264 struct ena_com_admin_cq cq; member in struct:ena_com_admin_queue
|
/src/sys/dev/usb/ |
uhci.c | 1446 ux_completeq_t cq; local in function:uhci_softintr 1453 TAILQ_INIT(&cq); 1466 uhci_check_intr(sc, ux, &cq); 1474 TAILQ_FOREACH_SAFE(ux, &cq, ux_list, nextux) {
|
ehci.c | 897 ex_completeq_t cq; local in function:ehci_softintr 898 TAILQ_INIT(&cq); 909 * complete and add to our cq list 917 ehci_check_qh_intr(sc, ex, &cq); 920 ehci_check_itd_intr(sc, ex, &cq); 923 ehci_check_sitd_intr(sc, ex, &cq); 936 TAILQ_FOREACH_SAFE(ex, &cq, ex_next, nextex) { 948 ehci_check_qh_intr(ehci_softc_t *sc, struct ehci_xfer *ex, ex_completeq_t *cq) 1026 ehci_idone(ex, cq); 1030 ehci_check_itd_intr(ehci_softc_t *sc, struct ehci_xfer *ex, ex_completeq_t *cq) [all...] |
/src/sys/dev/pci/ |
mpii.c | 2256 struct mpii_msg_config_request *cq; local in function:mpii_req_cfg_header 2280 cq = ccb->ccb_cmd; 2282 cq->function = MPII_FUNCTION_CONFIG; 2284 cq->action = MPII_CONFIG_REQ_ACTION_PAGE_HEADER; 2286 cq->config_header.page_number = number; 2287 cq->config_header.page_type = type; 2288 cq->ext_page_type = etype; 2289 cq->page_address = htole32(address); 2290 cq->page_buffer.sg_hdr = htole32(MPII_SGE_FL_TYPE_SIMPLE | 2351 struct mpii_msg_config_request *cq; local in function:mpii_req_cfg_page [all...] |
if_mcx.c | 106 /* completion event moderation - about 10khz, or 90% of the cq */ 4656 mcx_create_cq(struct mcx_softc *sc, struct mcx_cq *cq, int uar, int db, int eqn) 4668 cq->cq_doorbell = MCX_CQ_DOORBELL_BASE + (MCX_CQ_DOORBELL_STRIDE * db); 4675 if (mcx_dmamem_alloc(sc, &cq->cq_mem, npages * MCX_PAGE_SIZE, 4681 cqe = MCX_DMA_KVA(&cq->cq_mem); 4697 printf("%s: unable to allocate create cq mailboxen\n", 4709 MCX_DMA_DVA(&sc->sc_doorbell_mem) + cq->cq_doorbell); 4711 bus_dmamap_sync(sc->sc_dmat, MCX_DMA_MAP(&cq->cq_mem), 4712 0, MCX_DMA_LEN(&cq->cq_mem), BUS_DMASYNC_PREREAD); 4715 mcx_cmdq_mboxes_pas(&mxm, sizeof(*mbin), npages, &cq->cq_mem) 7583 struct mcx_cq *cq = &q->q_cq; local in function:mcx_stop 8794 struct mcx_cq_ctx cq; member in union:mcx_kstat_queue_read::__anonb4946adb020a [all...] |