Home
last modified time | relevance | path

Searched refs:cq (Results 1 – 25 of 37) sorted by relevance

12

/netbsd/src/lib/libc/gen/
Ddisklabel.c98 char *cp, *cq; /* can't be */ in getdiskbyname() local
113 cq = dp->d_typename; in getdiskbyname()
115 while (cq < dp->d_typename + sizeof(dp->d_typename) - 1 && in getdiskbyname()
116 (*cq = *cp) && *cq != '|' && *cq != ':') in getdiskbyname()
117 cq++, cp++; in getdiskbyname()
118 *cq = '\0'; in getdiskbyname()
125 if (cgetstr(buf, "ty", &cq) >= 0) { in getdiskbyname()
126 if (strcmp(cq, "removable") == 0) in getdiskbyname()
128 else if (strcmp(cq, "simulated") == 0) in getdiskbyname()
130 free(cq); in getdiskbyname()
[all …]
/netbsd/src/sys/kern/
Dbufq_priocscan.c122 cscan_dump(struct cscan_queue *cq) in cscan_dump() argument
124 const int sortby = cq->cq_sortby; in cscan_dump()
127 RB_TREE_FOREACH(bp, &cq->cq_buffers) { in cscan_dump()
267 struct cscan_queue *cq; in bufq_priocscan_put() local
269 cq = bufq_priocscan_selectqueue(q, bp); in bufq_priocscan_put()
270 cscan_put(cq, bp); in bufq_priocscan_put()
401 struct cscan_queue * const cq = &q->bq_queue[i].q_queue; in bufq_priocscan_cancel() local
408 RB_TREE_FOREACH(it, &cq->cq_buffers) { in bufq_priocscan_cancel()
410 rb_tree_remove_node(&cq->cq_buffers, bp); in bufq_priocscan_cancel()
441 struct cscan_queue *cq = &q->bq_queue[i].q_queue; in bufq_priocscan_init() local
[all …]
/netbsd/src/lib/libc/citrus/
Dcitrus_iconv.c110 const char *cp, *cq; in lookup_iconv_entry() local
124 cq = _bcs_skip_nonws(cp); in lookup_iconv_entry()
125 p[cq-cp] = '\0'; in lookup_iconv_entry()
126 p += cq-cp+1; in lookup_iconv_entry()
127 cq++; in lookup_iconv_entry()
130 cp = _bcs_skip_ws(cq); in lookup_iconv_entry()
131 *variable = p += cp - cq; in lookup_iconv_entry()
132 cq = _bcs_skip_nonws(cp); in lookup_iconv_entry()
133 p[cq-cp] = '\0'; in lookup_iconv_entry()
Dcitrus_mapper.c139 const char *cp, *cq; in lookup_mapper_entry() local
168 cq = _bcs_skip_nonws_len(cp, &len); in lookup_mapper_entry()
169 strlcpy(p, cp, (size_t)(cq-cp+1)); in lookup_mapper_entry()
170 p += cq-cp+1; in lookup_mapper_entry()
174 cp = _bcs_skip_ws_len(cq, &len); in lookup_mapper_entry()
/netbsd/src/sys/arch/vax/vax/
Dmulticpu.c83 struct cpuq *cq; in cpu_slavesetup() local
107 cq = kmem_zalloc(sizeof(*cq), KM_SLEEP); in cpu_slavesetup()
108 cq->cq_ci = ci; in cpu_slavesetup()
109 cq->cq_dev = ci->ci_dev; in cpu_slavesetup()
110 SIMPLEQ_INSERT_TAIL(&cpuq, cq, cq_q); in cpu_slavesetup()
/netbsd/src/external/bsd/libpcap/dist/
Dpcap-rdmasniff.c54 struct ibv_cq * cq; member
84 ibv_destroy_cq(priv->cq); in rdmasniff_cleanup()
133 ibv_ack_cq_events(priv->cq, 1); in rdmasniff_read()
134 ibv_req_notify_cq(priv->cq, 0); in rdmasniff_read()
154 if (ibv_poll_cq(priv->cq, 1, &wc) != 1) { in rdmasniff_read()
233 priv->cq = ibv_create_cq(priv->context, RDMASNIFF_NUM_RECEIVES, in rdmasniff_activate()
235 if (!priv->cq) { in rdmasniff_activate()
241 ibv_req_notify_cq(priv->cq, 0); in rdmasniff_activate()
244 qp_init_attr.send_cq = qp_init_attr.recv_cq = priv->cq; in rdmasniff_activate()
347 if (priv->cq) { in rdmasniff_activate()
[all …]
/netbsd/src/libexec/ftpd/
Dcmds.c854 char *cq; in discover_path() local
920 for (cq = cp - 1; *cq != '/'; cq--); in discover_path()
922 ((unsigned long)cq - (unsigned long)cp) in discover_path()
925 (void)memmove(cq + 1 + sz2, in discover_path()
927 (void)memcpy(cq + 1, tq, sz2); in discover_path()
944 for (cq = cp - 1; *cq != '/'; cq--); in discover_path()
945 (void)memmove(cq, cp + 3, in discover_path()
/netbsd/src/external/lgpl3/mpfr/dist/src/
Dmul.c42 mpfr_prec_t bq, cq; in mpfr_mul3() local
96 cq = MPFR_PREC (c); in mpfr_mul3()
98 MPFR_ASSERTN ((mpfr_uprec_t) bq + cq <= MPFR_PREC_MAX); in mpfr_mul3()
101 cn = MPFR_PREC2LIMBS (cq); /* number of limbs of c */ in mpfr_mul3()
103 tn = MPFR_PREC2LIMBS (bq + cq); in mpfr_mul3()
128 cc = mpfr_round_raw (MPFR_MANT (a), tmp, bq + cq, in mpfr_mul3()
738 mpfr_prec_t aq, bq, cq; in mpfr_mul() local
797 cq = MPFR_GET_PREC (c); in mpfr_mul()
800 if (aq == bq && aq == cq) in mpfr_mul()
833 MPFR_ASSERTN ((mpfr_uprec_t) bq + cq <= MPFR_PREC_MAX); in mpfr_mul()
[all …]
Dsum.c538 int cq; in sum_aux() local
567 cq = logn + 1; in sum_aux()
573 ws = MPFR_PREC2LIMBS (cq + sq + logn + 2); in sum_aux()
575 MPFR_ASSERTD (wq - cq - sq >= 4); in sum_aux()
580 MPFR_LOG_MSG (("cq=%d sq=%Pd logn=%d wq=%Pd\n", cq, sq, logn, wq)); in sum_aux()
584 ts = MPFR_PREC2LIMBS (wq - cq + GMP_NUMB_BITS - 1); in sum_aux()
633 SAFE_SUB (minexp, maxexp, wq - cq); in sum_aux()
1015 SAFE_SUB (minexp2, maxexp, zq - cq); in sum_aux()
Dadd1.c32 mpfr_prec_t aq, bq, cq, aq2; in mpfr_add1() local
57 cq = MPFR_GET_PREC (c); in mpfr_add1()
64 cn = MPFR_PREC2LIMBS (cq); /* number of limbs of c */ in mpfr_add1()
/netbsd/src/sys/dev/pci/
Dif_mcx.c4656 mcx_create_cq(struct mcx_softc *sc, struct mcx_cq *cq, int uar, int db, int eqn) in mcx_create_cq() argument
4668 cq->cq_doorbell = MCX_CQ_DOORBELL_BASE + (MCX_CQ_DOORBELL_STRIDE * db); in mcx_create_cq()
4675 if (mcx_dmamem_alloc(sc, &cq->cq_mem, npages * MCX_PAGE_SIZE, in mcx_create_cq()
4681 cqe = MCX_DMA_KVA(&cq->cq_mem); in mcx_create_cq()
4709 MCX_DMA_DVA(&sc->sc_doorbell_mem) + cq->cq_doorbell); in mcx_create_cq()
4711 bus_dmamap_sync(sc->sc_dmat, MCX_DMA_MAP(&cq->cq_mem), in mcx_create_cq()
4712 0, MCX_DMA_LEN(&cq->cq_mem), BUS_DMASYNC_PREREAD); in mcx_create_cq()
4715 mcx_cmdq_mboxes_pas(&mxm, sizeof(*mbin), npages, &cq->cq_mem); in mcx_create_cq()
4735 cq->cq_n = mcx_get_id(out->cmd_cqn); in mcx_create_cq()
4736 cq->cq_cons = 0; in mcx_create_cq()
[all …]
Dmpii.c2256 struct mpii_msg_config_request *cq; in mpii_req_cfg_header() local
2280 cq = ccb->ccb_cmd; in mpii_req_cfg_header()
2282 cq->function = MPII_FUNCTION_CONFIG; in mpii_req_cfg_header()
2284 cq->action = MPII_CONFIG_REQ_ACTION_PAGE_HEADER; in mpii_req_cfg_header()
2286 cq->config_header.page_number = number; in mpii_req_cfg_header()
2287 cq->config_header.page_type = type; in mpii_req_cfg_header()
2288 cq->ext_page_type = etype; in mpii_req_cfg_header()
2289 cq->page_address = htole32(address); in mpii_req_cfg_header()
2290 cq->page_buffer.sg_hdr = htole32(MPII_SGE_FL_TYPE_SIMPLE | in mpii_req_cfg_header()
2351 struct mpii_msg_config_request *cq; in mpii_req_cfg_page() local
[all …]
/netbsd/src/external/bsd/mdocml/dist/
Dpredefs.in47 PREDEF("quote-right", "\\(cq")
52 PREDEF("right-singlequote", "\\(cq")
/netbsd/src/share/mk/
Dbsd.hostlib.mk39 ${HOST_AR} cq ${.TARGET} ${OBJS}
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dtree-vect-slp-patterns.cc869 int cq[][4][2] in vect_validate_multiplication() local
920 return compatible_complex_nodes_p (compat_cache, op0, cq[perm][0], op1, in vect_validate_multiplication()
921 cq[perm][1]) in vect_validate_multiplication()
922 && compatible_complex_nodes_p (compat_cache, op2, cq[perm][2], op3, in vect_validate_multiplication()
923 cq[perm][3]); in vect_validate_multiplication()
/netbsd/src/sys/dev/usb/
Dehci.c897 ex_completeq_t cq; in ehci_softintr() local
898 TAILQ_INIT(&cq); in ehci_softintr()
917 ehci_check_qh_intr(sc, ex, &cq); in ehci_softintr()
920 ehci_check_itd_intr(sc, ex, &cq); in ehci_softintr()
923 ehci_check_sitd_intr(sc, ex, &cq); in ehci_softintr()
936 TAILQ_FOREACH_SAFE(ex, &cq, ex_next, nextex) { in ehci_softintr()
948 ehci_check_qh_intr(ehci_softc_t *sc, struct ehci_xfer *ex, ex_completeq_t *cq) in ehci_check_qh_intr() argument
1026 ehci_idone(ex, cq); in ehci_check_qh_intr()
1030 ehci_check_itd_intr(ehci_softc_t *sc, struct ehci_xfer *ex, ex_completeq_t *cq) in ehci_check_itd_intr() argument
1072 ehci_idone(ex, cq); in ehci_check_itd_intr()
[all …]
Duhci.c1446 ux_completeq_t cq; in uhci_softintr() local
1453 TAILQ_INIT(&cq); in uhci_softintr()
1466 uhci_check_intr(sc, ux, &cq); in uhci_softintr()
1474 TAILQ_FOREACH_SAFE(ux, &cq, ux_list, nextux) { in uhci_softintr()
/netbsd/src/external/bsd/openldap/dist/servers/slapd/overlays/
Dpcache.c609 CachedQuery *cq; in url2query() local
810 cq = add_query( op, qm, &query, qt, PC_POSITIVE, 0 ); in url2query()
811 if ( cq != NULL ) { in url2query()
812 cq->expiry_time = expiry_time; in url2query()
813 cq->refresh_time = refresh_time; in url2query()
814 cq->q_uuid = uuid; in url2query()
815 cq->answerable_cnt = answerable_cnt; in url2query()
816 cq->refcnt = 0; in url2query()
1291 CachedQuery cq, *qc; in find_filter() local
1294 cq.filter = inputf; in find_filter()
[all …]
/netbsd/src/external/bsd/bzip2/dist/
DMakefile48 $(AR) cq libbz2.a $(OBJS)
/netbsd/src/external/bsd/ntp/dist/ntpd/
Dntp_control.c1818 const char *cq; in ctl_putadr() local
1821 cq = numtoa(addr32); in ctl_putadr()
1823 cq = stoa(addr); in ctl_putadr()
1824 ctl_putunqstr(tag, cq, strlen(cq)); in ctl_putadr()
/netbsd/src/external/lgpl3/gmp/dist/
Dacinclude.m4265 dnl $AR_FLAGS is set to "cq" rather than leaving it to libtool "cru". The
275 dnl FIXME: Libtool 1.5.2 has its own arrangements for "cq", but that version
277 dnl AR_FLAGS=cq.
296 AR_FLAGS=cq
/netbsd/src/external/gpl3/binutils/dist/gas/doc/
Dc-sparc.texi360 The V8 co-processor queue register is referred to as @samp{%cq}.
/netbsd/src/external/gpl3/gdb/dist/opcodes/
DChangeLog-9899113 * hppa-dis.c (print_insn_hppa): Handle '#', 'd', and 'cq'.
/netbsd/src/external/gpl3/binutils/dist/opcodes/
DChangeLog-9899113 * hppa-dis.c (print_insn_hppa): Handle '#', 'd', and 'cq'.
/netbsd/src/external/gpl3/binutils/dist/gas/
DChangeLog-20081116 which architecture versions support '%dcr', '%cq', and '%gl'. Add

12