Searched refs:head (Results 251 - 275 of 766) sorted by relevance

<<11121314151617181920>>

/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-usb.c163 cvmx_usb_transaction_t *head; /**< The first pending transaction */ member in struct:cvmx_usb_pipe
184 cvmx_usb_pipe_t *head; /**< Head of the list, or NULL if empty */ member in struct:__anon7135
196 int head; member in struct:__anon7136
210 cvmx_usb_transaction_t *free_transaction_head; /**< List of free transactions head */
551 list->head = pipe;
564 if (list->head == pipe)
566 list->head = pipe->next;
568 if (list->head)
569 list->head->prev = NULL;
927 if (usb->idle_pipes.head ||
[all...]
H A Dcvmx-dfa.h640 cvmx_dfa_command_t *head; local
655 // compute index and instruction queue head pointer
659 head = &((CASTPTR(cvmx_dfa_command_t, (cvmx_dfa_state.s2.base_address_div32 * 32ull))[index]));
660 head = (cvmx_dfa_command_t*)cvmx_phys_to_ptr(CAST64(head)); // NOTE: since we are not storing bit 63 of address, we must set it now
663 *head++ = *command;
670 *(uint64_t *)head = cvmx_ptr_to_phys(new_base);
/freebsd-10.0-release/usr.sbin/kbdmap/
H A Dkbdmap.c70 static SLIST_HEAD(slisthead, keymap) head = SLIST_HEAD_INITIALIZER(head);
81 SLIST_FOREACH(km, &head, entries)
97 SLIST_FOREACH(km, &head, entries)
111 SLIST_FOREACH(km, &head, entries) {
113 SLIST_REMOVE(&head, km, keymap, entries);
129 SLIST_FOREACH(km, &head, entries) {
145 SLIST_INSERT_HEAD(&head, km_new, entries);
732 SLIST_FOREACH(km, &head, entries)
818 SLIST_INIT(&head);
[all...]
/freebsd-10.0-release/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c361 *valid_entry, *default_entry, *temp, *head, **headp, *next; local
451 head =
453 if (head == NULL) {
458 LIST_INSERT_AFTER(default_entry, head, ll_struct);
459 *headp = head;
461 head = *headp;
463 head->entry_data.SH.num_section_entries[0]++;
472 while ((next = LIST_NEXT(head, ll_struct)) != NULL &&
474 head = next;
476 LIST_INSERT_AFTER(head, tem
[all...]
/freebsd-10.0-release/sys/kern/
H A Duipc_socket.c487 sonewconn(struct socket *head, int connstatus) argument
493 over = (head->so_qlen > 3 * head->so_qlimit / 2);
502 __func__, head->so_pcb, head->so_qlen);
505 VNET_ASSERT(head->so_vnet != NULL, ("%s:%d so_vnet is NULL, head=%p",
506 __func__, __LINE__, head));
507 so = soalloc(head->so_vnet);
511 __func__, head
692 struct socket *head; local
3264 struct socket *head; local
[all...]
/freebsd-10.0-release/sys/security/audit/
H A Daudit_bsm_klib.c65 LIST_HEAD(, evclass_elem) head;
128 LIST_FOREACH(evc, &evcl->head, entry) {
160 LIST_FOREACH(evc, &evcl->head, entry) {
171 LIST_INSERT_HEAD(&evcl->head, evc, entry);
182 LIST_INIT(&evclass_hash[i].head);
/freebsd-10.0-release/usr.sbin/tcpdrop/
H A Dtcpdrop.c207 struct xinpgen *head, *xinp; local
215 head = getxpcblist("net.inet.tcp.pcblist");
220 for (xinp = XINP_NEXT(head); xinp->xig_len > sizeof *xinp;
232 if (inp->inp_gencnt > head->xig_gen)
242 free(head);
/freebsd-10.0-release/contrib/binutils/binutils/
H A Dar.c154 bfd *head;
159 for (head = arch->archive_next; head; head = head->archive_next)
162 function (head);
178 for (head = arch->archive_next; head; head = head
152 bfd *head; local
[all...]
/freebsd-10.0-release/sys/netpfil/ipfw/
H A Dip_fw_dynamic.c116 ipfw_dyn_rule *head; /* Pointer to first rule */ member in struct:ipfw_dyn_bucket
322 for (prev = NULL, q = V_ipfw_dyn_v[i].head; q; prev = q, q = q->next) {
366 q->next = V_ipfw_dyn_v[i].head;
367 V_ipfw_dyn_v[i].head = q;
516 while (V_ipfw_dyn_v[i].head != NULL) {
518 q = V_ipfw_dyn_v[i].head;
519 V_ipfw_dyn_v[i].head = q->next;
524 /* Add to the new head */
525 q->next = dyn_v[k].head;
526 dyn_v[k].head
[all...]
H A Dip_dn_io.c49 #include <net/if.h> /* IFNAMSIZ, struct ifaddr, ifq head, lock.h mutex.h */
262 if (q->head == NULL)
263 q->head = m;
452 while ((m = dline->mq.head) != NULL) {
456 dline->mq.head = m->m_nextpkt;
491 * Return a pointer to the head of the queue.
499 int delay_line_idle = (si->dline.mq.head == NULL);
504 q->head = NULL;
546 return q->head;
624 if (q.head !
[all...]
/freebsd-10.0-release/sys/dev/sym/
H A Dsym_hipd.c157 static __inline struct sym_quehead *sym_que_first(struct sym_quehead *head) argument
159 return (head->flink == head) ? NULL : head->flink;
162 static __inline struct sym_quehead *sym_que_last(struct sym_quehead *head) argument
164 return (head->blink == head) ? NULL : head->blink;
184 static __inline int sym_que_empty(struct sym_quehead *head) argument
186 return head
189 sym_que_splice(struct sym_quehead *list, struct sym_quehead *head) argument
215 sym_remque_head(struct sym_quehead *head) argument
228 sym_remque_tail(struct sym_quehead *head) argument
1121 /*0*/ struct sym_tcbh head; member in struct:sym_tcb
1220 /*0*/ struct sym_lcbh head; member in struct:sym_lcb
1375 /*0*/ struct sym_ccbh head; member in struct:sym_dsb
[all...]
/freebsd-10.0-release/sys/dev/fdc/
H A Dfdc.c253 int track; /* where we think the head is */
286 "Specification byte one (step-rate + head unload)");
290 "Specification byte two (head load time + no-dma)");
646 bioq_disksort(&fd->fdc->head, bp);
650 wakeup(&fd->fdc->head);
763 int head; local
812 fdc->bp = bioq_takefirst(&fdc->head);
814 msleep(&fdc->head, &fdc->fdc_mtx,
894 head = sec / fd->ft->sectrac;
980 head <<
[all...]
/freebsd-10.0-release/sys/dev/drm/
H A Dmach64_drv.h71 u32 head_addr; /* bus address of descriptor ring head */
72 u32 head; /* dword offset of descriptor ring head */ member in struct:drm_mach64_descriptor_ring
89 struct list_head free_list; /* Free-list head */
546 DRM_DEBUG("head_addr: 0x%08x head: %d tail: %d space: %d\n",
547 ring->head_addr, ring->head, ring->tail, ring->space);
562 /* reset descriptor table ring head */
572 DRM_DEBUG("head_addr: 0x%08x head: %d tail: %d space: %d\n",
573 ring->head_addr, ring->head, ring->tail, ring->space);
575 /* reset descriptor table ring head */
[all...]
H A Dr128_cce.c771 dev_priv->head = drm_alloc(sizeof(drm_r128_freelist_t), DRM_MEM_DRIVER);
772 if (dev_priv->head == NULL)
775 memset(dev_priv->head, 0, sizeof(drm_r128_freelist_t));
776 dev_priv->head->age = R128_BUFFER_USED;
788 entry->prev = dev_priv->head;
789 entry->next = dev_priv->head->next;
797 dev_priv->head->next = entry;
799 if (dev_priv->head->next)
800 dev_priv->head->next->prev = entry;
/freebsd-10.0-release/sys/dev/drm2/radeon/
H A Dradeon_object.c348 struct list_head *head)
351 list_add(&lobj->tv.head, head);
353 list_add_tail(&lobj->tv.head, head);
357 int radeon_bo_list_validate(struct list_head *head) argument
364 r = ttm_eu_reserve_buffers(head);
368 list_for_each_entry(lobj, head, tv.head) {
347 radeon_bo_list_add_object(struct radeon_bo_list *lobj, struct list_head *head) argument
/freebsd-10.0-release/sys/dev/sound/
H A Dclone.c81 TAILQ_HEAD(link_head, snd_clone_entry) head;
190 TAILQ_INIT(&c->head);
205 TAILQ_FOREACH(ce, &c->head, link) {
429 TAILQ_FOREACH_REVERSE_SAFE(ce, &c->head, link_head, link, tce) {
438 TAILQ_REMOVE(&c->head, ce, link);
458 ce = TAILQ_FIRST(&c->head);
644 TAILQ_FOREACH(ce, &c->head, link) {
771 TAILQ_INSERT_AFTER(&c->head, after, ce, link);
773 TAILQ_INSERT_HEAD(&c->head, ce, link);
/freebsd-10.0-release/contrib/mdocml/
H A Dmdoc_macro.c988 struct mdoc_node *head; /* save of head macro */ local
1011 * (seen above). Delay opening the head until necessary to
1038 head = body = NULL;
1056 head = m->last;
1101 if (NULL == head &&
1112 /* Open a head if one hasn't been opened. */
1114 if (NULL == head) {
1117 head = m->last;
1125 * head; i
1371 struct mdoc_node *head; /* keep track of head */ local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DOnDiskHashTable.h135 Item* head; member in class:clang::OnDiskChainedHashTableGenerator::Bucket
147 E->next = B.head;
149 B.head = E;
156 for (Item* E = Buckets[i].head; E ; ) {
196 if (!B.head) continue;
204 assert(B.length != 0 && "Bucket has a head but zero length?");
207 for (Item *I = B.head; I ; I = I->next) {
/freebsd-10.0-release/sys/fs/nfs/
H A Dnfs.h478 * Queue head for nfsreq's
588 * assign a doubly linked list to a new head
597 #define LIST_PREPEND(head, phead, lelm, field) do { \
598 if ((head)->lh_first != NULL) { \
599 (lelm)->field.le_next = (head)->lh_first; \
603 (head)->lh_first = (phead)->lh_first; \
604 (head)->lh_first->field.le_prev = &(head)->lh_first; \
/freebsd-10.0-release/sys/ofed/include/linux/
H A Dlinux_idr.c215 struct idr_layer *head; local
226 for (head = NULL; need; need--) {
231 if (head != NULL) {
235 head = il = iln;
237 if (head == NULL)
241 idr->free = head;
/freebsd-10.0-release/sys/geom/journal/
H A Dg_journal.c787 #define g_journal_insert_bio(head, bp, flags) \
788 g_journal_insert((head), (bp)->bio_offset, \
799 g_journal_insert(struct bio **head, off_t nstart, off_t nend, off_t joffset, argument
807 GJ_DEBUG(3, "INSERT(%p): (%jd, %jd, %jd)", *head, nstart, nend,
811 GJQ_FOREACH(*head, cbp) {
826 GJ_DEBUG(3, "INSERT(%p): 1", *head);
841 *head = nbp;
846 GJ_DEBUG(3, "INSERT(%p): 2 (nbp=%p pbp=%p)", *head, nbp,
888 GJ_DEBUG(3, "INSERT(%p): 3 (cbp=%p)", *head, cbp);
915 GJ_DEBUG(3, "INSERT(%p): 4 (cbp=%p)", *head, cb
1016 g_journal_optimize(struct bio *head) argument
1477 g_journal_read_find(struct bio *head, int sorted, struct bio *pbp, off_t ostart, off_t oend) argument
1522 g_journal_read_queue_find(struct bio_queue *head, struct bio *pbp, off_t ostart, off_t oend) argument
1570 struct bio *bp, *nbp, *head; local
[all...]
/freebsd-10.0-release/sys/dev/ie/
H A Dif_ie.c624 ie_buflen(struct ie_softc *sc, int head) argument
626 return (sc->rbuffs[head]->ie_rbd_actual
634 int head = sc->rbhead; local
648 i = sc->rbuffs[head]->ie_rbd_actual & IE_RBD_LAST;
650 acc += ie_buflen(sc, head);
651 head = (head + 1) % sc->nrxbufs;
675 int head; local
759 head = sc->rbhead; /* current rx buffer */
767 int thislen = ie_buflen(sc, head)
[all...]
/freebsd-10.0-release/sys/dev/drm2/
H A Ddrm_modes.c526 * @head: source list
532 * Move all the modes from @head to @new.
534 void drm_mode_list_concat(struct list_head *head, struct list_head *new) argument
539 list_for_each_safe(entry, tmp, head) {
732 INIT_LIST_HEAD(&nmode->head);
796 list_for_each_entry(mode, mode_list, head) {
831 list_for_each_entry(mode, mode_list, head) {
862 list_for_each_entry_safe(mode, t, mode_list, head) {
864 list_del(&mode->head);
893 struct drm_display_mode *a = list_entry(lh_a, struct drm_display_mode, head);
[all...]
/freebsd-10.0-release/sys/netinet6/
H A Din6_pcb.c690 struct inpcbhead *head; local
695 head = &pcbinfo->ipi_hashbase[INP_PCBHASH(INADDR_ANY, lport,
697 LIST_FOREACH(inp, head, inp_hash) {
849 struct inpcbhead *head; local
864 head = &pcbgroup->ipg_hashbase[
867 LIST_FOREACH(inp, head, inp_pcbgrouphash) {
906 head = &pcbinfo->ipi_wildbase[INP_PCBHASH(INADDR_ANY, lport,
908 LIST_FOREACH(inp, head, inp_pcbgroup_wild) {
983 struct inpcbhead *head; local
1002 head
[all...]
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dinfttrace.c379 thread_info *head;
647 /* The new thread always goes at the head of the list.
649 new_p->next = thread_head.head;
650 thread_head.head = new_p;
657 p = thread_head.head;
692 p = thread_head.head;
700 thread_head.head = NULL;
704 p = deleted_threads.head;
712 deleted_threads.head = NULL;
728 for (p = thread_head.head;
378 thread_info *head; member in struct:thread_info_header_struct
[all...]

Completed in 372 milliseconds

<<11121314151617181920>>