| /xnu-10063.141.1/bsd/netinet/ |
| H A D | ip_encap.c | 545 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 D | kpi_ipfilter.c | 649 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 D | ip_dummynet.c | 2627 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 D | pktsched.c | 813 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 D | ip6_input.c | 2374 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 D | ipsec.c | 5122 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 D | pf_ioctl.c | 413 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 D | content_filter.c | 2486 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()
|