Searched refs:headp (Results 1 - 15 of 15) sorted by relevance

/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dentries.c68 _nc_delink_entry(ENTRY * headp, TERMTYPE2 *tterm) argument
73 for (last = 0, ep = headp; ep != 0; last = ep, ep = ep->next) {
94 _nc_free_entry(ENTRY * headp, TERMTYPE2 *tterm) argument
99 if ((ep = _nc_delink_entry(headp, tterm)) != 0) {
105 _nc_free_entries(ENTRY * headp) argument
108 (void) headp; /* unused - _nc_head is altered here! */
/freebsd-current/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmpmap.c78 enum_pairs_free(struct enum_pairs *headp) argument
82 if (headp == NULL)
85 while ((e = STAILQ_FIRST(headp)) != NULL) {
86 STAILQ_REMOVE_HEAD(headp, link);
93 free(headp);
109 snmp_mapping_listfree(struct snmp_mapping *headp) argument
113 while ((p = SLIST_FIRST(headp)) != NULL) {
114 SLIST_REMOVE_HEAD(headp, link);
124 SLIST_INIT(headp);
128 snmp_index_listfree(struct snmp_idxlist *headp) argument
143 snmp_mapping_table_listfree(struct snmp_table_index *headp) argument
159 snmp_enumtc_listfree(struct snmp_enum_tc *headp) argument
197 snmp_dump_enumpairs(struct enum_pairs *headp) argument
229 snmp_dump_indexlist(struct snmp_idxlist *headp) argument
264 enum_pair_insert(struct enum_pairs *headp, int32_t enum_val, char *enum_str) argument
292 snmp_mapping_insert(struct snmp_mapping *headp, struct snmp_oid2str *entry) argument
463 snmp_index_insert(struct snmp_idxlist *headp, struct index *idx) argument
473 snmp_syntax_insert(struct snmp_idxlist *headp, struct enum_pairs *enums, enum snmp_syntax syntax, enum snmp_tc tc) argument
601 snmp_mapping_dumplist(struct snmp_mapping *headp) argument
620 snmp_mapping_dumptable(struct snmp_table_index *headp) argument
688 enum_string_lookup(struct enum_pairs *headp, int32_t enum_val) argument
704 enum_number_lookup(struct enum_pairs *headp, char *e_str) argument
719 snmp_lookuplist_string(struct snmp_mapping *headp, struct snmp_object *s) argument
738 snmp_lookup_leaf(struct snmp_mapping *headp, struct snmp_object *s) argument
893 snmp_lookup_tablelist(struct snmp_toolinfo *snmptoolctx, struct snmp_table_index *headp, struct snmp_object *s, char *oid) argument
[all...]
/freebsd-current/sys/dev/wtap/
H A Dif_medium.h52 struct stailhead *headp;
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_addrs.c60 bridge_tpe_free(struct tp_entries *headp) argument
64 while ((t = TAILQ_FIRST(headp)) != NULL) {
65 TAILQ_REMOVE(headp, t, tp_e);
75 bridge_tpe_bif_free(struct tp_entries *headp, argument
82 TAILQ_REMOVE(headp, bif->f_tpa, tp_e);
115 bridge_addrs_insert_at(struct tp_entries *headp, argument
134 TAILQ_INSERT_TAIL(headp, ta, tp_e);
144 bridge_addrs_find_pos(struct tp_entries *headp, uint32_t b_idx) argument
149 if ((t1 = TAILQ_FIRST(headp)) == NULL ||
166 t1 = TAILQ_LAST(headp, tp_entrie
175 bridge_addrs_bif_insert(struct tp_entries *headp, struct tp_entry *te, struct tp_entry **f_tpa) argument
[all...]
H A Dbridge_port.c60 bridge_ports_free(struct bridge_ports *headp) argument
64 while ((bp = TAILQ_FIRST(headp)) != NULL) {
65 TAILQ_REMOVE(headp, bp, b_p);
75 bridge_port_memif_free(struct bridge_ports *headp, argument
82 TAILQ_REMOVE(headp, bif->f_bp, b_p);
94 bridge_port_insert_at(struct bridge_ports *headp, argument
117 TAILQ_INSERT_TAIL(headp, bp, b_p);
129 bridge_port_find_pos(struct bridge_ports *headp, uint32_t b_idx) argument
134 if ((t1 = TAILQ_FIRST(headp)) == NULL ||
150 t1 = TAILQ_LAST(headp, bridge_port
159 bridge_port_memif_insert(struct bridge_ports *headp, struct bridge_port *bp, struct bridge_port **f_bp) argument
[all...]
H A Dbridge_if.c70 bridge_ifs_free(struct bridge_ifs *headp) argument
74 while ((b = TAILQ_FIRST(headp)) != NULL) {
75 TAILQ_REMOVE(headp, b, b_if);
85 bridge_ifs_insert(struct bridge_ifs *headp, argument
90 if ((temp = TAILQ_FIRST(headp)) == NULL ||
92 TAILQ_INSERT_HEAD(headp, b, b_if);
96 TAILQ_FOREACH(temp, headp, b_if)
100 TAILQ_INSERT_TAIL(headp, b, b_if);
/freebsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c373 *valid_entry, *default_entry, *temp, *head, **headp, *next; local
377 headp = NULL;
471 headp = &x86_head;
474 headp = &ppc_head;
477 headp = &mac_head;
480 headp = &efi_head;
488 if (*headp == NULL) {
497 *headp = head;
499 head = *headp;
/freebsd-current/usr.bin/gprof/
H A Darcs.c881 nltype *headp; local
886 headp = childp -> cyclehead;
887 if ( childp == headp ) {
918 headp -> printflag = FALSE;
919 headp -> propfraction = 0.0;
920 for ( memp = headp -> cnext ; memp ; memp = memp -> cnext ) {
922 if ( arcp -> arc_parentp -> cyclehead == headp ) {
926 headp -> printflag |= parentp -> printflag;
935 if ( headp -> npropcall ) {
936 headp
[all...]
/freebsd-current/crypto/heimdal/lib/roken/
H A Dresolve.c629 struct rk_resource_record **srvs, **ss, **headp; local
648 for(ss = srvs, headp = &r->head; *headp; )
649 if((*headp)->type == rk_ns_t_srv) {
650 *ss = *headp;
651 *headp = (*headp)->next;
655 headp = &(*headp)->next;
660 headp
[all...]
/freebsd-current/sys/libkern/
H A Diconv_xlat16.c64 uint32_t *headp, **idxp; local
68 headp = (uint32_t *)((caddr_t)csp->cp_data + sizeof(dp->d_table));
72 dp->d_table[i] = headp;
73 headp += 0x80;
/freebsd-current/contrib/nvi/common/
H A Dcut.c312 text_lfree(TEXTH *headp) argument
316 while ((tp = TAILQ_FIRST(headp)) != NULL) {
317 TAILQ_REMOVE(headp, tp, q);
/freebsd-current/contrib/elftoolchain/nm/
H A Dnm.c81 struct sym_head *headp; member in struct:sym_print_data
176 #define CHECK_SYM_PRINT_DATA(p) (p->headp == NULL || p->sh_num == 0 || \
654 get_sym(Elf *elf, struct sym_head *headp, int shnum, size_t dynndx, argument
671 assert(headp != NULL);
710 if (sym_list_insert(headp, sym_name,
1441 p_data.headp = &list_head;
1856 sym_list_dest(struct sym_head *headp) argument
1860 if (headp == NULL)
1863 ep = STAILQ_FIRST(headp);
1874 sym_list_insert(struct sym_head *headp, cons argument
[all...]
/freebsd-current/sys/dev/ixl/
H A Dixl_pf_main.c528 ixl_new_filter(struct ixl_ftl_head *headp, const u8 *macaddr, s16 vlan) argument
536 LIST_INSERT_HEAD(headp, f, ftle);
546 * headp - pointer to list head
552 ixl_free_filters(struct ixl_ftl_head *headp) argument
556 f = LIST_FIRST(headp);
563 LIST_INIT(headp);
1482 ixl_find_filter(struct ixl_ftl_head *headp, const u8 *macaddr, s16 vlan) argument
1486 LIST_FOREACH(f, headp, ftle) {
/freebsd-current/sys/netpfil/ipfilter/netinet/
H A Dradix_ipf.c782 /* headp(O) - location for where to store allocated tree head */
792 ipf_rx_inithead(radix_softc_t *softr, ipf_rdx_head_t **headp) argument
798 *headp = ptr;
/freebsd-current/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h875 #define __sanitizer_syscall_pre___futex_get_robust_list(lwpid, headp, lenp) \
877 (long long)(lwpid), (long long)(headp), (long long)(lenp))
878 #define __sanitizer_syscall_post___futex_get_robust_list(res, lwpid, headp, \
881 res, (long long)(lwpid), (long long)(headp), (long long)(lenp))
3504 long long headp,
3508 long long headp,

Completed in 479 milliseconds