Home
last modified time | relevance | path

Searched refs:KMALLOCS (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_compat.h341 # define KMALLOCS(a,b,c) (a) = (b)malloc(c) macro
478 # if !defined(KMALLOCS)
479 # define KMALLOCS(a, b, c) (a) = (b)malloc((c), _M_IPF, M_NOWAIT) macro
561 # define KMALLOCS(a,b,c) (a) = (b)new_kmem_alloc((c), KMEM_NOSLEEP) macro
H A Dip_proxy.c413 KMALLOCS(softp->ips_sess_tab, ap_session_t **, size); in ipf_proxy_soft_init()
700 KMALLOCS(ptr, caddr_t, ctl.apc_dsize); in ipf_proxy_ioctl()
1285 KMALLOCS(ipn, ipnat_t *, size); in ipf_proxy_rule_rev()
1372 KMALLOCS(ipn, ipnat_t *, size); in ipf_proxy_rule_fwd()
H A Dip_sync.c174 KMALLOCS(softs->synclog, synclogent_t *, in ipf_sync_soft_init()
181 KMALLOCS(softs->syncupd, syncupdent_t *, in ipf_sync_soft_init()
188 KMALLOCS(softs->syncstatetab, synclist_t **, in ipf_sync_soft_init()
195 KMALLOCS(softs->syncnattab, synclist_t **, in ipf_sync_soft_init()
H A Dip_dstlist.c499 KMALLOCS(node, ipf_dstnode_t *, sizeof(*node) + dest.fd_name); in ipf_dstlist_node_add()
529 KMALLOCS(nodes, ipf_dstnode_t **, in ipf_dstlist_node_add()
645 KMALLOCS(temp, frdest_t *, size); in ipf_dstlist_node_del()
H A Dip_frag.c238 KMALLOCS(softf->ipfr_heads, ipfr_t **, in ipf_frag_soft_init()
245 KMALLOCS(softf->ipfr_nattab, ipfr_t **, in ipf_frag_soft_init()
252 KMALLOCS(softf->ipfr_ipidtab, ipfr_t **, in ipf_frag_soft_init()
H A Dip_nat.c384 KMALLOCS(softn->ipf_nat_table[0], nat_t **, \ in ipf_nat_soft_init()
394 KMALLOCS(softn->ipf_nat_table[1], nat_t **, \ in ipf_nat_soft_init()
404 KMALLOCS(softn->ipf_nat_map_rules, ipnat_t **, \ in ipf_nat_soft_init()
414 KMALLOCS(softn->ipf_nat_rdr_rules, ipnat_t **, \ in ipf_nat_soft_init()
424 KMALLOCS(softn->ipf_hm_maptable, hostmap_t **, \ in ipf_nat_soft_init()
435 KMALLOCS(softn->ipf_nat_stats.ns_side[0].ns_bucketlen, u_int *, in ipf_nat_soft_init()
444 KMALLOCS(softn->ipf_nat_stats.ns_side[1].ns_bucketlen, u_int *, in ipf_nat_soft_init()
1030 KMALLOCS(nt, ipnat_t *, natd.in_size); in ipf_nat_ioctl()
1769 KMALLOCS(ipn, nat_save_t *, ipns.ipn_dsize); in ipf_nat_getent()
1920 KMALLOCS(ipnn, nat_save_t *, ipn.ipn_dsize); in ipf_nat_putent()
[all …]
H A Dip_dns_pxy.c188 KMALLOCS(di, dnsinfo_t *, sizeof(dnsinfo_t)); in ipf_p_dns_new()
H A Dip_raudio_pxy.c61 KMALLOCS(aps->aps_data, void *, sizeof(raudio_t)); in ipf_p_raudio_new()
H A Dip_auth.c197 KMALLOCS(softa->ipf_auth, frauth_t *, in ipf_auth_soft_init()
204 KMALLOCS(softa->ipf_auth_pkts, mb_t **, in ipf_auth_soft_init()
H A Dip_ipsec_pxy.c166 KMALLOCS(ipn, ipnat_t *, size); in ipf_p_ipsec_new()
H A Dip_tftp_pxy.c170 KMALLOCS(ipn, ipnat_t *, size); in ipf_p_tftp_new()
H A Dip_pptp_pxy.c138 KMALLOCS(ipn, ipnat_t *, size); in ipf_p_pptp_new()
H A Dip_log.c536 KMALLOCS(buf, caddr_t, len); in ipf_log_items()
H A Dip_state.c294 KMALLOCS(state_seed, u_long *, state_size * sizeof(*state_seed)); in ipf_state_seed_alloc()
337 KMALLOCS(softs->ipf_state_table, in ipf_state_soft_init()
350 KMALLOCS(softs->ipf_state_stats.iss_bucketlen, u_int *, in ipf_state_soft_init()
5152 KMALLOCS(newtab, ipstate_t **, newsize * sizeof(ipstate_t *)); in ipf_state_rehash()
5158 KMALLOCS(bucketlens, u_int *, newsize * sizeof(u_int)); in ipf_state_rehash()
H A Dip_htable.c328 KMALLOCS(iph->iph_table, iphtent_t **, in ipf_htable_create()
H A Dradix_ipf.c867 KMALLOCS(softr->zeros, u_char *, 3 * sizeof(addrfamily_t)); in ipf_rx_create()
H A Dfil.c4430 KMALLOCS(f, frentry_t *, fp->fr_size); in frrequest()
4650 KMALLOCS(ptr, void *, fp->fr_dsize); in frrequest()
6941 KMALLOCS(copy, ipftuneable_t *, size);
8424 KMALLOCS(array, int *, arraysize);