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

Function pctrie_root_store

freebsd/kern/subr_pctrie.c:220–225  ·  view source on GitHub ↗

* Set the root node for a tree. */

Source from the content-addressed store, hash-verified

218 * Set the root node for a tree.
219 */
220static __inline void
221pctrie_root_store(struct pctrie *ptree, struct pctrie_node *node,
222 enum pctrie_access access)
223{
224 pctrie_node_store((smr_pctnode_t *)&ptree->pt_root, node, access);
225}
226
227/*
228 * Returns TRUE if the specified node is a leaf and FALSE otherwise.

Callers 2

pctrie_removeFunction · 0.85
pctrie_reclaim_allnodesFunction · 0.85

Calls 1

pctrie_node_storeFunction · 0.85

Tested by

no test coverage detected