/Zephyr-latest/lib/heap/ |
D | heap.c | 4 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/sys/sys_heap.h> 7 #include <zephyr/sys/util.h> 8 #include <zephyr/sys/heap_listener.h> 9 #include <zephyr/kernel.h> 10 #include <string.h> 11 #include "heap.h" 13 #include <sanitizer/msan_interface.h> 17 static inline void increase_allocated_bytes(struct z_heap *h, size_t num_bytes) in increase_allocated_bytes() argument 19 h->allocated_bytes += num_bytes; in increase_allocated_bytes() [all …]
|
D | heap_validate.c | 4 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/sys/sys_heap.h> 7 #include <zephyr/sys/util.h> 8 #include <zephyr/kernel.h> 9 #include "heap.h" 11 /* White-box sys_heap validation code. Uses internal data structures. 17 * something scribbling a copy of a previously-valid heap on top of a 23 static bool in_bounds(struct z_heap *h, chunkid_t c) in in_bounds() argument 25 VALIDATE(c >= right_chunk(h, 0)); in in_bounds() 26 VALIDATE(c < h->end_chunk); in in_bounds() [all …]
|
D | heap_info.c | 4 * SPDX-License-Identifier: Apache-2.0 6 #include <zephyr/sys/sys_heap.h> 7 #include <zephyr/sys/util.h> 8 #include <zephyr/kernel.h> 9 #include "heap.h" 14 static void heap_print_info(struct z_heap *h, bool dump_chunks) in heap_print_info() argument 16 int i, nb_buckets = bucket_idx(h, h->end_chunk) + 1; in heap_print_info() 20 chunk_buf(h), h->end_chunk, nb_buckets); in heap_print_info() 24 " -----------------------------------------------------------\n"); in heap_print_info() 26 chunkid_t first = h->buckets[i].next; in heap_print_info() [all …]
|
D | heap.h | 4 * SPDX-License-Identifier: Apache-2.0 13 /* These validation checks are non-trivially expensive, so enable 24 * first address in the buffer (a zero-valued chunkid_t is used as a 39 * 8-byte units. The bottom bit stores a "used" flag. 43 * The free lists are circular lists, one for each power-of-two size 96 static inline bool big_heap(struct z_heap *h) in big_heap() argument 98 return big_heap_chunks(h->end_chunk); in big_heap() 101 static inline chunk_unit_t *chunk_buf(struct z_heap *h) in chunk_buf() argument 104 return (chunk_unit_t *)h; in chunk_buf() 107 static inline chunkid_t chunk_field(struct z_heap *h, chunkid_t c, in chunk_field() argument [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/gatt/ |
D | services.h | 4 * SPDX-License-Identifier: Apache-2.0 9 #include "service_a_1.h" 10 #include "service_a_2.h" 11 #include "service_a_3.h" 12 #include "service_b_1_1.h" 13 #include "service_b_1_2.h" 14 #include "service_b_1_3.h" 15 #include "service_b_2_1.h" 16 #include "service_b_2_2.h" 17 #include "service_b_2_3.h" [all …]
|
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/ |
D | lll_conn.c | 2 * Copyright (c) 2018-2019 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 7 #include <stdbool.h> 8 #include <stddef.h> 10 #include <zephyr/toolchain.h> 11 #include <zephyr/types.h> 12 #include <zephyr/ztest.h> 13 #include <zephyr/sys/util.h> 15 #include "hal/cpu.h" 16 #include "hal/ccm.h" [all …]
|
D | ull_peripheral_iso.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/ztest.h> 9 #include <zephyr/kernel.h> 10 #include <zephyr/bluetooth/buf.h> 11 #include <zephyr/sys/byteorder.h> 13 #include "util/util.h" 14 #include "util/memq.h" 15 #include "util/dbuf.h" 16 #include "util/mayfly.h" 18 #include "hal/ccm.h" [all …]
|
D | ll.c | 5 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/types.h> 9 #include <zephyr/ztest.h> 11 #include <zephyr/bluetooth/hci.h> 12 #include <zephyr/sys/byteorder.h> 13 #include <zephyr/sys/slist.h> 14 #include <zephyr/sys/util.h> 16 #include "hal/ccm.h" 18 #include "util/util.h" 19 #include "util/mem.h" [all …]
|
D | lll.c | 5 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/types.h> 9 #include <zephyr/ztest.h> 11 #include <zephyr/bluetooth/hci.h> 12 #include <zephyr/sys/byteorder.h> 13 #include <zephyr/sys/slist.h> 14 #include <zephyr/sys/util.h> 16 #include "hal/ccm.h" 18 #include "util/util.h" 19 #include "util/mem.h" [all …]
|
D | ull_conn_iso.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/ztest.h> 9 #include <zephyr/kernel.h> 11 #include "hal/ccm.h" 12 #include "hal/ticker.h" 13 #include "hal/cpu.h" 15 #include "util/util.h" 16 #include "util/mem.h" 17 #include "util/memq.h" 18 #include "util/dbuf.h" [all …]
|
D | ull_sync.c | 5 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/types.h> 10 #include <zephyr/ztest.h> 11 #include <zephyr/bluetooth/hci_types.h> 13 #include "hal/cpu.h" 14 #include "hal/ccm.h" 16 #include "util/util.h" 17 #include "util/mem.h" 18 #include "util/memq.h" 19 #include "pdu_df.h" [all …]
|
D | ull_peripheral.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/types.h> 8 #include <zephyr/ztest.h> 9 #include "util/util.h" 10 #include "util/mem.h" 11 #include "util/memq.h" 12 #include "util/dbuf.h" 14 #include "pdu_df.h" 15 #include "lll/pdu_vendor.h" 16 #include "pdu.h" [all …]
|
/Zephyr-latest/include/zephyr/ |
D | kernel_includes.h | 4 * SPDX-License-Identifier: Apache-2.0 10 * @brief Header files included by kernel.h. 17 #error Please do not include kernel-specific headers directly, use <zephyr/kernel.h> instead 20 #include <stddef.h> 21 #include <zephyr/types.h> 22 #include <limits.h> 23 #include <zephyr/toolchain.h> 24 #include <zephyr/linker/sections.h> 25 #include <zephyr/sys/atomic.h> 26 #include <zephyr/sys/__assert.h> [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/btp/ |
D | btp.h | 1 /* bttester.h - Bluetooth tester headers */ 4 * Copyright (c) 2015-2016 Intel Corporation 7 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/sys/util.h> 11 #include <zephyr/bluetooth/addr.h> 13 #include "bttester.h" 14 #include "btp_core.h" 15 #include "btp_gap.h" 16 #include "btp_gatt.h" 17 #include "btp_l2cap.h" [all …]
|
/Zephyr-latest/tests/lib/cpp/cxx/src/ |
D | main.cpp | 4 * SPDX-License-Identifier: Apache-2.0 12 #include <string.h> 13 #include <zephyr/types.h> 14 #include <stdbool.h> 16 #include <zephyr/init.h> 17 #include <zephyr/device.h> 18 #include <zephyr/pm/device.h> 19 #include <zephyr/kernel.h> 20 #include <zephyr/net_buf.h> 21 #include <zephyr/sys/crc.h> [all …]
|
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_rx/src/ |
D | common.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/kernel.h> 8 #include <stddef.h> 9 #include <zephyr/ztest.h> 11 #include <zephyr/bluetooth/bluetooth.h> 12 #include <zephyr/bluetooth/hci.h> 13 #include <host/hci_core.h> 15 #include <util/util.h> 16 #include <util/memq.h> 17 #include <util/dbuf.h> [all …]
|
/Zephyr-latest/lib/hash/ |
D | hash_func32_murmur3.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <stddef.h> 8 #include <stdint.h> 23 uint32_t h = 0; in sys_hash32_murmur3() local 26 for (; n >= sizeof(uint32_t); n -= sizeof(uint32_t), str += sizeof(uint32_t)) { in sys_hash32_murmur3() 28 h ^= murmur_32_scramble(k); in sys_hash32_murmur3() 29 h = (h << 13) | (h >> 19); in sys_hash32_murmur3() 30 h = h * 5 + 0xe6546b64; in sys_hash32_murmur3() 33 for (k = 0; n != 0; --n, ++str) { in sys_hash32_murmur3() 38 h ^= murmur_32_scramble(k); in sys_hash32_murmur3() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/ |
D | radio_nrf5.h | 2 * Copyright (c) 2018-2022 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 9 * These has to come before the radio_*.h include below. 11 #include <hal/nrf_radio.h> 14 #include "radio_nrf5_resources.h" 17 * These has to come before the radio_*.h include below. 24 #include "radio_nrf51.h" 26 #include "radio_nrf52805.h" 28 #include "radio_nrf52810.h" 30 #include "radio_nrf52811.h" [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | mesh.h | 8 * SPDX-License-Identifier: Apache-2.0 13 #include <stddef.h> 15 #include <zephyr/types.h> 16 #include <zephyr/net_buf.h> 18 #include <zephyr/bluetooth/mesh/keys.h> 19 #include <zephyr/bluetooth/mesh/msg.h> 20 #include <zephyr/bluetooth/mesh/access.h> 21 #include <zephyr/bluetooth/mesh/main.h> 22 #include <zephyr/bluetooth/mesh/cfg.h> 23 #include <zephyr/bluetooth/mesh/cfg_srv.h> [all …]
|
/Zephyr-latest/lib/libc/picolibc/ |
D | picolibc-hooks.h | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <errno.h> 11 #include <stdio.h> 12 #include <stdlib.h> 13 #include <zephyr/posix/sys/stat.h> 14 #include <sys/time.h> 15 #include <zephyr/arch/cpu.h> 16 #include <zephyr/linker/linker-defs.h> 17 #include <zephyr/sys/util.h> 18 #include <zephyr/sys/errno_private.h> [all …]
|
/Zephyr-latest/soc/atmel/sam/samx7x/ |
D | soc.h | 3 * Copyright (c) 2019-2024 Gerson Fernando Budke <nandojve@gmail.com> 4 * SPDX-License-Identifier: Apache-2.0 17 #include <zephyr/sys/util.h> 26 #include <same70j19.h> 28 #include <same70j20.h> 30 #include <same70j21.h> 32 #include <same70n19.h> 34 #include <same70n20.h> 36 #include <same70n21.h> 38 #include <same70q19.h> [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_feature_exchange/src/ |
D | main_hci.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/types.h> 8 #include <zephyr/sys/byteorder.h> 9 #include <zephyr/ztest.h> 13 #include <zephyr/bluetooth/hci.h> 14 #include <zephyr/sys/byteorder.h> 15 #include <zephyr/sys/slist.h> 16 #include <zephyr/sys/util.h> 17 #include "hal/ccm.h" 19 #include "util/util.h" [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_conn_iso.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <stddef.h> 9 #include <zephyr/toolchain.h> 10 #include <zephyr/types.h> 11 #include <zephyr/sys/util.h> 13 #include "hal/ccm.h" 15 #include "util/memq.h" 16 #include "util/mem.h" 18 #include "pdu_df.h" 19 #include "pdu_vendor.h" [all …]
|
/Zephyr-latest/soc/espressif/esp32s3/ |
D | soc_appcpu.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <soc.h> 8 #include <soc/rtc_cntl_reg.h> 9 #include <soc/timer_group_reg.h> 10 #include <zephyr/drivers/interrupt_controller/intc_esp32.h> 11 #include <xtensa/config/core-isa.h> 12 #include <xtensa/corebits.h> 14 #include <zephyr/kernel_structs.h> 15 #include <string.h> 16 #include <zephyr/toolchain/gcc.h> [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_min_used_chans/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/types.h> 8 #include <zephyr/ztest.h> 10 #include <zephyr/bluetooth/hci.h> 11 #include <zephyr/sys/byteorder.h> 12 #include <zephyr/sys/slist.h> 13 #include <zephyr/sys/util.h> 14 #include "hal/ccm.h" 16 #include "util/util.h" 17 #include "util/mem.h" [all …]
|