Home
last modified time | relevance | path

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

/xnu-11417.101.15/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 *__single 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.c655 struct ipfilt_tag_container *tag_container; in m_tag_kalloc_ipfilt() local
666 tag_container = kalloc_type(struct ipfilt_tag_container, wait | M_ZERO); in m_tag_kalloc_ipfilt()
667 if (tag_container != NULL) { in m_tag_kalloc_ipfilt()
668 tag = &tag_container->ipft_m_tag; in m_tag_kalloc_ipfilt()
670 assert3p(tag, ==, tag_container); in m_tag_kalloc_ipfilt()
672 M_TAG_INIT(tag, id, type, len, &tag_container->ipft_filter_ref, NULL); in m_tag_kalloc_ipfilt()
681 struct ipfilt_tag_container *tag_container = (struct ipfilt_tag_container *)tag; in m_tag_kfree_ipfilt() local
685 kfree_type(struct ipfilt_tag_container, tag_container); in m_tag_kfree_ipfilt()
H A Dip_dummynet.c2920 struct dummynet_tag_container *tag_container; in m_tag_kalloc_dummynet() local
2931 tag_container = kalloc_type(struct dummynet_tag_container, wait | M_ZERO); in m_tag_kalloc_dummynet()
2932 if (tag_container != NULL) { in m_tag_kalloc_dummynet()
2933 tag = &tag_container->dtc_m_tag; in m_tag_kalloc_dummynet()
2935 assert3p(tag, ==, tag_container); in m_tag_kalloc_dummynet()
2937 M_TAG_INIT(tag, id, type, len, &tag_container->dtc_dn_pkt_tag, NULL); in m_tag_kalloc_dummynet()
2946 struct dummynet_tag_container *tag_container; in m_tag_kfree_dummynet() local
2949 tag_container = __container_of(tag, struct dummynet_tag_container, dtc_m_tag); in m_tag_kfree_dummynet()
2950 kfree_type(struct dummynet_tag_container, tag_container); in m_tag_kfree_dummynet()
/xnu-11417.101.15/bsd/net/pktsched/
H A Dpktsched.c867 struct aqm_tag_container *tag_container; in m_tag_kalloc_aqm() local
878 tag_container = kalloc_type(struct aqm_tag_container, wait | M_ZERO); in m_tag_kalloc_aqm()
879 if (tag_container != NULL) { in m_tag_kalloc_aqm()
880 tag = &tag_container->aqm_m_tag; in m_tag_kalloc_aqm()
882 assert3p(tag, ==, tag_container); in m_tag_kalloc_aqm()
884 M_TAG_INIT(tag, id, type, len, &tag_container->aqm_tag, NULL); in m_tag_kalloc_aqm()
893 struct aqm_tag_container *__single tag_container = (struct aqm_tag_container *)tag; in m_tag_kfree_aqm() local
897 kfree_type(struct aqm_tag_container, tag_container); in m_tag_kfree_aqm()
/xnu-11417.101.15/bsd/netinet6/
H A Dip6_input.c2398 struct inet6_tag_container *tag_container; in m_tag_kalloc_inet6() local
2409 tag_container = kalloc_type(struct inet6_tag_container, wait | M_ZERO); in m_tag_kalloc_inet6()
2410 if (tag_container != NULL) { in m_tag_kalloc_inet6()
2411 tag = &tag_container->inet6_m_tag; in m_tag_kalloc_inet6()
2413 assert3p(tag, ==, tag_container); in m_tag_kalloc_inet6()
2415 M_TAG_INIT(tag, id, type, len, &tag_container->inet6_ip6a, NULL); in m_tag_kalloc_inet6()
2424 struct inet6_tag_container *__single tag_container = (struct inet6_tag_container *)tag; in m_tag_kfree_inet6() local
2428 kfree_type(struct inet6_tag_container, tag_container); in m_tag_kfree_inet6()
H A Dipsec.c5103 struct ipsec_tag_container *tag_container; in m_tag_kalloc_ipsec() local
5114 tag_container = kalloc_type(struct ipsec_tag_container, wait | M_ZERO); in m_tag_kalloc_ipsec()
5115 if (tag_container != NULL) { in m_tag_kalloc_ipsec()
5116 tag = &tag_container->ipsec_m_tag; in m_tag_kalloc_ipsec()
5118 assert3p(tag, ==, tag_container); in m_tag_kalloc_ipsec()
5120 M_TAG_INIT(tag, id, type, len, &tag_container->ipsec_tag, NULL); in m_tag_kalloc_ipsec()
5129 struct ipsec_tag_container *__single tag_container = (struct ipsec_tag_container *)tag; in m_tag_kfree_ipsec() local
5133 kfree_type(struct ipsec_tag_container, tag_container); in m_tag_kfree_ipsec()
/xnu-11417.101.15/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 *__single 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.c2498 struct cflil_tag_container *tag_container; in m_tag_kalloc_cfil_udp() local
2509 tag_container = kalloc_type(struct cflil_tag_container, wait | M_ZERO); in m_tag_kalloc_cfil_udp()
2510 if (tag_container != NULL) { in m_tag_kalloc_cfil_udp()
2511 tag = &tag_container->cfil_m_tag; in m_tag_kalloc_cfil_udp()
2513 assert3p(tag, ==, tag_container); in m_tag_kalloc_cfil_udp()
2515 M_TAG_INIT(tag, id, type, len, &tag_container->cfil_tag, NULL); in m_tag_kalloc_cfil_udp()
2524 struct cflil_tag_container * __single tag_container = (struct cflil_tag_container *)tag; in m_tag_kfree_cfil_udp() local
2526 kfree_type(struct cflil_tag_container, tag_container); in m_tag_kfree_cfil_udp()