/Zephyr-latest/tests/kernel/obj_tracking/src/ |
D | main.c | 42 void *list; in ZTEST() local 47 list = _track_list_k_timer; in ZTEST() 48 while (list != NULL) { in ZTEST() 49 if (list == &timer || list == &timer_s) { in ZTEST() 52 list = SYS_PORT_TRACK_NEXT((struct k_timer *)list); in ZTEST() 58 list = _track_list_k_mem_slab; in ZTEST() 59 while (list != NULL) { in ZTEST() 60 if (list == &slab || list == &slab_s) { in ZTEST() 63 list = SYS_PORT_TRACK_NEXT((struct k_mem_slab *)list); in ZTEST() 69 list = _track_list_k_sem; in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | dlist.h | 9 * @defgroup doubly-linked-list_apis Doubly-linked list 12 * @brief Doubly-linked list implementation 14 * Doubly-linked list implementation using inline macros/functions. 15 * This API is not thread safe, and thus if a list is used across threads, 19 * pointers point to the list itself. Initializing the lists in such a fashion 20 * simplifies the adding and removing of nodes to/from the list. 38 struct _dnode *head; /* ptr to head of list (sys_dlist_t) */ 42 struct _dnode *tail; /* ptr to tail of list (sys_dlist_t) */ 48 * @brief Doubly-linked list structure. 52 * @brief Doubly-linked list node structure. [all …]
|
D | slist.h | 9 * @defgroup single-linked-list_apis Single-linked list 12 * @brief Single-linked list implementation. 14 * Single-linked list implementation using inline macros/functions. 15 * This API is not thread safe, and thus if a list is used across threads, 38 /** Single-linked list node structure. */ 48 /** Single-linked list structure. */ 52 * @brief Provide the primitive to iterate on a list 64 * @param __sn A sys_snode_t pointer to peek each node of the list 70 * @brief Provide the primitive to iterate on a list, from a node in the list 79 * Like SYS_SLIST_FOR_EACH_NODE(), but __dn already contains a node in the list [all …]
|
D | sflist.h | 9 * @defgroup flagged-single-linked-list_apis Flagged Single-linked list 12 * @brief Flagged single-linked list implementation. 18 * Flagged single-linked list implementation using inline macros/functions. 19 * This API is not thread safe, and thus if a list is used across threads, 43 /** Flagged single-linked list node structure. */ 53 /** Flagged single-linked list structure. */ 57 * @brief Provide the primitive to iterate on a list 69 * @param __sn A sys_sfnode_t pointer to peek each node of the list 75 * @brief Provide the primitive to iterate on a list, from a node in the list 84 * Like SYS_SFLIST_FOR_EACH_NODE(), but __dn already contains a node in the list [all …]
|
D | list_gen.h | 59 sys_ ## __lname ## _is_empty(sys_ ## __lname ## _t *list) \ 61 return (sys_ ## __lname ## _peek_head(list) == NULL); \ 82 sys_ ## __lname ## _prepend(sys_ ## __lname ## _t *list, \ 86 sys_ ## __lname ## _peek_head(list)); \ 87 z_ ## __lname ## _head_set(list, node); \ 89 if (sys_ ## __lname ## _peek_tail(list) == NULL) { \ 90 z_ ## __lname ## _tail_set(list, \ 91 sys_ ## __lname ## _peek_head(list)); \ 97 sys_ ## __lname ## _append(sys_ ## __lname ## _t *list, \ 102 if (sys_ ## __lname ## _peek_tail(list) == NULL) { \ [all …]
|
/Zephyr-latest/cmake/compiler/gcc/ |
D | target_arm.cmake | 5 list(APPEND ARM_C_FLAGS -mcpu=${GCC_M_CPU}) 8 list(APPEND ARM_C_FLAGS -mthumb) 11 list(APPEND ARM_C_FLAGS -mabi=aapcs) 14 list(APPEND TOOLCHAIN_C_FLAGS -mbig-endian) 15 list(APPEND TOOLCHAIN_LD_FLAGS -mbig-endian) 19 list(APPEND ARM_C_FLAGS -mfpu=${GCC_M_FPU}) 29 list(APPEND ARM_C_FLAGS -mfloat-abi=hard) 31 list(APPEND ARM_C_FLAGS -mfloat-abi=softfp) 37 list(APPEND ARM_C_FLAGS -mfp16-format=ieee) 39 list(APPEND ARM_C_FLAGS -mfp16-format=alternative) [all …]
|
D | target_arm64.cmake | 3 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=${GCC_M_CPU}) 4 list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=${GCC_M_CPU}) 8 list(APPEND TOOLCHAIN_C_FLAGS -march=${GCC_M_ARCH}) 9 list(APPEND TOOLCHAIN_LD_FLAGS -march=${GCC_M_ARCH}) 13 list(APPEND TOOLCHAIN_C_FLAGS -mtune=${GCC_M_TUNE}) 14 list(APPEND TOOLCHAIN_LD_FLAGS -mtune=${GCC_M_TUNE}) 17 list(APPEND TOOLCHAIN_C_FLAGS -mabi=lp64) 18 list(APPEND TOOLCHAIN_LD_FLAGS -mabi=lp64) 28 list(APPEND LLEXT_EDK_REMOVE_FLAGS 34 list(APPEND LLEXT_EDK_APPEND_FLAGS
|
D | target_mips.cmake | 7 list(APPEND TOOLCHAIN_C_FLAGS -EB) 8 list(APPEND TOOLCHAIN_LD_FLAGS -EB) 10 list(APPEND TOOLCHAIN_C_FLAGS -EL) 11 list(APPEND TOOLCHAIN_LD_FLAGS -EL) 14 list(APPEND TOOLCHAIN_C_FLAGS -msoft-float) 15 list(APPEND TOOLCHAIN_LD_FLAGS -msoft-float) 17 list(APPEND TOOLCHAIN_C_FLAGS -G0 -mno-gpopt -fno-pic) 19 list(APPEND TOOLCHAIN_C_FLAGS -pipe)
|
D | target_sparc.cmake | 4 list(APPEND TOOLCHAIN_C_FLAGS -msoft-float) 5 list(APPEND TOOLCHAIN_LD_FLAGS -msoft-float) 10 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=leon3) 11 list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=leon3) 14 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=leon) 15 list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=leon)
|
/Zephyr-latest/cmake/modules/ |
D | zephyr_default.cmake | 69 list(APPEND zephyr_cmake_modules python) 70 list(APPEND zephyr_cmake_modules user_cache) 73 list(APPEND zephyr_cmake_modules extensions) 74 list(APPEND zephyr_cmake_modules version) 77 list(APPEND zephyr_cmake_modules basic_settings) 83 list(APPEND zephyr_cmake_modules west) 84 list(APPEND zephyr_cmake_modules ccache) 85 list(APPEND zephyr_cmake_modules yaml) 88 list(APPEND zephyr_cmake_modules root) 95 list(APPEND zephyr_cmake_modules zephyr_module) [all …]
|
D | shields.cmake | 10 # error will be raised and a list of valid shields will be printed. 14 # - shield_conf_files: List of shield-specific Kconfig fragments 15 # - shield_dts_files : List of shield-specific devicetree files 16 # - SHIELD_AS_LIST : A CMake list of shields created from the SHIELD variable. 17 # - SHIELD_DIRS : A CMake list of directories which contain shield definitions 20 # - shields: when invoked, a list of valid shields will be printed 26 # - BOARD_ROOT: CMake list of board roots containing board implementations 45 # SHIELD-NOTFOUND is a real CMake list, from which valid shields can be popped. 46 # After processing all shields, only invalid shields will be left in this list. 55 # The above gives a list of Kconfig.shield files, like this: [all …]
|
/Zephyr-latest/doc/kernel/data_structures/ |
D | dlist.rst | 3 Double-linked List 6 Similar to the single-linked list in many respects, Zephyr includes a 10 the head, tail or any internal node). To do this, the list stores two 18 list (typically embedded within the struct to be tracked, as described 22 Primitive operations may retrieve the head/tail of a list and the 27 list). 30 :c:func:`sys_dlist_remove`, by adding a node to the head or tail of a list 44 through a list to find the right insertion point, which is provided by 48 implementation that has zero overhead vs. the normal list processing). 50 Double-linked List Internals [all …]
|
D | slist.rst | 3 Single-linked List 7 singly-linked list data (i.e. data where each list element stores a 10 the list, insertion before the head and after the tail of the list and 13 performed in linear time by searching the list. 21 The end nodes of a list may be retrieved with 23 return NULL if the list is empty, otherwise a pointer to a 28 usually embedded within a struct which is to be added to the list. 29 The container struct pointer may be retrieved from a list node using 43 list. :c:func:`sys_slist_merge_slist` will append an entire list to an 45 subset of an existing list in constant time. And [all …]
|
/Zephyr-latest/cmake/compiler/clang/ |
D | target_arm.cmake | 5 list(APPEND ARM_C_FLAGS -mcpu=${GCC_M_CPU}) 8 list(APPEND ARM_C_FLAGS -mthumb) 11 list(APPEND ARM_C_FLAGS -mabi=aapcs) 14 list(APPEND ARM_C_FLAGS -mfpu=${GCC_M_FPU}) 24 list(APPEND ARM_C_FLAGS -mfloat-abi=hard) 26 list(APPEND ARM_C_FLAGS -mfloat-abi=softfp) 29 list(APPEND ARM_C_FLAGS -mfpu=none) 31 list(APPEND ARM_C_FLAGS -mfloat-abi=soft) 41 list(APPEND TOOLCHAIN_C_FLAGS ${ARM_C_FLAGS}) 42 list(APPEND TOOLCHAIN_LD_FLAGS NO_SPLIT ${ARM_C_FLAGS})
|
D | target_arm64.cmake | 3 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=${GCC_M_CPU}) 4 list(APPEND TOOLCHAIN_LD_FLAGS -mcpu=${GCC_M_CPU}) 8 list(APPEND TOOLCHAIN_C_FLAGS -march=${GCC_M_ARCH}) 9 list(APPEND TOOLCHAIN_LD_FLAGS -march=${GCC_M_ARCH}) 13 list(APPEND TOOLCHAIN_C_FLAGS -mtune=${GCC_M_TUNE}) 14 list(APPEND TOOLCHAIN_LD_FLAGS -mtune=${GCC_M_TUNE})
|
/Zephyr-latest/cmake/compiler/armclang/ |
D | target.cmake | 19 list(APPEND TOOLCHAIN_C_FLAGS 24 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=${GCC_M_CPU}) 26 list(APPEND TOOLCHAIN_C_FLAGS -mabi=lp64) 27 list(APPEND TOOLCHAIN_LD_FLAGS -mabi=lp64) 29 list(APPEND TOOLCHAIN_C_FLAGS -mcpu=${GCC_M_CPU}) 32 list(APPEND TOOLCHAIN_C_FLAGS -mthumb) 35 list(APPEND TOOLCHAIN_C_FLAGS -mabi=aapcs) 39 list(APPEND TOOLCHAIN_C_FLAGS -mfpu=${GCC_M_FPU}) 42 list(APPEND TOOLCHAIN_C_FLAGS -mfloat-abi=softfp) 44 list(APPEND TOOLCHAIN_C_FLAGS -mfloat-abi=hard) [all …]
|
/Zephyr-latest/tests/cmake/yaml/ |
D | CMakeLists.txt | 14 list(APPEND CMAKE_MODULE_PATH "${ZEPHYR_BASE}/cmake/modules") 62 yaml_length(actual NAME yaml-test KEY cmake test key-list-string) 64 COMMENT "yaml list length does not match expectation." 67 set(expected "a" "list" "of" "strings") 68 yaml_get(actual NAME yaml-test KEY cmake test key-list-string) 72 COMMENT "list values mismatch." 88 yaml_length(actual NAME yaml-test KEY cmake test key-list-int) 90 COMMENT "yaml list length does not match expectation." 94 yaml_get(actual NAME yaml-test KEY cmake test key-list-int) 98 COMMENT "list values mismatch." [all …]
|
/Zephyr-latest/cmake/compiler/iar/ |
D | target.cmake | 64 list(APPEND IAR_COMMON_FLAGS 76 list(APPEND IAR_COMMON_FLAGS 86 list(APPEND IAR_COMMON_FLAGS --vla) 91 list(APPEND IAR_ASM_FLAGS 99 list(APPEND IAR_ASM_FLAGS -gdwarf-4) 102 list(APPEND IAR_COMMON_FLAGS --cmse) 103 list(APPEND IAR_ASM_FLAGS -mcmse) 109 list(APPEND IAR_COMMON_FLAGS --abi=lp64) 110 list(APPEND TOOLCHAIN_LD_FLAGS --abi=lp64) 113 list(APPEND IAR_COMMON_FLAGS --aeabi) [all …]
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | quarantine.py | 48 scenarios: list[str] = field(default_factory=list) 49 platforms: list[str] = field(default_factory=list) 50 architectures: list[str] = field(default_factory=list) 51 simulations: list[str] = field(default_factory=list) 53 re_scenarios: list = field(default_factory=list) 54 re_platforms: list = field(default_factory=list) 55 re_architectures: list = field(default_factory=list) 56 re_simulations: list = field(default_factory=list) 85 qlist: list[QuarantineElement] = field(default_factory=list) 100 qlist_raw_data: list[dict] = yaml.load(yaml_fd, Loader=SafeLoader) [all …]
|
D | config_parser.py | 15 target_fields: set, arg_list: str | list argument 16 ) -> tuple[dict[str, list[str]], list[str]]: 18 Given a list of "FIELD=VALUE" args, extract values of args with a 21 extracted_fields: dict[str, list[str]] = {f: list() for f in target_fields} 22 other_fields: list[str] = [] 53 "extra_args": {"type": "list"}, 54 "extra_configs": {"type": "list"}, 55 "extra_conf_files": {"type": "list", "default": []}, 56 "extra_overlay_confs": {"type": "list", "default": []}, 57 "extra_dtc_overlay_files": {"type": "list", "default": []}, [all …]
|
/Zephyr-latest/tests/ztest/fail/core/ |
D | CMakeLists.txt | 9 list(APPEND test_sources src/main.cpp) 11 list(APPEND test_sources src/assert_after.cpp) 13 list(APPEND test_sources src/assert_teardown.cpp) 15 list(APPEND test_sources src/assume_after.cpp) 17 list(APPEND test_sources src/assume_teardown.cpp) 19 list(APPEND test_sources src/pass_after.cpp) 21 list(APPEND test_sources src/pass_teardown.cpp) 23 list(APPEND test_sources src/unexpected_assume.cpp)
|
/Zephyr-latest/tests/benchmarks/data_structure_perf/dlist_perf/src/ |
D | dlist_perf.c | 8 * @brief doubly-linked list tests 30 * dlist node.Appending nodes into the doubly-linked list 31 * and enumerate the doubly-linked list. 60 /* Add into a doubly-linked list */ in ZTEST() 65 /* Enumerate the doubly-linked list */ in ZTEST() 76 /* Enumerate the doubly-linked list */ in ZTEST() 90 * @details Initialize a double-linked list. 91 * Appending nodes into the doubly-linked list 92 * and enumerate the doubly-linked list. 109 /* Initialize a doubly-linked list */ in ZTEST() [all …]
|
/Zephyr-latest/subsys/bluetooth/services/ots/ |
D | ots_olcp_internal.h | 42 /** Order the list by object name, ascending */ 44 /** Order the list by object type, ascending*/ 46 /** Order the list by object current size, ascending*/ 48 /** Order the list by object first-created timestamp, ascending*/ 50 /** Order the list by object last-modified timestamp, ascending */ 52 /** Order the list by object name, descending */ 54 /** Order the list by object type, descending*/ 56 /** Order the list by object current size, descending*/ 58 /** Order the list by object first-created timestamp, descending*/ 60 /** Order the list by object last-modified timestamp, descending */ [all …]
|
/Zephyr-latest/tests/modules/thrift/ThriftTest/ |
D | CMakeLists.txt | 18 list(APPEND generated_sources ${gen_dir}/gen-cpp/SecondService.cpp) 19 list(APPEND generated_sources ${gen_dir}/gen-cpp/SecondService.h) 20 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest_constants.cpp) 21 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest_constants.h) 22 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest.cpp) 23 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest.h) 24 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest_types.cpp) 25 list(APPEND generated_sources ${gen_dir}/gen-cpp/ThriftTest_types.h) 26 list(APPEND app_sources ${generated_sources})
|
/Zephyr-latest/drivers/smbus/ |
D | smbus_utils.h | 16 * @brief Generic function to insert a callback to a callback list 18 * @param callbacks A pointer to the original list of callbacks (can be NULL) 19 * @param callback A pointer of the callback to insert to the list 39 * @brief Generic function to remove a callback from a callback list 41 * @param callbacks A pointer to the original list of callbacks (can be NULL) 42 * @param callback A pointer of the callback to remove from the list 61 * @brief Generic function to go through and fire callback from a callback list 63 * @param list A pointer on the SMBus callback list 67 static inline void smbus_fire_callbacks(sys_slist_t *list, in smbus_fire_callbacks() argument 73 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(list, cb, tmp, node) { in smbus_fire_callbacks() [all …]
|