Searched refs:head (Results 1 - 25 of 923) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/sound/midi/
H A Dmidiq.h40 #define MIDIQ_INIT(head, buf, size) do { \
41 (head).h=(head).t=0; \
42 (head).s=size; \
43 (head).b=buf; \
46 #define MIDIQ_EMPTY(head) ((head).h == (head).t )
48 #define MIDIQ_LENBASE(head) ((head)
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/
H A Dfifo_defs.h43 #define head sp->_fifohead macro
49 (head >= FIFO_SIZE-1) \
50 ? head = 0 \
51 : head++; \
52 if (head == tail) \
53 head = -1, tail = 0; \
56 (head <= 0) \
57 ? head = FIFO_SIZE-1 \
58 : head--; \
59 if (head
[all...]
/freebsd-11-stable/crypto/heimdal/lib/gssapi/mech/
H A Dmechqueue.h45 #define HEIM_SLIST_HEAD_INITIALIZER(head) \
56 #define HEIM_SLIST_INIT(head) do { \
57 (head)->slh_first = NULL; \
65 #define HEIM_SLIST_INSERT_HEAD(head, elm, field) do { \
66 (elm)->field.sle_next = (head)->slh_first; \
67 (head)->slh_first = (elm); \
70 #define HEIM_SLIST_REMOVE_HEAD(head, field) do { \
71 (head)->slh_first = (head)->slh_first->field.sle_next; \
74 #define HEIM_SLIST_REMOVE(head, el
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Dht-internal.h41 #define HT_EMPTY(head) \
42 ((head)->hth_n_entries == 0)
44 /* How many elements in 'head'? */
45 #define HT_SIZE(head) \
46 ((head)->hth_n_entries)
49 #define HT_MEM_USAGE(head) \
50 (sizeof(*head) + (head)->hth_table_length * sizeof(void*))
52 #define HT_FIND(name, head, elm) name##_HT_FIND((head), (el
[all...]
/freebsd-11-stable/sys/dev/drm/
H A Ddrm_linux_list.h46 INIT_LIST_HEAD(struct list_head *head) { argument
47 (head)->next = head;
48 (head)->prev = head;
52 list_empty(struct list_head *head) { argument
53 return (head)->next == head;
57 list_add(struct list_head *new, struct list_head *head) { argument
58 (head)
65 list_add_tail(struct list_head *entry, struct list_head *head) argument
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dtree-browser.c117 tree head; local
127 head = N; \
129 if (head) \
131 print_generic_expr (TB_OUT_FILE, head, 0); \
141 TB_update_up (head);
161 TB_update_up (head);
165 if (head && (INTEGRAL_TYPE_P (head)
166 || TREE_CODE (head) == REAL_TYPE))
167 TB_SET_HEAD (TYPE_MAX_VALUE (head));
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/compat/sys/
H A Dqueue.h46 * added to the list after an existing element or at the head of the list.
47 * Elements being removed from the head of the list should use the explicit
57 * or after an existing element or at the head of the list. A list
60 * A simple queue is headed by a pair of pointers, one the head of the
63 * head of the list. New elements can be added to the list before or after
64 * an existing element, at the head of the list, or at the end of the
67 * A tail queue is headed by a pair of pointers, one to the head of the
71 * after an existing element, at the head of the list, or at the end of
74 * A circle queue is headed by a pair of pointers, one to the head of the
78 * an existing element, at the head o
[all...]
/freebsd-11-stable/sys/kern/
H A Dsubr_disk.c77 * current head position (bioq->last_offset) in the scan direction, i.e.
88 * bioq_first() return the head of the queue, without removing;
90 * bioq_takefirst() return and remove the head of the queue,
91 * updating the 'current head position' as
94 * When updating the 'current head position', we assume that the result of
96 * represents the head position once the request is complete.
104 * update, but its use tracks the head position in a better way.
105 * Historical behaviour was also to update the head position when
108 * has no method to update the head position; secondly, once
110 * the actual head positio
147 bioq_init(struct bio_queue_head *head) argument
156 bioq_remove(struct bio_queue_head *head, struct bio *bp) argument
169 bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error) argument
178 bioq_insert_head(struct bio_queue_head *head, struct bio *bp) argument
187 bioq_insert_tail(struct bio_queue_head *head, struct bio *bp) argument
196 bioq_first(struct bio_queue_head *head) argument
203 bioq_takefirst(struct bio_queue_head *head) argument
219 bioq_bio_key(struct bio_queue_head *head, struct bio *bp) argument
233 bioq_disksort(struct bio_queue_head *head, struct bio *bp) argument
[all...]
/freebsd-11-stable/sys/dev/hpt27xx/
H A Dlist.h54 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) argument
56 __list_add(_new, head, head->next);
59 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) argument
61 __list_add(_new, head->prev, head);
81 static HPT_INLINE int list_empty(struct list_head *head) argument
83 HPT_ASSERT(!(head->next==head && head
87 __list_splice(struct list_head *list, struct list_head *head) argument
101 list_splice(struct list_head *list, struct list_head *head) argument
107 list_splice_init(struct list_head *list, struct list_head *head) argument
[all...]
/freebsd-11-stable/sys/dev/hptnr/
H A Dlist.h53 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) argument
55 __list_add(_new, head, head->next);
58 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) argument
60 __list_add(_new, head->prev, head);
80 static HPT_INLINE int list_empty(struct list_head *head) argument
82 HPT_ASSERT(!(head->next==head && head
86 __list_splice(struct list_head *list, struct list_head *head) argument
100 list_splice(struct list_head *list, struct list_head *head) argument
106 list_splice_init(struct list_head *list, struct list_head *head) argument
[all...]
/freebsd-11-stable/sys/dev/hptrr/
H A Dlist.h56 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) argument
58 __list_add(_new, head, head->next);
61 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) argument
63 __list_add(_new, head->prev, head);
83 static HPT_INLINE int list_empty(struct list_head *head) argument
85 HPT_ASSERT(!(head->next==head && head
89 __list_splice(struct list_head *list, struct list_head *head) argument
103 list_splice(struct list_head *list, struct list_head *head) argument
109 list_splice_init(struct list_head *list, struct list_head *head) argument
[all...]
/freebsd-11-stable/contrib/sendmail/include/sm/
H A Dtailq.h46 * A tail queue is headed by a pair of pointers, one to the head of the
50 * after an existing element, at the head of the list, or at the end of
63 #define SM_TAILQ_HEAD_INITIALIZER(head) \
64 { NULL, &(head).tqh_first }
75 #define SM_TAILQ_FIRST(head) ((head)->tqh_first)
76 #define SM_TAILQ_END(head) NULL
78 #define SM_TAILQ_LAST(head, headname) \
79 (*(((struct headname *)((head)->tqh_last))->tqh_last))
83 #define SM_TAILQ_EMPTY(head) \
[all...]
/freebsd-11-stable/contrib/openbsm/compat/
H A Dqueue.h46 * added to the list after an existing element or at the head of the list.
47 * Elements being removed from the head of the list should use the explicit
54 * head of the list and the other to the tail of the list. The elements are
57 * to the list after an existing element, at the head of the list, or at the
58 * end of the list. Elements being removed from the head of the tail queue
68 * or after an existing element or at the head of the list. A list
71 * A tail queue is headed by a pair of pointers, one to the head of the
75 * after an existing element, at the head of the list, or at the end of
105 /* Store the last 2 places the queue element or head was altered */
116 #define QMD_TRACE_HEAD(head) d
[all...]
/freebsd-11-stable/sys/contrib/ck/include/
H A Dck_hp_fifo.h54 struct ck_hp_fifo_entry *head; member in struct:ck_hp_fifo
63 fifo->head = fifo->tail = stub;
72 *stub = fifo->head;
73 fifo->head = fifo->tail = NULL;
142 struct ck_hp_fifo_entry *head, *tail, *next; local
145 head = ck_pr_load_ptr(&fifo->head);
148 ck_hp_set_fence(record, 0, head);
149 if (head != ck_pr_load_ptr(&fifo->head))
176 struct ck_hp_fifo_entry *head, *tail, *next; local
[all...]
H A Dck_queue.h71 * added to the list after an existing element or at the head of the list.
72 * Elements being removed from the head of the list should use the explicit
79 * head of the list and the other to the tail of the list. The elements are
82 * to the list after an existing element, at the head of the list, or at the
83 * end of the list. Elements being removed from the head of the tail queue
93 * or after an existing element or at the head of the list. A list
131 #define CK_SLIST_HEAD_INITIALIZER(head) \
142 #define CK_SLIST_EMPTY(head) \
143 (ck_pr_load_ptr(&(head)->cslh_first) == NULL)
145 #define CK_SLIST_FIRST(head) \
[all...]
/freebsd-11-stable/contrib/netbsd-tests/usr.bin/nbperf/
H A Dh_nbperf.sh30 head -n $4 $1 | nbperf -m hash.map -o hash.c -a $2 2> /dev/null
32 head -n $4 $1 | ./testprog | $3
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_descdma.h35 struct ath_descdma *dd, ath_bufhead *head, const char *name,
38 ath_bufhead *head, const char *name, int ds_size, int nbuf,
41 struct ath_descdma *dd, ath_bufhead *head, const char *name,
44 struct ath_descdma *dd, ath_bufhead *head);
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_keyacc.h14 extern KeyAccT* keyacc_new_push(KeyAccT *head, const sockaddr_u *addr,
16 extern KeyAccT* keyacc_pop_free(KeyAccT *head);
17 extern KeyAccT* keyacc_all_free(KeyAccT *head);
18 extern int keyacc_contains(const KeyAccT *head, const sockaddr_u *addr,
/freebsd-11-stable/crypto/heimdal/base/
H A Dheimqueue.h47 #define HEIM_TAILQ_HEAD_INITIALIZER(head) \
48 { NULL, &(head).tqh_first }
59 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_HEAD(head, elm, field) \
60 if ((head)->tqh_first && \
61 (head)->tqh_first->field.tqe_prev != &(head)->tqh_first) \
62 panic("HEIM_TAILQ_INSERT_HEAD %p %s:%d", (head), __FILE__, __LINE__);
63 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_TAIL(head, elm, field) \
64 if (*(head)->tqh_last != NULL) \
65 panic("HEIM_TAILQ_INSERT_TAIL %p %s:%d", (head), __FILE_
[all...]
/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dasn1_queue.h47 #define ASN1_TAILQ_HEAD_INITIALIZER(head) \
48 { NULL, &(head).tqh_first }
59 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_HEAD(head, elm, field) \
60 if ((head)->tqh_first && \
61 (head)->tqh_first->field.tqe_prev != &(head)->tqh_first) \
62 panic("ASN1_TAILQ_INSERT_HEAD %p %s:%d", (head), __FILE__, __LINE__);
63 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_TAIL(head, elm, field) \
64 if (*(head)->tqh_last != NULL) \
65 panic("ASN1_TAILQ_INSERT_TAIL %p %s:%d", (head), __FILE_
[all...]
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Dindexer.h109 static inline void dlist_init(dlist_entry *head) argument
111 head->next = head;
112 head->prev = head;
115 static inline int dlist_empty(dlist_entry *head) argument
117 return head->next == head;
120 static inline void dlist_insert_after(dlist_entry *item, dlist_entry *head) argument
122 item->next = head
128 dlist_insert_before(dlist_entry *item, dlist_entry *head) argument
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dsys-queue.h131 * added to the list after an existing element or at the head of the list.
132 * Elements being removed from the head of the list should use the explicit
142 * or after an existing element or at the head of the list. A list
145 * A simple queue is headed by a pair of pointers, one the head of the
148 * head of the list. New elements can be added to the list before or after
149 * an existing element, at the head of the list, or at the end of the
152 * A tail queue is headed by a pair of pointers, one to the head of the
156 * after an existing element, at the head of the list, or at the end of
159 * A circle queue is headed by a pair of pointers, one to the head of the
163 * an existing element, at the head o
[all...]
/freebsd-11-stable/contrib/amd/amd/
H A Dsun_map.h46 qelem head; /* link-list header */ member in struct:sun_host
53 qelem head; /* link-list header */ member in struct:sun_location
60 qelem head; /* link-list header */ member in struct:sun_opt
66 qelem head; /* link-list header */ member in struct:sun_mountpt
75 qelem head; /* link-list header */ member in struct:sun_entry
89 qelem head; /* link-list header */ member in struct:sun_map
105 qelem head; /* link-list header */ member in struct:sun_mmap
/freebsd-11-stable/sys/sys/
H A Dqueue.h45 * added to the list after an existing element or at the head of the list.
46 * Elements being removed from the head of the list should use the explicit
53 * head of the list and the other to the tail of the list. The elements are
56 * to the list after an existing element, at the head of the list, or at the
57 * end of the list. Elements being removed from the head of the tail queue
67 * or after an existing element or at the head of the list. A list
70 * A tail queue is headed by a pair of pointers, one to the head of the
74 * after an existing element, at the head of the list, or at the end of
117 /* Store the last 2 places the queue element or head was altered */
130 #define QMD_TRACE_HEAD(head) d
[all...]
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_linux_list.h45 INIT_LIST_HEAD(struct list_head *head) { argument
46 (head)->next = head;
47 (head)->prev = head;
56 list_empty(const struct list_head *head) { argument
57 return (head)->next == head;
61 list_add(struct list_head *new, struct list_head *head) { argument
62 (head)
69 list_add_tail(struct list_head *entry, struct list_head *head) argument
91 list_move(struct list_head *list, struct list_head *head) argument
97 list_move_tail(struct list_head *list, struct list_head *head) argument
170 list_splice(const struct list_head *list, struct list_head *head) argument
[all...]

Completed in 316 milliseconds

1234567891011>>