/freebsd-13-stable/crypto/openssl/ssl/ |
H A D | pqueue.c | 40 pqueue *pq = OPENSSL_zalloc(sizeof(*pq)); local 42 if (pq == NULL) 45 return pq; 48 void pqueue_free(pqueue *pq) argument 50 OPENSSL_free(pq); 53 pitem *pqueue_insert(pqueue *pq, pitem *item) argument 57 if (pq->items == NULL) { 58 pq->items = item; 62 for (curr = NULL, next = pq 89 pqueue_peek(pqueue *pq) argument 94 pqueue_pop(pqueue *pq) argument 104 pqueue_find(pqueue *pq, unsigned char *prio64be) argument 129 pqueue_iterator(pqueue *pq) argument 148 pqueue_size(pqueue *pq) argument [all...] |
/freebsd-13-stable/sys/dev/iscsi_initiator/ |
H A D | iscsivar.h | 233 int isc_sendPDU(isc_session_t *sp, pduq_t *pq); 234 int isc_qout(isc_session_t *sp, pduq_t *pq); 235 int i_prepPDU(isc_session_t *sp, pduq_t *pq); 248 void ism_recv(isc_session_t *sp, pduq_t *pq); 254 int scsi_decap(isc_session_t *sp, pduq_t *opq, pduq_t *pq); 255 void iscsi_r2t(isc_session_t *sp, pduq_t *opq, pduq_t *pq); 256 void iscsi_done(isc_session_t *sp, pduq_t *opq, pduq_t *pq); 257 void iscsi_reject(isc_session_t *sp, pduq_t *opq, pduq_t *pq); 258 void iscsi_async(isc_session_t *sp, pduq_t *pq); 274 pduq_t *pq; local 294 pdu_free(struct isc_softc *isc, pduq_t *pq) argument 311 i_nqueue_rsp(isc_session_t *sp, pduq_t *pq) argument 323 pduq_t *pq; local 336 i_nqueue_rsv(isc_session_t *sp, pduq_t *pq) argument 348 pduq_t *pq; local 361 i_nqueue_csnd(isc_session_t *sp, pduq_t *pq) argument 373 pduq_t *pq; local 386 i_nqueue_isnd(isc_session_t *sp, pduq_t *pq) argument 398 pduq_t *pq; local 411 i_nqueue_wsnd(isc_session_t *sp, pduq_t *pq) argument 423 pduq_t *pq; local 438 pduq_t *pq; local 463 i_rqueue_pdu(isc_session_t *sp, pduq_t *pq) argument 475 i_nqueue_hld(isc_session_t *sp, pduq_t *pq) argument 487 i_remove_hld(isc_session_t *sp, pduq_t *pq) argument 498 pduq_t *pq; local 513 pduq_t *pq, *tmp; local 535 pduq_t *pq, *tmp; local [all...] |
H A D | iscsi_subr.c | 66 iscsi_r2t(isc_session_t *sp, pduq_t *opq, pduq_t *pq) argument 72 r2t_t *r2t = &pq->pdu.ipdu.r2t; 147 getSenseData(u_int status, union ccb *ccb, pduq_t *pq) argument 149 pdu_t *pp = &pq->pdu; 152 struct mbuf *m = pq->mp; 158 bp = mtod(pq->mp, caddr_t); 169 i_mbufcopy(pq->mp, bp, sense_len); 196 _scsi_done(isc_session_t *sp, u_int response, u_int status, union ccb *ccb, pduq_t *pq) argument 203 sdebug(3, "response=%x status=%x ccb=%p pq=%p", response, status, ccb, pq); 260 pduq_t *pq; local 285 pduq_t *pq; local 318 pduq_t *pq, *pqtmp; local 348 iscsi_done(isc_session_t *sp, pduq_t *opq, pduq_t *pq) argument 370 iscsi_async(isc_session_t *sp, pduq_t *pq) argument 403 iscsi_reject(isc_session_t *sp, pduq_t *opq, pduq_t *pq) argument 456 pduq_t *pq; local 531 scsi_decap(isc_session_t *sp, pduq_t *opq, pduq_t *pq) argument [all...] |
H A D | isc_sm.c | 73 _async(isc_session_t *sp, pduq_t *pq) argument 77 iscsi_async(sp, pq); 79 pdu_free(sp->isc, pq); 83 _reject(isc_session_t *sp, pduq_t *pq) argument 91 pdu = mtod(pq->mp, pdu_t *); 93 reject = &pq->pdu.ipdu.reject; 97 iscsi_reject(sp, opq, pq); 99 switch(pq->pdu.ipdu.bhs.opcode) { 105 sp->sid, ntohl(pq->pdu.ipdu.bhs.itt)); 108 pdu_free(sp->isc, pq); 112 _r2t(isc_session_t *sp, pduq_t *pq) argument 132 _scsi_rsp(isc_session_t *sp, pduq_t *pq) argument 150 _read_data(isc_session_t *sp, pduq_t *pq) argument 174 pduq_t *pq; local 201 _nop_in(isc_session_t *sp, pduq_t *pq) argument 266 i_prepPDU(isc_session_t *sp, pduq_t *pq) argument 309 isc_qout(isc_session_t *sp, pduq_t *pq) argument 362 ism_recv(isc_session_t *sp, pduq_t *pq) argument 431 pduq_t *pq; local [all...] |
H A D | iscsi.c | 282 pduq_t *pq; local 304 #define pukeit(i, pq) do {\ 306 i, ntohl(pq->pdu.ipdu.bhs.CmdSN),\ 307 pq->pdu.ipdu.bhs.opcode, ntohl(pq->pdu.ipdu.bhs.itt),\ 308 ntohl(pq->pdu.ipdu.bhs.ExpStSN),\ 309 (intmax_t)pq->ts.sec);\ 314 TAILQ_FOREACH(pq, &sp->hld, pq_link) { 317 pukeit(i, pq); i++; 323 TAILQ_FOREACH(pq, 412 pduq_t *pq; local 482 pduq_t *pq; local 646 pduq_t *pq; local [all...] |
H A D | isc_soc.c | 77 pduq_t *pq = m->m_ext.ext_arg1; local 79 if(pq->buf != NULL) { 81 ou_refcnt, m->m_ext.ext_buf, pq->buf); 82 free(pq->buf, M_ISCSIBUF); 83 pq->buf = NULL; 88 isc_sendPDU(isc_session_t *sp, pduq_t *pq) argument 91 pdu_t *pp = &pq->pdu; 131 if(pp->ds_len && pq->pdu.ds_addr) { 142 debug(4, "setting ext_free(arg=%p len/l=%d/%d)", pq->buf, len, l); 143 m_extadd(md, pp->ds_addr + off, l, ext_free, pq, NUL 186 isc_sendPDU(isc_session_t *sp, pduq_t *pq) argument 361 so_recv(isc_session_t *sp, pduq_t *pq) argument 544 pduq_t *pq; local [all...] |
/freebsd-13-stable/sys/dev/netmap/ |
H A D | if_ptnet.c | 198 static int ptnet_drain_transmit_queue(struct ptnet_queue *pq, 227 static int ptnet_rx_eof(struct ptnet_queue *pq, unsigned int budget, 269 static inline void ptnet_kick(struct ptnet_queue *pq) argument 272 pq->stats.kicks ++; 274 bus_write_4(pq->sc->iomem, pq->kick, 0); 377 struct ptnet_queue *pq = sc->queues + i; local 379 pq->sc = sc; 380 pq->kring_id = i; 381 pq 537 struct ptnet_queue *pq = sc->queues + i; local 566 struct ptnet_queue *pq = sc->queues + i; local 656 struct ptnet_queue *pq = sc->queues + i; local 671 struct ptnet_queue *pq = sc->queues + i; local 697 struct ptnet_queue *pq = sc->queues + i; local 724 struct ptnet_queue *pq = sc->queues + i; local 792 struct ptnet_queue *pq; local 990 struct ptnet_queue *pq = sc->queues + i; local 1029 struct ptnet_queue *pq = sc->queues + i; local 1068 struct ptnet_queue *pq = sc->queues + i; local 1182 struct ptnet_queue *pq; local 1259 struct ptnet_queue *pq = sc->queues + kring->ring_id; local 1274 struct ptnet_queue *pq = sc->rxqueues + kring->ring_id; local 1292 struct ptnet_queue *pq = sc->queues + i; local 1300 struct ptnet_queue *pq = opaque; local 1322 struct ptnet_queue *pq = opaque; local 1357 ptnet_ring_update(struct ptnet_queue *pq, struct netmap_kring *kring, unsigned int head, unsigned int sync_flags) argument 1388 ptnet_drain_transmit_queue(struct ptnet_queue *pq, unsigned int budget, bool may_resched) argument 1588 struct ptnet_queue *pq; local 1689 ptnet_rx_eof(struct ptnet_queue *pq, unsigned int budget, bool may_resched) argument 1925 struct ptnet_queue *pq = context; local 1934 struct ptnet_queue *pq = context; local 1960 struct ptnet_queue *pq = sc->queues + i; local [all...] |
/freebsd-13-stable/sys/vm/ |
H A D | vm_pagequeue.h | 304 #define vm_pagequeue_assert_locked(pq) mtx_assert(&(pq)->pq_mutex, MA_OWNED) 305 #define vm_pagequeue_lock(pq) mtx_lock(&(pq)->pq_mutex) 306 #define vm_pagequeue_lockptr(pq) (&(pq)->pq_mutex) 307 #define vm_pagequeue_trylock(pq) mtx_trylock(&(pq)->pq_mutex) 308 #define vm_pagequeue_unlock(pq) mtx_unlock(&(pq) 335 vm_pagequeue_cnt_add(struct vm_pagequeue *pq, int addend) argument 345 vm_pagequeue_remove(struct vm_pagequeue *pq, vm_page_t m) argument [all...] |
H A D | vm_pageout.c | 215 struct vm_pagequeue *pq; member in struct:scan_state 222 vm_pageout_init_scan(struct scan_state *ss, struct vm_pagequeue *pq, argument 226 vm_pagequeue_assert_locked(pq); 231 TAILQ_INSERT_HEAD(&pq->pq_pl, marker, plinks.q); 233 TAILQ_INSERT_AFTER(&pq->pq_pl, after, marker, plinks.q); 237 ss->pq = pq; 241 vm_pagequeue_unlock(pq); 247 struct vm_pagequeue *pq; local 249 pq 273 struct vm_pagequeue *pq; local 725 struct vm_pagequeue *pq; local 993 struct vm_pagequeue *pq; local 1177 struct vm_pagequeue *pq; local 1378 vm_pageout_reinsert_inactive_page(struct vm_pagequeue *pq, vm_page_t marker, vm_page_t m) argument 1403 struct vm_pagequeue *pq; local 1433 struct vm_pagequeue *pq; local 1712 struct vm_pagequeue *pq; local [all...] |
H A D | vm_page.c | 443 struct vm_pagequeue *pq; local 463 pq = &vmd->vmd_pagequeues[i]; 464 TAILQ_INIT(&pq->pq_pl); 465 mtx_init(&pq->pq_mutex, pq->pq_name, "vm pagequeue", 467 pq->pq_pdpages = 0; 3388 _vm_page_pqstate_commit_dequeue(struct vm_pagequeue *pq, vm_page_t m, argument 3393 vm_pagequeue_assert_locked(pq); 3394 KASSERT(vm_page_pagequeue(m) == pq, 3395 ("%s: queue %p does not match page %p", __func__, pq, local 3432 struct vm_pagequeue *pq; local 3458 _vm_page_pqstate_commit_requeue(struct vm_pagequeue *pq, vm_page_t m, vm_page_astate_t *old, vm_page_astate_t new) argument 3543 vm_pqbatch_process_page(struct vm_pagequeue *pq, vm_page_t m, uint8_t queue) argument 3585 vm_pqbatch_process(struct vm_pagequeue *pq, struct vm_batchqueue *bq, uint8_t queue) argument 3606 struct vm_pagequeue *pq; local 3644 struct vm_pagequeue *pq; local [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LatencyPriorityQueue.h | 27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {} argument
|
H A D | ResourcePriorityQueue.h | 32 explicit resource_sort(ResourcePriorityQueue *pq) : PQ(pq) {} argument
|
/freebsd-13-stable/contrib/ntp/sntp/libopts/ |
H A D | cook.c | 34 contiguous_quote(char ** pps, char * pq, int * lnct_p); 145 contiguous_quote(char ** pps, char * pq, int * lnct_p) argument 161 *pq = *(ps++); /* assign new quote character and return */
|
/freebsd-13-stable/sys/dev/usb/ |
H A D | usb_transfer.h | 232 void usb_command_wrapper(struct usb_xfer_queue *pq, 235 void usbd_pipe_start(struct usb_xfer_queue *pq); 238 void usbd_transfer_enqueue(struct usb_xfer_queue *pq,
|
H A D | usb_transfer.c | 2079 struct usb_xfer_queue *pq; local 2098 pq = &info->done_q; 2100 if (pq->curr == xfer) { 2362 struct usb_xfer_queue *pq = &info->done_q; local 2366 if (pq->curr != xfer) { 2367 usbd_transfer_enqueue(pq, xfer); 2369 if (!pq->recurse_1) { 2379 pq->recurse_2 = 0; 2394 usbd_callback_wrapper(struct usb_xfer_queue *pq) argument 2396 struct usb_xfer *xfer = pq 2551 struct usb_xfer_queue *pq; local 2569 usbd_transfer_enqueue(struct usb_xfer_queue *pq, struct usb_xfer *xfer) argument 2627 struct usb_xfer_queue *pq; local 2748 usbd_pipe_start(struct usb_xfer_queue *pq) argument 3095 usb_command_wrapper(struct usb_xfer_queue *pq, struct usb_xfer *xfer) argument [all...] |
H A D | usb_busdma.h | 154 void usb_bdma_work_loop(struct usb_xfer_queue *pq);
|
/freebsd-13-stable/contrib/ntp/libntp/ |
H A D | libssl_compat.c | 170 const BIGNUM ** pq 177 if (pq) 178 *pq = prsa->q; 261 const BIGNUM ** pq, 269 if (pq != NULL) 270 *pq = pdsa->q; 258 sslshim_DSA_get0_pqg( const DSA * pdsa, const BIGNUM ** pp, const BIGNUM ** pq, const BIGNUM ** pg ) argument
|
/freebsd-13-stable/lib/libusb/ |
H A D | libusb20_ugen20.c | 981 uint16_t quirk_index, struct libusb20_quirk *pq) 997 pq->vid = q.vid; 998 pq->pid = q.pid; 999 pq->bcdDeviceLow = q.bcdDeviceLow; 1000 pq->bcdDeviceHigh = q.bcdDeviceHigh; 1001 strlcpy(pq->quirkname, q.quirkname, sizeof(pq->quirkname)); 1008 struct libusb20_quirk *pq) 1024 strlcpy(pq->quirkname, q.quirkname, sizeof(pq 980 ugen20_root_get_dev_quirk(struct libusb20_backend *pbe, uint16_t quirk_index, struct libusb20_quirk *pq) argument 1007 ugen20_root_get_quirk_name(struct libusb20_backend *pbe, uint16_t quirk_index, struct libusb20_quirk *pq) argument 1030 ugen20_root_add_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq) argument 1054 ugen20_root_remove_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq) argument [all...] |
H A D | libusb20.h | 285 int libusb20_be_get_dev_quirk(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 286 int libusb20_be_get_quirk_name(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 287 int libusb20_be_add_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq); 288 int libusb20_be_remove_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq);
|
H A D | libusb20_int.h | 55 typedef int (libusb20_root_get_dev_quirk_t)(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 56 typedef int (libusb20_root_get_quirk_name_t)(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 57 typedef int (libusb20_root_add_dev_quirk_t)(struct libusb20_backend *pbe, struct libusb20_quirk *pq); 58 typedef int (libusb20_root_remove_dev_quirk_t)(struct libusb20_backend *pbe, struct libusb20_quirk *pq);
|
H A D | libusb20.c | 1198 uint16_t quirk_index, struct libusb20_quirk *pq) 1200 return (pbe->methods->root_get_dev_quirk(pbe, quirk_index, pq)); 1205 uint16_t quirk_index, struct libusb20_quirk *pq) 1207 return (pbe->methods->root_get_quirk_name(pbe, quirk_index, pq)); 1212 struct libusb20_quirk *pq) 1214 return (pbe->methods->root_add_dev_quirk(pbe, pq)); 1219 struct libusb20_quirk *pq) 1221 return (pbe->methods->root_remove_dev_quirk(pbe, pq)); 1197 libusb20_be_get_dev_quirk(struct libusb20_backend *pbe, uint16_t quirk_index, struct libusb20_quirk *pq) argument 1204 libusb20_be_get_quirk_name(struct libusb20_backend *pbe, uint16_t quirk_index, struct libusb20_quirk *pq) argument 1211 libusb20_be_add_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq) argument 1218 libusb20_be_remove_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq) argument
|
/freebsd-13-stable/contrib/ntp/include/ |
H A D | libssl_compat.h | 64 const BIGNUM **pq); 73 const BIGNUM **pq, const BIGNUM **pg);
|
/freebsd-13-stable/sys/netpfil/ipfw/ |
H A D | dn_aqm_pie.h | 85 struct dn_queue *pq; member in struct:pie_status
|
/freebsd-13-stable/sbin/pfctl/ |
H A D | pfctl_qstats.c | 145 struct pfioc_qstats pq; local 151 memset(&pq, 0, sizeof(pq)); 179 pq.nr = nr; 180 pq.ticket = pa.ticket; 181 pq.buf = &qstats.data; 182 pq.nbytes = sizeof(qstats.data); 183 pq.version = altq_stats_version(pa.altq.scheduler); 184 if (ioctl(dev, DIOCGETQSTATS, &pq)) {
|
/freebsd-13-stable/contrib/sendmail/src/ |
H A D | recipient.c | 391 ADDRESS **pq; local 404 for (pq = sendq; (q = *pq) != NULL; pq = &q->q_next) 460 ADDRESS **pq; local 722 for (pq = sendq; (q = *pq) != NULL; pq = &q->q_next) 785 prev = pq; 788 /* pq shoul [all...] |