/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_hashtab.c | 69 LIST_FOREACH(entry, h_list, head) 82 LIST_FOREACH(entry, h_list, head) { 102 LIST_FOREACH(entry, h_list, head) { 110 LIST_INSERT_AFTER(parent, item, head); 112 LIST_INSERT_HEAD(h_list, item, head); 167 LIST_REMOVE(entry, head); 175 LIST_REMOVE(item, head);
|
/freebsd-11-stable/stand/i386/libi386/ |
H A D | biossmap.c | 60 STAILQ_HEAD(smap_head, smap_buf) head = 61 STAILQ_HEAD_INITIALIZER(head); 65 STAILQ_INIT(&head); 90 STAILQ_INSERT_TAIL(&head, next, bufs); 99 STAILQ_FOREACH(cur, &head, bufs) 106 STAILQ_FOREACH(cur, &head, bufs) 112 cur = STAILQ_FIRST(&head);
|
/freebsd-11-stable/usr.bin/mail/ |
H A D | cmd3.c | 204 struct header head; local 237 head.h_to = np; 238 if ((head.h_subject = hfield("subject", mp)) == NULL) 239 head.h_subject = hfield("subj", mp); 240 head.h_subject = reedit(head.h_subject); 247 head.h_cc = np; 249 head.h_cc = NULL; 250 head.h_bcc = NULL; 251 head 582 struct header head; local [all...] |
H A D | send.c | 250 struct header head; local 252 head.h_to = to; 253 head.h_subject = subject; 254 head.h_cc = cc; 255 head.h_bcc = bcc; 256 head.h_smopts = smopts; 257 head.h_replyto = replyto; 258 head.h_inreplyto = NULL; 259 mail1(&head, 0); 271 struct header head; local [all...] |
/freebsd-11-stable/contrib/ntp/sntp/ |
H A D | networking.c | 74 u_int32 *head, /* head of extension chain */ 80 while ((tail - head) > 6) { 81 nlen = ntohl(*head) & 0xffff; 82 ++head; 84 if (nlen > (u_int)(tail - head) || nlen < 4) 86 head += nlen; 88 return head; 73 skip_efields( u_int32 *head, u_int32 *tail ) argument
|
/freebsd-11-stable/sys/dev/drm/ |
H A D | mga_dma.c | 111 u32 head, tail; local 146 head = MGA_READ(MGA_PRIMADDRESS); 148 if (head <= tail) { 151 primary->space = head - tail; 154 DRM_DEBUG(" head = 0x%06lx\n", head - dev_priv->primary->offset); 167 u32 head, tail; local 185 head = MGA_READ(MGA_PRIMADDRESS); 187 if (head == dev_priv->primary->offset) { 190 primary->space = head 209 u32 head = dev_priv->primary->offset; local 338 u32 head, wrap; local 369 drm_mga_freelist_t *head, *entry, *prev; local [all...] |
H A D | drm_agpsupport.c | 366 drm_agp_head_t *head = NULL; local 376 head = malloc(sizeof(*head), DRM_MEM_AGPLISTS, 378 if (head == NULL) 380 head->agpdev = agpdev; 381 agp_get_info(agpdev, &head->info); 382 head->base = head->info.ai_aperture_base; 383 head->memory = NULL; 385 (long)head [all...] |
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | arsup.c | 49 bfd *head; local 55 head = arch->archive_next; 56 while (head != NULL) 58 next = head->archive_next; 59 function (head, (bfd *) NULL); 60 head = next; 77 for (head = arch->archive_next; head; head = head [all...] |
/freebsd-11-stable/crypto/openssl/crypto/bn/ |
H A D | bn_ctx.c | 101 BN_POOL_ITEM *head, *current, *tail; member in struct:bignum_pool 156 BN_POOL_ITEM *item = ctx->pool.head; 236 BN_POOL_ITEM *pool = ctx->pool.head; 365 p->head = p->current = p->tail = NULL; 371 while (p->head) { 373 BIGNUM *bn = p->head->vals; 379 p->current = p->head->next; 380 OPENSSL_free(p->head); 381 p->head = p->current; 388 BN_POOL_ITEM *item = p->head; [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_getch.c | 176 int ch = (head >= 0) ? sp->_fifo[head] : ERR; 178 TR(TRACE_IEVENT, ("pulling %s from %d", _nc_tracechar(sp, ch), head)); 180 if (peek == head) { 182 peek = head; 315 if (head == -1) 316 head = peek = tail; 332 head = -1; 430 if (head == -1 && 467 if (head [all...] |
/freebsd-11-stable/lib/libc/db/mpool/ |
H A D | mpool.c | 115 struct _hqh *head; local 127 * it to the head of the hash chain, the tail of the lru chain, 140 head = &mp->hqh[HASHKEY(bp->pgno)]; 141 TAILQ_INSERT_HEAD(head, bp, hq); 149 struct _hqh *head; local 163 head = &mp->hqh[HASHKEY(bp->pgno)]; 164 TAILQ_REMOVE(head, bp, hq); 181 struct _hqh *head; local 200 * Move the page to the head of the hash chain and the tail 203 head 341 struct _hqh *head; local 430 struct _hqh *head; local [all...] |
/freebsd-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_tag.c | 69 elem = taglist->elem_array[taglist->head]; 71 taglist->head = (taglist->head + 1) % taglist->max_elem; 93 taglist->head = 0; 163 stack->head.data = 0; 164 DBG_INFO("Stack head address :%p\n",&stack->head); 228 cur_head = stack->head; 235 }while(OS_ATOMIC64_CAS(&stack->head.data,cur_head.data,new_head.data) 250 cur_head = stack->head; [all...] |
/freebsd-11-stable/crypto/openssl/crypto/evp/ |
H A D | e_rc4_hmac_md5.c | 74 MD5_CTX head, tail, md; member in struct:__anon4602 93 MD5_Init(&key->head); /* handy when benchmarking */ 94 key->tail = key->head; 95 key->md = key->head; 240 MD5_Init(&key->head); 241 MD5_Update(&key->head, ptr, arg); 242 MD5_Final(hmac_key, &key->head); 249 MD5_Init(&key->head); 250 MD5_Update(&key->head, hmac_key, sizeof(hmac_key)); 279 key->md = key->head; [all...] |
/freebsd-11-stable/sys/contrib/ena-com/ |
H A D | ena_eth_com.h | 42 /* head update threshold in units of (queue size / ENA_COMP_HEAD_THRESH) */ 204 u16 unreported_comp, head; local 208 head = io_cq->head; 209 unreported_comp = head - io_cq->last_head_update; 214 "Write completion queue doorbell for queue %d: head: %d\n", 215 io_cq->qid, head); local 216 ENA_REG_WRITE32(io_cq->bus, head, io_cq->cq_head_db_reg); 217 io_cq->last_head_update = head; 245 io_cq->head [all...] |
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | getrrsetbyname.c | 450 struct dns_query *head, *curr, *prev; local 454 for (i = 1, head = NULL, prev = NULL; i <= count; i++, prev = curr) { 459 free_dns_query(head); 462 if (head == NULL) 463 head = curr; 471 free_dns_query(head); 476 free_dns_query(head); 490 return (head); 497 struct dns_rr *head, *curr, *prev; local 501 for (i = 1, head [all...] |
/freebsd-11-stable/sys/dev/xen/grant_table/ |
H A D | grant_table.c | 75 grant_ref_t head; local 83 ref = head = gnttab_free_head; 86 head = gnttab_entry(head); 87 gnttab_free_head = gnttab_entry(head); 88 gnttab_entry(head) = GNTTAB_LIST_END; 220 grant_ref_t head; local 223 head = GNTTAB_LIST_END; 229 gnttab_entry(*refs) = head; 230 head 325 gnttab_free_grant_references(grant_ref_t head) argument 347 gnttab_alloc_grant_references(uint16_t count, grant_ref_t *head) argument [all...] |
/freebsd-11-stable/sys/net/ |
H A D | radix.c | 148 rn_search(void *v_arg, struct radix_node *head) argument 153 for (x = head, v = v_arg; x->rn_bit >= 0;) { 167 rn_search_m(void *v_arg, struct radix_node *head, void *m_arg) argument 172 for (x = head; x->rn_bit >= 0;) { 209 * Search for exact match in given @head. 215 rn_lookup(void *v_arg, void *m_arg, struct radix_head *head) argument 224 x = rn_addmask(m_arg, head->rnh_masks, 1, 225 head->rnh_treetop->rn_offset); 230 x = rn_match(v_arg, head); 241 if ((x = rn_match(v_arg, head)) 277 rn_match(void *v_arg, struct radix_head *head) argument 426 rn_insert(void *v_arg, struct radix_head *head, int *dupentry, struct radix_node nodes[2]) argument 598 rn_addroute(void *v_arg, void *n_arg, struct radix_head *head, struct radix_node treenodes[2]) argument 772 rn_delete(void *v_arg, void *netmask_arg, struct radix_head *head) argument 1130 rn_detachhead_internal(struct radix_head *head) argument 1143 rn_inithead(void **head, int off) argument 1194 rn_detachhead(void **head) argument [all...] |
H A D | radix_mpath.c | 177 rn1 = rnh->rnh_lookup(rt_key(rt), netmask, &rnh->head); 288 extern int in6_inithead(void **head, int off); 289 extern int in_inithead(void **head, int off); 293 rn4_mpath_inithead(void **head, int off) argument 298 if (in_inithead(head, off) == 1) { 299 rnh = (struct rib_head *)*head; 309 rn6_mpath_inithead(void **head, int off) argument 314 if (in6_inithead(head, off) == 1) { 315 rnh = (struct rib_head *)*head;
|
/freebsd-11-stable/sys/contrib/ck/include/spinlock/ |
H A D | hclh.h | 64 struct ck_spinlock_hclh *head; local 67 head = ck_pr_load_ptr(queue); 68 r = ck_pr_load_uint(&head->wait); 102 /* We're head of the global queue, we're done */
|
/freebsd-11-stable/contrib/ipfilter/rules/ |
H A D | BASIC_1.FW | 24 block in log on ppp0 all head 100 25 block in log proto tcp all flags S/SA head 101 group 100 26 block out log on ppp0 all head 150 27 block in log on ed0 from w.x.y.z/24 to any head 200 28 block in log proto tcp all flags S/SA head 201 group 200 29 block in log proto udp all head 202 group 200 30 block out log on ed0 all head 250 85 block in log proto tcp from any to a.b.c.d/32 flags S/SA head 110 group 100
|
/freebsd-11-stable/contrib/groff/src/devices/grohtml/ |
H A D | output.cpp | 89 : length(0), head(0), tail(0) 103 while (head != 0) { 104 t = head; 105 head = head->next; 109 head = 0; 124 if (head == 0) { 125 head = new word(s, n); 126 tail = head;
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-profiler.h | 73 char *head; member in struct:cpu_event_block
|
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_power.c | 139 if ((m = qhead->head) != NULL) { 140 if ((qhead->head = m->m_nextpkt) == NULL) 189 while ((m = qhead->head) != NULL) { 190 qhead->head = m->m_nextpkt; 220 * so we can check and/or adjust only the head of the list. 241 while ((m = qhead->head) != NULL && 245 if ((qhead->head = m->m_nextpkt) == NULL) 369 qhead->head = m; 377 mh = psq->psq_head[0].head; 381 mh = psq->psq_head[1].head; [all...] |
/freebsd-11-stable/sys/dev/hptrr/ |
H A D | hptrr_os_bsd.c | 134 list->head = 0; 145 HPT_ASSERT(list->head); 146 result = list->head; 147 list->head = *(void **)result; 158 *(void **)p = list->head; 159 list->head = p; 174 list->head = 0; 195 *(void **)p = list->head; 197 list->head = p;
|
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend/ |
H A D | functions-parse.sh | 48 export VAL="`grep ^${1}= ${CFGF} | head -n 1 | cut -d '=' -f 2-`" 60 export VAL=`grep "^${1}=" ${CFGF} | head -n 1 | cut -d '=' -f 2- | tr -d ' '` 74 VAL=`grep "^${1}" ${CFGF} | head -n 1 | cut -d '=' -f 2- | tr -d ' '` 107 VAL=`grep "^${1}" ${CFGF} | head -n 1 | cut -d '=' -f 2- | tr -d ' '` 136 LN=`grep "^${i}=" ${CFGF} | head -n 1 | cut -d '=' -f 2- | tr -d ' '`
|