/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmpmap.c | 78 enum_pairs_free(struct enum_pairs *headp) in enum_pairs_free() argument 82 if (headp == NULL) in enum_pairs_free() 85 while ((e = STAILQ_FIRST(headp)) != NULL) { in enum_pairs_free() 86 STAILQ_REMOVE_HEAD(headp, link); in enum_pairs_free() 93 free(headp); in enum_pairs_free() 109 snmp_mapping_listfree(struct snmp_mapping *headp) in snmp_mapping_listfree() argument 113 while ((p = SLIST_FIRST(headp)) != NULL) { in snmp_mapping_listfree() 114 SLIST_REMOVE_HEAD(headp, link); in snmp_mapping_listfree() 124 SLIST_INIT(headp); in snmp_mapping_listfree() 128 snmp_index_listfree(struct snmp_idxlist *headp) in snmp_index_listfree() argument [all …]
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | entries.c | 68 _nc_delink_entry(ENTRY * headp, const TERMTYPE2 *const tterm) in _nc_delink_entry() argument 73 for (last = 0, ep = headp; ep != 0; last = ep, ep = ep->next) { in _nc_delink_entry() 94 _nc_free_entry(ENTRY * headp, TERMTYPE2 *tterm) in _nc_free_entry() argument 99 if ((ep = _nc_delink_entry(headp, tterm)) != 0) { in _nc_free_entry() 105 _nc_free_entries(ENTRY * headp) in _nc_free_entries() argument 108 (void) headp; /* unused - _nc_head is altered here! */ in _nc_free_entries()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_addrs.c | 60 bridge_tpe_free(struct tp_entries *headp) in bridge_tpe_free() argument 64 while ((t = TAILQ_FIRST(headp)) != NULL) { in bridge_tpe_free() 65 TAILQ_REMOVE(headp, t, tp_e); in bridge_tpe_free() 75 bridge_tpe_bif_free(struct tp_entries *headp, in bridge_tpe_bif_free() argument 82 TAILQ_REMOVE(headp, bif->f_tpa, tp_e); in bridge_tpe_bif_free() 115 bridge_addrs_insert_at(struct tp_entries *headp, in bridge_addrs_insert_at() argument 134 TAILQ_INSERT_TAIL(headp, ta, tp_e); in bridge_addrs_insert_at() 144 bridge_addrs_find_pos(struct tp_entries *headp, uint32_t b_idx) in bridge_addrs_find_pos() argument 149 if ((t1 = TAILQ_FIRST(headp)) == NULL || in bridge_addrs_find_pos() 166 t1 = TAILQ_LAST(headp, tp_entries); in bridge_addrs_find_pos() [all …]
|
H A D | bridge_port.c | 60 bridge_ports_free(struct bridge_ports *headp) in bridge_ports_free() argument 64 while ((bp = TAILQ_FIRST(headp)) != NULL) { in bridge_ports_free() 65 TAILQ_REMOVE(headp, bp, b_p); in bridge_ports_free() 75 bridge_port_memif_free(struct bridge_ports *headp, in bridge_port_memif_free() argument 82 TAILQ_REMOVE(headp, bif->f_bp, b_p); in bridge_port_memif_free() 94 bridge_port_insert_at(struct bridge_ports *headp, in bridge_port_insert_at() argument 117 TAILQ_INSERT_TAIL(headp, bp, b_p); in bridge_port_insert_at() 129 bridge_port_find_pos(struct bridge_ports *headp, uint32_t b_idx) in bridge_port_find_pos() argument 134 if ((t1 = TAILQ_FIRST(headp)) == NULL || in bridge_port_find_pos() 150 t1 = TAILQ_LAST(headp, bridge_ports); in bridge_port_find_pos() [all …]
|
H A D | bridge_if.c | 70 bridge_ifs_free(struct bridge_ifs *headp) in bridge_ifs_free() argument 74 while ((b = TAILQ_FIRST(headp)) != NULL) { in bridge_ifs_free() 75 TAILQ_REMOVE(headp, b, b_if); in bridge_ifs_free() 85 bridge_ifs_insert(struct bridge_ifs *headp, in bridge_ifs_insert() argument 90 if ((temp = TAILQ_FIRST(headp)) == NULL || in bridge_ifs_insert() 92 TAILQ_INSERT_HEAD(headp, b, b_if); in bridge_ifs_insert() 96 TAILQ_FOREACH(temp, headp, b_if) in bridge_ifs_insert() 100 TAILQ_INSERT_TAIL(headp, b, b_if); in bridge_ifs_insert()
|
/freebsd/usr.bin/gprof/ |
H A D | arcs.c | 881 nltype *headp; in inheritflags() local 886 headp = childp -> cyclehead; in inheritflags() 887 if ( childp == headp ) { in inheritflags() 918 headp -> printflag = FALSE; in inheritflags() 919 headp -> propfraction = 0.0; in inheritflags() 920 for ( memp = headp -> cnext ; memp ; memp = memp -> cnext ) { in inheritflags() 922 if ( arcp -> arc_parentp -> cyclehead == headp ) { in inheritflags() 926 headp -> printflag |= parentp -> printflag; in inheritflags() 935 if ( headp -> npropcall ) { in inheritflags() 936 headp -> propfraction += parentp -> propfraction in inheritflags() [all …]
|
/freebsd/usr.sbin/makefs/cd9660/ |
H A D | cd9660_eltorito.c | 373 *valid_entry, *default_entry, *temp, *head, **headp, *next; in cd9660_setup_boot() local 377 headp = NULL; in cd9660_setup_boot() 471 headp = &x86_head; in cd9660_setup_boot() 474 headp = &ppc_head; in cd9660_setup_boot() 477 headp = &mac_head; in cd9660_setup_boot() 480 headp = &efi_head; in cd9660_setup_boot() 488 if (*headp == NULL) { in cd9660_setup_boot() 497 *headp = head; in cd9660_setup_boot() 499 head = *headp; in cd9660_setup_boot()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | resolve.c | 629 struct rk_resource_record **srvs, **ss, **headp; in rk_dns_srv_order() local 648 for(ss = srvs, headp = &r->head; *headp; ) in rk_dns_srv_order() 649 if((*headp)->type == rk_ns_t_srv) { in rk_dns_srv_order() 650 *ss = *headp; in rk_dns_srv_order() 651 *headp = (*headp)->next; in rk_dns_srv_order() 655 headp = &(*headp)->next; in rk_dns_srv_order() 660 headp = &r->head; in rk_dns_srv_order() 690 (*tt)->next = *headp; in rk_dns_srv_order() 691 *headp = *tt; in rk_dns_srv_order() 692 headp = &(*tt)->next; in rk_dns_srv_order()
|
/freebsd/sys/libkern/ |
H A D | iconv_xlat16.c | 64 uint32_t *headp, **idxp; in iconv_xlat16_open() local 68 headp = (uint32_t *)((caddr_t)csp->cp_data + sizeof(dp->d_table)); in iconv_xlat16_open() 72 dp->d_table[i] = headp; in iconv_xlat16_open() 73 headp += 0x80; in iconv_xlat16_open()
|
/freebsd/contrib/nvi/common/ |
H A D | cut.c | 312 text_lfree(TEXTH *headp) in text_lfree() argument 316 while ((tp = TAILQ_FIRST(headp)) != NULL) { in text_lfree() 317 TAILQ_REMOVE(headp, tp, q); in text_lfree()
|
/freebsd/contrib/elftoolchain/nm/ |
H A D | nm.c | 81 struct sym_head *headp; member 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, in get_sym() argument 671 assert(headp != NULL); in get_sym() 710 if (sym_list_insert(headp, sym_name, in get_sym() 1441 p_data.headp = &list_head; in read_elf() 1856 sym_list_dest(struct sym_head *headp) in sym_list_dest() argument 1860 if (headp == NULL) in sym_list_dest() 1863 ep = STAILQ_FIRST(headp); in sym_list_dest() 1874 sym_list_insert(struct sym_head *headp, const char *name, const GElf_Sym *sym) in sym_list_insert() argument [all …]
|
/freebsd/sys/dev/wtap/ |
H A D | if_medium.h | 52 struct stailhead *headp;
|
/freebsd/sys/dev/ixl/ |
H A D | ixl_pf_main.c | 529 ixl_new_filter(struct ixl_ftl_head *headp, const u8 *macaddr, s16 vlan) in ixl_new_filter() argument 537 LIST_INSERT_HEAD(headp, f, ftle); in ixl_new_filter() 553 ixl_free_filters(struct ixl_ftl_head *headp) in ixl_free_filters() argument 557 f = LIST_FIRST(headp); in ixl_free_filters() 564 LIST_INIT(headp); in ixl_free_filters() 1406 ixl_find_filter(struct ixl_ftl_head *headp, const u8 *macaddr, s16 vlan) in ixl_find_filter() argument 1410 LIST_FOREACH(f, headp, ftle) { in ixl_find_filter()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | radix_ipf.c | 792 ipf_rx_inithead(radix_softc_t *softr, ipf_rdx_head_t **headp) in ipf_rx_inithead() argument 798 *headp = ptr; in ipf_rx_inithead()
|
/freebsd/contrib/ncurses/ncurses/ |
H A D | llib-ltinfow | 279 ENTRY *headp, 285 ENTRY *headp)
|
H A D | llib-ltinfo | 267 ENTRY *headp, 273 ENTRY *headp)
|
H A D | llib-ltinfotw | 284 ENTRY *headp, 290 ENTRY *headp)
|
H A D | llib-ltinfot | 272 ENTRY *headp, 278 ENTRY *headp)
|
H A D | llib-lncursest | 3010 ENTRY *headp, 3016 ENTRY *headp)
|
H A D | llib-lncurses | 2996 ENTRY *headp, 3002 ENTRY *headp)
|
H A D | llib-lncursestw | 3961 ENTRY *headp, 3967 ENTRY *headp)
|
H A D | llib-lncursesw | 3947 ENTRY *headp, 3953 ENTRY *headp)
|
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 875 #define __sanitizer_syscall_pre___futex_get_robust_list(lwpid, headp, lenp) \ argument 877 (long long)(lwpid), (long long)(headp), (long long)(lenp)) 878 #define __sanitizer_syscall_post___futex_get_robust_list(res, lwpid, headp, \ argument 881 res, (long long)(lwpid), (long long)(headp), (long long)(lenp)) 3504 long long headp, 3508 long long headp,
|