/Zephyr-Core-3.6.0/tests/net/tcp/src/ |
D | main.c | 125 static void handle_client_test(sa_family_t af, struct tcphdr *th); 126 static void handle_server_test(sa_family_t af, struct tcphdr *th); 128 static void handle_syn_rst_ack(sa_family_t af, struct tcphdr *th); 129 static void handle_client_fin_wait_2_test(sa_family_t af, struct tcphdr *th); 130 static void handle_client_fin_wait_2_failure_test(sa_family_t af, struct tcphdr *th); 131 static void handle_client_closing_test(sa_family_t af, struct tcphdr *th); 132 static void handle_client_closing_failure_test(sa_family_t af, struct tcphdr *th); 133 static void handle_data_fin1_test(sa_family_t af, struct tcphdr *th); 134 static void handle_data_during_fin1_test(sa_family_t af, struct tcphdr *th); 136 static void handle_server_rst_on_closed_port(sa_family_t af, struct tcphdr *th); [all …]
|
/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/tests/posix/common/src/ |
D | mutex.c | 49 pthread_t th; in test_mutex_common() local 70 zassert_ok(pthread_create(&th, NULL, entry, NULL)); in test_mutex_common() 75 zassert_ok(pthread_join(th, NULL)); in test_mutex_common() 174 pthread_t th; in ZTEST() local 180 zassert_ok(pthread_create(&th, NULL, test_mutex_timedlock_fn, &mutex)); in ZTEST() 181 zassert_ok(pthread_join(th, &ret)); in ZTEST() 187 zassert_ok(pthread_create(&th, NULL, test_mutex_timedlock_fn, &mutex)); in ZTEST() 191 zassert_ok(pthread_join(th, &ret)); in ZTEST()
|
D | pthread.c | 496 pthread_t th; in ZTEST() local 498 zassert_ok(pthread_create(&th, NULL, test_pthread_cleanup_entry, NULL)); in ZTEST() 499 zassert_ok(pthread_join(th, NULL)); in ZTEST() 534 pthread_t th; in ZTEST() local 536 zassert_ok(pthread_create(&th, NULL, test_pthread_cancel_fn, NULL)); in ZTEST() 537 zassert_ok(pthread_join(th, NULL)); in ZTEST()
|
D | signal.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()
|
D | pthread_attr.c | 38 pthread_t th; in create_thread_common() local 45 zassert_ok(pthread_create(&th, attrp, thread_entry, UINT_TO_POINTER(joinable))); in create_thread_common() 47 zassert_not_ok(pthread_create(&th, attrp, thread_entry, UINT_TO_POINTER(joinable))); in create_thread_common() 52 zassert_ok(pthread_join(th, NULL), "failed to join joinable thread"); in create_thread_common() 57 zassert_not_ok(pthread_join(th, NULL)); in create_thread_common()
|
/Zephyr-Core-3.6.0/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-Core-3.6.0/subsys/net/ip/ |
D | tcp.c | 152 struct tcphdr *th = NULL; in th_get() local 161 if (!net_pkt_is_contiguous(pkt, sizeof(*th))) { in th_get() 162 if (tcp_pkt_linearize(pkt, ip_len, sizeof(*th)) < 0) { in th_get() 169 th = net_pkt_cursor_get_pos(pkt); in th_get() 171 return th; in th_get() 189 struct tcphdr *th; in tcp_endpoint_set() local 191 th = th_get(pkt); in tcp_endpoint_set() 192 if (!th) { in tcp_endpoint_set() 198 ep->sin.sin_port = src == TCP_EP_SRC ? th_sport(th) : in tcp_endpoint_set() 199 th_dport(th); in tcp_endpoint_set() [all …]
|
/Zephyr-Core-3.6.0/tests/kernel/threads/dynamic_thread_stack/src/ |
D | main.c | 42 static struct k_thread th[CONFIG_DYNAMIC_THREAD_POOL_SIZE]; in ZTEST() local 71 tid[i] = k_thread_create(&th[i], stack[i], in ZTEST() 94 static struct k_thread th[MAX_HEAP_STACKS]; in ZTEST() local 117 tid[i] = k_thread_create(&th[i], stack[i], in ZTEST()
|
/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/tests/benchmarks/sched/src/ |
D | main.c | 96 k_tid_t th = k_thread_create(&partner_thread, partner_stack, in main() local 111 z_ready_thread(th); in main()
|
/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/drivers/sensor/adxl367/ |
D | adxl367.c | 37 const struct adxl367_activity_threshold *th) in adxl367_setup_activity_detection() argument 46 FIELD_PREP(ADXL367_ACT_INACT_CTL_ACT_EN_MSK, th->enable) | in adxl367_setup_activity_detection() 48 th->referenced)); in adxl367_setup_activity_detection() 54 FIELD_PREP(ADXL367_THRESH_H_MSK, th->value >> 6)); in adxl367_setup_activity_detection() 60 FIELD_PREP(ADXL367_THRESH_L_MSK, th->value & 0x3F)); in adxl367_setup_activity_detection() 75 const struct adxl367_activity_threshold *th) in adxl367_setup_inactivity_detection() argument 84 th->enable) | in adxl367_setup_inactivity_detection() 86 th->referenced)); in adxl367_setup_inactivity_detection() 92 FIELD_PREP(ADXL367_THRESH_H_MSK, th->value >> 6)); in adxl367_setup_inactivity_detection() 98 FIELD_PREP(ADXL367_THRESH_L_MSK, th->value & 0x3F)); in adxl367_setup_inactivity_detection()
|
/Zephyr-Core-3.6.0/boards/x86/intel_rpl/doc/ |
D | index.rst | 8 Raptor Lake processor is a 13th generation 64-bit multi-core processor built 75 …el.com/content/www/us/en/design/products/platforms/details/raptor-lake-s/13th-generation-core-proc…
|
/Zephyr-Core-3.6.0/tests/kernel/sched/preempt/src/ |
D | main.c | 105 k_tid_t th = &worker_threads[i]; in wakeup_src_thread() local 109 str = k_thread_state_str(th, buffer, sizeof(buffer)); in wakeup_src_thread()
|
/Zephyr-Core-3.6.0/doc/_doxygen/ |
D | doxygen-awesome.css | 1648 th.markdownTableHeadLeft, 1649 th.markdownTableHeadRight, 1650 th.markdownTableHeadCenter, 1651 th.markdownTableHeadNone, 1652 table.doxtable th { 1659 th.markdownTableHeadLeft:first-child, 1660 th.markdownTableHeadRight:first-child, 1661 th.markdownTableHeadCenter:first-child, 1662 th.markdownTableHeadNone:first-child, 1663 table.doxtable tr th:first-child { [all …]
|
/Zephyr-Core-3.6.0/drivers/sensor/iis2dlpc/ |
D | iis2dlpc.c | 142 static int ii2sdlpc_set_slope_th(const struct device *dev, uint16_t th) in ii2sdlpc_set_slope_th() argument 148 err = iis2dlpc_wkup_threshold_set(ctx, th & 0x3F); in ii2sdlpc_set_slope_th() 151 th & 0x03, err); in ii2sdlpc_set_slope_th()
|
/Zephyr-Core-3.6.0/drivers/rtc/ |
D | Kconfig.pcf8523 | 34 used, additional correction pulses are made in the 59th second (MODE = 1).
|
/Zephyr-Core-3.6.0/kernel/ |
D | sched.c | 256 static inline bool should_queue_thread(struct k_thread *th) in should_queue_thread() argument 258 return !IS_ENABLED(CONFIG_SMP) || th != _current; in should_queue_thread() 522 void k_thread_time_slice_set(struct k_thread *th, int32_t thread_slice_ticks, in k_thread_time_slice_set() argument 526 th->base.slice_ticks = thread_slice_ticks; in k_thread_time_slice_set() 527 th->base.slice_expired = expired; in k_thread_time_slice_set() 528 th->base.slice_data = data; in k_thread_time_slice_set() 1447 struct k_thread *th = (struct k_thread *)thread; in z_impl_k_thread_priority_set() local 1449 z_thread_priority_set(th, prio); in z_impl_k_thread_priority_set()
|
/Zephyr-Core-3.6.0/modules/uoscore-uedhoc/ |
D | CMakeLists.txt | 102 ${UOSCORE_UEDHOC_SRC_DIR}/edhoc/th.c
|
/Zephyr-Core-3.6.0/lib/posix/options/ |
D | mqueue.c | 470 pthread_t th; in send_message() local 472 ret = pthread_create(&th, in send_message()
|