| /Zephyr-latest/subsys/bluetooth/controller/util/ | 
| D | memq.c | 51 memq_link_t *memq_init(memq_link_t *link, memq_link_t **head, memq_link_t **tail)  in memq_init()  argument 54 	*head = *tail = link;  in memq_init() 66 memq_link_t *memq_deinit(memq_link_t **head, memq_link_t **tail)  in memq_deinit()  argument 71 	if (*head != *tail) {  in memq_deinit() 75 	old_head = *head;  in memq_deinit() 76 	*head = *tail = NULL;  in memq_deinit() 117 memq_link_t *memq_peek(memq_link_t *head, memq_link_t *tail, void **mem)  in memq_peek()  argument 120 	if (head == tail) {  in memq_peek() 126 		*mem = head->mem;  in memq_peek() 129 	return head; /* queue was not empty */  in memq_peek() [all …] 
 | 
| D | memq.h | 21 		memq_link_t *head; \ 25 memq_link_t *memq_init(memq_link_t *link, memq_link_t **head, 29 	memq_init(link, &memq_##name.head, &memq_##name.tail) 31 memq_link_t *memq_deinit(memq_link_t **head, memq_link_t **tail); 33 memq_link_t *memq_peek(memq_link_t *head, memq_link_t *tail, void **mem); 34 memq_link_t *memq_peek_n(memq_link_t *head, memq_link_t *tail, uint8_t n, 36 memq_link_t *memq_dequeue(memq_link_t *tail, memq_link_t **head, void **mem);
  | 
| D | mem.c | 44 		void *head;  in mem_acquire()  local 53 		memcpy(&head, mem, sizeof(head));  in mem_acquire() 56 		if (head) {  in mem_acquire() 57 			*((uint16_t *)MROUND((uint8_t *)head + sizeof(head))) =  in mem_acquire() 61 		*mem_head = head;  in mem_acquire()
  | 
| D | mayfly.c | 20 	memq_link_t *head;  member 46 				  &mft[callee_id][caller_id].head,  in mayfly_init() 155 			     &mft[callee_id][caller_id].head,  in dequeue() 197 		link = memq_peek(mft[callee_id][caller_id].head,  in mayfly_run() 224 			link = memq_peek(mft[callee_id][caller_id].head,  in mayfly_run()
  | 
| /Zephyr-latest/subsys/usb/device/ | 
| D | usb_descriptor.c | 218 	struct usb_desc_header *head = __usb_descriptor_start;  in usb_get_str_descriptor_idx()  local 222 	while (head->bLength != 0U) {  in usb_get_str_descriptor_idx() 223 		switch (head->bDescriptorType) {  in usb_get_str_descriptor_idx() 225 			if (head == (struct usb_desc_header *)str) {  in usb_get_str_descriptor_idx() 236 		head = (struct usb_desc_header *)((uint8_t *)head + head->bLength);  in usb_get_str_descriptor_idx() 416 static int usb_fix_descriptor(struct usb_desc_header *head)  in usb_fix_descriptor()  argument 426 	while (head->bLength != 0U) {  in usb_fix_descriptor() 427 		switch (head->bDescriptorType) {  in usb_fix_descriptor() 429 			LOG_DBG("Device descriptor %p", head);  in usb_fix_descriptor() 430 			usb_desc_update_mps0((void *)head);  in usb_fix_descriptor() [all …] 
 | 
| /Zephyr-latest/tests/subsys/usb/desc_sections/src/ | 
| D | desc_sections.c | 113 static void interface_config(struct usb_desc_header *head,  in interface_config()  argument 116 	struct usb_if_descriptor *if_desc = (struct usb_if_descriptor *)head;  in interface_config() 118 	LOG_DBG("head %p iface_num %u", head, iface_num);  in interface_config() 160 static void check_endpoint_allocation(struct usb_desc_header *head)  in check_endpoint_allocation()  argument 166 	while (head->bLength != 0) {  in check_endpoint_allocation() 167 		if (head->bDescriptorType == USB_DESC_INTERFACE) {  in check_endpoint_allocation() 168 			struct usb_if_descriptor *if_descr = (void *)head;  in check_endpoint_allocation() 184 		if (head->bDescriptorType == USB_DESC_ENDPOINT) {  in check_endpoint_allocation() 186 				(struct usb_ep_descriptor *)head;  in check_endpoint_allocation() 197 		head = (struct usb_desc_header *)((uint8_t *)head + head->bLength);  in check_endpoint_allocation() [all …] 
 | 
| /Zephyr-latest/include/zephyr/sys/ | 
| D | mpsc_lockfree.h | 87 	mpsc_ptr_t head;  member 101 		.head = (struct mpsc_node *)&symbol.stub,                                          \ 115 	mpsc_ptr_set(q->head, &q->stub);  in mpsc_init() 134 	prev = (struct mpsc_node *)mpsc_ptr_set_get(q->head, n);  in mpsc_push() 147 	struct mpsc_node *head;  in mpsc_pop()  local 168 	head = (struct mpsc_node *)mpsc_ptr_get(q->head);  in mpsc_pop() 173 	if (tail != head) {  in mpsc_pop()
  | 
| D | dlist.h | 38 		struct _dnode *head; /* ptr to head of list (sys_dlist_t) */  member 204 	list->head = (sys_dnode_t *)list;  in sys_dlist_init() 249 	return list->head == node;  in sys_dlist_is_head() 276 	return list->head == list;  in sys_dlist_is_empty() 291 	return list->head != list->tail;  in sys_dlist_has_multiple_nodes() 304 	return sys_dlist_is_empty(list) ? NULL : list->head;  in sys_dlist_peek_head() 319 	return list->head;  in sys_dlist_peek_head_not_empty() 370 	return (node == list->head) ? NULL : node->prev;  in sys_dlist_peek_prev_no_check() 434 	sys_dnode_t *const head = list->head;  in sys_dlist_prepend()  local 436 	node->next = head;  in sys_dlist_prepend() [all …] 
 | 
| D | ring_buffer.h | 42 struct ring_buf_index { ring_buf_idx_t head, tail, base; };  member 72 	buf->put.head = buf->put.tail = buf->put.base = value;  in ring_buf_internal_reset() 73 	buf->get.head = buf->get.tail = buf->get.base = value;  in ring_buf_internal_reset() 214 	return buf->get.head == buf->put.tail;  in ring_buf_is_empty() 236 	ring_buf_idx_t allocated = buf->put.head - buf->get.tail;  in ring_buf_space_get() 274 	ring_buf_idx_t available = buf->put.tail - buf->get.head;  in ring_buf_size_get()
  | 
| D | slist.h | 43 	sys_snode_t *head;  member 201 	list->head = NULL;  in sys_slist_init() 223 	list->head = node;  in z_slist_head_set() 240 	return list->head;  in sys_slist_peek_head() 334 					 void *head, void *tail);
  | 
| D | sflist.h | 48 	sys_sfnode_t *head;  member 206 	list->head = NULL;  in sys_sflist_init() 238 	list->head = node;  in z_sflist_head_set() 255 	return list->head;  in sys_sflist_peek_head() 402 					  void *head, void *tail);
  | 
| D | list_gen.h | 116 					void *head, void *tail)		\ 118 	if (head != NULL && tail != NULL) {				\ 121 				(sys_ ## __nname ## _t *)head);		\ 125 				(sys_ ## __nname ## _t *)head);		\ 138 		sys_ ## __nname ## _t *head, *tail;			\ 139 		head = sys_ ## __lname ## _peek_head(list_to_append);	\ 141 		sys_ ## __lname ## _append_list(list, head, tail);	\
  | 
| /Zephyr-latest/tests/kernel/queue/src/ | 
| D | test_queue_fail.c | 63 	static qdata_t *head = NULL, *tail = &data_l[1];  in ZTEST()  local 69 	zassert_true(k_queue_append_list(&queue, (uint32_t *)head,  in ZTEST() 73 	head = &data_l[0];  in ZTEST() 75 	zassert_true(k_queue_append_list(&queue, (uint32_t *)head,  in ZTEST() 82 	head = &data_l[0];  in ZTEST() 83 	head->snode.next = NULL;  in ZTEST() 86 			head, NULL, K_PRIO_PREEMPT(0), 0, K_NO_WAIT);  in ZTEST() 90 	k_queue_append_list(&queue, (uint32_t *)head, (uint32_t *)head);  in ZTEST()
  | 
| /Zephyr-latest/samples/arch/smp/pktqueue/src/ | 
| D | pktqueue.c | 17 		queue->head = queue->tail = desc;  in phdr_desc_enqueue() 38 		return_ptr = queue->head;  in phdr_desc_dequeue() 39 		queue->head = queue->head->next;  in phdr_desc_dequeue()
  | 
| /Zephyr-latest/subsys/sip_svc/ | 
| D | sip_svc_id_mgr.c | 59 	id_pool->head = 0;  in sip_svc_id_mgr_create() 91 	if (id_pool->head == SIP_SVC_ID_INVALID) {  in sip_svc_id_mgr_alloc() 95 	id = id_pool->id_list[id_pool->head];  in sip_svc_id_mgr_alloc() 102 	if (id_pool->head == id_pool->tail) {  in sip_svc_id_mgr_alloc() 103 		id_pool->head = SIP_SVC_ID_INVALID;  in sip_svc_id_mgr_alloc() 106 		id_pool->head++;  in sip_svc_id_mgr_alloc() 107 		if (id_pool->head == id_pool->size) {  in sip_svc_id_mgr_alloc() 108 			id_pool->head = 0;  in sip_svc_id_mgr_alloc() 140 	if (id_pool->head == SIP_SVC_ID_INVALID) {  in sip_svc_id_mgr_free() 141 		id_pool->head = 0;  in sip_svc_id_mgr_free() [all …] 
 | 
| /Zephyr-latest/boards/native/nrf_bsim/common/ | 
| D | bstests_entry.c | 34 	struct bst_test_list *head = tests;  in bst_add_tests()  local 43 			head = bs_malloc(sizeof(struct bst_test_list));  in bst_add_tests() 44 			head->next = NULL;  in bst_add_tests() 45 			head->test_instance = (struct bst_test_instance *)  in bst_add_tests() 47 			tail = head;  in bst_add_tests() 59 	return head;  in bst_add_tests()
  | 
| /Zephyr-latest/modules/nrf_wifi/os/ | 
| D | shim.h | 48 	sys_dnode_t head;  member 53 	sys_dlist_t head;  member
  | 
| /Zephyr-latest/tests/lib/lockfree/src/ | 
| D | test_mpsc.c | 28 	mpsc_ptr_t node, head;  in ZTEST()  local 33 	head = mpsc_ptr_get(push_pop_q.head);  in ZTEST() 38 	zassert_equal(head, stub, "Head should point at stub");  in ZTEST() 47 	head = mpsc_ptr_get(push_pop_q.head);  in ZTEST() 49 	zassert_equal(head, &push_pop_nodes[0], "Queue head should point at push_pop_node");  in ZTEST()
  | 
| /Zephyr-latest/samples/drivers/uart/native_tty/src/ | 
| D | main.c | 40 	char *head = str;  in recv_str()  local 44 		*head++ = c;  in recv_str() 46 	*head = '\0';  in recv_str()
  | 
| /Zephyr-latest/kernel/ | 
| D | queue.c | 257 int k_queue_append_list(struct k_queue *queue, void *head, void *tail)  in k_queue_append_list()  argument 263 	CHECKIF((head == NULL) || (tail == NULL)) {  in k_queue_append_list() 272 	if (head != NULL) {  in k_queue_append_list() 276 	while ((head != NULL) && (thread != NULL)) {  in k_queue_append_list() 278 		prepare_thread_to_run(thread, head);  in k_queue_append_list() 279 		head = *(void **)head;  in k_queue_append_list() 283 	if (head != NULL) {  in k_queue_append_list() 284 		sys_sflist_append_list(&queue->data_q, head, tail);  in k_queue_append_list() 322 	ret = k_queue_append_list(queue, list->head, list->tail);  in k_queue_merge_slist()
  | 
| D | events.c | 44 	struct k_thread  *head;  member 123 		thread->next_event_link = event_data->head;  in event_walk_op() 124 		event_data->head = thread;  in event_walk_op() 139 	data.head = NULL;  in k_event_post_internal() 162 	if (data.head != NULL) {  in k_event_post_internal() 163 		thread = data.head;  in k_event_post_internal()
  | 
| /Zephyr-latest/tests/benchmarks/data_structure_perf/dlist_perf/src/ | 
| D | dlist_perf.c | 190 	sys_dnode_t *head, *tail;  in ZTEST()  local 199 	head = list.head;  in ZTEST() 200 	zassert_true(head == &node[0],  in ZTEST()
  | 
| /Zephyr-latest/drivers/usb/uvb/ | 
| D | uvb.h | 130 	bool head;  member 251 		.head = true,							\
  | 
| /Zephyr-latest/tests/bluetooth/controller/ctrl_user_ext/src/ | 
| D | ull_vendor.h | 23 					  memq_link_t **head)  in rx_demux_rx_proprietary()  argument
  | 
| /Zephyr-latest/tests/bluetooth/controller/mock_ctrl/include/ | 
| D | ull_vendor.h | 23 					  memq_link_t **head)  in rx_demux_rx_proprietary()  argument
  |