Searched refs:frib (Results 1 – 2 of 2) sorted by relevance
| /xnu-11215.81.4/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_route.c | 232 struct flow_route_id_bucket *frib; in flow_route_id_buckets_alloc() local 236 *frib_sz = P2ROUNDUP(sizeof(*frib), cache_sz); in flow_route_id_buckets_alloc() 238 frib = sk_alloc_type_hash(KT_SK_FRIB, frib_tot_sz, Z_WAITOK, in flow_route_id_buckets_alloc() 241 if (__improbable(frib == NULL)) { in flow_route_id_buckets_alloc() 255 ASSERT(IS_P2ALIGNED(frib, cache_sz)); in flow_route_id_buckets_alloc() 259 "(total %zu bytes) ALLOC", SK_KVA(frib), frib_cnt, in flow_route_id_buckets_alloc() 262 return frib; in flow_route_id_buckets_alloc() 266 flow_route_id_buckets_free(struct flow_route_id_bucket *frib, size_t tot_sz) in flow_route_id_buckets_free() argument 268 SK_DF(SK_VERB_MEM, "frib 0x%llx FREE", SK_KVA(frib)); in flow_route_id_buckets_free() 269 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()
|