/freebsd-11-stable/sys/sparc64/pci/ |
H A D | fire.c | 1261 u_int head, msg, msiq; local 1268 head = (FIRE_PCI_READ_8(sc, fmqa->fmqa_head) & FO_PCI_EQ_HD_MASK) >> 1270 qrec = &fmqa->fmqa_base[head]; 1295 head = (head + 1) % sc->sc_msiq_size; 1296 qrec = &fmqa->fmqa_base[head]; 1301 FIRE_PCI_WRITE_8(sc, fmqa->fmqa_head, (head & FO_PCI_EQ_HD_MASK) << 1671 u_int head, msi, msiq; local 1676 head = (FIRE_PCI_READ_8(sc, fmqa->fmqa_head) & FO_PCI_EQ_HD_MASK) >> 1678 qrec = &fmqa->fmqa_base[head]; [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | mga_drv.h | 84 drm_mga_freelist_t *head; member in struct:drm_mga_private 321 DRM_INFO( " tail=0x%06x head=0x%06lx\n", \ 360 /* Buffer aging via primary DMA stream head pointer. 365 (age)->head = h; \ 371 (age)->head < h ) ) 377 entry->age.head = (dev_priv->prim.tail + \ 381 entry->age.head = 0; \
|
H A D | i915_dma.c | 39 * the head pointer changes, so that EBUSY only happens if the ring 53 ring->head = I915_READ(PRB0_HEAD) & HEAD_ADDR; 55 ring->space = ring->head - (ring->tail + 8); 64 if (ring->head != last_head) 70 last_head = ring->head; 131 ring->head = I915_READ(PRB0_HEAD) & HEAD_ADDR; 133 ring->space = ring->head - (ring->tail + 8); 137 if (ring->head == ring->tail && dev_priv->sarea_priv)
|
/freebsd-11-stable/sys/dev/hatm/ |
H A D | if_hatmvar.h | 115 uint32_t head, tail; /* head and tail */ member in struct:herbp 128 uint32_t head; /* driver end */ member in struct:herbrq 138 u_int head; /* head (copy of adapter) */ member in struct:hetpdrq 150 u_int head; /* adapter end */ member in struct:hetbrq 322 uint32_t head; /* head index */ member in struct:heirq
|
H A D | if_hatm_tx.c | 180 if (sc->tpdrq.tail < sc->tpdrq.head) 181 space = sc->tpdrq.head - sc->tpdrq.tail; 183 space = sc->tpdrq.head - sc->tpdrq.tail + sc->tpdrq.size; 186 sc->tpdrq.head = 190 if (sc->tpdrq.tail < sc->tpdrq.head) 191 space = sc->tpdrq.head - sc->tpdrq.tail; 193 space = sc->tpdrq.head - sc->tpdrq.tail +
|
/freebsd-11-stable/sys/netinet/ |
H A D | in_pcb.c | 1510 struct inpcbhead *head; local 1515 head = &pcbinfo->ipi_hashbase[INP_PCBHASH(INADDR_ANY, lport, 1517 LIST_FOREACH(inp, head, inp_hash) { 1619 struct inpcbhead *head; local 1629 head = &pcbgroup->ipg_hashbase[INP_PCBHASH(faddr.s_addr, lport, fport, 1631 LIST_FOREACH(inp, head, inp_pcbgrouphash) { 1668 struct inpcbhead *head; local 1679 head = &pcbgroup->ipg_hashbase[INP_PCBHASH(INADDR_ANY, 1681 LIST_FOREACH(inp, head, inp_pcbgrouphash) { 1743 struct inpcbhead *head; local 1849 struct inpcbhead *head; local 2190 struct inpcbhead *head; local [all...] |
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_qp.c | 233 wq->head = 0; 1551 cur = wq->head - wq->tail; 1557 cur = wq->head - wq->tail; 1634 mthca_err(dev, "SQ %06x full (%u head, %u tail," 1636 qp->sq.head, qp->sq.tail, 1799 qp->sq.head += nreq; 1835 mthca_err(dev, "RQ %06x full (%u head, %u tail," 1837 qp->rq.head, qp->rq.tail, 1890 qp->rq.head += MTHCA_TAVOR_MAX_WQES_PER_RECV_DB; 1904 qp->rq.head [all...] |
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_srq.c | 175 srq->head = 0; 458 if (unlikely(srq->head == srq->tail)) { 464 srq->wrid[srq->head] = wr->wr_id; 466 next = get_wqe(srq, srq->head); 467 srq->head = be16_to_cpu(next->next_wqe_index);
|
/freebsd-11-stable/sys/dev/ismt/ |
H A D | ismt.c | 164 uint8_t head; member in struct:ismt_softc 238 desc = &sc->desc[sc->head++]; 239 if (sc->head == ISMT_DESC_ENTRIES) 240 sc->head = 0; 263 fmhp = sc->head << 16;
|
/freebsd-11-stable/contrib/gcc/ |
H A D | predict.c | 734 loop's head as taken. */ 1492 int head; 1503 head = next_ai->index; 1505 head = heads[next_ai->index]; 1510 heads[next_ai->index] = head; 1561 basic_block head = loop->header; 1595 memcpy (&BLOCK_INFO (head)->frequency, &real_one, sizeof (real_one)); 1596 last = head; 1597 for (bb = head; bb; bb = nextbb) 1609 if (bb != head) 1487 int head; local 1555 basic_block head = loop->header; local [all...] |
H A D | tree-ssa-pre.c | 200 /* The head of the list. Used for iterating over the list in 202 value_set_node_t head; member in struct:value_set 543 ret->head = ret->tail = NULL; 589 if (set->head == NULL) 591 set->head = set->tail = newnode; 666 if (!orig || !orig->head) 669 for (node = orig->head; 689 for (node = set->head; 696 set->head = node->next; 770 for (node = exprset->head; nod 970 tree head; local [all...] |
H A D | tree-flow-inline.h | 322 /* Link the new node at the head of the list. If we are in the process of 1328 move_use_after_head (use_operand_p use_p, use_operand_p head, argument 1331 gcc_assert (USE_FROM_PTR (use_p) == USE_FROM_PTR (head)); 1332 /* Skip head when we find it. */ 1333 if (use_p != head) 1354 link_use_stmts_after (use_operand_p head, imm_use_iterator *imm) argument 1357 use_operand_p last_p = head; 1358 tree head_stmt = USE_STMT (head); 1359 tree use = USE_FROM_PTR (head); 1370 last_p = move_use_after_head (use_p, head, last_ [all...] |
/freebsd-11-stable/contrib/binutils/gas/ |
H A D | dwarf2dbg.c | 144 struct line_entry *head; member in struct:line_subseg 151 struct line_subseg *head; member in struct:line_seg 256 s->head = NULL; 260 for (pss = &s->head; (ss = *pss) != NULL ; pss = &ss->next) 271 ss->head = NULL; 272 ss->ptail = &ss->head; 1351 process_entries (s->seg, s->head->head); 1671 struct line_subseg *ss = s->head; 1676 *ptail = ss->head; [all...] |
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-pow.h | 436 the tail pointer rather than the head pointer for the specified qos level. */ 705 uint64_t head : 1; /**< Set when this POW entry is at the head of its tag list (also set when in member in struct:__anon8701::__anon8707 717 uint64_t head : 1; 736 uint64_t head : 1; /**< Set when this SSO entry is at the head of its tag list (also set when in the member in struct:__anon8701::__anon8708 750 uint64_t head : 1; 765 uint64_t revlink_index : 11; /**< Points to the prior POW entry in the tag list when head == 0 770 uint64_t head : 1; /**< Set when this POW entry is at the head o member in struct:__anon8701::__anon8709 845 uint64_t head : 1; /**< Set when this SSO entry is at the head of its tag list (also set when in the member in struct:__anon8701::__anon8712 1247 uint64_t head : 1; member in struct:__anon8728::__anon8729 [all...] |
/freebsd-11-stable/sys/dev/vnic/ |
H A D | nicvf_queues.c | 440 int head, tail, idx; local 471 * - it is safe to operate using head and tail indexes 478 head = rbdr->head; 480 while (head != tail) { 481 desc = GET_RBDR_DESC(rbdr, head); 488 head++; 489 head &= (rbdr->dmem.q_len - 1); 517 rbdr->head = 0; 756 /* Get head o 1717 uint64_t head, tail; local [all...] |
/freebsd-11-stable/contrib/groff/src/preproc/pic/ |
H A D | object.cpp | 428 object *p = oblist.head; 495 object_list::object_list() : head(0), tail(0) 503 head = tail = obj; 519 ol->head = p->next; 520 if (ol->head) { 522 ol->head->prev = 0; 530 head = 0; 897 object *p = oblist.head; 908 print_object_list(oblist.head); 928 for (object *p = oblist.head; [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_sockopt.c | 826 ipfw_reap_add(struct ip_fw_chain *chain, struct ip_fw **head, argument 835 rule->next = *head; 836 *head = rule; 845 ipfw_reap_rules(struct ip_fw *head) argument 849 while ((rule = head) != NULL) { 850 head = head->next; 1296 if (rt->head.length != sizeof(*rt)) 1491 if (rh->range.head.length != sizeof(ipfw_range_tlv)) 1679 * Check rule head i [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | uipc_usrreq.c | 1572 struct unp_head *head; local 1577 head = &unp_shead; 1581 head = &unp_dhead; 1585 head = &unp_sphead; 1628 for (unp = LIST_FIRST(head), i = 0; unp && i < n; 2158 /* Prepend it to the head. */ 2342 struct unp_head **head; local 2353 for (head = heads; *head != NULL; head [all...] |
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | resolve.c | 119 for(rr = r->head; rr;){ 473 rr = &r->head; 635 for(rr = r->head; rr; rr = rr->next) 648 for(ss = srvs, headp = &r->head; *headp; ) 660 headp = &r->head; 688 /* insert the selected record at the tail (of the head) of 898 r->head = parse_dns_record(pRec); 900 if (r->head == NULL) {
|
/freebsd-11-stable/usr.bin/fortune/fortune/ |
H A D | fortune.c | 456 add_file(int percent, const char *file, const char *dir, FILEDESC **head, argument 524 head, tail, parent); 574 if (*head == NULL) 575 *head = *tail = fp; 582 (*head)->prev = fp; 583 fp->next = *head; 584 *head = fp;
|
/freebsd-11-stable/sys/net/ |
H A D | netmap_user.h | 44 * we can access ring->cur, ring->head, ring->tail, etc. 52 * All ring indexes (head, cur, tail) should always move forward. 131 * When everything is complete ring->head = ring->tail + 1 (modulo ring size) 136 return nm_ring_next(r, r->tail) != r->head; 140 * ring->head as explained in the comment above nm_ring_empty(). */ 144 int ret = ring->tail - ring->head; 394 * list head containing all the netmap opened fd and their 930 D("TX%d %p h %d c %d t %d", i, r, r->head, r->cur, r->tail); 934 D("RX%d %p h %d c %d t %d", i, r, r->head, r->cur, r->tail); 1058 ring->head [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64lsn_control.c | 507 ctlv->head.type = IPFW_TLV_COUNTERS; 508 ctlv->head.length = sz - sizeof(ipfw_obj_header); 707 if (od->head.type != IPFW_TLV_OBJDATA || 708 od->head.length != sz - sizeof(ipfw_obj_header)) 744 od->head.type = IPFW_TLV_OBJDATA; 745 od->head.length = sz - sizeof(ipfw_obj_header); 770 od->head.length += stg->count * sizeof(ipfw_nat64lsn_state);
|
/freebsd-11-stable/sys/cam/ctl/ |
H A D | ctl_ha.c | 69 struct mbuf *head; member in struct:mbufq 77 q->head = q->tail = NULL; 85 while ((m = q->head) != NULL) { 86 q->head = m->m_nextpkt; 97 m = q->head; 101 q->head = m->m_nextpkt; 115 q->head = m;
|
/freebsd-11-stable/usr.sbin/uhsoctl/ |
H A D | uhsoctl.c | 179 TAILQ_HEAD(, timer_entry) head; 204 te = TAILQ_FIRST(&tmrs->head); 211 TAILQ_REMOVE(&tmrs->head, te, next); 234 te2 = TAILQ_FIRST(&tmrs->head); 236 if (TAILQ_EMPTY(&tmrs->head)) { 237 TAILQ_INSERT_HEAD(&tmrs->head, te, next); 240 TAILQ_INSERT_HEAD(&tmrs->head, te, next); 249 TAILQ_INSERT_AFTER(&tmrs->head, te2, te, next); 1370 TAILQ_INIT(&timers.head);
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_fb_helper.c | 156 list_for_each_entry(connector, &dev->mode_config.connector_list, head) { 298 list_for_each_entry(c, &dev->mode_config.crtc_list, head) { 541 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 1044 list_for_each_entry(mode, &fb_connector->connector->modes, head) { 1077 list_for_each_entry(mode, &fb_helper_conn->connector->modes, head) { 1098 list_add(&mode->head, &fb_helper_conn->connector->modes); 1195 list_for_each_entry(mode, &fb_helper_conn->connector->modes, head) { 1236 list_for_each_entry(modes[i], &fb_helper_conn->connector->modes, head) 1465 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
|