Searched refs:frib (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_route.c | 234 struct flow_route_id_bucket *frib; in flow_route_id_buckets_alloc() local 238 *frib_sz = P2ROUNDUP(sizeof(*frib), cache_sz); in flow_route_id_buckets_alloc() 240 frib = sk_alloc_type_hash(KT_SK_FRIB, frib_tot_sz, Z_WAITOK, in flow_route_id_buckets_alloc() 243 if (__improbable(frib == NULL)) { in flow_route_id_buckets_alloc() 257 ASSERT(IS_P2ALIGNED(frib, cache_sz)); in flow_route_id_buckets_alloc() 261 "(total %zu bytes) ALLOC", SK_KVA(frib), frib_cnt, in flow_route_id_buckets_alloc() 264 return frib; in flow_route_id_buckets_alloc() 268 flow_route_id_buckets_free(struct flow_route_id_bucket *frib, size_t tot_sz) in flow_route_id_buckets_free() argument 270 SK_DF(SK_VERB_MEM, "frib %p FREE", SK_KVA(frib)); in flow_route_id_buckets_free() 271 sk_free_type_hash(KT_SK_FRIB, tot_sz, frib); in flow_route_id_buckets_free() [all …]
|
| H A D | flow_manager.c | 226 struct flow_route_id_bucket *frib = in flow_mgr_create() local 228 flow_route_id_bucket_init(frib); in flow_mgr_create() 230 *(size_t *)(uintptr_t)&frib->frib_idx = i; in flow_mgr_create() 309 struct flow_route_id_bucket *frib = in flow_mgr_destroy() local 311 ASSERT(frib->frib_idx == i); in flow_mgr_destroy() 312 flow_route_id_bucket_destroy(frib); in flow_mgr_destroy()
|