Home
last modified time | relevance | path

Searched refs:tag_container (Results 1 – 8 of 8) sorted by relevance

/xnu-10063.141.1/bsd/netinet/
H A Dip_encap.c545 struct encaptab_tag_container *tag_container; in m_tag_kalloc_encap() local
556 tag_container = kalloc_type(struct encaptab_tag_container, wait | M_ZERO); in m_tag_kalloc_encap()
557 if (tag_container != NULL) { in m_tag_kalloc_encap()
558 tag = &tag_container->encaptab_m_tag; in m_tag_kalloc_encap()
560 assert3p(tag, ==, tag_container); in m_tag_kalloc_encap()
562 M_TAG_INIT(tag, id, type, len, &tag_container->encaptab_tag, NULL); in m_tag_kalloc_encap()
571 struct encaptab_tag_container *tag_container = (struct encaptab_tag_container *)tag; in m_tag_kfree_encap() local
575 kfree_type(struct encaptab_tag_container, tag_container); in m_tag_kfree_encap()
H A Dkpi_ipfilter.c649 struct ipfilt_tag_container *tag_container; in m_tag_kalloc_ipfilt() local
660 tag_container = kalloc_type(struct ipfilt_tag_container, wait | M_ZERO); in m_tag_kalloc_ipfilt()
661 if (tag_container != NULL) { in m_tag_kalloc_ipfilt()
662 tag = &tag_container->ipft_m_tag; in m_tag_kalloc_ipfilt()
664 assert3p(tag, ==, tag_container); in m_tag_kalloc_ipfilt()
666 M_TAG_INIT(tag, id, type, len, &tag_container->ipft_filter_ref, NULL); in m_tag_kalloc_ipfilt()
675 struct ipfilt_tag_container *tag_container = (struct ipfilt_tag_container *)tag; in m_tag_kfree_ipfilt() local
679 kfree_type(struct ipfilt_tag_container, tag_container); in m_tag_kfree_ipfilt()
H A Dip_dummynet.c2627 struct dummynet_tag_container *tag_container; in m_tag_kalloc_dummynet() local
2638 tag_container = kalloc_type(struct dummynet_tag_container, wait | M_ZERO); in m_tag_kalloc_dummynet()
2639 if (tag_container != NULL) { in m_tag_kalloc_dummynet()
2640 tag = &tag_container->dtc_m_tag; in m_tag_kalloc_dummynet()
2642 assert3p(tag, ==, tag_container); in m_tag_kalloc_dummynet()
2644 M_TAG_INIT(tag, id, type, len, &tag_container->dtc_dn_pkt_tag, NULL); in m_tag_kalloc_dummynet()
2653 struct dummynet_tag_container *tag_container = (struct dummynet_tag_container *)tag; in m_tag_kfree_dummynet() local
2657 kfree_type(struct dummynet_tag_container, tag_container); in m_tag_kfree_dummynet()
/xnu-10063.141.1/bsd/net/pktsched/
H A Dpktsched.c813 struct aqm_tag_container *tag_container; in m_tag_kalloc_aqm() local
824 tag_container = kalloc_type(struct aqm_tag_container, wait | M_ZERO); in m_tag_kalloc_aqm()
825 if (tag_container != NULL) { in m_tag_kalloc_aqm()
826 tag = &tag_container->aqm_m_tag; in m_tag_kalloc_aqm()
828 assert3p(tag, ==, tag_container); in m_tag_kalloc_aqm()
830 M_TAG_INIT(tag, id, type, len, &tag_container->aqm_tag, NULL); in m_tag_kalloc_aqm()
839 struct aqm_tag_container *tag_container = (struct aqm_tag_container *)tag; in m_tag_kfree_aqm() local
843 kfree_type(struct aqm_tag_container, tag_container); in m_tag_kfree_aqm()
/xnu-10063.141.1/bsd/netinet6/
H A Dip6_input.c2374 struct inet6_tag_container *tag_container; in m_tag_kalloc_inet6() local
2385 tag_container = kalloc_type(struct inet6_tag_container, wait | M_ZERO); in m_tag_kalloc_inet6()
2386 if (tag_container != NULL) { in m_tag_kalloc_inet6()
2387 tag = &tag_container->inet6_m_tag; in m_tag_kalloc_inet6()
2389 assert3p(tag, ==, tag_container); in m_tag_kalloc_inet6()
2391 M_TAG_INIT(tag, id, type, len, &tag_container->inet6_ip6a, NULL); in m_tag_kalloc_inet6()
2400 struct inet6_tag_container *tag_container = (struct inet6_tag_container *)tag; in m_tag_kfree_inet6() local
2404 kfree_type(struct inet6_tag_container, tag_container); in m_tag_kfree_inet6()
H A Dipsec.c5122 struct ipsec_tag_container *tag_container; in m_tag_kalloc_ipsec() local
5133 tag_container = kalloc_type(struct ipsec_tag_container, wait | M_ZERO); in m_tag_kalloc_ipsec()
5134 if (tag_container != NULL) { in m_tag_kalloc_ipsec()
5135 tag = &tag_container->ipsec_m_tag; in m_tag_kalloc_ipsec()
5137 assert3p(tag, ==, tag_container); in m_tag_kalloc_ipsec()
5139 M_TAG_INIT(tag, id, type, len, &tag_container->ipsec_tag, NULL); in m_tag_kalloc_ipsec()
5148 struct ipsec_tag_container *tag_container = (struct ipsec_tag_container *)tag; in m_tag_kfree_ipsec() local
5152 kfree_type(struct ipsec_tag_container, tag_container); in m_tag_kfree_ipsec()
/xnu-10063.141.1/bsd/net/
H A Dpf_ioctl.c413 struct pf_reass_tag_container *tag_container; in m_tag_kalloc_pf_reass() local
424 tag_container = kalloc_type(struct pf_reass_tag_container, wait | M_ZERO); in m_tag_kalloc_pf_reass()
425 if (tag_container != NULL) { in m_tag_kalloc_pf_reass()
426 tag = &tag_container->pf_reass_m_tag; in m_tag_kalloc_pf_reass()
428 assert3p(tag, ==, tag_container); in m_tag_kalloc_pf_reass()
430 M_TAG_INIT(tag, id, type, len, &tag_container->pf_reass_fragment_tag, NULL); in m_tag_kalloc_pf_reass()
439 struct pf_reass_tag_container *tag_container = (struct pf_reass_tag_container *)tag; in m_tag_kfree_pf_reass() local
443 kfree_type(struct pf_reass_tag_container, tag_container); in m_tag_kfree_pf_reass()
H A Dcontent_filter.c2486 struct cflil_tag_container *tag_container; in m_tag_kalloc_cfil_udp() local
2497 tag_container = kalloc_type(struct cflil_tag_container, wait | M_ZERO); in m_tag_kalloc_cfil_udp()
2498 if (tag_container != NULL) { in m_tag_kalloc_cfil_udp()
2499 tag = &tag_container->cfil_m_tag; in m_tag_kalloc_cfil_udp()
2501 assert3p(tag, ==, tag_container); in m_tag_kalloc_cfil_udp()
2503 M_TAG_INIT(tag, id, type, len, &tag_container->cfil_tag, NULL); in m_tag_kalloc_cfil_udp()
2512 struct cflil_tag_container *tag_container = (struct cflil_tag_container *)tag; in m_tag_kfree_cfil_udp() local
2514 kfree_type(struct cflil_tag_container, tag_container); in m_tag_kfree_cfil_udp()