/Zephyr-latest/tests/net/tcp/src/ |
D | main.c | 126 static void handle_client_test(sa_family_t af, struct tcphdr *th); 127 static void handle_server_test(sa_family_t af, struct tcphdr *th); 129 static void handle_syn_rst_ack(sa_family_t af, struct tcphdr *th); 130 static void handle_client_fin_wait_2_test(sa_family_t af, struct tcphdr *th); 131 static void handle_client_fin_wait_2_failure_test(sa_family_t af, struct tcphdr *th); 132 static void handle_client_closing_test(sa_family_t af, struct tcphdr *th); 133 static void handle_client_closing_failure_test(sa_family_t af, struct tcphdr *th); 134 static void handle_data_fin1_test(sa_family_t af, struct tcphdr *th); 135 static void handle_data_during_fin1_test(sa_family_t af, struct tcphdr *th); 137 static void handle_server_rst_on_closed_port(sa_family_t af, struct tcphdr *th); [all …]
|
/Zephyr-latest/scripts/tracing/ |
D | parse_ctf.py | 86 th = {} 101 th = get_thread(thread_name) 102 if not th: 103 th['name'] = thread_name 105 th = get_thread(thread_id) 106 if not th: 107 th['name'] = thread_id 110 th['out'] = ns_from_origin 111 tin = th.get('in', None) 112 tout = th.get('out', None) [all …]
|
/Zephyr-latest/lib/os/ |
D | p4wq.c | 19 static void set_prio(struct k_thread *th, struct k_p4wq_work *item) in set_prio() argument 21 __ASSERT_NO_MSG(!IS_ENABLED(CONFIG_SMP) || !z_is_thread_queued(th)); in set_prio() 22 th->base.prio = item->priority; in set_prio() 23 th->base.prio_deadline = item->deadline; in set_prio() 42 static void thread_set_requeued(struct k_thread *th) in thread_set_requeued() argument 44 th->base.user_options |= K_CALLBACK_STATE; in thread_set_requeued() 47 static void thread_clear_requeued(struct k_thread *th) in thread_clear_requeued() argument 49 th->base.user_options &= ~K_CALLBACK_STATE; in thread_clear_requeued() 52 static bool thread_was_requeued(struct k_thread *th) in thread_was_requeued() argument 54 return !!(th->base.user_options & K_CALLBACK_STATE); in thread_was_requeued() [all …]
|
/Zephyr-latest/tests/kernel/threads/dynamic_thread_stack/src/ |
D | main.c | 42 struct k_thread *th; in ZTEST_USER() local 60 th = k_object_alloc(K_OBJ_THREAD); in ZTEST_USER() 61 zassert_not_null(th); in ZTEST_USER() 63 tid = k_thread_create(th, stack, CONFIG_DYNAMIC_THREAD_STACK_SIZE, func, in ZTEST_USER() 78 static struct k_thread th[CONFIG_DYNAMIC_THREAD_POOL_SIZE]; in ZTEST() local 107 tid[i] = k_thread_create(&th[i], stack[i], in ZTEST() 130 static struct k_thread th[MAX_HEAP_STACKS]; in ZTEST() local 153 tid[i] = k_thread_create(&th[i], stack[i], in ZTEST() 217 static struct k_thread th[2]; in ZTEST() local 241 tid[0] = k_thread_create(&th[0], stack[0], CONFIG_DYNAMIC_THREAD_STACK_SIZE, perm_func, in ZTEST() [all …]
|
/Zephyr-latest/tests/posix/common/src/ |
D | pthread.c | 384 pthread_t th = {0}; in ZTEST() local 389 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST() 393 zassert_equal(pthread_tryjoin_np(th, &retval), EBUSY); in ZTEST() 399 zassert_ok(pthread_tryjoin_np(th, &retval)); in ZTEST() 404 pthread_t th = {0}; in ZTEST() local 430 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST() 433 zassert_equal(pthread_timedjoin_np(th, &ret, NULL), EINVAL); in ZTEST() 435 zassert_equal(pthread_timedjoin_np(th, &ret, &invalid[i]), EINVAL); in ZTEST() 439 zassert_equal(pthread_timedjoin_np(th, &ret, ¬_done), ETIMEDOUT); in ZTEST() 442 zassert_ok(pthread_timedjoin_np(th, &ret, &done)); in ZTEST() [all …]
|
D | mutex.c | 49 pthread_t th; in test_mutex_common() local 79 zassert_ok(pthread_create(&th, NULL, entry, NULL)); in test_mutex_common() 84 zassert_ok(pthread_join(th, NULL)); in test_mutex_common() 195 pthread_t th; in ZTEST() local 201 zassert_ok(pthread_create(&th, NULL, test_mutex_timedlock_fn, &mutex)); in ZTEST() 202 zassert_ok(pthread_join(th, &ret)); in ZTEST() 208 zassert_ok(pthread_create(&th, NULL, test_mutex_timedlock_fn, &mutex)); in ZTEST() 212 zassert_ok(pthread_join(th, &ret)); in ZTEST()
|
/Zephyr-latest/tests/lib/c_lib/thrd/src/ |
D | mtx.c | 23 static thrd_t th; variable 116 zassert_equal(thrd_success, thrd_create(&th, mtx_timedlock_fn, &mutex)); in ZTEST() 117 zassert_equal(thrd_success, thrd_join(th, &ret)); in ZTEST() 123 zassert_equal(thrd_success, thrd_create(&th, mtx_timedlock_fn, &mutex)); in ZTEST() 127 zassert_equal(thrd_success, thrd_join(th, &ret)); in ZTEST() 149 zassert_equal(thrd_success, thrd_create(&th, mtx_trylock_fn, &mutex)); in ZTEST() 150 zassert_equal(thrd_success, thrd_join(th, &ret)); in ZTEST()
|
/Zephyr-latest/tests/drivers/build_all/comparator/nrf_comp/ |
D | se.overlay | 12 th-up = <36>; 13 th-down = <28>;
|
D | se_aref.overlay | 13 th-up = <36>; 14 th-down = <28>;
|
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/snippets/nrf_comp/boards/ |
D | nrf5340dk_nrf5340_cpuapp.overlay | 12 th-up = <34>; 13 th-down = <30>;
|
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 12 th-up = <63>; 13 th-down = <59>;
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 12 th-up = <63>; 13 th-down = <59>;
|
/Zephyr-latest/samples/net/sockets/echo_server/src/ws_console/ |
D | style.css | 12 table, th, td { selector 17 th, td { selector 21 th { selector
|
/Zephyr-latest/tests/arch/riscv/userspace/riscv_gp/src/ |
D | main.c | 62 k_tid_t th; in ZTEST_USER() local 72 th = k_thread_create(&rogue_user_thread, rogue_user_stack, ROGUE_USER_STACK_SZ, in ZTEST_USER() 74 zassert_ok(k_thread_join(th, K_FOREVER)); in ZTEST_USER()
|
/Zephyr-latest/samples/posix/env/src/ |
D | main.c | 65 pthread_t th; in main() local 68 return pthread_create(&th, NULL, entry, NULL); in main()
|
/Zephyr-latest/subsys/net/ip/ |
D | tcp.c | 153 struct tcphdr *th = NULL; in th_get() local 162 if (!net_pkt_is_contiguous(pkt, sizeof(*th))) { in th_get() 163 if (tcp_pkt_linearize(pkt, ip_len, sizeof(*th)) < 0) { in th_get() 170 th = net_pkt_cursor_get_pos(pkt); in th_get() 172 return th; in th_get() 190 struct tcphdr *th; in tcp_endpoint_set() local 192 th = th_get(pkt); in tcp_endpoint_set() 193 if (!th) { in tcp_endpoint_set() 199 ep->sin.sin_port = src == TCP_EP_SRC ? th_sport(th) : in tcp_endpoint_set() 200 th_dport(th); in tcp_endpoint_set() [all …]
|
/Zephyr-latest/doc/security/ |
D | sensor-threat.rst | 43 programmed into the device, early in production [th-imboot]_. 52 [th-authrepl]_. 55 shall be done in a timely manner [th-timely-update]_. 60 [th-atomic-update]_. 68 [th-root-certs]_, [th-root-check]_. 85 of code necessary shall have access to them. [th-secret-storage]_ 103 certificate to be able to intercept this. [th-time]_ 114 should be allowed only from authorized parties. [th-conf]_ 132 [th-logs]_ 214 service [th-all-tls]_. The TLS stack shall be configured to use only cipher suites [all …]
|
/Zephyr-latest/tests/posix/eventfd/src/ |
D | stress.c | 26 static struct k_thread th[2]; variable 100 k_thread_create(&th[i], th_stack[i], K_THREAD_STACK_SIZEOF(th_stack[0]), th_fun, in ZTEST_F() 106 zassert_ok(k_thread_join(&th[i], K_FOREVER)); in ZTEST_F()
|
/Zephyr-latest/drivers/sensor/apds9960/ |
D | apds9960.c | 228 uint16_t th; in apds9960_ambient_setup() local 246 th = sys_cpu_to_le16(APDS9960_DEFAULT_AILT); in apds9960_ambient_setup() 249 (uint8_t *)&th, sizeof(th))) { in apds9960_ambient_setup() 254 th = sys_cpu_to_le16(APDS9960_DEFAULT_AIHT); in apds9960_ambient_setup() 257 (uint8_t *)&th, sizeof(th))) { in apds9960_ambient_setup()
|
/Zephyr-latest/tests/posix/xsi_threads_ext/src/ |
D | main.c | 41 pthread_t th; in create_thread_common_entry() local 48 zassert_ok(pthread_create(&th, attrp, entry, arg)); in create_thread_common_entry() 50 zassert_not_ok(pthread_create(&th, attrp, entry, arg)); in create_thread_common_entry() 55 zassert_ok(pthread_join(th, NULL), "failed to join joinable thread"); in create_thread_common_entry() 60 zassert_not_ok(pthread_join(th, NULL)); in create_thread_common_entry()
|
/Zephyr-latest/arch/arm64/core/ |
D | fpu.c | 31 static void DBG(char *msg, struct k_thread *th) in DBG() argument 43 strcat(buf, th->name); in DBG() 46 v = *(unsigned char *)&th->arch.saved_fp_context; in DBG()
|
/Zephyr-latest/arch/riscv/core/ |
D | fpu.c | 32 static void DBG(char *msg, struct k_thread *th) in DBG() argument 44 strcat(buf, th->name); in DBG() 46 v = *(unsigned char *)&th->arch.saved_fp_context; in DBG()
|
/Zephyr-latest/tests/benchmarks/sched/src/ |
D | main.c | 125 k_tid_t th = k_thread_create(&partner_thread, partner_stack, in main() local 144 z_ready_thread(th); in main()
|
/Zephyr-latest/drivers/cache/ |
D | Kconfig.nrf | 15 Manually set 28th bit in the LINEADDR in Trustzone Secure build.
|
/Zephyr-latest/tests/posix/signals/src/ |
D | main.c | 302 pthread_t th; in ZTEST() local 304 zassert_ok(pthread_create(&th, NULL, test_sigmask_entry, pthread_sigmask)); in ZTEST() 305 zassert_ok(pthread_join(th, NULL)); in ZTEST() 316 pthread_t th; in ZTEST() local 318 zassert_ok(pthread_create(&th, NULL, test_sigmask_entry, sigprocmask)); in ZTEST() 319 zassert_ok(pthread_join(th, NULL)); in ZTEST()
|