Home
last modified time | relevance | path

Searched refs:srp_cflags (Results 1 – 13 of 13) sorted by relevance

/xnu-8019.80.24/bsd/skywalk/mem/
H A Dskmem.c73 .srp_cflags = SKMEM_REGION_CR_MMAPOK |
86 .srp_cflags = SKMEM_REGION_CR_MMAPOK |
99 .srp_cflags = SKMEM_REGION_CR_MMAPOK |
111 .srp_cflags = SKMEM_REGION_CR_MMAPOK |
121 .srp_cflags = SKMEM_REGION_CR_MMAPOK |
131 .srp_cflags = SKMEM_REGION_CR_MMAPOK |
145 .srp_cflags = SKMEM_REGION_CR_MMAPOK |
158 .srp_cflags = SKMEM_REGION_CR_MMAPOK |
172 .srp_cflags = SKMEM_REGION_CR_MMAPOK |
184 .srp_cflags = SKMEM_REGION_CR_MMAPOK |
[all …]
H A Dskmem_region_var.h159 uint32_t srp_cflags; /* (i) region creation flags */ member
208 #define skr_cflags skr_params.srp_cflags /* creation flags */
H A Dskmem_region.c473 srp->srp_cflags |= SKMEM_REGION_CR_NOMAGAZINES; in skmem_region_params_config()
481 if (srp->srp_cflags & SKMEM_REGION_CR_PSEUDO) { in skmem_region_params_config()
575 if (!(srp->srp_cflags & SKMEM_REGION_CR_NOMAGAZINES)) { in skmem_region_params_config()
633 if (srp->srp_cflags & SKMEM_REGION_CR_MONOLITHIC) { in skmem_region_params_config()
691 boolean_t pseudo = (srp->srp_cflags & SKMEM_REGION_CR_PSEUDO); in skmem_region_create()
692 uint32_t cflags = srp->srp_cflags; in skmem_region_create()
H A Dskmem_arena.c431 #define SRP_CFLAGS(_id) (srp[_id].srp_cflags) in skmem_arena_create_for_nexus()
917 ASSERT(srp_ustats->srp_cflags & SKMEM_REGION_CR_MMAPOK); in skmem_arena_create_for_necp()
918 ASSERT(!(srp_kstats->srp_cflags & SKMEM_REGION_CR_MMAPOK)); in skmem_arena_create_for_necp()
919 ASSERT(!(srp_ustats->srp_cflags & SKMEM_REGION_CR_SHAREOK)); in skmem_arena_create_for_necp()
920 ASSERT(!(srp_kstats->srp_cflags & SKMEM_REGION_CR_SHAREOK)); in skmem_arena_create_for_necp()
H A Dskmem_cache.c603 ASSERT(srp.srp_cflags == SKMEM_REGION_CR_PSEUDO); in skmem_cache_create()
/xnu-8019.80.24/bsd/skywalk/packet/
H A Dpbufpool_kern.c149 buf_srp->srp_cflags |= SKMEM_REGION_CR_KREADONLY; in kern_pbufpool_create()
156 umd_srp->srp_cflags |= SKMEM_REGION_CR_NOMAGAZINES; in kern_pbufpool_create()
157 kmd_srp->srp_cflags |= SKMEM_REGION_CR_NOMAGAZINES; in kern_pbufpool_create()
159 kbft_srp->srp_cflags |= SKMEM_REGION_CR_NOMAGAZINES; in kern_pbufpool_create()
162 ubft_srp->srp_cflags |= SKMEM_REGION_CR_NOMAGAZINES; in kern_pbufpool_create()
165 umd_srp->srp_cflags &= ~SKMEM_REGION_CR_NOMAGAZINES; in kern_pbufpool_create()
166 kmd_srp->srp_cflags &= ~SKMEM_REGION_CR_NOMAGAZINES; in kern_pbufpool_create()
168 kbft_srp->srp_cflags &= ~SKMEM_REGION_CR_NOMAGAZINES; in kern_pbufpool_create()
171 ubft_srp->srp_cflags &= ~SKMEM_REGION_CR_NOMAGAZINES; in kern_pbufpool_create()
174 umd_srp->srp_cflags |= SKMEM_REGION_CR_PERSISTENT; in kern_pbufpool_create()
[all …]
H A Dpbufpool.c363 buf_srp->srp_cflags &= in pp_regions_params_adjust()
383 kbft_srp->srp_cflags = kmd_srp->srp_cflags; in pp_regions_params_adjust()
392 ubft_srp->srp_cflags = umd_srp->srp_cflags; in pp_regions_params_adjust()
950 ASSERT((umd_srp->srp_cflags & SKMEM_REGION_CR_NOMAGAZINES) == in pp_create()
951 (kmd_srp->srp_cflags & SKMEM_REGION_CR_NOMAGAZINES)); in pp_create()
955 ASSERT((umd_srp->srp_cflags & SKMEM_REGION_CR_PERSISTENT) == in pp_create()
956 (kmd_srp->srp_cflags & SKMEM_REGION_CR_PERSISTENT)); in pp_create()
958 md_cflags = ((umd_srp->srp_cflags & SKMEM_REGION_CR_NOMAGAZINES) ? in pp_create()
994 ASSERT((kmd_srp->srp_cflags & SKMEM_REGION_CR_NOMAGAZINES) == in pp_create()
995 (kbft_srp->srp_cflags & SKMEM_REGION_CR_NOMAGAZINES)); in pp_create()
[all …]
/xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/
H A Dnx_flowswitch.c376 srp[SKMEM_REGION_TXAUSD].srp_cflags &= ~SKMEM_REGION_CR_UREADONLY; in nx_fsw_prov_mem_new()
377 srp[SKMEM_REGION_RXFUSD].srp_cflags &= ~SKMEM_REGION_CR_UREADONLY; in nx_fsw_prov_mem_new()
379 srp[SKMEM_REGION_KMD].srp_cflags |= SKMEM_REGION_CR_PERSISTENT; in nx_fsw_prov_mem_new()
380 srp[SKMEM_REGION_UMD].srp_cflags |= SKMEM_REGION_CR_PERSISTENT; in nx_fsw_prov_mem_new()
381 srp[SKMEM_REGION_BUF].srp_cflags |= SKMEM_REGION_CR_PERSISTENT; in nx_fsw_prov_mem_new()
382 srp[SKMEM_REGION_RXFKSD].srp_cflags |= SKMEM_REGION_CR_PERSISTENT; in nx_fsw_prov_mem_new()
383 srp[SKMEM_REGION_RXFUSD].srp_cflags |= SKMEM_REGION_CR_PERSISTENT; in nx_fsw_prov_mem_new()
/xnu-8019.80.24/bsd/skywalk/nexus/
H A Dnexus_kern.c1979 ASSERT((srp[SKMEM_REGION_UMD].srp_cflags & SKMEM_REGION_CR_NOMAGAZINES) == in nxprov_params_adjust()
1980 (srp[SKMEM_REGION_RXKMD].srp_cflags & SKMEM_REGION_CR_NOMAGAZINES)); in nxprov_params_adjust()
1981 md_magazines = !(srp[SKMEM_REGION_UMD].srp_cflags & in nxprov_params_adjust()
2156 srp[SKMEM_REGION_UMD].srp_cflags &= in nxprov_params_adjust()
2158 srp[SKMEM_REGION_KMD].srp_cflags &= in nxprov_params_adjust()
2161 srp[SKMEM_REGION_UMD].srp_cflags |= in nxprov_params_adjust()
2163 srp[SKMEM_REGION_KMD].srp_cflags |= in nxprov_params_adjust()
2169 kbft_srp->srp_cflags &= ~SKMEM_REGION_CR_NOMAGAZINES; in nxprov_params_adjust()
2173 ubft_srp->srp_cflags &= ~SKMEM_REGION_CR_NOMAGAZINES; in nxprov_params_adjust()
H A Dnexus.c1433 bsrp->srp_cflags |= SKMEM_REGION_CR_MONOLITHIC; in nxprov_create_common()
1435 bsrp->srp_cflags &= ~SKMEM_REGION_CR_MONOLITHIC; in nxprov_create_common()
1439 bsrp->srp_cflags |= SKMEM_REGION_CR_NOCACHE; in nxprov_create_common()
1441 bsrp->srp_cflags &= ~SKMEM_REGION_CR_NOCACHE; in nxprov_create_common()
1466 kmd_srp->srp_cflags |= SKMEM_REGION_CR_PERSISTENT; in nxprov_create_common()
1467 umd_srp->srp_cflags |= SKMEM_REGION_CR_PERSISTENT; in nxprov_create_common()
/xnu-8019.80.24/bsd/skywalk/nexus/netif/
H A Dnx_netif_filter_vp.c254 srp[SKMEM_REGION_TXAUSD].srp_cflags &= ~SKMEM_REGION_CR_UREADONLY; in netif_filter_region_params_setup()
255 srp[SKMEM_REGION_RXFUSD].srp_cflags &= ~SKMEM_REGION_CR_UREADONLY; in netif_filter_region_params_setup()
293 srp[SKMEM_REGION_BUF].srp_cflags |= SKMEM_REGION_CR_UREADONLY; in netif_filter_region_params_setup()
H A Dnx_netif_vp.c798 srp[SKMEM_REGION_TXAUSD].srp_cflags &= ~SKMEM_REGION_CR_UREADONLY; in netif_vp_region_params_setup()
799 srp[SKMEM_REGION_RXFUSD].srp_cflags &= ~SKMEM_REGION_CR_UREADONLY; in netif_vp_region_params_setup()
802 srp[SKMEM_REGION_UMD].srp_cflags &= ~SKMEM_REGION_CR_NOMAGAZINES; in netif_vp_region_params_setup()
803 srp[SKMEM_REGION_KMD].srp_cflags &= ~SKMEM_REGION_CR_NOMAGAZINES; in netif_vp_region_params_setup()
/xnu-8019.80.24/bsd/net/
H A Dnecp_client.c8943 srp_ustats.srp_cflags &= ~SKMEM_REGION_CR_MONOLITHIC; in necp_arena_create()
8944 srp_kstats.srp_cflags &= ~SKMEM_REGION_CR_MONOLITHIC; in necp_arena_create()