Home
last modified time | relevance | path

Searched refs:head (Results 51 – 75 of 1045) sorted by relevance

12345678910>>...42

/openbsd/sys/dev/pci/drm/
H A Ddrm_hashtab.c72 hlist_for_each_entry(entry, h_list, head) in drm_ht_verbose_list()
86 hlist_for_each_entry(entry, h_list, head) { in drm_ht_find_key()
88 return &entry->head; in drm_ht_find_key()
108 hlist_for_each_entry_rcu(entry, h_list, head) { in drm_ht_find_key_rcu()
110 return &entry->head; in drm_ht_find_key_rcu()
132 hlist_for_each_entry(entry, h_list, head) { in drm_ht_insert_item()
137 parent = &entry->head; in drm_ht_insert_item()
140 hlist_add_behind_rcu(&item->head, parent); in drm_ht_insert_item()
142 hlist_add_head_rcu(&item->head, h_list); in drm_ht_insert_item()
185 *item = hlist_entry(list, struct drm_hash_item, head); in drm_ht_find_item()
[all …]
/openbsd/usr.sbin/unbound/dnscrypt/
H A Ddnscrypt.c579 struct config_strlist *head, *head2; in dnsc_parse_certs() local
586 for (head = cfg->dnscrypt_provider_cert; head; head = head->next) { in dnsc_parse_certs()
589 for (head = cfg->dnscrypt_provider_cert_rotated; head; head = head->next) { in dnsc_parse_certs()
599 for(head = cfg->dnscrypt_provider_cert; head; head = head->next, signed_cert_id++) { in dnsc_parse_certs()
600 nm = dnsc_chroot_path(cfg, head->str); in dnsc_parse_certs()
793 struct config_strlist *head; in dnsc_parse_keys() local
799 for (head = cfg->dnscrypt_secret_key; head; head = head->next) { in dnsc_parse_keys()
810 for(head = cfg->dnscrypt_secret_key; head; head = head->next, keypair_id++) { in dnsc_parse_keys()
814 nm = dnsc_chroot_path(cfg, head->str); in dnsc_parse_keys()
846 head->str, fingerprint); in dnsc_parse_keys()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dhaifa-sched.c1293 head = NEXT_INSN (head);
1297 head = NEXT_INSN (head);
1302 *headp = head;
1314 if (GET_CODE (head) != NOTE && GET_CODE (head) != CODE_LABEL)
1316 head = NEXT_INSN (head);
1394 head = head;
1501 rtx head; in rm_other_notes()
1508 if (head == tail && (! INSN_P (head)))
1981 if (head == tail && (! INSN_P (head)))
2314 current_sched_info->head = head;
[all …]
H A Dcfgrtl.c270 after = head;
274 head = bb_note;
292 if (head == end)
298 head = bb_note;
300 end = head;
310 bb->head = head;
332 rtx head, end; in create_basic_block()
381 insn = b->head;
404 b->head = NULL;
1820 rtx head = bb->head; in verify_flow_info() local
[all …]
H A Dgenrecog.c1493 factor_tests (head) in factor_tests() argument
1532 head->last = first;
1561 head->last = old_last;
1579 simplify_tests (head) in simplify_tests() argument
1648 p = head->first;
1675 p = head->first;
2240 write_afterward (head->last, head->last->afterward, " ");
2311 int subfunction = head->first ? head->first->subroutine_number : 0;
2362 if (head->first)
2506 memset(&head, 0, sizeof(head));
[all …]
/openbsd/gnu/usr.bin/binutils/binutils/
H A Darsup.c44 bfd *head; in map_over_list() local
50 head = arch->next; in map_over_list()
51 while (head != NULL) in map_over_list()
53 next = head->next; in map_over_list()
54 function (head, (bfd *) NULL); in map_over_list()
55 head = next; in map_over_list()
72 for (head = arch->next; head; head = head->next) in map_over_list()
74 if (head->filename != NULL in map_over_list()
75 && FILENAME_CMP (ptr->name, head->filename) == 0) in map_over_list()
78 function (head, prev); in map_over_list()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Darsup.c48 bfd *head; in map_over_list() local
54 head = arch->next; in map_over_list()
55 while (head != NULL) in map_over_list()
57 next = head->next; in map_over_list()
58 function (head, (bfd *) NULL); in map_over_list()
59 head = next; in map_over_list()
76 for (head = arch->next; head; head = head->next) in map_over_list()
78 if (head->filename != NULL in map_over_list()
79 && FILENAME_CMP (ptr->name, head->filename) == 0) in map_over_list()
82 function (head, prev); in map_over_list()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp1989.C43 link<T> *head; variable
62 head(0) in List_DL()
68 head(0) in List_DL()
87 tail = head; in append()
101 tail = head; in prepend()
103 head = new link<T>(item, 0, head); in prepend()
145 delete head; in remove() local
146 head = 0; in remove()
150 if (l == head) { in remove()
152 head = head->next; in remove()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Unicode-Collate/
H A Dmkheader101 my $head = $prefix."rest";
103 $init .= "static const $type $head [] = {\n";
127 my $head = "${prefix}$tbl->{name}";
159 printf "static const $type ${head}_%02x_%02x [256] = {\n", $p, $r;
172 printf "static const $type* const ${head}_%02x [256] = {\n", $p;
175 ? sprintf("${head}_%02x_%02x", $p, $r)
182 print "static const $type* const * const $head [] = {\n";
184 print $val{ $p } ? sprintf("${head}_%02x", $p) : "NULL";
/openbsd/sys/dev/pci/drm/i915/gt/uc/
H A Dintel_guc_ct.c600 u32 head; in h2g_has_room() local
606 head = READ_ONCE(desc->head); in h2g_has_room()
863 u32 head = ctb->head; in ct_read() local
895 if (unlikely(head != READ_ONCE(desc->head))) { in ct_read()
897 desc->head, head); in ct_read()
923 head = (head + 1) % size; in ct_read()
931 size - head : available - 1), &cmds[head], in ct_read()
943 size - head : available - 1), &cmds[head], in ct_read()
953 head = (head + 1) % size; in ct_read()
958 ctb->head = head; in ct_read()
[all …]
/openbsd/lib/libcurses/tinfo/
H A Daccess.c142 char head[PATH_MAX]; in _nc_access() local
145 _nc_STRCPY(head, path, sizeof(head)); in _nc_access()
146 leaf = _nc_basename(head); in _nc_access()
148 leaf = head; in _nc_access()
150 if (head == leaf) in _nc_access()
151 _nc_STRCPY(head, ".", sizeof(head)); in _nc_access()
153 result = ACCESS(head, R_OK | W_OK | X_OK); in _nc_access()
/openbsd/usr.bin/cdio/
H A Drip.c69 void parse_tracks_init(struct track_pair_head *head);
202 TAILQ_FOREACH(entry, head, list) { in _add_pair()
231 TAILQ_INSERT_TAIL(head, tp, list); in _add_pair()
237 parse_tracks_init(struct track_pair_head *head) in parse_tracks_init() argument
240 memset(head, 0, sizeof(*head)); in parse_tracks_init()
241 TAILQ_INIT(head); in parse_tracks_init()
245 parse_tracks_final(struct track_pair_head *head) in parse_tracks_final() argument
249 while ((tp = TAILQ_FIRST(head)) != NULL) { in parse_tracks_final()
250 TAILQ_REMOVE(head, tp, list); in parse_tracks_final()
284 error = _add_pair(head, val1, val2, issorted); in parse_tracks()
[all …]
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_ras.h392 struct list_head head; member
479 struct ras_common_if head; member
507 struct ras_common_if head; member
513 struct ras_common_if head; member
519 struct ras_common_if head; member
526 struct ras_common_if head; member
531 struct ras_common_if head; member
536 struct ras_common_if head; member
542 struct ras_common_if head; member
684 struct ras_common_if *head);
[all …]
/openbsd/usr.sbin/ospfd/
H A Dauth.c213 md_list_add(struct auth_md_head *head, u_int8_t keyid, char *key) in md_list_add() argument
217 if ((md = md_list_find(head, keyid)) != NULL) { in md_list_add()
228 TAILQ_INSERT_TAIL(head, md, entry); in md_list_add()
249 md_list_clr(struct auth_md_head *head) in md_list_clr() argument
253 while ((m = TAILQ_FIRST(head)) != NULL) { in md_list_clr()
254 TAILQ_REMOVE(head, m, entry); in md_list_clr()
260 md_list_find(struct auth_md_head *head, u_int8_t keyid) in md_list_find() argument
264 TAILQ_FOREACH(m, head, entry) in md_list_find()
272 md_list_send(struct auth_md_head *head, struct imsgev *to) in md_list_send() argument
276 TAILQ_FOREACH(m, head, entry) in md_list_send()
/openbsd/gnu/gcc/gcc/
H A Dhaifa-sched.c1369 if (!NOTE_P (head) && !LABEL_P (head)) in no_real_insns_p()
1371 head = NEXT_INSN (head); in no_real_insns_p()
1440 head = head; in restore_line_notes()
1562 if (head == tail && (! INSN_P (head))) in rm_other_notes()
2282 gcc_assert (head != tail || INSN_P (head)); in schedule_block()
2697 current_sched_info->head = head; in schedule_block()
2719 if (head == tail && (! INSN_P (head))) in set_priorities()
2939 for (tail = NEXT_INSN (tail); head != tail; head = NEXT_INSN (head)) in fix_inter_tick()
4645 head = NEXT_INSN (head); in check_cfg()
4655 head = NEXT_INSN (head); in check_cfg()
[all …]
/openbsd/usr.bin/ctags/
H A Dtree.c60 put_entries(head); in pfnote()
61 free_tree(head); in pfnote()
62 if (!(head = np = malloc(sizeof(NODE)))) in pfnote()
85 if (!head) in pfnote()
86 head = np; in pfnote()
88 add_node(np, head); in pfnote()
/openbsd/sys/dev/pci/drm/i915/gt/
H A Dintel_ring.h93 unsigned int head = READ_ONCE(ring->head); in assert_ring_tail_valid() local
112 GEM_BUG_ON(cacheline(tail) == cacheline(head) && tail < head); in assert_ring_tail_valid()
131 __intel_ring_space(unsigned int head, unsigned int tail, unsigned int size) in __intel_ring_space() argument
139 return (head - tail - CACHELINE_BYTES) & (size - 1); in __intel_ring_space()
/openbsd/sys/kern/
H A Dkern_subr.c265 hook_establish(struct hook_desc_head *head, int tail, void (*fn)(void *), in hook_establish() argument
277 TAILQ_INSERT_TAIL(head, hdp, hd_list); in hook_establish()
279 TAILQ_INSERT_HEAD(head, hdp, hd_list); in hook_establish()
285 hook_disestablish(struct hook_desc_head *head, void *vhook) in hook_disestablish() argument
290 for (hdp = TAILQ_FIRST(head); hdp != NULL; in hook_disestablish()
298 TAILQ_REMOVE(head, hdp, hd_list); in hook_disestablish()
309 dohooks(struct hook_desc_head *head, int flags) in dohooks() argument
314 TAILQ_FOREACH_SAFE(hdp, head, hd_list, hdp_temp) { in dohooks()
318 while ((hdp = TAILQ_FIRST(head)) != NULL) { in dohooks()
319 TAILQ_REMOVE(head, hdp, hd_list); in dohooks()
/openbsd/lib/libcurses/base/
H A Dlib_getch.c222 int ch = (head >= 0) ? sp->_fifo[head] : ERR; in fifo_pull()
226 if (peek == head) { in fifo_pull()
228 peek = head; in fifo_pull()
357 if (head == -1) in fifo_push()
358 head = peek = tail; in fifo_push()
374 head = -1; in fifo_clear()
482 if (head == -1 && in _nc_wgetch()
599 if (head == -1) in _nc_wgetch()
753 peek = head; in kgetch()
775 head = peek; in kgetch()
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/osf-share/
H A Dcma_list.h46 #define cma__list_empty(head) ((head)->link == cma__c_null_list) argument
51 #define cma__list_init(head) (void)((head)->link = cma__c_null_list) argument
/openbsd/lib/libc/asr/
H A Dgetrrsetbyname_async.c447 free_dns_query(head); in parse_dns_qsection()
454 if (head == NULL) in parse_dns_qsection()
455 head = curr; in parse_dns_qsection()
486 return (head); in parse_dns_qsection()
506 free_dns_rr(head); in parse_dns_rrsection()
514 if (head == NULL) in parse_dns_rrsection()
515 head = curr; in parse_dns_rrsection()
523 free_dns_rr(head); in parse_dns_rrsection()
528 free_dns_rr(head); in parse_dns_rrsection()
558 free_dns_rr(head); in parse_dns_rrsection()
[all …]
/openbsd/usr.bin/mail/
H A Dsend.c284 struct header head; in mail() local
286 head.h_to = to; in mail()
289 head.h_cc = cc; in mail()
290 head.h_bcc = bcc; in mail()
292 mail1(&head, 0); in mail()
304 struct header head; in sendmail() local
307 head.h_from = NULL; in sendmail()
309 head.h_cc = NULL; in sendmail()
310 head.h_bcc = NULL; in sendmail()
311 head.h_smopts = NULL; in sendmail()
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/gdbserver/
H A Dlinux-low.c76 #define pid_of(proc) ((proc)->head.id)
122 process->head.id = pid; in add_process()
231 if (entry == all_threads.head) in linux_kill_one_process()
364 linux_resume_one_process (&process->head, 0, 0); in status_pending_p()
495 event_child->tid, event_child->head.id); in linux_wait_for_event()
498 if (all_threads.head == all_threads.tail) in linux_wait_for_event()
538 event_child->head.id); in linux_wait_for_event()
703 if (all_threads.head == all_threads.tail) in linux_wait()
710 free (all_processes.head); in linux_wait()
719 free (all_processes.head); in linux_wait()
[all …]
/openbsd/sys/lib/libz/
H A Dinflate.c120 state->head = Z_NULL; in inflateResetKeep()
638 if (state->head != Z_NULL) in inflate()
639 state->head->done = -1; in inflate()
704 if (state->head != Z_NULL) in inflate()
713 if (state->head != Z_NULL) in inflate()
714 state->head->time = hold; in inflate()
722 if (state->head != Z_NULL) { in inflate()
826 if (state->head != Z_NULL) { in inflate()
828 state->head->done = 1; in inflate()
1425 state->head = head; in inflateGetHeader()
[all …]
/openbsd/lib/libz/
H A Dinflate.c120 state->head = Z_NULL; in inflateResetKeep()
638 if (state->head != Z_NULL) in inflate()
639 state->head->done = -1; in inflate()
704 if (state->head != Z_NULL) in inflate()
713 if (state->head != Z_NULL) in inflate()
714 state->head->time = hold; in inflate()
722 if (state->head != Z_NULL) { in inflate()
826 if (state->head != Z_NULL) { in inflate()
828 state->head->done = 1; in inflate()
1425 state->head = head; in inflateGetHeader()
[all …]

12345678910>>...42