/freebsd-11.0-release/crypto/openssl/crypto/pqueue/ |
H A D | pq_test.c | 65 pqueue pq; local 67 pq = pqueue_new(); 70 pqueue_insert(pq, item); 73 pqueue_insert(pq, item); 76 pqueue_insert(pq, item); 78 item = pqueue_find(pq, 1); 81 item = pqueue_find(pq, 2); 84 item = pqueue_find(pq, 3); 87 pqueue_print(pq); 89 for (item = pqueue_pop(pq); ite [all...] |
H A D | pqueue.h | 84 void pqueue_free(pqueue pq); 86 pitem *pqueue_insert(pqueue pq, pitem *item); 87 pitem *pqueue_peek(pqueue pq); 88 pitem *pqueue_pop(pqueue pq); 89 pitem *pqueue_find(pqueue pq, unsigned char *prio64be); 90 pitem *pqueue_iterator(pqueue pq); 93 void pqueue_print(pqueue pq); 94 int pqueue_size(pqueue pq);
|
H A D | pqueue.c | 93 pqueue_s *pq = (pqueue_s *)OPENSSL_malloc(sizeof(pqueue_s)); local 94 if (pq == NULL) 97 memset(pq, 0x00, sizeof(pqueue_s)); 98 return pq; 101 void pqueue_free(pqueue_s *pq) argument 103 if (pq == NULL) 106 OPENSSL_free(pq); 109 pitem *pqueue_insert(pqueue_s *pq, pitem *item) argument 113 if (pq->items == NULL) { 114 pq 145 pqueue_peek(pqueue_s *pq) argument 150 pqueue_pop(pqueue_s *pq) argument 160 pqueue_find(pqueue_s *pq, unsigned char *prio64be) argument 192 pqueue_print(pqueue_s *pq) argument 206 pqueue_iterator(pqueue_s *pq) argument 225 pqueue_size(pqueue_s *pq) argument [all...] |
/freebsd-11.0-release/sys/dev/iscsi_initiator/ |
H A D | iscsivar.h | 228 int isc_sendPDU(isc_session_t *sp, pduq_t *pq); 229 int isc_qout(isc_session_t *sp, pduq_t *pq); 230 int i_prepPDU(isc_session_t *sp, pduq_t *pq); 243 void ism_recv(isc_session_t *sp, pduq_t *pq); 249 int scsi_decap(isc_session_t *sp, pduq_t *opq, pduq_t *pq); 250 void iscsi_r2t(isc_session_t *sp, pduq_t *opq, pduq_t *pq); 251 void iscsi_done(isc_session_t *sp, pduq_t *opq, pduq_t *pq); 252 void iscsi_reject(isc_session_t *sp, pduq_t *opq, pduq_t *pq); 253 void iscsi_async(isc_session_t *sp, pduq_t *pq); 302 pduq_t *pq; local 322 pdu_free(struct isc_softc *isc, pduq_t *pq) argument 339 i_nqueue_rsp(isc_session_t *sp, pduq_t *pq) argument 351 pduq_t *pq; local 364 i_nqueue_rsv(isc_session_t *sp, pduq_t *pq) argument 376 pduq_t *pq; local 389 i_nqueue_csnd(isc_session_t *sp, pduq_t *pq) argument 401 pduq_t *pq; local 414 i_nqueue_isnd(isc_session_t *sp, pduq_t *pq) argument 426 pduq_t *pq; local 439 i_nqueue_wsnd(isc_session_t *sp, pduq_t *pq) argument 451 pduq_t *pq; local 466 pduq_t *pq; local 491 i_rqueue_pdu(isc_session_t *sp, pduq_t *pq) argument 503 i_nqueue_hld(isc_session_t *sp, pduq_t *pq) argument 515 i_remove_hld(isc_session_t *sp, pduq_t *pq) argument 526 pduq_t *pq; local 541 pduq_t *pq, *tmp; local 563 pduq_t *pq, *tmp; local [all...] |
H A D | iscsi_subr.c | 64 iscsi_r2t(isc_session_t *sp, pduq_t *opq, pduq_t *pq) argument 70 r2t_t *r2t = &pq->pdu.ipdu.r2t; 149 getSenseData(u_int status, union ccb *ccb, pduq_t *pq) argument 151 pdu_t *pp = &pq->pdu; 154 struct mbuf *m = pq->mp; 160 bp = mtod(pq->mp, caddr_t); 171 i_mbufcopy(pq->mp, bp, sense_len); 198 _scsi_done(isc_session_t *sp, u_int response, u_int status, union ccb *ccb, pduq_t *pq) argument 205 sdebug(3, "response=%x status=%x ccb=%p pq=%p", response, status, ccb, pq); 262 pduq_t *pq; local 287 pduq_t *pq; local 320 pduq_t *pq, *pqtmp; local 350 iscsi_done(isc_session_t *sp, pduq_t *opq, pduq_t *pq) argument 372 iscsi_async(isc_session_t *sp, pduq_t *pq) argument 405 iscsi_reject(isc_session_t *sp, pduq_t *opq, pduq_t *pq) argument 458 pduq_t *pq; local 537 scsi_decap(isc_session_t *sp, pduq_t *opq, pduq_t *pq) argument [all...] |
H A D | isc_sm.c | 71 _async(isc_session_t *sp, pduq_t *pq) argument 75 iscsi_async(sp, pq); 77 pdu_free(sp->isc, pq); 81 _reject(isc_session_t *sp, pduq_t *pq) argument 89 pdu = mtod(pq->mp, pdu_t *); 91 reject = &pq->pdu.ipdu.reject; 95 iscsi_reject(sp, opq, pq); 97 switch(pq->pdu.ipdu.bhs.opcode) { 103 sp->sid, ntohl(pq->pdu.ipdu.bhs.itt)); 106 pdu_free(sp->isc, pq); 110 _r2t(isc_session_t *sp, pduq_t *pq) argument 130 _scsi_rsp(isc_session_t *sp, pduq_t *pq) argument 148 _read_data(isc_session_t *sp, pduq_t *pq) argument 172 pduq_t *pq; local 199 _nop_in(isc_session_t *sp, pduq_t *pq) argument 264 i_prepPDU(isc_session_t *sp, pduq_t *pq) argument 307 isc_qout(isc_session_t *sp, pduq_t *pq) argument 360 ism_recv(isc_session_t *sp, pduq_t *pq) argument 429 pduq_t *pq; local [all...] |
H A D | iscsi.c | 277 pduq_t *pq; local 299 #define pukeit(i, pq) do {\ 301 i, ntohl(pq->pdu.ipdu.bhs.CmdSN),\ 302 pq->pdu.ipdu.bhs.opcode, ntohl(pq->pdu.ipdu.bhs.itt),\ 303 ntohl(pq->pdu.ipdu.bhs.ExpStSN),\ 304 (intmax_t)pq->ts.sec);\ 309 TAILQ_FOREACH(pq, &sp->hld, pq_link) { 312 pukeit(i, pq); i++; 318 TAILQ_FOREACH(pq, 414 pduq_t *pq; local 484 pduq_t *pq; local 648 pduq_t *pq; local [all...] |
H A D | isc_soc.c | 75 pduq_t *pq = b; local 77 if(pq->buf != NULL) { 78 debug(3, "ou_refcnt=%d a=%p b=%p", ou_refcnt, a, pq->buf); 79 free(pq->buf, M_ISCSIBUF); 80 pq->buf = NULL; 85 isc_sendPDU(isc_session_t *sp, pduq_t *pq) argument 88 pdu_t *pp = &pq->pdu; 128 if(pp->ds_len && pq->pdu.ds_addr) { 139 debug(4, "setting ext_free(arg=%p len/l=%d/%d)", pq->buf, len, l); 144 pq, 186 isc_sendPDU(isc_session_t *sp, pduq_t *pq) argument 369 so_recv(isc_session_t *sp, pduq_t *pq) argument 556 pduq_t *pq; local [all...] |
/freebsd-11.0-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | LatencyPriorityQueue.h | 27 explicit latency_sort(LatencyPriorityQueue *pq) : PQ(pq) {} argument
|
H A D | ResourcePriorityQueue.h | 33 explicit resource_sort(ResourcePriorityQueue *pq) : PQ(pq) {} argument
|
/freebsd-11.0-release/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-11.0-release/sys/vm/ |
H A D | vm_page.h | 238 #define vm_pagequeue_assert_locked(pq) mtx_assert(&(pq)->pq_mutex, MA_OWNED) 239 #define vm_pagequeue_lock(pq) mtx_lock(&(pq)->pq_mutex) 240 #define vm_pagequeue_unlock(pq) mtx_unlock(&(pq)->pq_mutex) 244 vm_pagequeue_cnt_add(struct vm_pagequeue *pq, int addend) argument 248 vm_pagequeue_assert_locked(pq); 250 pq->pq_cnt += addend; 251 atomic_add_int(pq [all...] |
H A D | vm_pageout.c | 282 struct vm_pagequeue *pq; local 289 pq = vm_page_pagequeue(m); 292 TAILQ_INSERT_AFTER(&pq->pq_pl, m, &marker, plinks.q); 293 vm_pagequeue_unlock(pq); 297 vm_pagequeue_lock(pq); 314 TAILQ_REMOVE(&pq->pq_pl, &marker, plinks.q); 331 struct vm_pagequeue *pq; local 341 pq = vm_page_pagequeue(m); 343 TAILQ_INSERT_AFTER(&pq->pq_pl, m, &marker, plinks.q); 344 vm_pagequeue_unlock(pq); 881 struct vm_pagequeue *pq; local [all...] |
H A D | vm_page.c | 383 struct vm_pagequeue *pq; local 400 pq = &vmd->vmd_pagequeues[i]; 401 TAILQ_INIT(&pq->pq_pl); 402 mtx_init(&pq->pq_mutex, pq->pq_name, "vm pagequeue", 2790 struct vm_pagequeue *pq; local 2795 pq = vm_page_pagequeue(m); 2796 vm_pagequeue_lock(pq); 2798 TAILQ_REMOVE(&pq->pq_pl, m, plinks.q); 2799 vm_pagequeue_cnt_dec(pq); 2813 struct vm_pagequeue *pq; local 2833 struct vm_pagequeue *pq; local 2857 struct vm_pagequeue *pq; local 2879 struct vm_pagequeue *pq; local 3164 struct vm_pagequeue *pq; local [all...] |
/freebsd-11.0-release/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 | 2001 struct usb_xfer_queue *pq; local 2020 pq = &info->done_q; 2022 if (pq->curr == xfer) { 2285 struct usb_xfer_queue *pq = &info->done_q; local 2289 if (pq->curr != xfer) { 2290 usbd_transfer_enqueue(pq, xfer); 2292 if (!pq->recurse_1) { 2303 pq->recurse_2 = 0; 2318 usbd_callback_wrapper(struct usb_xfer_queue *pq) argument 2320 struct usb_xfer *xfer = pq 2476 struct usb_xfer_queue *pq; local 2494 usbd_transfer_enqueue(struct usb_xfer_queue *pq, struct usb_xfer *xfer) argument 2552 struct usb_xfer_queue *pq; local 2670 usbd_pipe_start(struct usb_xfer_queue *pq) argument 3020 usb_command_wrapper(struct usb_xfer_queue *pq, struct usb_xfer *xfer) argument [all...] |
H A D | usb_busdma.h | 153 void usb_bdma_work_loop(struct usb_xfer_queue *pq);
|
/freebsd-11.0-release/contrib/ntp/libntp/ |
H A D | libssl_compat.c | 167 const BIGNUM ** pq 174 if (pq) 175 *pq = prsa->q; 258 const BIGNUM ** pq, 266 if (pq != NULL) 267 *pq = pdsa->q; 255 sslshim_DSA_get0_pqg( const DSA * pdsa, const BIGNUM ** pp, const BIGNUM ** pq, const BIGNUM ** pg ) argument
|
/freebsd-11.0-release/lib/libusb/ |
H A D | libusb20_ugen20.c | 964 uint16_t quirk_index, struct libusb20_quirk *pq) 980 pq->vid = q.vid; 981 pq->pid = q.pid; 982 pq->bcdDeviceLow = q.bcdDeviceLow; 983 pq->bcdDeviceHigh = q.bcdDeviceHigh; 984 strlcpy(pq->quirkname, q.quirkname, sizeof(pq->quirkname)); 991 struct libusb20_quirk *pq) 1007 strlcpy(pq->quirkname, q.quirkname, sizeof(pq 963 ugen20_root_get_dev_quirk(struct libusb20_backend *pbe, uint16_t quirk_index, struct libusb20_quirk *pq) argument 990 ugen20_root_get_quirk_name(struct libusb20_backend *pbe, uint16_t quirk_index, struct libusb20_quirk *pq) argument 1013 ugen20_root_add_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq) argument 1037 ugen20_root_remove_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq) argument [all...] |
H A D | libusb20.h | 276 int libusb20_be_get_dev_quirk(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 277 int libusb20_be_get_quirk_name(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 278 int libusb20_be_add_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq); 279 int libusb20_be_remove_dev_quirk(struct libusb20_backend *pbe, struct libusb20_quirk *pq);
|
H A D | libusb20_int.h | 53 typedef int (libusb20_root_get_dev_quirk_t)(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 54 typedef int (libusb20_root_get_quirk_name_t)(struct libusb20_backend *pbe, uint16_t index, struct libusb20_quirk *pq); 55 typedef int (libusb20_root_add_dev_quirk_t)(struct libusb20_backend *pbe, struct libusb20_quirk *pq); 56 typedef int (libusb20_root_remove_dev_quirk_t)(struct libusb20_backend *pbe, struct libusb20_quirk *pq);
|
/freebsd-11.0-release/contrib/ntp/include/ |
H A D | libssl_compat.h | 64 const BIGNUM **pq); 73 const BIGNUM **pq, const BIGNUM **pg);
|
/freebsd-11.0-release/sys/netpfil/ipfw/ |
H A D | dn_aqm_pie.h | 86 struct dn_queue *pq; member in struct:pie_status
|
/freebsd-11.0-release/sbin/pfctl/ |
H A D | pfctl_qstats.c | 143 struct pfioc_qstats pq; local 149 memset(&pq, 0, sizeof(pq)); 176 pq.nr = nr; 177 pq.ticket = pa.ticket; 178 pq.buf = &qstats.data; 179 pq.nbytes = sizeof(qstats.data); 180 if (ioctl(dev, DIOCGETQSTATS, &pq)) {
|
/freebsd-11.0-release/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 717 for (pq = sendq; (q = *pq) != NULL; pq = &q->q_next) 780 prev = pq; 783 /* pq shoul [all...] |