Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 155) sorted by relevance

1234567

/Zephyr-latest/boards/native/nrf_bsim/common/cmsis/
Dcmsis_instr.h76 static inline uint32_t __STREXB(uint8_t value, volatile uint8_t *ptr) in __STREXB()
89 static inline uint32_t __STREXH(uint16_t value, volatile uint16_t *ptr) in __STREXH()
102 static inline uint32_t __STREXW(uint32_t value, volatile uint32_t *ptr) in __STREXW()
116 static inline uint8_t __LDREXB(volatile uint8_t *ptr) in __LDREXB()
129 static inline uint16_t __LDREXH(volatile uint16_t *ptr) in __LDREXH()
142 static inline uint32_t __LDREXW(volatile uint32_t *ptr) in __LDREXW()
/Zephyr-latest/include/zephyr/internal/
Dsyscall_handler.h410 #define K_SYSCALL_MEMORY_SIZE_CHECK(ptr, size) \ argument
431 #define K_SYSCALL_MEMORY(ptr, size, write) \ argument
455 #define K_SYSCALL_MEMORY_READ(ptr, size) \ argument
474 #define K_SYSCALL_MEMORY_WRITE(ptr, size) \ argument
477 #define K_SYSCALL_MEMORY_ARRAY(ptr, nmemb, size, write) \ argument
502 #define K_SYSCALL_MEMORY_ARRAY_READ(ptr, nmemb, size) \ argument
519 #define K_SYSCALL_MEMORY_ARRAY_WRITE(ptr, nmemb, size) \ argument
542 #define K_SYSCALL_IS_OBJ(ptr, type, init) \ argument
562 #define K_SYSCALL_DRIVER_OP(ptr, api_name, op) \ argument
613 #define K_SYSCALL_OBJ(ptr, type) \ argument
[all …]
/Zephyr-latest/lib/posix/options/
Dfs.c37 struct posix_fs_desc *ptr = NULL; in posix_fs_alloc_obj() local
53 static inline void posix_fs_free_obj(struct posix_fs_desc *ptr) in posix_fs_free_obj()
85 struct posix_fs_desc *ptr = NULL; in zvfs_open() local
142 struct posix_fs_desc *ptr = obj; in fs_close_vmeth() local
154 struct posix_fs_desc *ptr = obj; in fs_ioctl_vmeth() local
207 struct posix_fs_desc *ptr = obj; in fs_write_vmeth() local
226 struct posix_fs_desc *ptr = obj; in fs_read_vmeth() local
252 struct posix_fs_desc *ptr; in opendir() local
280 struct posix_fs_desc *ptr = dirp; in closedir() local
307 struct posix_fs_desc *ptr = dirp; in readdir() local
Dfile_system_r.c25 struct posix_fs_desc *const ptr = dirp; in readdir_r() local
/Zephyr-latest/modules/hal_silabs/simplicity_sdk/src/
Dsl_memory_manager_shim.c18 void sl_free(void *ptr) in sl_free()
28 void *sl_realloc(void *ptr, size_t size) in sl_realloc()
/Zephyr-latest/include/zephyr/arch/xtensa/
Dcache.h209 static inline bool arch_cache_is_ptr_cached(void *ptr) in arch_cache_is_ptr_cached()
229 static inline bool arch_cache_is_ptr_uncached(void *ptr) in arch_cache_is_ptr_uncached()
277 static inline void __sparse_cache *arch_cache_cached_ptr_get(void *ptr) in arch_cache_cached_ptr_get()
302 static inline void *arch_cache_uncached_ptr_get(void __sparse_cache *ptr) in arch_cache_uncached_ptr_get()
309 static inline bool arch_cache_is_ptr_cached(void *ptr) in arch_cache_is_ptr_cached()
316 static inline bool arch_cache_is_ptr_uncached(void *ptr) in arch_cache_is_ptr_uncached()
323 static inline void *arch_cache_cached_ptr_get(void *ptr) in arch_cache_cached_ptr_get()
328 static inline void *arch_cache_uncached_ptr_get(void *ptr) in arch_cache_uncached_ptr_get()
/Zephyr-latest/lib/cpp/minimal/
Dcpp_new.cpp66 void operator delete(void* ptr) NOEXCEPT in operator delete()
71 void operator delete[](void* ptr) NOEXCEPT in operator delete[]()
77 void operator delete(void* ptr, size_t) NOEXCEPT in operator delete()
82 void operator delete[](void* ptr, size_t) NOEXCEPT in operator delete[]()
/Zephyr-latest/include/zephyr/arch/
Dcache.h340 #define cache_is_ptr_cached(ptr) arch_cache_is_ptr_cached(ptr) argument
343 #define cache_is_ptr_uncached(ptr) arch_cache_is_ptr_uncached(ptr) argument
346 #define cache_cached_ptr(ptr) arch_cache_cached_ptr_get(ptr) argument
349 #define cache_uncached_ptr(ptr) arch_cache_uncached_ptr_get(ptr) argument
/Zephyr-latest/subsys/net/lib/shell/
Dpkt.c13 static bool is_pkt_part_of_slab(const struct k_mem_slab *slab, const char *ptr) in is_pkt_part_of_slab()
33 const void *ptr; member
55 static bool is_pkt_ptr_valid(const void *ptr) in is_pkt_ptr_valid()
84 intptr_t ptr = 0; in get_net_pkt() local
/Zephyr-latest/lib/libc/common/source/stdlib/
Dmalloc.c241 void *realloc(void *ptr, size_t requested_size) in realloc()
258 void free(void *ptr) in free()
277 void free(void *ptr) in free()
282 void *realloc(void *ptr, size_t size) in realloc()
312 void *reallocarray(void *ptr, size_t nmemb, size_t size) in reallocarray()
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/
Dcmsis_mempool.c31 void *ptr; in osPoolAlloc() local
47 void *ptr; in osPoolCAlloc() local
Dcmsis_mailq.c34 char *ptr; in osMailAlloc() local
68 char *ptr; in osMailCAlloc() local
/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap_api.c34 void *ptr; in tIsr_malloc_and_free() local
43 void *ptr; in thread_entry() local
252 void *ptr; in ZTEST() local
339 void *ptr = sys_multi_heap_realloc(&multi_heap, (void *)(long)i, in ZTEST() local
365 void *ptr = sys_multi_heap_realloc(&multi_heap, (void *)(long)i, in ZTEST() local
377 void *ptr = sys_multi_heap_realloc(&multi_heap, (void *)0L, in ZTEST() local
/Zephyr-latest/soc/espressif/common/
Desp_heap_runtime.c58 void *ptr = k_heap_alloc(&esp_heap_runtime, sz, K_NO_WAIT); in esp_heap_runtime_calloc() local
67 void *esp_heap_runtime_realloc(void *ptr, size_t bytes) in esp_heap_runtime_realloc()
/Zephyr-latest/include/zephyr/sys/
Dmpsc_lockfree.h57 #define mpsc_ptr_get(ptr) atomic_ptr_get(&(ptr)) argument
58 #define mpsc_ptr_set(ptr, val) atomic_ptr_set(&(ptr), val) argument
59 #define mpsc_ptr_set_get(ptr, val) atomic_ptr_set(&(ptr), val) argument
/Zephyr-latest/tests/kernel/mem_slab/mslab/src/
Dmain.c61 void *ptr[NUMBLOCKS]; /* Pointer to memory block */ in helper_thread() local
213 void *ptr[NUMBLOCKS]; /* Pointer to memory block */ in ZTEST() local
/Zephyr-latest/include/zephyr/
Dcache.h458 static ALWAYS_INLINE bool sys_cache_is_ptr_cached(void *ptr) in sys_cache_is_ptr_cached()
482 static ALWAYS_INLINE bool sys_cache_is_ptr_uncached(void *ptr) in sys_cache_is_ptr_uncached()
511 static ALWAYS_INLINE void __sparse_cache *sys_cache_cached_ptr_get(void *ptr) in sys_cache_cached_ptr_get()
536 static ALWAYS_INLINE void *sys_cache_uncached_ptr_get(void __sparse_cache *ptr) in sys_cache_uncached_ptr_get()
/Zephyr-latest/lib/libc/minimal/source/stdout/
Dstdout_console.c68 size_t z_impl_zephyr_fwrite(const void *ZRESTRICT ptr, size_t size, in z_impl_zephyr_fwrite()
99 static inline size_t z_vrfy_zephyr_fwrite(const void *ZRESTRICT ptr, in z_vrfy_zephyr_fwrite()
110 size_t fwrite(const void *ZRESTRICT ptr, size_t size, size_t nitems, in fwrite()
/Zephyr-latest/modules/lvgl/
Dlvgl_mem.c38 void *lvgl_realloc(void *ptr, size_t size) in lvgl_realloc()
50 void lvgl_free(void *ptr) in lvgl_free()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/san/asan/src/
Dmain.c17 int *ptr; variable
/Zephyr-latest/arch/riscv/core/
Dfpu.S20 #define DO_FP_REGS(op, ptr) \ argument
/Zephyr-latest/tests/lib/mem_alloc/src/
Dmain.c78 char *ptr = NULL; in _test_no_mem_realloc() local
118 char *ptr[64] = { NULL }; in ZTEST() local
220 char *ptr = NULL; in ZTEST() local
293 char *ptr = NULL; in ZTEST() local
366 char *ptr = NULL; in _test_memalloc_max() local
/Zephyr-latest/lib/net_buf/
Dbuf_simple.c185 void *ptr; in net_buf_simple_remove_u8() local
196 void *ptr; in net_buf_simple_remove_le16() local
207 void *ptr; in net_buf_simple_remove_be16() local
220 void *ptr; in net_buf_simple_remove_le24() local
233 void *ptr; in net_buf_simple_remove_be24() local
244 void *ptr; in net_buf_simple_remove_le32() local
255 void *ptr; in net_buf_simple_remove_be32() local
268 void *ptr; in net_buf_simple_remove_le40() local
281 void *ptr; in net_buf_simple_remove_be40() local
294 void *ptr; in net_buf_simple_remove_le48() local
[all …]
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_util.c87 char *ptr = NULL; in nrf_wifi_util_set_he_ltf() local
118 char *ptr = NULL; in nrf_wifi_util_set_he_gi() local
150 char *ptr = NULL; in nrf_wifi_util_set_he_ltf_gi() local
187 char *ptr = NULL; in nrf_wifi_util_set_uapsd_queue() local
333 char *ptr = NULL; in nrf_wifi_util_tx_rate() local
/Zephyr-latest/lib/mem_blocks/
Dmem_blocks.c53 static int free_blocks(sys_mem_blocks_t *mem_block, void *ptr, in free_blocks()
109 void *ptr = alloc_blocks(mem_block, count); in sys_mem_blocks_alloc_contiguous() local
149 void *ptr = alloc_blocks(mem_block, 1); in sys_mem_blocks_alloc() local
274 void *ptr = in_blocks[i]; in sys_mem_blocks_free() local
481 struct sys_memory_stats *ptr = stats; in sys_mem_blocks_stats_query() local

1234567