Home
last modified time | relevance | path

Searched full:list (Results 1 – 25 of 1423) sorted by relevance

12345678910>>...57

/Zephyr-Core-3.5.0/tests/kernel/obj_tracking/src/
Dmain.c42 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-Core-3.5.0/include/zephyr/sys/
Ddlist.h9 * @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.
39 struct _dnode *head; /* ptr to head of list (sys_dlist_t) */
43 struct _dnode *tail; /* ptr to tail of list (sys_dlist_t) */
49 * @brief Doubly-linked list structure.
53 * @brief Doubly-linked list node structure.
[all …]
Dslist.h9 * @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 …]
Dsflist.h9 * @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,
49 /** Flagged single-linked list node structure. */
59 /** Flagged single-linked list structure. */
63 * @brief Provide the primitive to iterate on a list
75 * @param __sn A sys_sfnode_t pointer to peek each node of the list
81 * @brief Provide the primitive to iterate on a list, from a node in the list
90 * Like SYS_SFLIST_FOR_EACH_NODE(), but __dn already contains a node in the list
[all …]
Dlist_gen.h59 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-Core-3.5.0/cmake/compiler/gcc/
Dtarget_arm.cmake5 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)
32 list(APPEND ARM_C_FLAGS -mfp16-format=ieee)
34 list(APPEND ARM_C_FLAGS -mfp16-format=alternative)
37 list(APPEND TOOLCHAIN_C_FLAGS ${ARM_C_FLAGS})
38 list(APPEND TOOLCHAIN_LD_FLAGS NO_SPLIT ${ARM_C_FLAGS})
Dtarget_mips.cmake7 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)
Dtarget_arm64.cmake3 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)
Dtarget_sparc.cmake4 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-Core-3.5.0/cmake/modules/
Dzephyr_default.cmake69 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)
87 list(APPEND zephyr_cmake_modules root)
94 list(APPEND zephyr_cmake_modules zephyr_module)
96 list(APPEND zephyr_cmake_modules boards)
[all …]
Dshields.cmake10 # 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-Core-3.5.0/doc/kernel/data_structures/
Ddlist.rst3 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 …]
Dslist.rst3 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-Core-3.5.0/scripts/pylib/twister/twisterlib/
Dquarantine.py39 scenarios: list[str] = field(default_factory=list)
40 platforms: list[str] = field(default_factory=list)
41 architectures: list[str] = field(default_factory=list)
42 simulations: list[str] = field(default_factory=list)
44 re_scenarios: list = field(default_factory=list)
45 re_platforms: list = field(default_factory=list)
46 re_architectures: list = field(default_factory=list)
47 re_simulations: list = field(default_factory=list)
76 qlist: list[QuarantineElement] = field(default_factory=list)
91 qlist_raw_data: list[dict] = safe_load(yaml_fd)
[all …]
Dsize_calc.py102 extra_sections: typing.List[str],\
109 @param extra_sections (list[str]) List of extra,
159 """Get a list of sections inside the binary that weren't recognized
161 @return list of unrecognized section names
206 # Search for CONFIG_XIP in the ELF's list of symbols using NM and AWK.
295 def _get_buildlog_file_content(self) -> typing.List[str]:
298 @return Content of the build.log file (list[str])
309 def _find_offset_of_last_pattern_occurrence(self, file_content: typing.List[str]) -> int:
312 @param file_content (list[str]) Content of build.log.
332 …_lines_with_footprint(self, start_offset: int, file_content: typing.List[str]) -> typing.List[str]:
[all …]
/Zephyr-Core-3.5.0/cmake/compiler/armclang/
Dtarget.cmake19 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-Core-3.5.0/tests/ztest/fail/core/
DCMakeLists.txt9 list(APPEND SOURCES src/main.cpp)
11 list(APPEND SOURCES src/assert_after.cpp)
13 list(APPEND SOURCES src/assert_teardown.cpp)
15 list(APPEND SOURCES src/assume_after.cpp)
17 list(APPEND SOURCES src/assume_teardown.cpp)
19 list(APPEND SOURCES src/pass_after.cpp)
21 list(APPEND SOURCES src/pass_teardown.cpp)
23 list(APPEND SOURCES src/unexpected_assume.cpp)
/Zephyr-Core-3.5.0/cmake/compiler/clang/
Dtarget_arm.cmake5 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)
37 list(APPEND TOOLCHAIN_C_FLAGS ${ARM_C_FLAGS})
38 list(APPEND TOOLCHAIN_LD_FLAGS NO_SPLIT ${ARM_C_FLAGS})
Dtarget.cmake25 list(APPEND TOOLCHAIN_C_FLAGS
28 list(APPEND TOOLCHAIN_LD_FLAGS
47 list(APPEND NOSTDINC ${_OUTPUT})
51 list(APPEND isystem_include_flags -isystem "\"${isystem_include_dir}\"")
56 list(APPEND TOOLCHAIN_C_FLAGS "-m64")
58 list(APPEND TOOLCHAIN_C_FLAGS "-m32")
74 list(APPEND LIB_INCLUDE_DIR -L${RTLIB_DIR})
75 list(APPEND TOOLCHAIN_LIBS ${RTLIB_NAME})
77 list(APPEND CMAKE_REQUIRED_FLAGS -nostartfiles -nostdlib ${isystem_include_flags})
/Zephyr-Core-3.5.0/tests/benchmarks/data_structure_perf/dlist_perf/src/
Ddlist_perf.c8 * @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-Core-3.5.0/drivers/smbus/
Dsmbus_utils.h11 * @brief Generic function to insert a callback to a callback list
13 * @param callbacks A pointer to the original list of callbacks (can be NULL)
14 * @param callback A pointer of the callback to insert to the list
34 * @brief Generic function to remove a callback from a callback list
36 * @param callbacks A pointer to the original list of callbacks (can be NULL)
37 * @param callback A pointer of the callback to remove from the list
56 * @brief Generic function to go through and fire callback from a callback list
58 * @param list A pointer on the SMBus callback list
62 static inline void smbus_fire_callbacks(sys_slist_t *list, in smbus_fire_callbacks() argument
68 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(list, cb, tmp, node) { in smbus_fire_callbacks()
/Zephyr-Core-3.5.0/subsys/bluetooth/services/ots/
Dots_olcp_internal.h42 /** 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-Core-3.5.0/tests/lib/thrift/ThriftTest/
DCMakeLists.txt18 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-Core-3.5.0/subsys/net/lib/lwm2m/
Dlwm2m_observation.h17 sys_slist_t path_list; /* List of Observation path */
55 /* path object list */
60 /* Initialize path list */
65 * Add new path to the list while maintaining hierarchical sort order
67 * @param lwm2m_path_list sorted path list
68 * @param lwm2m_free_list free list
79 * Remove paths when parent already exists in the list
81 * @note Path list must be sorted
84 * @param lwm2m_path_list sorted path list
85 * @param lwm2m_free_list free list
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/
Dull_tx_queue.c29 /* move all paused data to the tail of tx list, only if not empty and no longer paused */ in ull_tx_q_resume_data()
37 sys_slist_t *list; in ull_tx_q_enqueue_data() local
40 /* enqueue data pdu into paused data wait list */ in ull_tx_q_enqueue_data()
41 list = &queue->data_list; in ull_tx_q_enqueue_data()
43 /* enqueue data pdu into tx list */ in ull_tx_q_enqueue_data()
44 list = &queue->tx_list; in ull_tx_q_enqueue_data()
47 sys_slist_append(list, (sys_snode_t *)tx); in ull_tx_q_enqueue_data()
52 /* enqueue ctrl pdu into tx list */ in ull_tx_q_enqueue_ctrl()

12345678910>>...57