Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dpctrie.h83 parentp = pctrie_insert_lookup(ptree, val); \
86 parent = allocfn(ptree); \
115 name##_PCTRIE_RECLAIM(struct pctrie *ptree) \
122 freefn(ptree, freenode); \
143 freefn(ptree, freenode); \
154 freefn(ptree, freenode); \
167 struct pctrie *ptree);
184 pctrie_init(struct pctrie *ptree) in pctrie_init() argument
186 ptree->pt_root = PCTRIE_NULL; in pctrie_init()
190 pctrie_is_empty(struct pctrie *ptree) in pctrie_is_empty() argument
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_config.c417 config_tree *ptree in free_auth_node() argument
440 config_tree *ptree in init_syntax_tree() argument
443 ZERO(*ptree); in init_syntax_tree()
452 config_tree *ptree; in free_all_config_trees() local
460 ptree = pnext; in free_all_config_trees()
467 config_tree *ptree in free_config_tree() argument
503 free(ptree); in free_config_tree()
543 config_tree *ptree, in dump_config_tree() argument
2172 if (ptree->auth.revoke > 2 && ptree->auth.revoke < 32) in config_auth()
5206 ptree = emalloc(sizeof(*ptree)); in save_and_apply_config_tree()
[all …]
/freebsd/sys/kern/
H A Dsubr_pctrie.c281 node = pctrie_root_load(ptree, NULL, PCTRIE_LOCKED); in pctrie_insert_lookup()
287 ptree->pt_root = pctrie_toleaf(val); in pctrie_insert_lookup()
311 (smr_pctnode_t *)&ptree->pt_root); in pctrie_insert_lookup()
377 node = pctrie_root_load(ptree, smr, access); in _pctrie_lookup()
398 pctrie_lookup(struct pctrie *ptree, uint64_t index) in pctrie_lookup() argument
414 res = _pctrie_lookup(ptree, index, smr, PCTRIE_SMR); in pctrie_lookup_unlocked()
445 node = pctrie_root_load(ptree, NULL, PCTRIE_LOCKED); in pctrie_lookup_ge()
524 node = pctrie_root_load(ptree, NULL, PCTRIE_LOCKED); in pctrie_lookup_le()
605 pctrie_root_store(ptree, child, PCTRIE_LOCKED); in pctrie_remove_lookup()
679 struct pctrie *ptree) in pctrie_reclaim_begin() argument
[all …]
H A Dsubr_rangeset.c57 rs_node_alloc(struct pctrie *ptree) in rs_node_alloc() argument
61 rs = __containerof(ptree, struct rangeset, rs_trie); in rs_node_alloc()
66 rs_node_free(struct pctrie *ptree __unused, void *node) in rs_node_free()
H A Dvfs_subr.c523 buf_trie_alloc(struct pctrie *ptree) in buf_trie_alloc() argument
529 buf_trie_free(struct pctrie *ptree, void *node) in buf_trie_free() argument
/freebsd/sys/vm/
H A Dvm_radix.c74 vm_radix_node_alloc(struct pctrie *ptree) in vm_radix_node_alloc() argument
80 vm_radix_node_free(struct pctrie *ptree, void *node) in vm_radix_node_free() argument
H A Dvm_radix.h43 void *vm_radix_node_alloc(struct pctrie *ptree);
44 void vm_radix_node_free(struct pctrie *ptree, void *node);
H A Dswap_pager.c510 swblk_trie_alloc(struct pctrie *ptree) in swblk_trie_alloc() argument
518 swblk_trie_free(struct pctrie *ptree, void *node) in swblk_trie_free() argument
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_ncons.c130 STACK_OF(GENERAL_SUBTREE) **ptree = NULL; in v2i_NAME_CONSTRAINTS()
140 ptree = &ncons->permittedSubtrees; in v2i_NAME_CONSTRAINTS()
143 ptree = &ncons->excludedSubtrees; in v2i_NAME_CONSTRAINTS()
155 if (*ptree == NULL) in v2i_NAME_CONSTRAINTS()
156 *ptree = sk_GENERAL_SUBTREE_new_null(); in v2i_NAME_CONSTRAINTS()
157 if (*ptree == NULL || !sk_GENERAL_SUBTREE_push(*ptree, sub)) in v2i_NAME_CONSTRAINTS()
H A Dpcy_tree.c97 static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs, in tree_init() argument
111 *ptree = NULL; in tree_init()
246 *ptree = tree; in tree_init()
660 int X509_policy_check(X509_POLICY_TREE **ptree, int *pexplicit_policy, in X509_policy_check() argument
670 *ptree = NULL; in X509_policy_check()
711 *ptree = tree; in X509_policy_check()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_pci.c143 struct pctrie ptree; member
173 pctrie_init(&priv->ptree); in linux_pdev_dma_init()
1389 linux_dma_trie_alloc(struct pctrie *ptree) in linux_dma_trie_alloc() argument
1396 linux_dma_trie_free(struct pctrie *ptree, void *node) in linux_dma_trie_free() argument
1454 error = LINUX_DMA_PCTRIE_INSERT(&priv->ptree, obj); in linux_dma_map_phys_common()
1492 if (pctrie_is_empty(&priv->ptree)) in linux_dma_unmap()
1496 obj = LINUX_DMA_PCTRIE_LOOKUP(&priv->ptree, dma_addr); in linux_dma_unmap()
1501 LINUX_DMA_PCTRIE_REMOVE(&priv->ptree, dma_addr); in linux_dma_unmap()
1600 if (pctrie_is_empty(&priv->ptree)) in linuxkpi_dma_sync()
1604 obj = LINUX_DMA_PCTRIE_LOOKUP(&priv->ptree, dma_addr); in linuxkpi_dma_sync()
/freebsd/contrib/ntp/include/
H A Dntp_config.h342 int dump_config_tree(config_tree *ptree, FILE *df, int comment);
/freebsd/crypto/openssl/include/openssl/
H A Dx509_vfy.h863 int X509_policy_check(X509_POLICY_TREE **ptree, int *pexplicit_policy,
H A Dx509_vfy.h.in766 int X509_policy_check(X509_POLICY_TREE **ptree, int *pexplicit_policy,