Searched refs:head (Results 176 - 200 of 923) sorted by last modified time

1234567891011>>

/freebsd-11-stable/sys/dev/tws/
H A Dtws_user.c229 if ( sc->aen_q.head == sc->aen_q.tail ) {
249 index = sc->aen_q.head;
257 index = sc->aen_q.head;
271 index = sc->aen_q.head;
380 volatile u_int16_t head, tail; local
384 head = cq->head;
391 if ( head == tail ) { /* q is full */
394 cq->head = (head
[all...]
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_drv.h204 drm_radeon_freelist_t *head; member in struct:drm_radeon_private
2004 u32 head = GET_RING_HEAD( dev_priv ); \
2005 if (head == dev_priv->ring.tail) \
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_fb_helper.c156 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) {
/freebsd-11-stable/sys/dev/otus/
H A Dif_otus.c1518 * an RX response" list, grab the head entry and check
1738 struct ar_rx_head *head; local
1744 while (len >= sizeof (*head)) {
1745 head = (struct ar_rx_head *)buf;
1746 if (__predict_false(head->tag != htole16(AR_RX_HEAD_TAG))) {
1748 "tag not valid 0x%x\n", le16toh(head->tag));
1751 hlen = le16toh(head->len);
1752 if (__predict_false(sizeof (*head) + hlen > len)) {
1758 otus_sub_rxeof(sc, (uint8_t *)&head[1], hlen, rxq);
1761 hlen = (sizeof (*head)
2180 struct ar_tx_head *head; local
[all...]
/freebsd-11-stable/sys/dev/ioat/
H A Dioat_internal.h495 uint32_t head; member in struct:ioat_softc
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_vale.c1225 u_int const head = kring->rhead; local
1228 done = head; // used all
1232 done = head;
1238 done = nm_vale_preflush(kring, head);
1240 if (done != head)
1241 nm_prerr("early break at %d/ %d, tail %d", done, head, kring->nr_hwtail);
H A Dnetmap_mbq.h52 struct mbuf *head; member in struct:mbq
70 return q->head;
H A Dnetmap_mbq.c49 q->head = q->tail = NULL;
74 q->head = q->tail = m;
98 if (q->head) {
99 ret = q->head;
100 q->head = ret->m_nextpkt;
101 if (q->head == NULL) {
H A Dnetmap_kloop.c78 * behind head).
93 /* Read kring pointers (head, cur, sync_flags) from the CSB.
101 * We place a memory barrier to make sure that the update of head never
105 CSB_READ(ptr, head, shadow_ring->head);
110 /* Make sure that loads from atok->head and atok->cur are not delayed
185 batch = shadow_ring.head - kring->nr_hwcur;
197 nm_prdis(1, "batch: %d head: %d head_lim: %d", batch, shadow_ring.head,
199 shadow_ring.head
[all...]
H A Dnetmap_generic.c656 u_int const head = kring->rhead; local
667 if (nm_i != head) { /* we have new packets to send */
675 event = ring_middle(nm_i, head, lim);
677 "head=%u,hwtail=%u)", nm_i, event, head,
683 a.head = a.tail = NULL;
685 while (nm_i != head) {
770 if (a.head != NULL) {
775 * is not necessarily head, we could break early. */
874 u_int const head local
[all...]
H A Dnetmap_bdg.c956 u_int head = kring->rhead; local
959 if (head > lim) {
970 if (nm_i != head) {
972 for (n = 0; likely(nm_i != head); n++) {
983 kring->nr_hwcur = head;
1087 * and head/cur/tail are set from the kring as needed
1117 nm_prinf("%s head %d cur %d tail %d", na->name,
H A Dixgbe_netmap.h180 u_int const head = kring->rhead; local
231 if (nm_i != head) { /* we have new packets to send */
237 for (n = 0; nm_i != head; n++) {
276 kring->nr_hwcur = head;
367 u_int const head = kring->rhead; local
374 if (head > lim)
436 if (nm_i != head) {
438 for (n = 0; nm_i != head; n++) {
461 kring->nr_hwcur = head;
H A Dif_vtnet_netmap.h156 u_int const head = kring->rhead; local
171 if (nm_i != head) { /* we have new packets to send */
174 for (; nm_i != head; nm_i = nm_next(nm_i, lim)) {
236 vtnet_netmap_kring_refill(struct netmap_kring *kring, u_int nm_i, u_int head) argument
253 for (; nm_i != head; nm_i = nm_next(nm_i, lim)) {
324 u_int const head = kring->rhead; local
376 nm_prdis("[B] h %d c %d hwcur %d hwtail %d", ring->head, ring->cur,
383 if (nm_i != head) {
384 int nm_j = vtnet_netmap_kring_refill(kring, nm_i, head);
391 nm_prdis("[C] h %d c %d t %d hwcur %d hwtail %d", ring->head, rin
[all...]
H A Dif_re_netmap.h77 u_int const head = kring->rhead; local
91 if (nm_i != head) { /* we have new packets to send */
95 for (n = 0; nm_i != head; n++) {
132 kring->nr_hwcur = head;
179 u_int const head = kring->rhead; local
186 if (head > lim)
235 if (nm_i != head) {
237 for (n = 0; nm_i != head; n++) {
266 kring->nr_hwcur = head;
H A Dif_lem_netmap.h108 u_int const head = kring->rhead; local
123 if (nm_i != head) { /* we have new packets to send */
125 while (nm_i != head) {
158 kring->nr_hwcur = head;
200 u_int const head = kring->rhead; local
206 if (head > lim)
257 if (nm_i != head) {
259 for (n = 0; nm_i != head; n++) {
282 kring->nr_hwcur = head;
H A Dif_igb_netmap.h93 u_int const head = kring->rhead; local
112 if (nm_i != head) { /* we have new packets to send */
114 for (n = 0; nm_i != head; n++) {
155 kring->nr_hwcur = head;
200 u_int const head = kring->rhead; local
207 if (head > lim)
245 if (nm_i != head) {
247 for (n = 0; nm_i != head; n++) {
270 kring->nr_hwcur = head;
H A Dif_em_netmap.h125 u_int const head = kring->rhead; local
141 if (nm_i != head) { /* we have new packets to send */
143 for (n = 0; nm_i != head; n++) {
175 kring->nr_hwcur = head;
218 u_int const head = kring->rhead; local
225 if (head > lim)
265 if (nm_i != head) {
267 for (n = 0; nm_i != head; n++) {
290 kring->nr_hwcur = head;
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_upgtvar.h154 uint16_t head; member in struct:upgt_eeprom_freq4_2
/freebsd-11-stable/sys/dev/mcd/
H A Dmcd.c198 bioq_init(&sc->data.head);
338 bioq_disksort(&sc->data.head, bp);
364 bp = bioq_takefirst(&sc->data.head);
/freebsd-11-stable/sys/netinet/
H A Dsctp_peeloff.c50 sctp_can_peel_off(struct socket *head, sctp_assoc_t assoc_id) argument
56 if (head == NULL) {
60 inp = (struct sctp_inpcb *)head->so_pcb;
88 sctp_do_peeloff(struct socket *head, struct socket *so, sctp_assoc_t assoc_id) argument
94 inp = (struct sctp_inpcb *)head->so_pcb;
H A Dip_reass.c72 TAILQ_HEAD(ipqhead, ipq) head;
183 struct ipqhead *head; local
252 head = &V_ipq[hash].head;
259 TAILQ_FOREACH(fp, head, ipq_list)
286 TAILQ_INSERT_HEAD(head, fp, ipq_list);
476 TAILQ_REMOVE(head, fp, ipq_list);
544 TAILQ_INIT(&V_ipq[i].head);
574 TAILQ_FOREACH_SAFE(fp, &V_ipq[i].head, ipq_list, tmp)
590 while(!TAILQ_EMPTY(&V_ipq[i].head))
[all...]
H A Dip_fw.h835 ipfw_obj_tlv head; member in struct:_ipfw_obj_data
841 ipfw_obj_tlv head; /* TLV header */ member in struct:_ipfw_obj_ntlv
888 ipfw_obj_tlv head; /* TLV header */ member in struct:_ipfw_obj_tentry
922 ipfw_obj_tlv head; member in struct:_ipfw_obj_dyntlv
929 ipfw_obj_tlv head; /* TLV header */ member in struct:_ipfw_obj_ctlv
938 ipfw_obj_tlv head; /* TLV header */ member in struct:_ipfw_range_tlv
/freebsd-11-stable/sys/i386/linux/
H A Dlinux_systrace_args.c2176 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2185 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
H A Dlinux_proto.h1028 char head_l_[PADL_(struct linux_robust_list_head *)]; struct linux_robust_list_head * head; char head_r_[PADR_(struct linux_robust_list_head *)]; member in struct:linux_set_robust_list_args
1033 char head_l_[PADL_(struct linux_robust_list_head **)]; struct linux_robust_list_head ** head; char head_r_[PADR_(struct linux_robust_list_head **)]; member in struct:linux_get_robust_list_args
/freebsd-11-stable/sys/i386/i386/
H A Dpmap.c741 pmap_ptelist_alloc(vm_offset_t *head) argument
746 va = *head;
750 *head = *pte;
751 if (*head & PG_V)
758 pmap_ptelist_free(vm_offset_t *head, vm_offset_t va) argument
765 *pte = *head; /* virtual! PG_V is 0 though */
766 *head = va;
770 pmap_ptelist_init(vm_offset_t *head, void *base, int npages) argument
775 *head = 0;
778 pmap_ptelist_free(head, v
[all...]

Completed in 253 milliseconds

1234567891011>>