/trusty/kernel/lib/shared/binder_discover/ |
D | binder_discover.cpp | 37 struct bst_node node; member 43 : node(BST_NODE_INITIAL_VALUE), port(std::move(port)) {} in DiscoveryTreeNode() 46 : node(BST_NODE_INITIAL_VALUE), port(std::move(port)), binder(ib) {} in DiscoveryTreeNode() 49 auto nodea = containerof(a, DiscoveryTreeNode, node); in compare_by_port() 50 auto nodeb = containerof(b, DiscoveryTreeNode, node); in compare_by_port() 78 auto node = bst_search(&discovery_tree, &key.node, in binder_discover_get_service() local 80 if (node != nullptr) { in binder_discover_get_service() 81 ib = containerof(node, DiscoveryTreeNode, node)->binder; in binder_discover_get_service() 110 auto node = new (std::nothrow) DiscoveryTreeNode{port, ib}; in binder_discover_add_service() 111 if (node == nullptr) { in binder_discover_add_service() [all …]
|
/trusty/user/base/app/device_tree/tests/ |
D | main.c | 102 struct device_tree_inode* node = NULL; in TEST_F() local 106 int rc = device_tree_inode_get_subnode(_state->root_node, "chosen", &node); in TEST_F() 108 ASSERT_NE(node, NULL); in TEST_F() 111 rc = device_tree_inode_get_prop(node, "kaslr-seed", &prop); in TEST_F() 140 if (node) { in TEST_F() 141 device_tree_inode_release(&node); in TEST_F() 146 struct device_tree_inode* node = NULL; in TEST_F() local 151 int rc = device_tree_inode_get_subnode(_state->root_node, "chosen", &node); in TEST_F() 153 ASSERT_NE(node, NULL); in TEST_F() 156 rc = device_tree_inode_get_props(node, &prop_iter); in TEST_F() [all …]
|
/trusty/kernel/services/hwrng/ |
D | hwrng_service.c | 43 struct list_node node; member 71 struct hwrng_chan_ctx, node) { in hwrng_handle_req_queue() 109 list_delete(&ctx->node); in hwrng_handle_req_queue() 137 if (list_in_list(&ctx->node)) { in hwrng_handle_msg() 143 list_add_tail(&hwrng_req_list, &ctx->node); in hwrng_handle_msg() 170 if (list_in_list(&ctx->node)) { in hwrng_handle_channel_cleanup() 171 list_delete(&ctx->node); in hwrng_handle_channel_cleanup()
|
/trusty/kernel/lib/shared/device_tree/client/include/lib/shared/device_tree/ |
D | device_tree.h | 94 struct device_tree_inode** node); 106 int device_tree_inode_get_name(struct device_tree_inode* node, 143 int device_tree_inode_get_prop(struct device_tree_inode* node, 156 int device_tree_inode_get_props(struct device_tree_inode* node,
|
/trusty/user/app/storage/test/common/ |
D | error_reporting_mock.c | 30 struct mock_storage_error_report, node); in mock_error_report_next() 37 struct mock_storage_error_report, node); in mock_error_report_clear() 64 list_add_tail(&error_reports, &report->node); in do_error_report()
|
D | error_reporting_mock.h | 27 struct list_node node; member
|
/trusty/kernel/lib/trusty/ |
D | trusty_virtio.c | 66 struct bst_node node; member 92 containerof(a, struct trusty_virtio_bus, node); in compare_client_ids() 94 containerof(b, struct trusty_virtio_bus, node); in compare_client_ids() 146 new_bus->node = (struct bst_node)BST_NODE_INITIAL_VALUE; in alloc_new_bus() 175 bst_insert(&virtio_buses_tree, &new_bus->node, compare_client_ids); in create_new_bus() 200 .node = BST_NODE_INITIAL_VALUE, in get_client_bus_locked() 203 struct bst_node* node = in get_client_bus_locked() local 204 bst_search(&virtio_buses_tree, &bus.node, compare_client_ids); in get_client_bus_locked() 205 return containerof_null_safe(node, struct trusty_virtio_bus, node); in get_client_bus_locked() 245 bst_delete(&virtio_buses_tree, &vb->node); in remove_client_bus() [all …]
|
D | ipc.c | 99 node) { in ipc_connection_waiting_for_port() 117 struct ipc_chan, node) { in ipc_remove_connection_waiting_for_port() 207 list_for_every_entry(&ipc_port_list, port, struct ipc_port, node) { in ipc_get_port_list() 222 DEBUG_ASSERT(!list_in_list(&client->node)); in add_to_waiting_for_port_list_locked() 225 list_add_tail(&waiting_for_port_chan_list, &client->node); in add_to_waiting_for_port_list_locked() 232 DEBUG_ASSERT(list_in_list(&client->node)); in remove_from_waiting_for_port_list_locked() 239 list_delete(&client->node); in remove_from_waiting_for_port_list_locked() 260 if (list_in_list(&port->node)) { in port_shutdown() 261 list_delete(&port->node); in port_shutdown() 270 struct ipc_chan, node) { in port_shutdown() [all …]
|
D | trusty_virtio.h | 53 struct list_node node; member 101 struct list_node node; member
|
D | trusty_app.c | 197 list_add_tail(&allowed_mmio_ranges_list, &range->node); in trusty_app_allow_mmio_range() 228 struct trusty_app_mmio_allowed_range, node) { in app_mmio_is_allowed() 252 struct list_node node; member 271 struct trusty_app_dma_allowed_range, node) { in trusty_app_allow_dma_range() 289 list_add_tail(&app->props.dma_entry_list, &range_list_entry->node); in trusty_app_allow_dma_range() 303 struct trusty_app_dma_allowed_range, node) { in trusty_app_destroy_dma_range() 306 list_delete(&range->node); in trusty_app_destroy_dma_range() 329 struct trusty_app_dma_allowed_range, node) { in trusty_app_dma_is_allowed_locked() 376 list_add_tail(&app_notifier_list, &n->node); in trusty_register_app_notifier() 660 list_for_every_entry(&trusty_app_list, app, struct trusty_app, node) { in find_manifest_port_entry_locked() [all …]
|
/trusty/hardware/nxp/app/hwcrypto/ |
D | hwrng_srv.c | 40 struct list_node node; member 85 if (list_in_list(&ctx->node)) in hwrng_close_chan() 86 list_delete(&ctx->node); in hwrng_close_chan() 103 node) { in hwrng_handle_req_queue() 133 list_delete(&ctx->node); in hwrng_handle_req_queue() 166 if (list_in_list(&ctx->node)) { in hwrng_chan_handle_msg() 172 list_add_tail(&hwrng_req_list, &ctx->node); in hwrng_chan_handle_msg()
|
/trusty/user/app/sample/hwcrypto/ |
D | hwrng_srv.c | 37 struct list_node node; member 82 if (list_in_list(&ctx->node)) in hwrng_close_chan() 83 list_delete(&ctx->node); in hwrng_close_chan() 101 node) { in hwrng_handle_req_queue() 136 list_delete(&ctx->node); in hwrng_handle_req_queue() 169 if (list_in_list(&ctx->node)) { in hwrng_chan_handle_msg() 175 list_add_tail(&hwrng_req_list, &ctx->node); in hwrng_chan_handle_msg()
|
D | hwkey_srv.c | 58 struct list_node node; member 86 static void delete_opaque_handle(struct opaque_handle_node* node) { in delete_opaque_handle() argument 87 assert(node); in delete_opaque_handle() 90 memset(node->token, 0, HWKEY_OPAQUE_HANDLE_SIZE); in delete_opaque_handle() 92 list_delete(&node->node); in delete_opaque_handle() 93 free(node); in delete_opaque_handle() 103 struct opaque_handle_node, node) { in hwkey_ctx_close() 142 node) { in find_opaque_handle_for_slot() 168 list_add_tail(&opaque_handles, &entry->node); in insert_handle_node() 743 node) { in get_opaque_key()
|
/trusty/kernel/lib/shared/device_tree/client/ |
D | device_tree.cpp | 124 struct device_tree_inode** node) { in device_tree_inode_iter_get_next_node() argument 126 assert(node != nullptr); in device_tree_inode_iter_get_next_node() 140 *node = &pinode_container->cbinder; in device_tree_inode_iter_get_next_node() 145 int device_tree_inode_get_name(struct device_tree_inode* node, in device_tree_inode_get_name() argument 147 assert(node != nullptr); in device_tree_inode_get_name() 149 auto pnode = device_tree_inode_to_INode(node); in device_tree_inode_get_name() 209 int device_tree_inode_get_prop(struct device_tree_inode* node, in device_tree_inode_get_prop() argument 212 assert(node != nullptr); in device_tree_inode_get_prop() 222 const auto pinode = device_tree_inode_to_INode(node); in device_tree_inode_get_prop() 238 int device_tree_inode_get_props(struct device_tree_inode* node, in device_tree_inode_get_props() argument [all …]
|
/trusty/kernel/lib/trusty/include/lib/trusty/ |
D | trusty_app.h | 63 struct list_node node; member 67 struct list_node node; member 106 struct list_node node; member 114 .node = LIST_INITIAL_CLEARED_VALUE, \ 166 struct list_node node; member 219 struct list_node node; member
|
D | ipc.h | 68 struct list_node node; member 115 struct list_node node; member
|
/trusty/user/app/storage/ |
D | transaction.c | 181 assert(list_in_list(&tr->allocated.node)); in transaction_rebuild_free_set() 182 list_delete(&tr->allocated.node); in transaction_rebuild_free_set() 184 list_add_tail(&tr->fs->allocated, &previously_allocated.node); in transaction_rebuild_free_set() 187 list_add_tail(&tr->fs->allocated, &tr->allocated.node); in transaction_rebuild_free_set() 233 list_delete(&previously_allocated.node); in transaction_rebuild_free_set() 260 assert(list_in_list(&tr->allocated.node)); in transaction_delete_active() 261 assert(list_in_list(&tr->tmp_allocated.node)); in transaction_delete_active() 262 list_delete(&tr->allocated.node); in transaction_delete_active() 263 list_delete(&tr->tmp_allocated.node); in transaction_delete_active() 297 assert(list_in_list(&tr->node)); in transaction_free() [all …]
|
D | transaction.h | 58 struct list_node node; member 87 return list_in_list(&tr->allocated.node); in transaction_is_active()
|
/trusty/kernel/lib/extmem/ |
D | external_memory.c | 37 static struct ext_mem_obj* ext_mem_obj_from_bst_node(struct bst_node* node) { in ext_mem_obj_from_bst_node() argument 38 return containerof(node, struct ext_mem_obj, node); in ext_mem_obj_from_bst_node() 62 bst_node_initialize(&obj->node); in ext_mem_obj_initialize() 66 return bst_insert(objs, &obj->node, ext_mem_obj_cmp); in ext_mem_insert() 73 node); in ext_mem_lookup()
|
/trusty/user/base/app/line-coverage/ |
D | coverage.h | 64 struct list_node node; member 77 list_for_every_entry(head, record, struct coverage_record, node) { in find_coverage_record()
|
/trusty/user/base/app/coverage/ |
D | coverage.h | 64 struct list_node node; member 80 list_for_every_entry(head, record, struct coverage_record, node) { in find_coverage_record()
|
/trusty/kernel/lib/ktipc/test/srv/ |
D | srv.c | 40 struct list_node node; member 59 list_add_tail(&ctx->queued_msgs, &qmsg->node); in queue_buffer() 147 node) { in test_handle_channel_cleanup() 163 node) { in test_handle_send_unblocked() 175 list_delete(&qmsg->node); in test_handle_send_unblocked()
|
/trusty/kernel/lib/shared/device_tree/service/ |
D | device_tree_service.cpp | 103 Status NodeIterator::get_next_node(sp<INode>* node) { in get_next_node() argument 104 if (node == nullptr) { in get_next_node() 154 *node = next_node; in get_next_node() 176 Status Node::get_subnode(const std::string& node_name, sp<INode>* node) { in get_subnode() argument 177 if (node == nullptr) { in get_subnode() 199 *node = subnode; in get_subnode()
|
/trusty/kernel/lib/extmem/include/lib/extmem/ |
D | extmem.h | 82 struct bst_node node; member 146 bst_delete(objs, &obj->node); in ext_mem_delete()
|
/trusty/kernel/include/shared/lk/ |
D | trusty_benchmark.h | 290 node) { in trusty_bench_run_metrics() 314 node) { in trusty_bench_reset_metrics() 358 .node = LIST_INITIAL_CLEARED_VALUE, \ 370 &suite_name##_##bench_name##_##metric_name##_node.node); \ 409 .node = LIST_INITIAL_CLEARED_VALUE, \ 419 &suite_name##_##bench_name##_bench_##_node.node); \ 433 .node = LIST_INITIAL_CLEARED_VALUE, \ 444 &suite_name##_##bench_name##_bench_##params##_node.node); \ 472 struct bench_metric_list_node, node) { in set_param_metric() 483 list_add_tail(parameterized_list, &(list_pool[idx].node)); in set_param_metric()
|