| /openbsd/src/sbin/unwind/ |
| D | frontend.c | 494 struct pending_query *pq; in frontend_dispatch_resolver() local 538 if ((pq = find_pending_query(answer_header->id)) == in frontend_dispatch_resolver() 546 error_answer(pq, LDNS_RCODE_SERVFAIL); in frontend_dispatch_resolver() 547 send_answer(pq); in frontend_dispatch_resolver() 551 if (answer_header->bogus && !(pq->flags & BIT_CD)) { in frontend_dispatch_resolver() 552 error_answer(pq, LDNS_RCODE_SERVFAIL); in frontend_dispatch_resolver() 553 send_answer(pq); in frontend_dispatch_resolver() 557 if (sldns_buffer_position(pq->abuf) == 0 && in frontend_dispatch_resolver() 558 !sldns_buffer_set_capacity(pq->abuf, in frontend_dispatch_resolver() 560 error_answer(pq, LDNS_RCODE_SERVFAIL); in frontend_dispatch_resolver() [all …]
|
| /openbsd/src/lib/libssl/ |
| D | pqueue.c | 99 pqueue_free(pqueue_s *pq) in pqueue_free() argument 101 free(pq); in pqueue_free() 105 pqueue_insert(pqueue_s *pq, pitem *item) in pqueue_insert() argument 109 if (pq->items == NULL) { in pqueue_insert() 110 pq->items = item; in pqueue_insert() 114 for (curr = NULL, next = pq->items; next != NULL; in pqueue_insert() 124 pq->items = item; in pqueue_insert() 140 pqueue_peek(pqueue_s *pq) in pqueue_peek() argument 142 return pq->items; in pqueue_peek() 146 pqueue_pop(pqueue_s *pq) in pqueue_pop() argument [all …]
|
| D | pqueue.h | 80 void pqueue_free(pqueue pq); 82 pitem *pqueue_insert(pqueue pq, pitem *item); 83 pitem *pqueue_peek(pqueue pq); 84 pitem *pqueue_pop(pqueue pq); 85 pitem *pqueue_find(pqueue pq, unsigned char *prio64be); 86 pitem *pqueue_iterator(pqueue pq); 89 int pqueue_size(pqueue pq);
|
| /openbsd/src/regress/lib/libssl/pqueue/ |
| D | pq_test.c | 70 pqueue_print(pqueue pq) in pqueue_print() argument 74 iter = pqueue_iterator(pq); in pqueue_print() 89 pqueue pq; in main() local 91 pq = pqueue_new(); in main() 94 pqueue_insert(pq, item); in main() 97 pqueue_insert(pq, item); in main() 100 pqueue_insert(pq, item); in main() 102 item = pqueue_find(pq, prio1); in main() 105 item = pqueue_find(pq, prio2); in main() 108 item = pqueue_find(pq, prio3); in main() [all …]
|
| /openbsd/src/sys/dev/ic/ |
| D | pgtvar.h | 219 pgt_queue_is_rx(enum pgt_queue pq) in pgt_queue_is_rx() argument 221 return (pq == PGT_QUEUE_DATA_LOW_RX || in pgt_queue_is_rx() 222 pq == PGT_QUEUE_DATA_HIGH_RX || in pgt_queue_is_rx() 223 pq == PGT_QUEUE_MGMT_RX); in pgt_queue_is_rx() 227 pgt_queue_is_tx(enum pgt_queue pq) in pgt_queue_is_tx() argument 229 return (pq == PGT_QUEUE_DATA_LOW_TX || in pgt_queue_is_tx() 230 pq == PGT_QUEUE_DATA_HIGH_TX || in pgt_queue_is_tx() 231 pq == PGT_QUEUE_MGMT_TX); in pgt_queue_is_tx() 235 pgt_queue_is_data(enum pgt_queue pq) in pgt_queue_is_data() argument 237 return (pq == PGT_QUEUE_DATA_LOW_RX || in pgt_queue_is_data() [all …]
|
| D | pgt.c | 180 int pgt_dma_alloc_queue(struct pgt_softc *sc, enum pgt_queue pq); 182 void pgt_dma_free_queue(struct pgt_softc *sc, enum pgt_queue pq); 232 pgt_queue_frags_pending(struct pgt_softc *sc, enum pgt_queue pq) in pgt_queue_frags_pending() argument 234 return (letoh32(sc->sc_cb->pcb_driver_curfrag[pq]) - in pgt_queue_frags_pending() 235 letoh32(sc->sc_cb->pcb_device_curfrag[pq])); in pgt_queue_frags_pending() 250 pgt_load_tx_desc_frag(struct pgt_softc *sc, enum pgt_queue pq, in pgt_load_tx_desc_frag() argument 260 pgt_queue_is_data(pq) ? "data" : "mgmt", error)); in pgt_load_tx_desc_frag() 366 pgt_cleanup_queue(struct pgt_softc *sc, enum pgt_queue pq, in pgt_cleanup_queue() argument 372 sc->sc_cb->pcb_device_curfrag[pq] = 0; in pgt_cleanup_queue() 375 TAILQ_FOREACH(pd, &sc->sc_freeq[pq], pd_link) { in pgt_cleanup_queue() [all …]
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/23_containers/ |
| D | adaptors.cc | 56 std::priority_queue<int> pq; in test03() local 57 std::size_t size = pq.size(); in test03() 60 pq.push(data[i]); in test03() 62 size = pq.size(); in test03() 63 pq.top(); in test03() 65 pq.pop(); in test03() 67 while (!pq.empty()) in test03() 68 pq.pop(); in test03()
|
| /openbsd/src/sbin/pfctl/ |
| D | pfctl_queue.c | 115 struct pfioc_queue pq; in pfctl_update_qstats() local 121 memset(&pq, 0, sizeof(pq)); in pfctl_update_qstats() 124 if (ioctl(dev, DIOCGETQUEUES, &pq) == -1) { in pfctl_update_qstats() 130 if (pq.ticket != last_ticket) in pfctl_update_qstats() 133 last_ticket = pq.ticket; in pfctl_update_qstats() 135 mnr = pq.nr; in pfctl_update_qstats() 138 pqs.ticket = pq.ticket; in pfctl_update_qstats()
|
| /openbsd/src/sys/net/ |
| D | ifq.c | 926 struct priq *pq; in priq_alloc() local 929 pq = malloc(sizeof(struct priq), M_DEVBUF, M_WAITOK); in priq_alloc() 931 ml_init(&pq->pq_lists[i]); in priq_alloc() 932 return (pq); in priq_alloc() 936 priq_free(unsigned int idx, void *pq) in priq_free() argument 938 free(pq, M_DEVBUF, sizeof(struct priq)); in priq_free() 944 struct priq *pq; in priq_enq() local 949 pq = ifq->ifq_q; in priq_enq() 955 pl = &pq->pq_lists[prio]; in priq_enq() 969 pl = &pq->pq_lists[m->m_pkthdr.pf.prio]; in priq_enq() [all …]
|
| /openbsd/src/sys/arch/alpha/alpha/ |
| D | pmap.c | 384 #define PSJQ_LOCK(pq, s) mtx_enter(&(pq)->pq_mtx) argument 385 #define PSJQ_UNLOCK(pq, s) mtx_leave(&(pq)->pq_mtx) argument 3475 struct pmap_tlb_shootdown_q *pq; in pmap_tlb_shootdown() local 3514 pq = &pmap_tlb_shootdown_q[ci->ci_cpuid]; in pmap_tlb_shootdown() 3516 PSJQ_LOCK(pq, s); in pmap_tlb_shootdown() 3518 pq->pq_pte |= pte; in pmap_tlb_shootdown() 3524 if (pq->pq_tbia) { in pmap_tlb_shootdown() 3525 PSJQ_UNLOCK(pq, s); in pmap_tlb_shootdown() 3529 pj = pmap_tlb_shootdown_job_get(pq); in pmap_tlb_shootdown() 3535 pq->pq_tbia = 1; in pmap_tlb_shootdown() [all …]
|
| /openbsd/src/sys/dev/ |
| D | softraid_raid6.c | 663 struct sr_raid6_opaque *pq = ccb->ccb_opaque; in sr_raid6_intr() local 673 if (ccb->ccb_state == SR_CCB_OK && pq) { in sr_raid6_intr() 674 if (pq->pbuf) in sr_raid6_intr() 676 sr_raid6_xorp(pq->pbuf, ccb->ccb_buf.b_data, in sr_raid6_intr() 678 if (pq->qbuf) in sr_raid6_intr() 680 sr_raid6_xorq(pq->qbuf, ccb->ccb_buf.b_data, in sr_raid6_intr() 681 ccb->ccb_buf.b_bcount, pq->gn); in sr_raid6_intr() 682 free(pq, M_DEVBUF, 0); in sr_raid6_intr()
|
| /openbsd/src/sys/dev/pci/drm/amd/amdkfd/ |
| D | kfd_kernel_queue.c | 86 retval = kfd_gtt_sa_allocate(dev, queue_size, &kq->pq); in kq_initialize() 93 kq->pq_kernel_addr = kq->pq->cpu_ptr; in kq_initialize() 94 kq->pq_gpu_addr = kq->pq->gpu_addr; in kq_initialize() 192 kfd_gtt_sa_free(dev, kq->pq); in kq_initialize() 226 kfd_gtt_sa_free(kq->dev, kq->pq); in kq_uninitialize()
|
| D | kfd_kernel_queue.h | 72 struct kfd_mem_obj *pq; member
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| D | LatencyPriorityQueue.h | 27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {} in latency_sort()
|
| D | ResourcePriorityQueue.h | 32 explicit resource_sort(ResourcePriorityQueue *pq) : PQ(pq) {} in resource_sort()
|
| /openbsd/src/regress/usr.bin/mandoc/mdoc/Bl/ |
| D | breakingTa.out_markdown | 11 it <aq> ta [bo bc] (pq)
|
| D | breakingTa.out_ascii | 9 it <aq> ta [bo bc] (pq)
|
| /openbsd/src/regress/lib/libcrypto/x509/bettertls/certificates/ |
| D | 868.crt | 13 JeHGJwac/3ebOQhIJNr96MW0NA0qrhcWh3I4MOy+ceuzJUwJh8GaTAq31ljfP/pq
|
| D | 2969.crt | 19 cM7XQPCQ3fUj6xVJOwbAdoIajo72VGV9xNXKxrLHCbTRejSCHPSB/pq+ut4NejMu
|
| D | 3225.crt | 13 xI89oIbWvRpDE37hfysFsFMq3FEpc3eUxPnHxUHhaKmiOUo1YSKj2QIBAf//pq/g
|
| D | 3244.key | 22 WOQzh72088gJc0N/pq/RTmXfLnemxd/7yiCLZJBOcEzXeRYJiy3NK5eSguFkQ8fM
|
| D | 3379.key | 19 OAacbxHNhE5FOteaiN5LqRn693bBGgDuAeGZqJno1C5EJ8ewj5M5I+pq/q3lFyKo
|
| D | 2367.key | 21 pq+no2pg9IV3RWQlLREtxQKBgG/fEOi63K5ZUMUSzpoWLmFt3MfPr6gDcGVNTE7B
|
| /openbsd/src/gnu/usr.bin/perl/ext/File-Glob/t/ |
| D | rt131211.t | 25 "pq", # 4 83 "p* matches pq";
|
| /openbsd/src/regress/usr.bin/mandoc/mdoc/Nd/ |
| D | broken.out_ascii | 16 Broken together with a child block: <ao [bo - nd (pq bc] ac)> [op] end of
|