Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dpctrie.h38 struct pctrie *ptree; member
51 pctrie_iter_init(struct pctrie_iter *it, struct pctrie *ptree) in pctrie_iter_init() argument
53 it->ptree = ptree; in pctrie_iter_init()
59 pctrie_iter_limit_init(struct pctrie_iter *it, struct pctrie *ptree, in pctrie_iter_limit_init() argument
62 pctrie_iter_init(it, ptree); in pctrie_iter_limit_init()
74 name##_PCTRIE_LOOKUP_UNLOCKED(struct pctrie *ptree, uint64_t key) \
77 return name##_PCTRIE_VAL2PTR(pctrie_lookup_unlocked(ptree, \
108 name##_PCTRIE_INSERT_BASE(struct pctrie *ptree, uint64_t *val, \
119 child = allocfn(ptree); \
131 name##_PCTRIE_INSERT(struct pctrie *ptree, struct type *ptr) \
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_config.c273 static void free_config_tree(config_tree *ptree);
407 config_tree *ptree in fatal_error()
410 if (ptree->auth.keys) {
411 free(ptree->auth.keys);
412 ptree->auth.keys = NULL;
415 if (ptree->auth.keysdir) {
416 free(ptree->auth.keysdir); in free_auth_node()
417 ptree->auth.keysdir = NULL; in free_auth_node() argument
420 if (ptree->auth.ntp_signd_socket) { in free_auth_node()
421 free(ptree in free_auth_node()
440 init_syntax_tree(config_tree * ptree) init_syntax_tree() argument
452 config_tree *ptree; free_all_config_trees() local
467 free_config_tree(config_tree * ptree) free_config_tree() argument
543 dump_config_tree(config_tree * ptree,FILE * df,int comment) dump_config_tree() argument
1961 config_other_modes(config_tree * ptree) config_other_modes() argument
2025 free_config_other_modes(config_tree * ptree) free_config_other_modes() argument
2037 config_auth(config_tree * ptree) config_auth() argument
2186 free_config_auth(config_tree * ptree) free_config_auth() argument
2203 config_tos_clock(config_tree * ptree) config_tos_clock() argument
2233 config_tos(config_tree * ptree) config_tos() argument
2420 free_config_tos(config_tree * ptree) free_config_tos() argument
2430 config_monitor(config_tree * ptree) config_monitor() argument
2586 free_config_monitor(config_tree * ptree) free_config_monitor() argument
2603 config_access(config_tree * ptree) config_access() argument
3134 free_config_access(config_tree * ptree) free_config_access() argument
3146 config_rlimit(config_tree * ptree) config_rlimit() argument
3226 config_tinker(config_tree * ptree) config_tinker() argument
3287 free_config_rlimit(config_tree * ptree) free_config_rlimit() argument
3295 free_config_tinker(config_tree * ptree) free_config_tinker() argument
3309 config_nic_rules(config_tree * ptree,int input_from_file) config_nic_rules() argument
3423 free_config_nic_rules(config_tree * ptree) free_config_nic_rules() argument
3540 config_system_opts(config_tree * ptree) config_system_opts() argument
3551 free_config_system_opts(config_tree * ptree) free_config_system_opts() argument
3562 config_logconfig(config_tree * ptree) config_logconfig() argument
3592 free_config_logconfig(config_tree * ptree) free_config_logconfig() argument
3603 config_phone(config_tree * ptree) config_phone() argument
3626 config_mdnstries(config_tree * ptree) config_mdnstries() argument
3639 free_config_phone(config_tree * ptree) free_config_phone() argument
3650 config_setvar(config_tree * ptree) config_setvar() argument
3679 free_config_setvar(config_tree * ptree) free_config_setvar() argument
3690 config_ttl(config_tree * ptree) config_ttl() argument
3718 free_config_ttl(config_tree * ptree) free_config_ttl() argument
3729 config_trap(config_tree * ptree) config_trap() argument
3904 free_config_trap(config_tree * ptree) free_config_trap() argument
3915 config_fudge(config_tree * ptree) config_fudge() argument
4041 config_device(config_tree * ptree) config_device() argument
4103 free_config_fudge(config_tree * ptree) free_config_fudge() argument
4111 free_config_device(config_tree * ptree) free_config_device() argument
4121 config_vars(config_tree * ptree) config_vars() argument
4228 free_config_vars(config_tree * ptree) free_config_vars() argument
4373 config_peers(config_tree * ptree) config_peers() argument
4619 free_config_peers(config_tree * ptree) free_config_peers() argument
4642 config_unpeers(config_tree * ptree) config_unpeers() argument
4777 free_config_unpeers(config_tree * ptree) free_config_unpeers() argument
4800 config_reset_counters(config_tree * ptree) config_reset_counters() argument
4850 free_config_reset_counters(config_tree * ptree) free_config_reset_counters() argument
4861 config_sim(config_tree * ptree) config_sim() argument
4934 free_config_sim(config_tree * ptree) free_config_sim() argument
4980 config_ntpd(config_tree * ptree,int input_from_files) config_ntpd() argument
5047 config_ntpdsim(config_tree * ptree) config_ntpdsim() argument
5196 config_tree *ptree; save_and_apply_config_tree() local
[all...]
/freebsd/sys/kern/
H A Dsubr_pctrie.c153 pctrie_root(struct pctrie *ptree) in pctrie_root() argument
155 return ((smr_pctnode_t *)&ptree->pt_root); in pctrie_root()
162 pctrie_root_load(struct pctrie *ptree, smr_t smr, enum pctrie_access access) in pctrie_root_load() argument
164 return (pctrie_node_load(pctrie_root(ptree), smr, access)); in pctrie_root_load()
171 pctrie_child(struct pctrie *ptree, struct pctrie_node *node, uint64_t index) in pctrie_child() argument
173 return (node == NULL ? pctrie_root(ptree) : in pctrie_child()
279 pctrie_insert_lookup_compound(struct pctrie *ptree, uint64_t *val, in pctrie_insert_lookup_compound() argument
292 node = pctrie_root_load(ptree, NULL, PCTRIE_LOCKED); in pctrie_insert_lookup_compound()
298 pctrie_node_store(pctrie_root(ptree), in pctrie_insert_lookup_compound()
326 return ((parent == NULL) ? pctrie_root(ptree): &parent->pn_child[slot]); in pctrie_insert_lookup_compound()
[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.c528 buf_trie_alloc(struct pctrie *ptree) in buf_trie_alloc() argument
534 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.c519 swblk_trie_alloc(struct pctrie *ptree) in swblk_trie_alloc() argument
527 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()
1423 linux_dma_trie_alloc(struct pctrie *ptree) in linux_dma_trie_alloc() argument
1430 linux_dma_trie_free(struct pctrie *ptree, void *node) in linux_dma_trie_free() argument
1488 error = LINUX_DMA_PCTRIE_INSERT(&priv->ptree, obj); in linux_dma_map_phys_common()
1526 if (pctrie_is_empty(&priv->ptree)) in linux_dma_unmap()
1530 obj = LINUX_DMA_PCTRIE_LOOKUP(&priv->ptree, dma_addr); in linux_dma_unmap()
1535 LINUX_DMA_PCTRIE_REMOVE(&priv->ptree, dma_addr); in linux_dma_unmap()
1634 if (pctrie_is_empty(&priv->ptree)) in linuxkpi_dma_sync()
1638 obj = LINUX_DMA_PCTRIE_LOOKUP(&priv->ptree, dma_addr); in linuxkpi_dma_sync()
/freebsd/contrib/ntp/include/
H A Dntp_config.h347 int dump_config_tree(config_tree *ptree, FILE *df, int comment);
/freebsd/sys/netipsec/
H A Dipsec_offload.c122 drvspi_sa_trie_alloc(struct pctrie *ptree) in drvspi_sa_trie_alloc() argument
133 drvspi_sa_trie_free(struct pctrie *ptree, void *node) in drvspi_sa_trie_free() argument
/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,