/Zephyr-latest/tests/kernel/fifo/fifo_api/src/ |
D | test_fifo_contexts.c | 31 static fdata_t *head = &data_l[0], *tail = &data_l[LIST_LEN - 1]; in tfifo_put() local 33 head->snode.next = (sys_snode_t *)tail; in tfifo_put() 35 k_fifo_put_list(pfifo, (uint32_t *)head, (uint32_t *)tail); in tfifo_put()
|
/Zephyr-latest/samples/arch/smp/pktqueue/src/ |
D | pktqueue.h | 18 struct phdr_desc *head; /* packet headers are removed from here */ member
|
D | main.c | 59 queue->head = descriptors[queue_num]; in init_datagram_queue() 202 tmp = receiver[i].head; in main()
|
/Zephyr-latest/doc/kernel/data_structures/ |
D | dlist.rst | 10 the head, tail or any internal node). To do this, the list stores two 22 Primitive operations may retrieve the head/tail of a list and the 30 :c:func:`sys_dlist_remove`, by adding a node to the head or tail of a list 54 struct contains "head" and "tail" pointer fields, the :c:type:`sys_dnode_t` 63 * The head and tail of the list can be detected by comparing the 67 of inserting at the head or tail. There are never any NULL pointers
|
D | slist.rst | 9 constant-time access to the first (head) and last (tail) elements of 10 the list, insertion before the head and after the tail of the list and 11 constant time removal of the head. Removal of subsequent nodes 35 Lists may be modified by adding a single node at the head or tail with 70 "head" and "tail" pointer fields. And a :c:type:`sys_snode_t` stores only a 94 and "set" primitives for each of head, tail and next pointers on their
|
/Zephyr-latest/modules/nrf_wifi/os/ |
D | shim.c | 453 sys_dnode_init(&llist_node->head); in zep_shim_llist_node_alloc() 505 sys_dlist_init(&zep_llist->head); in zep_shim_llist_init() 516 sys_dlist_append(&zep_llist->head, &zep_node->head); in zep_shim_llist_add_node_tail() 529 sys_dlist_prepend(&zep_llist->head, &zep_node->head); in zep_shim_llist_add_node_head() 545 zep_head_node = (struct zep_shim_llist_node *)sys_dlist_peek_head(&zep_llist->head); in zep_shim_llist_get_node_head() 559 zep_nxt_node = (struct zep_shim_llist_node *)sys_dlist_peek_next(&zep_llist->head, in zep_shim_llist_get_node_nxt() 560 &zep_node->head); in zep_shim_llist_get_node_nxt() 573 sys_dlist_remove(&zep_node->head); in zep_shim_llist_del_node()
|
/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_ch9.c | 566 struct usb_desc_header head = { in string_ascii7_to_utf16le() local 581 head.bLength = sizeof(head) + hwid_len * 2; in string_ascii7_to_utf16le() 584 head.bLength = dn->bLength; in string_ascii7_to_utf16le() 589 wLength, head.bLength, net_buf_tailroom(buf)); in string_ascii7_to_utf16le() 591 len = MIN(net_buf_tailroom(buf), MIN(head.bLength, wLength)); in string_ascii7_to_utf16le() 594 net_buf_add_mem(buf, &head, MIN(len, sizeof(head))); in string_ascii7_to_utf16le() 595 len -= MIN(len, sizeof(head)); in string_ascii7_to_utf16le() 613 struct usb_desc_header *head; in sreq_get_desc_dev() local 620 head = uds_ctx->fs_desc; in sreq_get_desc_dev() 623 head = uds_ctx->hs_desc; in sreq_get_desc_dev() [all …]
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_common.c | 22 void osdp_dump(const char *head, uint8_t *buf, int len) in osdp_dump() argument 24 LOG_HEXDUMP_DBG(buf, len, head); in osdp_dump()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | delayable_msg.c | 53 sys_snode_t *head = sys_slist_peek_head(list); in put_ctx_to_busy_list() local 54 sys_snode_t *curr = head; in put_ctx_to_busy_list() 57 if (!head) { in put_ctx_to_busy_list() 65 if (curr == head) { in put_ctx_to_busy_list()
|
/Zephyr-latest/subsys/usb/device/class/ |
D | loopback.c | 160 static void loopback_interface_config(struct usb_desc_header *head, in loopback_interface_config() argument 163 ARG_UNUSED(head); in loopback_interface_config()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull.c | 975 link = memq_peek(memq_ll_rx.head, memq_ll_rx.tail, (void **)&rx); in ll_rx_get() 1012 (void)memq_dequeue(memq_ll_rx.tail, &memq_ll_rx.head, NULL); in ll_rx_get() 1072 link = memq_dequeue(memq_ll_rx.tail, &memq_ll_rx.head, in ll_rx_dequeue() 1149 memq_link_t *memq_link = memq_deinit(&lll_conn->memq_tx.head, in ll_rx_dequeue() 1200 memq_link = memq_deinit(&conn_lll->memq_tx.head, in ll_rx_dequeue() 1689 link = memq_deinit(&conn->lll.memq_tx.head, in ll_rx_mem_release() 2533 &memq_ll_rx.head, NULL); in rx_link_dequeue_release_quota_inc() 2552 link = memq_peek(memq_ull_rx.head, memq_ull_rx.tail, in rx_demux() 2611 link_peek = memq_peek(memq_ull_rx.head, memq_ull_rx.tail, (void **)&rx); in rx_demux_yield() 2808 (void)memq_dequeue(memq_ull_rx.tail, &memq_ull_rx.head, NULL); in rx_demux_rx() [all …]
|
/Zephyr-latest/tests/lib/net_buf/buf/src/ |
D | main.c | 128 struct net_buf *frag, *head; in ZTEST() local 132 head = net_buf_alloc_len(&bufs_pool, 74, K_NO_WAIT); in ZTEST() 133 zassert_not_null(head, "Failed to get fragment list head"); in ZTEST() 135 frag = head; in ZTEST() 143 k_fifo_put(&fifo, head); in ZTEST() 144 head = k_fifo_get(&fifo, K_NO_WAIT); in ZTEST() 147 net_buf_unref(head); in ZTEST() 178 struct net_buf *frag, *head; in ZTEST() local 183 head = net_buf_alloc_len(&bufs_pool, 74, K_NO_WAIT); in ZTEST() 184 zassert_not_null(head, "Failed to get fragment list head"); in ZTEST() [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_sam_gmac_priv.h | 214 uint16_t head; member 228 uint16_t head; member
|
D | eth_ivshmem_queue.c | 104 uint32_t head = q->tx.data_head; in eth_ivshmem_queue_tx_get_buff() local 106 uint32_t new_head = tx_buffer_advance(q->vring_data_max_len, &head, &consumed_len); in eth_ivshmem_queue_tx_get_buff() 114 tx_desc->addr = q->vring_header_size + head; in eth_ivshmem_queue_tx_get_buff() 119 *data = (uint8_t *)q->tx.shmem + q->vring_header_size + head; in eth_ivshmem_queue_tx_get_buff()
|
D | eth_sam_gmac.c | 408 rb->head = 0U; in ring_buf_reset() 419 __ASSERT(rb->tail != rb->head, in ring_buf_get() 433 rb->buf[rb->head] = val; in ring_buf_put() 434 MODULO_INC(rb->head, rb->len); in ring_buf_put() 436 __ASSERT(rb->tail != rb->head, in ring_buf_put() 518 tx_desc_list->head = 0U; in tx_descriptors_init() 717 while (tx_desc_list->tail != tx_desc_list->head) { in tx_completed() 773 while (tx_frag_list->tail != tx_frag_list->head) { in tx_error_handler() 783 while (tx_frames->tail != tx_frames->head) { in tx_error_handler() 1450 tx_first_desc = &tx_desc_list->buf[tx_desc_list->head]; in eth_tx() [all …]
|
/Zephyr-latest/subsys/sip_svc/ |
D | sip_svc_id_mgr.h | 18 uint32_t head; member
|
/Zephyr-latest/tests/unit/list/ |
D | slist.c | 149 sys_snode_t *head, in verify_tail_head() argument 153 if (sys_slist_peek_head(list) != head) { in verify_tail_head() 384 if (test_list.head == node) { in ZTEST() 431 if (test_list.head == &cnode->node) { in ZTEST() 495 sys_slist_append_list(&test_list, append_list.head, append_list.tail); in ZTEST()
|
D | dlist.c | 148 sys_dnode_t *head, in verify_tail_head() argument 152 if (sys_dlist_peek_head(list) != head) { in verify_tail_head() 369 zassert_true(test_list.head == &insert_node.node, ""); in ZTEST()
|
/Zephyr-latest/drivers/i2s/ |
D | i2s_ll_stm32.h | 19 uint16_t head; member
|
D | i2s_litex.c | 269 if (rb->tail == rb->head) { in queue_get() 292 head_next = rb->head; in queue_put() 301 rb->buf[rb->head].mem_block = mem_block; in queue_put() 302 rb->buf[rb->head].size = size; in queue_put() 303 rb->head = head_next; in queue_put()
|
D | i2s_litex.h | 76 uint16_t head; member
|
/Zephyr-latest/samples/net/sockets/dumb_http_server/src/ |
D | response_big.html.bin | 5 <head> 12 </head>
|
/Zephyr-latest/samples/net/sockets/dumb_http_server_mt/src/ |
D | response_big.html.bin | 5 <head> 12 </head>
|
/Zephyr-latest/subsys/usb/device/class/netusb/ |
D | function_eem.c | 273 static void eem_interface_config(struct usb_desc_header *head, in eem_interface_config() argument 276 ARG_UNUSED(head); in eem_interface_config()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_conn.c | 512 link = memq_peek(lll->memq_tx.head, lll->memq_tx.tail, (void **)&tx); in lll_conn_pdu_tx_prep() 662 link = memq_peek(lll->memq_tx.head, lll->memq_tx.tail, in isr_rx_pdu() 695 &lll->memq_tx.head, NULL); in isr_rx_pdu() 785 if (memq_peek(lll->memq_tx.head, lll->memq_tx.tail, NULL)) { in empty_tx_enqueue()
|