Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Din_fib_dxr.c398 struct chunk_desc *cdp, *empty_cdp; in chunk_ref() local
422 LIST_FOREACH(empty_cdp, &da->unused_chunks[0], cd_hash_le) in chunk_ref()
423 if (empty_cdp->cd_max_size >= size && (cdp == NULL || in chunk_ref()
424 empty_cdp->cd_max_size < cdp->cd_max_size)) { in chunk_ref()
425 cdp = empty_cdp; in chunk_ref()
426 if (empty_cdp->cd_max_size == size) in chunk_ref()
439 empty_cdp = uma_zalloc(chunk_zone, M_NOWAIT); in chunk_ref()
440 if (empty_cdp == NULL) in chunk_ref()
442 LIST_INSERT_BEFORE(cdp, empty_cdp, cd_all_le); in chunk_ref()
443 empty_cdp->cd_base = cdp->cd_base + size; in chunk_ref()
[all …]