MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pctrie_root_load

Function pctrie_root_load

freebsd/kern/subr_pctrie.c:211–215  ·  view source on GitHub ↗

* Get the root node for a tree. */

Source from the content-addressed store, hash-verified

209 * Get the root node for a tree.
210 */
211static __inline struct pctrie_node *
212pctrie_root_load(struct pctrie *ptree, smr_t smr, enum pctrie_access access)
213{
214 return (pctrie_node_load((smr_pctnode_t *)&ptree->pt_root, smr, access));
215}
216
217/*
218 * Set the root node for a tree.

Callers 6

pctrie_insertFunction · 0.85
_pctrie_lookupFunction · 0.85
pctrie_lookup_geFunction · 0.85
pctrie_lookup_leFunction · 0.85
pctrie_removeFunction · 0.85
pctrie_reclaim_allnodesFunction · 0.85

Calls 1

pctrie_node_loadFunction · 0.85

Tested by

no test coverage detected