Home
last modified time | relevance | path

Searched refs:pq (Results 1 – 25 of 56) sorted by relevance

123

/openbsd/sbin/unwind/
H A Dfrontend.c703 if ((pq = calloc(1, sizeof(*pq))) == NULL) { in udp_receive()
720 if (!pq->qbuf || !pq->abuf || !pq->region) { in udp_receive()
887 pq->abuf, 0, pq->region, pq->tcp ? UINT16_MAX : pq->edns.udp_size, in noerror_answer()
1005 if ((pq = calloc(1, sizeof(*pq))) == NULL) { in resend_dns64_query()
1024 if (!pq->qbuf || !pq->abuf || !pq->region) { in resend_dns64_query()
1043 evtimer_set(&pq->tmo_ev, tcp_timeout, pq); in resend_dns64_query()
1107 sldns_buffer_copy(pq->abuf, pq->qbuf); in chaos_answer()
1142 error_encode(pq->abuf, rcode, &pq->qinfo, htons(pq->id), pq->flags, in error_answer()
1640 if ((pq = calloc(1, sizeof(*pq))) == NULL) { in tcp_accept()
1658 if (!pq->qbuf || !pq->region) { in tcp_accept()
[all …]
/openbsd/lib/libssl/
H A Dpqueue.c99 pqueue_free(pqueue_s *pq) in pqueue_free() argument
101 free(pq); in pqueue_free()
109 if (pq->items == NULL) { in pqueue_insert()
110 pq->items = item; 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
150 if (pq->items != NULL) in pqueue_pop()
151 pq->items = pq->items->next; in pqueue_pop()
[all …]
H A Dpqueue.h80 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/regress/lib/libssl/pqueue/
H A Dpq_test.c70 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()
111 pqueue_print(pq); in main()
113 for (item = pqueue_pop(pq); item != NULL; item = pqueue_pop(pq)) in main()
[all …]
/openbsd/sys/dev/ic/
H A Dpgtvar.h219 pgt_queue_is_rx(enum pgt_queue pq) in pgt_queue_is_rx() argument
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
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
239 pq == PGT_QUEUE_DATA_LOW_TX || in pgt_queue_is_data()
240 pq == PGT_QUEUE_DATA_HIGH_TX); in pgt_queue_is_data()
246 return (pq == PGT_QUEUE_MGMT_RX || in pgt_queue_is_mgmt()
[all …]
H A Dpgt.c378 if (pgt_queue_is_rx(pq)) in pgt_cleanup_queue()
382 sc->sc_freeq_count[pq] = i; in pgt_cleanup_queue()
388 if (pgt_queue_is_rx(pq)) in pgt_cleanup_queue()
1254 sc->sc_dirtyq_count[pq]--; in pgt_txdone()
1256 sc->sc_freeq_count[pq]++; in pgt_txdone()
1285 sc->sc_freeq_count[pq]--; in pgt_rxdone()
1287 sc->sc_dirtyq_count[pq]++; in pgt_rxdone()
1523 sc->sc_freeq_count[pq]++; in pgt_datarx_completion()
1537 sc->sc_freeq_count[pq]++; in pgt_datarx_completion()
1734 sc->sc_freeq_count[pq]--; in pgt_desc_transmit()
[all …]
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/23_containers/
H A Dadaptors.cc56 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/sbin/pfctl/
H A Dpfctl_queue.c115 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/sys/net/
H A Difq.c908 struct priq *pq; in priq_alloc() local
913 ml_init(&pq->pq_lists[i]); in priq_alloc()
914 return (pq); in priq_alloc()
918 priq_free(unsigned int idx, void *pq) in priq_free() argument
926 struct priq *pq; in priq_enq() local
931 pq = ifq->ifq_q; in priq_enq()
937 pl = &pq->pq_lists[prio]; in priq_enq()
960 struct priq *pq = ifq->ifq_q; in priq_deq_begin() local
966 pl = &pq->pq_lists[--prio]; in priq_deq_begin()
990 struct priq *pq = ifq->ifq_q; in priq_purge() local
[all …]
/openbsd/sys/arch/alpha/alpha/
H A Dpmap.c384 #define PSJQ_LOCK(pq, s) mtx_enter(&(pq)->pq_mtx) argument
385 #define PSJQ_UNLOCK(pq, s) mtx_leave(&(pq)->pq_mtx) argument
3515 PSJQ_LOCK(pq, s); in pmap_tlb_shootdown()
3517 pq->pq_pte |= pte; in pmap_tlb_shootdown()
3523 if (pq->pq_tbia) { in pmap_tlb_shootdown()
3534 pq->pq_tbia = 1; in pmap_tlb_shootdown()
3577 PSJQ_LOCK(pq, s); in pmap_do_tlb_shootdown()
3579 if (pq->pq_tbia) { in pmap_do_tlb_shootdown()
3584 pq->pq_tbia = 0; in pmap_do_tlb_shootdown()
3595 pq->pq_pte = 0; in pmap_do_tlb_shootdown()
[all …]
/openbsd/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_kernel_queue.c85 retval = kfd_gtt_sa_allocate(dev, queue_size, &kq->pq); in kq_initialize()
91 kq->pq_kernel_addr = kq->pq->cpu_ptr; in kq_initialize()
92 kq->pq_gpu_addr = kq->pq->gpu_addr; in kq_initialize()
190 kfd_gtt_sa_free(dev, kq->pq); in kq_initialize()
222 kfd_gtt_sa_free(kq->dev, kq->pq); in kq_uninitialize()
H A Dkfd_kernel_queue.h72 struct kfd_mem_obj *pq; member
/openbsd/sys/dev/
H A Dsoftraid_raid6.c663 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/gnu/llvm/llvm/include/llvm/CodeGen/
H A DLatencyPriorityQueue.h27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {} in latency_sort()
H A DResourcePriorityQueue.h32 explicit resource_sort(ResourcePriorityQueue *pq) : PQ(pq) {} in resource_sort()
/openbsd/regress/usr.bin/mandoc/mdoc/Bl/
H A DbreakingTa.out_markdown11 it <aq> ta [bo bc] (pq)
H A DbreakingTa.out_ascii9 it <aq> ta [bo bc] (pq)
/openbsd/regress/lib/libcrypto/x509/bettertls/certificates/
H A D868.crt13 JeHGJwac/3ebOQhIJNr96MW0NA0qrhcWh3I4MOy+ceuzJUwJh8GaTAq31ljfP/pq
H A D2969.crt19 cM7XQPCQ3fUj6xVJOwbAdoIajo72VGV9xNXKxrLHCbTRejSCHPSB/pq+ut4NejMu
H A D3225.crt13 xI89oIbWvRpDE37hfysFsFMq3FEpc3eUxPnHxUHhaKmiOUo1YSKj2QIBAf//pq/g
H A D3379.key19 OAacbxHNhE5FOteaiN5LqRn693bBGgDuAeGZqJno1C5EJ8ewj5M5I+pq/q3lFyKo
H A D3244.key22 WOQzh72088gJc0N/pq/RTmXfLnemxd/7yiCLZJBOcEzXeRYJiy3NK5eSguFkQ8fM
H A D2367.key21 pq+no2pg9IV3RWQlLREtxQKBgG/fEOi63K5ZUMUSzpoWLmFt3MfPr6gDcGVNTE7B
/openbsd/gnu/usr.bin/perl/ext/File-Glob/t/
H A Drt131211.t25 "pq", # 4
83 "p* matches pq";
/openbsd/regress/usr.bin/mandoc/mdoc/Nd/
H A Dbroken.out_ascii16 Broken together with a child block: <ao [bo - nd (pq bc] ac)> [op] end of

123