| /subsys/bluetooth/services/ots/ |
| A D | ots_obj_manager.c | 29 sys_dlist_t list; member 67 if (sys_dlist_is_empty(&obj_manager->list)) { in bt_gatt_ots_obj_manager_first_obj_get() 71 obj_dnode = sys_dlist_peek_head_not_empty(&obj_manager->list); in bt_gatt_ots_obj_manager_first_obj_get() 86 if (sys_dlist_is_empty(&obj_manager->list)) { in bt_gatt_ots_obj_manager_last_obj_get() 90 obj_dnode = sys_dlist_peek_tail(&obj_manager->list); in bt_gatt_ots_obj_manager_last_obj_get() 106 if (sys_dlist_is_empty(&obj_manager->list)) { in bt_gatt_ots_obj_manager_prev_obj_get() 111 prev_obj_dnode = sys_dlist_peek_prev_no_check(&obj_manager->list, in bt_gatt_ots_obj_manager_prev_obj_get() 133 if (sys_dlist_is_empty(&obj_manager->list)) { in bt_gatt_ots_obj_manager_next_obj_get() 158 if (sys_dlist_is_empty(&obj_manager->list)) { in bt_gatt_ots_obj_manager_obj_get() 192 sys_dlist_append(&obj_manager->list, &cur_obj->dnode); in bt_gatt_ots_obj_manager_obj_add() [all …]
|
| /subsys/bluetooth/mesh/ |
| A D | dfu_slot.c | 29 static sys_slist_t list; variable 59 SYS_SLIST_FOR_EACH_CONTAINER(&list, s, n) { in is_slot_committed() 108 SYS_SLIST_FOR_EACH_CONTAINER(&list, s, n) { in slot_index_defrag() 119 SYS_SLIST_FOR_EACH_NODE(&list, n) { in bt_mesh_dfu_slot_count() 219 sys_slist_append(&list, &slot->n); in bt_mesh_dfu_slot_commit() 258 SYS_SLIST_FOR_EACH_CONTAINER(&list, s, n) { in bt_mesh_dfu_slot_del_all() 263 sys_slist_init(&list); in bt_mesh_dfu_slot_del_all() 270 SYS_SLIST_FOR_EACH_CONTAINER(&list, s, n) { in bt_mesh_dfu_slot_at() 284 SYS_SLIST_FOR_EACH_CONTAINER(&list, s, n) { in bt_mesh_dfu_slot_get() 302 SYS_SLIST_FOR_EACH_CONTAINER(&list, s, n) { in bt_mesh_dfu_slot_img_idx_get() [all …]
|
| A D | brg_cfg_cli.c | 85 subnets_list.list = buf; in subnets_list() 87 subnets_list.list = NULL; in subnets_list() 95 if (rsp->list) { in subnets_list() 98 to_copy = MIN(net_buf_simple_tailroom(rsp->list), buf->len); in subnets_list() 99 net_buf_simple_add_mem(rsp->list, buf->data, to_copy); in subnets_list() 122 table_list.list = buf; in table_list() 124 table_list.list = NULL; in table_list() 134 if (rsp->list) { in table_list() 137 to_copy = MIN(net_buf_simple_tailroom(rsp->list), (buf->len / 5) * 5); in table_list() 138 net_buf_simple_add_mem(rsp->list, buf->data, to_copy); in table_list()
|
| A D | delayable_msg.c | 52 sys_slist_t *list = &access_delayable_msg.busy_ctx; in put_ctx_to_busy_list() local 53 sys_snode_t *head = sys_slist_peek_head(list); in put_ctx_to_busy_list() 58 sys_slist_append(list, &ctx->node); in put_ctx_to_busy_list() 66 sys_slist_prepend(list, &ctx->node); in put_ctx_to_busy_list() 68 sys_slist_insert(list, prev, &ctx->node); in put_ctx_to_busy_list() 75 sys_slist_append(list, &ctx->node); in put_ctx_to_busy_list()
|
| /subsys/shell/ |
| A D | shell_history.c | 59 if (sys_dlist_is_empty(&history->list)) { in z_shell_history_get() 72 l_item = sys_dlist_peek_prev_no_check(&history->list, in z_shell_history_get() 76 sys_dlist_peek_head_not_empty(&history->list) : in z_shell_history_get() 77 sys_dlist_peek_next_no_check(&history->list, history->current); in z_shell_history_get() 102 sys_dlist_prepend(&history->list, &item->dnode); in add_to_head() 112 if (sys_dlist_is_empty(&history->list)) { in remove_from_tail() 116 l_item = sys_dlist_peek_tail(&history->list); in remove_from_tail() 157 l_item = sys_dlist_peek_head(&history->list); in z_shell_history_put() 212 sys_dlist_init(&history->list); in z_shell_history_init()
|
| /subsys/bluetooth/mesh/shell/ |
| A D | brg_cfg.c | 140 .list = NET_BUF_SIMPLE(CONFIG_BT_MESH_BRG_TABLE_ITEMS_MAX * 3), in cmd_bridged_subnets_get() 144 net_buf_simple_init(rsp.list, 0); in cmd_bridged_subnets_get() 166 if (rsp.list) { in cmd_bridged_subnets_get() 170 while (rsp.list->len) { in cmd_bridged_subnets_get() 171 key_idx_unpack_pair(rsp.list, &net_idx1, &net_idx2); in cmd_bridged_subnets_get() 188 net_buf_simple_init(rsp.list, 0); in cmd_bridging_table_get() 214 if (rsp.list) { in cmd_bridging_table_get() 219 while (rsp.list->len) { in cmd_bridging_table_get() 220 addr1 = net_buf_simple_pull_le16(rsp.list); in cmd_bridging_table_get() 221 addr2 = net_buf_simple_pull_le16(rsp.list); in cmd_bridging_table_get() [all …]
|
| /subsys/bluetooth/controller/ll_sw/ |
| A D | ull_tx_queue.c | 37 sys_slist_t *list; in ull_tx_q_enqueue_data() local 41 list = &queue->data_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()
|
| /subsys/usb/device/ |
| A D | usb_descriptor.h | 48 struct usb_dev_data *usb_get_dev_data_by_cfg(sys_slist_t *list, 50 struct usb_dev_data *usb_get_dev_data_by_iface(sys_slist_t *list, 52 struct usb_dev_data *usb_get_dev_data_by_ep(sys_slist_t *list, uint8_t ep);
|
| A D | usb_descriptor.c | 548 struct usb_dev_data *usb_get_dev_data_by_cfg(sys_slist_t *list, in usb_get_dev_data_by_cfg() argument 553 SYS_SLIST_FOR_EACH_CONTAINER(list, dev_data, node) { in usb_get_dev_data_by_cfg() 567 struct usb_dev_data *usb_get_dev_data_by_iface(sys_slist_t *list, in usb_get_dev_data_by_iface() argument 572 SYS_SLIST_FOR_EACH_CONTAINER(list, dev_data, node) { in usb_get_dev_data_by_iface() 588 struct usb_dev_data *usb_get_dev_data_by_ep(sys_slist_t *list, uint8_t ep) in usb_get_dev_data_by_ep() argument 592 SYS_SLIST_FOR_EACH_CONTAINER(list, dev_data, node) { in usb_get_dev_data_by_ep()
|
| /subsys/tracing/ |
| A D | tracing_tracking.c | 45 #define SYS_TRACK_LIST_PREPEND(list, obj) \ argument 47 k_spinlock_key_t key = k_spin_lock(&list ## _lock); \ 48 obj->_obj_track_next = list; \ 49 list = obj; \ 50 k_spin_unlock(&list ## _lock, key); \
|
| /subsys/settings/ |
| A D | Kconfig | 63 bool "ZMS linked list lookup cache" 65 Enable ZMS lookup cache for linked list, used to reduce the 66 Settings load time by having most linked list elements already 70 int "ZMS linked list lookup cache size" 75 Number of entries in Settings ZMS linked list cache. 221 bool "Disable deletion of Linked list hashes" 224 ZMS because of the linked list update. 225 As a tradeoff for performance the linked list is not updated. As a
|
| /subsys/mgmt/mcumgr/smp/ |
| A D | Kconfig | 32 Minimal decoding levels, map/list encapsulation, required 69 int "Number of map/list encapsulations allowed for SMP decoding" 78 and additional levels for each map/list encapsulation. 88 Minimal encoding levels, map/list encapsulation, required 125 int "Number of map/list encapsulations allowed for SMP encoding"
|
| /subsys/storage/flash_map/ |
| A D | Kconfig | 23 This enables shell commands to list and test flash maps. 43 flash_map list shell command.
|
| A D | flash_map_shell.c | 61 SHELL_CMD(list, NULL, "List flash areas", cmd_flash_map_list),
|
| /subsys/shell/modules/kernel_service/thread/ |
| A D | CMakeLists.txt | 10 zephyr_sources_ifdef(CONFIG_KERNEL_THREAD_SHELL_LIST list.c)
|
| A D | list.c | 127 KERNEL_THREAD_CMD_ADD(list, NULL, "List kernel threads.", cmd_kernel_thread_list);
|
| /subsys/tracing/user/ |
| A D | tracing_user.c | 74 void __weak sys_trace_gpio_fire_callbacks_enter_user(sys_slist_t *list, const struct device *port, in sys_trace_gpio_fire_callbacks_enter_user() argument 307 void sys_trace_gpio_fire_callbacks_enter(sys_slist_t *list, const struct device *port, in sys_trace_gpio_fire_callbacks_enter() argument 310 sys_trace_gpio_fire_callbacks_enter_user(list, port, pins); in sys_trace_gpio_fire_callbacks_enter()
|
| A D | tracing_user.h | 97 void sys_trace_gpio_fire_callbacks_enter_user(sys_slist_t *list, const struct device *port, 270 #define sys_port_trace_k_fifo_put_slist_enter(fifo, list) argument 271 #define sys_port_trace_k_fifo_put_slist_exit(fifo, list) argument 516 #define sys_port_trace_gpio_fire_callbacks_enter(list, port, pins) \ argument 517 sys_trace_gpio_fire_callbacks_enter_user(list, port, pins)
|
| /subsys/tracing/test/ |
| A D | tracing_test.h | 188 sys_trace_k_queue_merge_slist_enter(queue, list) 190 sys_trace_k_queue_merge_slist_exit(queue, list, ret) 232 #define sys_port_trace_k_fifo_put_slist_enter(fifo, list) \ argument 233 sys_trace_k_fifo_put_slist_enter(fifo, list) 235 #define sys_port_trace_k_fifo_put_slist_exit(fifo, list) sys_trace_k_fifo_put_slist_exit(fifo, list) argument 579 void sys_trace_k_queue_merge_slist_enter(struct k_queue *queue, sys_slist_t *list); 580 void sys_trace_k_queue_merge_slist_exit(struct k_queue *queue, sys_slist_t *list, int ret); 600 void sys_trace_k_fifo_put_slist_enter(struct k_fifo *fifo, sys_slist_t *list); 601 void sys_trace_k_fifo_put_slist_exit(struct k_fifo *fifo, sys_slist_t *list); 824 #define sys_port_trace_gpio_fire_callbacks_enter(list, port, pins) argument
|
| /subsys/stats/ |
| A D | stats_shell.c | 47 SHELL_CMD(list, NULL, "List stats", cmd_stats_list),
|
| /subsys/usb/device_next/ |
| A D | usbd_class.c | 345 const char *const list[]) in is_blocklisted() argument 347 for (int i = 0; list[i] != NULL; i++) { in is_blocklisted() 348 if (strcmp(c_nd->c_data->name, list[i]) == 0) { in is_blocklisted()
|
| /subsys/debug/symtab/ |
| A D | symtab.c | 72 SHELL_CMD(list, NULL, "Show symbol list.", cmd_symtab_list),
|
| /subsys/mgmt/mcumgr/grp/enum_mgmt/ |
| A D | Kconfig | 67 int "Maximum list item entries" 71 The number of maximum values in the list for the details command to support, each value
|
| /subsys/fs/ext2/ |
| A D | ext2_diskops.c | 428 uint32_t *list = (uint32_t *)inode->blocks[lvl - 1]->data; in fetch_level_blocks() local 430 block = sys_le32_to_cpu(list[offsets[lvl]]); in fetch_level_blocks() 506 uint32_t *list, start_blk; in delete_blocks() local 524 list = (uint32_t *)list_block->data; in delete_blocks() 542 uint32_t block_num2 = sys_le32_to_cpu(list[offsets[0]]); in delete_blocks() 568 uint32_t block_num2 = sys_le32_to_cpu(list[i]); in delete_blocks() 579 list[i] = 0; in delete_blocks()
|
| /subsys/pm/policy/ |
| A D | Kconfig | 29 This option allows devices to have a list of power states
|