Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_route.c238 void *frib_buf, **frib_pbuf; in flow_route_id_buckets_alloc() local
246 frib_buf = sk_alloc(frib_tot_sz, Z_WAITOK, skmem_tag_fsw_frib_hash); in flow_route_id_buckets_alloc()
247 if (__improbable(frib_buf == NULL)) { in flow_route_id_buckets_alloc()
259 P2ROUNDUP((intptr_t)frib_buf + sizeof(void *), cache_sz); in flow_route_id_buckets_alloc()
261 ASSERT((intptr_t)frib_pbuf >= (intptr_t)frib_buf); in flow_route_id_buckets_alloc()
263 ((intptr_t)frib_buf + frib_tot_sz)); in flow_route_id_buckets_alloc()
264 *frib_pbuf = frib_buf; in flow_route_id_buckets_alloc()
268 *frib_sz, frib_tot_sz, SK_KVA(frib_buf)); in flow_route_id_buckets_alloc()
276 void *frib_buf, **frib_pbuf; in flow_route_id_buckets_free() local
280 frib_buf = *frib_pbuf; in flow_route_id_buckets_free()
[all …]