Home
last modified time | relevance | path

Searched +defs:key +defs:value (Results 1 – 25 of 81) sorted by relevance

1234

/Zephyr-latest/kernel/
Datomic_c.c84 k_spinlock_key_t key; in z_impl_atomic_cas() local
121 k_spinlock_key_t key; in z_impl_atomic_ptr_cas() local
161 atomic_val_t z_impl_atomic_add(atomic_t *target, atomic_val_t value) in z_impl_atomic_add()
163 k_spinlock_key_t key; in z_impl_atomic_add() local
191 atomic_val_t z_impl_atomic_sub(atomic_t *target, atomic_val_t value) in z_impl_atomic_sub()
193 k_spinlock_key_t key; in z_impl_atomic_sub() local
242 atomic_val_t z_impl_atomic_set(atomic_t *target, atomic_val_t value) in z_impl_atomic_set()
244 k_spinlock_key_t key; in z_impl_atomic_set() local
260 atomic_ptr_val_t value) in z_impl_atomic_ptr_set()
262 k_spinlock_key_t key; in z_impl_atomic_ptr_set() local
[all …]
/Zephyr-latest/tests/posix/common/src/
Dkey.c16 static pthread_key_t key; variable
23 void *value; in thread_top() local
37 void *value; in thread_func() local
77 ZTEST(key, test_key_1toN_thread) in ZTEST() argument
98 ZTEST(key, test_key_Nto1_thread) in ZTEST() argument
116 ZTEST(key, test_key_resource_leak) in ZTEST() argument
118 pthread_key_t key; in ZTEST() local
126 ZTEST(key, test_correct_key_is_deleted) in ZTEST() argument
128 pthread_key_t key; in ZTEST() local
149 int value = 42; in setspecific_thread() local
[all …]
/Zephyr-latest/lib/posix/options/
Dkey.c39 static inline size_t to_posix_key_idx(pthread_key_t key) in to_posix_key_idx()
44 static pthread_key_obj *get_posix_key(pthread_key_t key) in get_posix_key()
70 static pthread_key_obj *to_posix_key(pthread_key_t *key) in to_posix_key()
100 int pthread_key_create(pthread_key_t *key, in pthread_key_create()
124 int pthread_key_delete(pthread_key_t key) in pthread_key_delete()
168 int pthread_setspecific(pthread_key_t key, const void *value) in pthread_setspecific()
243 void *pthread_getspecific(pthread_key_t key) in pthread_getspecific()
248 void *value = NULL; in pthread_getspecific() local
/Zephyr-latest/lib/hash/
Dhash_map_cxx.cpp69 static int sys_hashmap_cxx_insert(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_cxx_insert()
99 static bool sys_hashmap_cxx_remove(struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_cxx_remove()
129 static bool sys_hashmap_cxx_get(const struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_cxx_get()
Dhash_map_sc.c20 uint64_t key; member
21 uint64_t value; member
25 static void sys_hashmap_sc_entry_init(struct sys_hashmap_sc_entry *entry, uint64_t key, in sys_hashmap_sc_entry_init()
26 uint64_t value) in sys_hashmap_sc_entry_init()
109 static struct sys_hashmap_sc_entry *sys_hashmap_sc_find(const struct sys_hashmap *map, uint64_t key) in sys_hashmap_sc_find()
220 static int sys_hashmap_sc_insert(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_sc_insert()
253 static bool sys_hashmap_sc_remove(struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_sc_remove()
280 static bool sys_hashmap_sc_get(const struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_sc_get()
Dhash_map_oa_lp.c25 uint64_t key; member
26 uint64_t value; member
37 static struct oalp_entry *sys_hashmap_oa_lp_find(const struct sys_hashmap *map, uint64_t key, in sys_hashmap_oa_lp_find()
76 static int sys_hashmap_oa_lp_insert_no_rehash(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_oa_lp_insert_no_rehash()
234 static inline int sys_hashmap_oa_lp_insert(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_oa_lp_insert()
247 static bool sys_hashmap_oa_lp_remove(struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_oa_lp_remove()
271 static bool sys_hashmap_oa_lp_get(const struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_oa_lp_get()
/Zephyr-latest/subsys/bluetooth/host/
Dsettings.c28 const bt_addr_le_t *addr, const char *key) in bt_settings_encode_key()
48 const bt_addr_le_t *addr, const char *key) in bt_settings_encode_key()
97 int bt_settings_decode_key(const char *key, bt_addr_le_t *addr) in bt_settings_decode_key()
303 __weak void bt_testing_settings_store_hook(const char *key, const void *value, size_t val_len) in bt_testing_settings_store_hook()
310 __weak void bt_testing_settings_delete_hook(const char *key) in bt_testing_settings_delete_hook()
315 int bt_settings_store(const char *key, uint8_t id, const bt_addr_le_t *addr, const void *value, in bt_settings_store()
342 int bt_settings_delete(const char *key, uint8_t id, const bt_addr_le_t *addr) in bt_settings_delete()
368 int bt_settings_store_sc(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len) in bt_settings_store_sc()
378 int bt_settings_store_cf(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len) in bt_settings_store_cf()
388 int bt_settings_store_ccc(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len) in bt_settings_store_ccc()
[all …]
/Zephyr-latest/include/zephyr/net/prometheus/
Dlabel.h33 const char *key; member
35 const char *value; member
/Zephyr-latest/arch/arm/include/cortex_m/
Dkernel_arch_func.h64 static ALWAYS_INLINE void arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set()
82 static ALWAYS_INLINE int arch_swap(unsigned int key) in arch_swap()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings_clear/src/
Dbt_settings_hook.c20 char *key; member
28 static void add_key(const char *key) in add_key()
61 static void remove_key(const char *key) in remove_key()
130 void bt_testing_settings_store_hook(const char *key, const void *value, size_t val_len) in bt_testing_settings_store_hook()
138 void bt_testing_settings_delete_hook(const char *key) in bt_testing_settings_delete_hook()
/Zephyr-latest/tests/lib/hash_map/src/
Dforeach.c12 static void foreach_callback(uint64_t key, uint64_t value, void *cookie) in foreach_callback()
Dclear.c27 static void clear_callback(uint64_t key, uint64_t value, void *cookie) in clear_callback()
/Zephyr-latest/drivers/gpio/
Dgpio_mmio32.c74 unsigned int key; in gpio_mmio32_config() local
89 static int gpio_mmio32_port_get_raw(const struct device *dev, uint32_t *value) in gpio_mmio32_port_get_raw()
99 static int gpio_mmio32_port_set_masked_raw(const struct device *dev, uint32_t mask, uint32_t value) in gpio_mmio32_port_set_masked_raw()
104 unsigned int key; in gpio_mmio32_port_set_masked_raw() local
122 unsigned int key; in gpio_mmio32_port_set_bits_raw() local
139 unsigned int key; in gpio_mmio32_port_clear_bits_raw() local
156 unsigned int key; in gpio_mmio32_port_toggle_bits() local
Dgpio_kscan_ite_it8xxx2.c72 unsigned int key = irq_lock(); in gpio_kscan_it8xxx2_configure() local
147 gpio_port_value_t *value) in gpio_kscan_it8xxx2_port_get_raw()
160 gpio_port_value_t value) in gpio_kscan_it8xxx2_port_set_masked_raw()
164 unsigned int key = irq_lock(); in gpio_kscan_it8xxx2_port_set_masked_raw() local
180 unsigned int key = irq_lock(); in gpio_kscan_it8xxx2_port_set_bits_raw() local
195 unsigned int key = irq_lock(); in gpio_kscan_it8xxx2_port_clear_bits_raw() local
210 unsigned int key = irq_lock(); in gpio_kscan_it8xxx2_port_toggle_bits() local
Dgpio_neorv32.c63 unsigned int key; in neorv32_gpio_pin_configure() local
94 gpio_port_value_t *value) in neorv32_gpio_port_get_raw()
102 gpio_port_value_t value) in neorv32_gpio_port_set_masked_raw()
105 unsigned int key; in neorv32_gpio_port_set_masked_raw() local
119 unsigned int key; in neorv32_gpio_port_set_bits_raw() local
133 unsigned int key; in neorv32_gpio_port_clear_bits_raw() local
147 unsigned int key; in neorv32_gpio_port_toggle_bits() local
Dgpio_imx.c88 unsigned int key = irq_lock(); in imx_gpio_configure() local
118 static int imx_gpio_port_get_raw(const struct device *port, uint32_t *value) in imx_gpio_port_get_raw()
130 gpio_port_value_t value) in imx_gpio_port_set_masked_raw()
135 unsigned int key = irq_lock(); in imx_gpio_port_set_masked_raw() local
149 unsigned int key = irq_lock(); in imx_gpio_port_set_bits_raw() local
162 unsigned int key = irq_lock(); in imx_gpio_port_clear_bits_raw() local
175 unsigned int key = irq_lock(); in imx_gpio_port_toggle_bits() local
190 unsigned int key; in imx_gpio_pin_interrupt_configure() local
Dgpio_ite_it8xxx2_v2.c97 k_spinlock_key_t key = k_spin_lock(&data->lock); in gpio_ite_configure() local
238 k_spinlock_key_t key = k_spin_lock(&data->lock); in gpio_ite_get_config() local
290 gpio_port_value_t *value) in gpio_ite_port_get_raw()
303 gpio_port_value_t value) in gpio_ite_port_set_masked_raw()
309 k_spinlock_key_t key = k_spin_lock(&data->lock); in gpio_ite_port_set_masked_raw() local
325 k_spinlock_key_t key = k_spin_lock(&data->lock); in gpio_ite_port_set_bits_raw() local
340 k_spinlock_key_t key = k_spin_lock(&data->lock); in gpio_ite_port_clear_bits_raw() local
355 k_spinlock_key_t key = k_spin_lock(&data->lock); in gpio_ite_port_toggle_bits() local
369 k_spinlock_key_t key = k_spin_lock(&data->lock); in gpio_ite_manage_callback() local
411 gpio_port_value_t value; in gpio_ite_interrupt_worker() local
[all …]
/Zephyr-latest/drivers/rtc/
Drtc_mc146818.c132 uint8_t value; in rtc_read() local
140 static void rtc_write(int reg, uint8_t value) in rtc_write()
175 uint8_t value; in rtc_mc146818_set_time() local
180 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_set_time() local
222 uint8_t value; in rtc_mc146818_get_time() local
224 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_get_time() local
310 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_alarm_set_time() local
356 uint8_t value; in rtc_mc146818_alarm_get_time() local
359 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_alarm_get_time() local
406 k_spinlock_key_t key = k_spin_lock(&dev_data->lock); in rtc_mc146818_alarm_set_callback() local
[all …]
/Zephyr-latest/drivers/timer/
Darcv2_timer0.c116 static ALWAYS_INLINE void timer0_count_register_set(uint32_t value) in timer0_count_register_set()
134 static ALWAYS_INLINE void timer0_control_register_set(uint32_t value) in timer0_control_register_set()
218 k_spinlock_key_t key; in timer_int_handler() local
242 uint32_t key; in timer_int_handler() local
280 uint32_t key; in sys_clock_set_timeout() local
367 k_spinlock_key_t key = k_spin_lock(&lock); in sys_clock_elapsed() local
/Zephyr-latest/arch/arm/include/cortex_a_r/
Dkernel_arch_func.h40 static ALWAYS_INLINE int arch_swap(unsigned int key) in arch_swap()
56 arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set()
/Zephyr-latest/include/zephyr/sys/
Dhash_map.h186 static inline int sys_hashmap_insert(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_insert()
204 static inline bool sys_hashmap_remove(struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_remove()
221 static inline bool sys_hashmap_get(const struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_get()
235 static inline bool sys_hashmap_contains_key(const struct sys_hashmap *map, uint64_t key) in sys_hashmap_contains_key()
/Zephyr-latest/lib/os/zvfs/
Dzvfs_eventfd.c101 static int zvfs_eventfd_read_locked(struct zvfs_eventfd *efd, zvfs_eventfd_t *value) in zvfs_eventfd_read_locked()
131 static int zvfs_eventfd_write_locked(struct zvfs_eventfd *efd, zvfs_eventfd_t *value) in zvfs_eventfd_write_locked()
176 k_spinlock_key_t key; in zvfs_eventfd_close_op() local
225 k_spinlock_key_t key; in zvfs_eventfd_ioctl_op() local
301 int (*op)(struct zvfs_eventfd *efd, zvfs_eventfd_t *value)) in zvfs_eventfd_rw_op()
305 k_spinlock_key_t key; in zvfs_eventfd_rw_op() local
449 int zvfs_eventfd_read(int fd, zvfs_eventfd_t *value) in zvfs_eventfd_read()
468 int zvfs_eventfd_write(int fd, zvfs_eventfd_t value) in zvfs_eventfd_write()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_swerv_pic.c40 #define swerv_pic_readcsr(csr, value) \ argument
42 #define swerv_pic_writecsr(csr, value) \ argument
59 uint32_t key; in swerv_pic_irq_enable() local
72 uint32_t key; in swerv_pic_irq_disable() local
95 uint32_t key; in swerv_pic_set_priority() local
/Zephyr-latest/modules/canopennode/
Dcanopen_storage.c32 uint32_t value; in canopen_odf_1010() local
70 uint32_t value; in canopen_odf_1011() local
125 static int canopen_settings_set(const char *key, size_t len_rd, in canopen_settings_set()
/Zephyr-latest/drivers/edac/
Dedac_ibecc.c32 uint16_t reg, uint64_t value) in ibecc_write_reg64()
50 uint16_t reg, uint32_t value) in ibecc_write_reg32()
126 static int inject_get_param1(const struct device *dev, uint64_t *value) in inject_get_param1()
144 static int inject_get_param2(const struct device *dev, uint64_t *value) in inject_get_param2()
194 static int ecc_error_log_get(const struct device *dev, uint64_t *value) in ecc_error_log_get()
217 static int parity_error_log_get(const struct device *dev, uint64_t *value) in parity_error_log_get()
252 unsigned int key = irq_lock(); in notify_callback_set() local
395 k_spinlock_key_t key; in z_x86_do_kernel_nmi() local

1234