Home
last modified time | relevance | path

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

12345678910>>...66

/Zephyr-latest/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-latest/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.
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 …]
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,
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 …]
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-latest/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 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 …]
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)
29 list(APPEND LLEXT_EDK_REMOVE_FLAGS
34 list(APPEND LLEXT_EDK_APPEND_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_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-latest/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)
85 list(APPEND zephyr_cmake_modules yaml)
88 list(APPEND zephyr_cmake_modules root)
95 list(APPEND zephyr_cmake_modules zephyr_module)
[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-latest/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-latest/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)
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})
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})
/Zephyr-latest/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-latest/scripts/pylib/twister/twisterlib/
Dquarantine.py48 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 …]
Dconfig_parser.py13 def extract_fields_from_arg_list(target_fields: set, arg_list: str | list): argument
15 Given a list of "FIELD=VALUE" args, extract values of args with a
18 extracted_fields = {f : list() for f in target_fields}
48 "extra_args": {"type": "list"},
49 "extra_configs": {"type": "list"},
50 "extra_conf_files": {"type": "list", "default": []},
51 "extra_overlay_confs" : {"type": "list", "default": []},
52 "extra_dtc_overlay_files": {"type": "list", "default": []},
53 "required_snippets": {"type": "list"},
60 "modules": {"type": "list", "default": []},
[all …]
Dsize_calc.py101 extra_sections: list[str],\
108 @param extra_sections (list[str]) List of extra,
158 """Get a list of sections inside the binary that weren't recognized
160 @return list of unrecognized section names
205 # Search for CONFIG_XIP in the ELF's list of symbols using NM and AWK.
294 def _get_buildlog_file_content(self) -> list[str]:
297 @return Content of the build.log file (list[str])
311 def _find_offset_of_last_pattern_occurrence(self, file_content: list[str]) -> int:
314 @param file_content (list[str]) Content of build.log.
337 def _get_lines_with_footprint(self, start_offset: int, file_content: list[str]) -> list[str]:
[all …]
/Zephyr-latest/tests/ztest/fail/core/
DCMakeLists.txt9 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/
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-latest/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-latest/tests/modules/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-latest/drivers/smbus/
Dsmbus_utils.h16 * @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 …]
/Zephyr-latest/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>>...66