/Zephyr-latest/samples/userspace/prod_consumer/src/ |
D | app_syscall.c | 19 int z_impl_magic_syscall(unsigned int *cookie) in z_impl_magic_syscall() argument 21 LOG_DBG("magic syscall: got a cookie %u", *cookie); in z_impl_magic_syscall() 23 if (*cookie > 42) { in z_impl_magic_syscall() 28 *cookie = *cookie + 1; in z_impl_magic_syscall() 33 static int z_vrfy_magic_syscall(unsigned int *cookie) in z_vrfy_magic_syscall() argument 41 if (k_usermode_from_copy(&cookie_copy, cookie, sizeof(*cookie)) != 0) { in z_vrfy_magic_syscall() 50 k_usermode_to_copy(cookie, &cookie_copy, sizeof(*cookie)) != 0) { in z_vrfy_magic_syscall()
|
D | app_syscall.h | 9 __syscall int magic_syscall(unsigned int *cookie);
|
/Zephyr-latest/arch/riscv/core/ |
D | stacktrace.c | 17 typedef bool (*riscv_stacktrace_cb)(void *cookie, unsigned long addr, unsigned long sfp); 99 static void walk_stackframe(riscv_stacktrace_cb cb, void *cookie, const struct k_thread *thread, in walk_stackframe() argument 122 if (in_text_region(ra) && !cb(cookie, ra, fp)) { in walk_stackframe() 132 if (in_text_region(esf->ra) && !cb(cookie, esf->ra, fp)) { in walk_stackframe() 172 static void walk_stackframe(riscv_stacktrace_cb cb, void *cookie, const struct k_thread *thread, in walk_stackframe() argument 198 if (!cb(cookie, ra, POINTER_TO_UINT(ksp))) { in walk_stackframe() 214 void arch_stack_walk(stack_trace_callback_fn callback_fn, void *cookie, in arch_stack_walk() argument 224 walk_stackframe((riscv_stacktrace_cb)callback_fn, cookie, thread, esf, in_stack_bound, in arch_stack_walk()
|
/Zephyr-latest/include/zephyr/sys/ |
D | rb.h | 110 typedef void (*rb_visit_t)(struct rbnode *node, void *cookie); 115 void z_rb_walk(struct rbnode *node, rb_visit_t visit_fn, void *cookie); 166 void *cookie) in rb_walk() argument 168 z_rb_walk(tree->root, visit_fn, cookie); in rb_walk()
|
D | hash_map.h | 146 void *cookie) in sys_hashmap_foreach() argument 152 cb(it.key, it.value, cookie); in sys_hashmap_foreach() 166 void *cookie) in sys_hashmap_clear() argument 168 map->api->clear(map, cb, cookie); in sys_hashmap_clear()
|
D | hash_map_api.h | 106 typedef void (*sys_hashmap_callback_t)(uint64_t key, uint64_t value, void *cookie); 118 void *cookie);
|
/Zephyr-latest/tests/lib/hash_map/src/ |
D | foreach.c | 12 static void foreach_callback(uint64_t key, uint64_t value, void *cookie) in foreach_callback() argument 14 bool *called = (bool *)cookie; in foreach_callback()
|
D | clear.c | 27 static void clear_callback(uint64_t key, uint64_t value, void *cookie) in clear_callback() argument 29 bool *cleared = (bool *)cookie; in clear_callback()
|
/Zephyr-latest/arch/arm64/core/ |
D | fatal.c | 202 typedef bool (*arm64_stacktrace_cb)(void *cookie, unsigned long addr, void *fp); 204 static void walk_stackframe(arm64_stacktrace_cb cb, void *cookie, const struct arch_esf *esf, in walk_stackframe() argument 238 if (!cb(cookie, lr, fp)) { in walk_stackframe() 245 void arch_stack_walk(stack_trace_callback_fn callback_fn, void *cookie, in arch_stack_walk() argument 250 walk_stackframe((arm64_stacktrace_cb)callback_fn, cookie, esf, in arch_stack_walk()
|
/Zephyr-latest/lib/hash/ |
D | hash_map_cxx.cpp | 48 static void sys_hashmap_cxx_clear(struct sys_hashmap *map, sys_hashmap_callback_t cb, void *cookie) in sys_hashmap_cxx_clear() argument 58 cb(kv.first, kv.second, cookie); in sys_hashmap_cxx_clear()
|
D | hash_map_sc.c | 191 static void sys_hashmap_sc_clear(struct sys_hashmap *map, sys_hashmap_callback_t cb, void *cookie) in sys_hashmap_sc_clear() argument 212 cb(entry->key, entry->value, cookie); in sys_hashmap_sc_clear()
|
D | hash_map_oa_lp.c | 210 void *cookie) in sys_hashmap_oa_lp_clear() argument 219 cb(entry->key, entry->value, cookie); in sys_hashmap_oa_lp_clear()
|
/Zephyr-latest/arch/x86/core/ |
D | fatal.c | 129 __pinned_func static void walk_stackframe(stack_trace_callback_fn cb, void *cookie, in walk_stackframe() argument 179 if (!cb(cookie, frame->ret_addr)) { in walk_stackframe() 187 void arch_stack_walk(stack_trace_callback_fn callback_fn, void *cookie, in arch_stack_walk() argument 192 walk_stackframe(callback_fn, cookie, esf, in arch_stack_walk()
|
/Zephyr-latest/include/zephyr/arch/ |
D | arch_interface.h | 1279 typedef bool (*stack_trace_callback_fn)(void *cookie, unsigned long addr); 1296 void arch_stack_walk(stack_trace_callback_fn callback_fn, void *cookie,
|
/Zephyr-latest/tests/unit/rbtree/ |
D | main.c | 77 void visit_node(struct rbnode *node, void *cookie) in visit_node() argument 79 int *nwalked = cookie; in visit_node()
|
/Zephyr-latest/lib/utils/ |
D | rb.c | 504 void z_rb_walk(struct rbnode *node, rb_visit_t visit_fn, void *cookie) in z_rb_walk() argument 507 z_rb_walk(get_child(node, 0U), visit_fn, cookie); in z_rb_walk() 508 visit_fn(node, cookie); in z_rb_walk() 509 z_rb_walk(get_child(node, 1U), visit_fn, cookie); in z_rb_walk()
|
/Zephyr-latest/drivers/wifi/nrf_wifi/inc/ |
D | wpa_supp_if.h | 45 int cookie);
|
/Zephyr-latest/tests/net/dhcpv4/server/src/ |
D | main.c | 135 static const uint8_t cookie[4] = { 0x63, 0x82, 0x53, 0x63 }; variable 188 net_pkt_write(pkt, cookie, SIZE_OF_MAGIC_COOKIE); in client_prepare_test_msg() 561 zassert_mem_equal(cookie_buf, cookie, SIZE_OF_MAGIC_COOKIE, in verify_offer() 744 zassert_mem_equal(cookie_buf, cookie, SIZE_OF_MAGIC_COOKIE, in verify_ack()
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4.c | 961 uint8_t cookie[4]; in dhcpv4_parse_options() local 969 if (net_pkt_read(pkt, cookie, sizeof(cookie)) || in dhcpv4_parse_options() 970 memcmp(magic_cookie, cookie, sizeof(magic_cookie))) { in dhcpv4_parse_options()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_tls.c | 217 mbedtls_ssl_cookie_ctx cookie; member 470 mbedtls_ssl_cookie_init(&tls->cookie); in tls_alloc() 535 mbedtls_ssl_cookie_free(&tls->cookie); in tls_release() 1353 ret = mbedtls_ssl_cookie_setup(&context->cookie, in tls_mbedtls_init() 1363 &context->cookie); in tls_mbedtls_init()
|
/Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
D | wpa_supp_if.c | 1325 __func__, mlme_event->cookie, acked ? "ACK" : "NOACK"); in nrf_wifi_wpa_supp_event_mgmt_tx_status() 1385 int cookie) in nrf_wifi_nl80211_send_mlme() argument 1452 mgmt_tx_info->host_cookie = cookie; in nrf_wifi_nl80211_send_mlme() 1456 cookie, wait_time, noack); in nrf_wifi_nl80211_send_mlme()
|
D | fmac_main.c | 414 LOG_DBG("%s: cookie_rsp_event->cookie = %llx", __func__, cookie_rsp_event->cookie); in nrf_wifi_event_proc_cookie_rsp()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.6.rst | 1138 * :github:`35522` - doc: Current section is not shown in the side pane nor the page top cookie
|