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

/freebsd-13-stable/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-13-stable/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmpmap.c80 enum_pairs_free(struct enum_pairs *headp) argument
84 if (headp == NULL)
87 while ((e = STAILQ_FIRST(headp)) != NULL) {
88 STAILQ_REMOVE_HEAD(headp, link);
95 free(headp);
111 snmp_mapping_listfree(struct snmp_mapping *headp) argument
115 while ((p = SLIST_FIRST(headp)) != NULL) {
116 SLIST_REMOVE_HEAD(headp, link);
126 SLIST_INIT(headp);
130 snmp_index_listfree(struct snmp_idxlist *headp) argument
145 snmp_mapping_table_listfree(struct snmp_table_index *headp) argument
161 snmp_enumtc_listfree(struct snmp_enum_tc *headp) argument
199 snmp_dump_enumpairs(struct enum_pairs *headp) argument
231 snmp_dump_indexlist(struct snmp_idxlist *headp) argument
266 enum_pair_insert(struct enum_pairs *headp, int32_t enum_val, char *enum_str) argument
294 snmp_mapping_insert(struct snmp_mapping *headp, struct snmp_oid2str *entry) argument
465 snmp_index_insert(struct snmp_idxlist *headp, struct index *idx) argument
475 snmp_syntax_insert(struct snmp_idxlist *headp, struct enum_pairs *enums, enum snmp_syntax syntax, enum snmp_tc tc) argument
603 snmp_mapping_dumplist(struct snmp_mapping *headp) argument
622 snmp_mapping_dumptable(struct snmp_table_index *headp) argument
690 enum_string_lookup(struct enum_pairs *headp, int32_t enum_val) argument
706 enum_number_lookup(struct enum_pairs *headp, char *e_str) argument
721 snmp_lookuplist_string(struct snmp_mapping *headp, struct snmp_object *s) argument
740 snmp_lookup_leaf(struct snmp_mapping *headp, struct snmp_object *s) argument
895 snmp_lookup_tablelist(struct snmp_toolinfo *snmptoolctx, struct snmp_table_index *headp, struct snmp_object *s, char *oid) argument
[all...]
/freebsd-13-stable/sys/dev/wtap/
H A Dif_medium.h54 struct stailhead *headp;
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_addrs.c62 bridge_tpe_free(struct tp_entries *headp) argument
66 while ((t = TAILQ_FIRST(headp)) != NULL) {
67 TAILQ_REMOVE(headp, t, tp_e);
77 bridge_tpe_bif_free(struct tp_entries *headp, argument
84 TAILQ_REMOVE(headp, bif->f_tpa, tp_e);
117 bridge_addrs_insert_at(struct tp_entries *headp, argument
136 TAILQ_INSERT_TAIL(headp, ta, tp_e);
146 bridge_addrs_find_pos(struct tp_entries *headp, uint32_t b_idx) argument
151 if ((t1 = TAILQ_FIRST(headp)) == NULL ||
168 t1 = TAILQ_LAST(headp, tp_entrie
177 bridge_addrs_bif_insert(struct tp_entries *headp, struct tp_entry *te, struct tp_entry **f_tpa) argument
[all...]
H A Dbridge_port.c62 bridge_ports_free(struct bridge_ports *headp) argument
66 while ((bp = TAILQ_FIRST(headp)) != NULL) {
67 TAILQ_REMOVE(headp, bp, b_p);
77 bridge_port_memif_free(struct bridge_ports *headp, argument
84 TAILQ_REMOVE(headp, bif->f_bp, b_p);
96 bridge_port_insert_at(struct bridge_ports *headp, argument
119 TAILQ_INSERT_TAIL(headp, bp, b_p);
131 bridge_port_find_pos(struct bridge_ports *headp, uint32_t b_idx) argument
136 if ((t1 = TAILQ_FIRST(headp)) == NULL ||
152 t1 = TAILQ_LAST(headp, bridge_port
161 bridge_port_memif_insert(struct bridge_ports *headp, struct bridge_port *bp, struct bridge_port **f_bp) argument
[all...]
H A Dbridge_if.c72 bridge_ifs_free(struct bridge_ifs *headp) argument
76 while ((b = TAILQ_FIRST(headp)) != NULL) {
77 TAILQ_REMOVE(headp, b, b_if);
87 bridge_ifs_insert(struct bridge_ifs *headp, argument
92 if ((temp = TAILQ_FIRST(headp)) == NULL ||
94 TAILQ_INSERT_HEAD(headp, b, b_if);
98 TAILQ_FOREACH(temp, headp, b_if)
102 TAILQ_INSERT_TAIL(headp, b, b_if);
/freebsd-13-stable/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c367 *valid_entry, *default_entry, *temp, *head, **headp, *next; local
370 headp = NULL;
457 headp = &x86_head;
460 headp = &ppc_head;
463 headp = &mac_head;
466 headp = &efi_head;
474 if (*headp == NULL) {
483 *headp = head;
485 head = *headp;
/freebsd-13-stable/usr.bin/gprof/
H A Darcs.c889 nltype *headp; local
894 headp = childp -> cyclehead;
895 if ( childp == headp ) {
926 headp -> printflag = FALSE;
927 headp -> propfraction = 0.0;
928 for ( memp = headp -> cnext ; memp ; memp = memp -> cnext ) {
930 if ( arcp -> arc_parentp -> cyclehead == headp ) {
934 headp -> printflag |= parentp -> printflag;
943 if ( headp -> npropcall ) {
944 headp
[all...]
/freebsd-13-stable/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-13-stable/sys/libkern/
H A Diconv_xlat16.c67 uint32_t *headp, **idxp; local
71 headp = (uint32_t *)((caddr_t)csp->cp_data + sizeof(dp->d_table));
75 dp->d_table[i] = headp;
76 headp += 0x80;
/freebsd-13-stable/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-13-stable/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-13-stable/sys/contrib/openzfs/module/icp/core/
H A Dkcf_sched.c1308 kcf_areq_node_t *headp; local
1319 headp = areq->an_idnext = rt->rt_idhash[indx];
1321 if (headp != NULL)
1322 headp->an_idprev = areq;
/freebsd-13-stable/contrib/ipfilter/
H A Dradix_ipf.c803 /* headp(O) - location for where to store allocated tree head */
813 ipf_rx_inithead(softr, headp)
815 ipf_rdx_head_t **headp;
821 *headp = ptr;
/freebsd-13-stable/sys/contrib/ipfilter/netinet/
H A Dradix_ipf.c803 /* headp(O) - location for where to store allocated tree head */
813 ipf_rx_inithead(softr, headp)
815 ipf_rdx_head_t **headp;
821 *headp = ptr;
/freebsd-13-stable/sys/dev/ixl/
H A Dixl_pf_main.c463 ixl_new_filter(struct ixl_ftl_head *headp, const u8 *macaddr, s16 vlan) argument
471 LIST_INSERT_HEAD(headp, f, ftle);
481 * headp - pointer to list head
487 ixl_free_filters(struct ixl_ftl_head *headp) argument
491 f = LIST_FIRST(headp);
498 LIST_INIT(headp);
1332 ixl_find_filter(struct ixl_ftl_head *headp, const u8 *macaddr, s16 vlan) argument
1336 LIST_FOREACH(f, headp, ftle) {

Completed in 169 milliseconds