/freebsd/sys/sys/ |
H A D | pctrie.h | 83 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 D | ntp_config.c | 417 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 D | subr_pctrie.c | 281 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 D | subr_rangeset.c | 57 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 D | vfs_subr.c | 523 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 D | vm_radix.c | 74 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 D | vm_radix.h | 43 void *vm_radix_node_alloc(struct pctrie *ptree); 44 void vm_radix_node_free(struct pctrie *ptree, void *node);
|
H A D | swap_pager.c | 510 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 D | v3_ncons.c | 130 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 D | pcy_tree.c | 97 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 D | linux_pci.c | 143 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 D | ntp_config.h | 342 int dump_config_tree(config_tree *ptree, FILE *df, int comment);
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | x509_vfy.h | 863 int X509_policy_check(X509_POLICY_TREE **ptree, int *pexplicit_policy,
|
H A D | x509_vfy.h.in | 766 int X509_policy_check(X509_POLICY_TREE **ptree, int *pexplicit_policy,
|