/lk-master/lib/cbuf/ |
A D | cbuf.c | 33 cbuf->tail = 0; in cbuf_initialize_etc() 66 if (cbuf->head >= cbuf->tail) { in cbuf_write() 67 if (cbuf->tail == 0) { in cbuf_write() 98 if (cbuf->head != cbuf->tail) in cbuf_write() 126 if (cbuf->tail != cbuf->head) { in cbuf_read() 146 cbuf->tail = INC_POINTER(cbuf, cbuf->tail, read_len); in cbuf_read() 177 DEBUG_ASSERT(cbuf->tail < sz); in cbuf_peek() 181 if (ret + cbuf->tail > sz) { in cbuf_peek() 230 if (cbuf->tail != cbuf->head) { in cbuf_read_char() 232 *c = cbuf->buf[cbuf->tail]; in cbuf_read_char() [all …]
|
/lk-master/lib/klog/ |
A D | klog.c | 43 uint32_t tail; member 141 klog->tail = 0; in klog_create() 194 if (k->tail >= k->size) in klog_recover() 290 klog->tail += offset; in klog_read() 291 if (klog->tail >= klog->size) in klog_read() 292 klog->tail -= klog->size; in klog_read() 312 return (klog->head != klog->tail); in klog_has_data() 338 if (klog->tail == newhead) { in klog_puts_len() 343 klog->tail = newtail; in klog_puts_len() 411 if (k->head == k->tail) { in klog_get_buffer() [all …]
|
/lk-master/external/lib/lwip/ |
A D | sys_arch.c | 74 mbox->tail = 0; in sys_mbox_new() 116 *msg = mbox->queue[mbox->tail]; in sys_arch_mbox_tryfetch() 117 mbox->tail = (mbox->tail + 1) % mbox->size; in sys_arch_mbox_tryfetch() 141 *msg = mbox->queue[mbox->tail]; in sys_arch_mbox_fetch() 142 mbox->tail = (mbox->tail + 1) % mbox->size; in sys_arch_mbox_fetch()
|
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/src/ |
A D | ring_buffer.c | 40 #define RB_INDT(rb) ((rb)->tail & ((rb)->count - 1)) 60 RingBuff->head = RingBuff->tail = 0; in RingBuffer_Init() 128 RingBuff->tail++; in RingBuffer_Pop() 158 RingBuff->tail += cnt1; in RingBuffer_PopMult() 164 RingBuff->tail += cnt2; in RingBuffer_PopMult()
|
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/ |
A D | ring_buffer.h | 50 uint32_t tail; member 63 #define RB_VTAIL(rb) (*(volatile uint32_t *) &(rb)->tail) 85 RingBuff->head = RingBuff->tail = 0; in RingBuffer_Flush()
|
/lk-master/external/lib/lwip/api/ |
A D | netbuf.c | 174 netbuf_chain(struct netbuf *head, struct netbuf *tail) in netbuf_chain() argument 177 LWIP_ERROR("netbuf_chain: invalid tail", (tail != NULL), return;); in netbuf_chain() 178 pbuf_cat(head->p, tail->p); in netbuf_chain() 180 memp_free(MEMP_NETBUF, tail); in netbuf_chain()
|
/lk-master/platform/armemu/ |
A D | net.c | 170 int head, tail; in low_level_input() local 174 tail = *REG(NET_TAIL); in low_level_input() 176 if (tail == head) in low_level_input() 223 *REG(NET_TAIL) = (tail + 1) % NET_IN_BUF_COUNT; in low_level_input()
|
/lk-master/external/lib/lwip/core/snmp/ |
A D | asn1_enc.c | 491 u8_t shift, tail; in snmp_asn1_enc_oid() local 495 tail = 0; in snmp_asn1_enc_oid() 502 if ((code != 0) || (tail != 0)) in snmp_asn1_enc_oid() 504 tail = 1; in snmp_asn1_enc_oid()
|
A D | msg_in.c | 125 msg_ps->invb.tail = NULL; in snmp_error_response() 783 msg_ps->invb.tail = NULL; in snmp_msg_set_event() 1131 m_stat->invb.tail = NULL; in snmp_pdu_dec_varbindlist() 1401 vb = root->tail; in snmp_varbind_list_free() 1410 root->tail = NULL; in snmp_varbind_list_free() 1420 root->tail = vb; in snmp_varbind_tail_add() 1425 root->tail->next = vb; in snmp_varbind_tail_add() 1426 vb->prev = root->tail; in snmp_varbind_tail_add() 1427 root->tail = vb; in snmp_varbind_tail_add() 1440 vb = root->tail; in snmp_varbind_tail_remove() [all …]
|
A D | mib_structs.c | 192 lrn->tail = NULL; in snmp_mib_lrn_alloc() 233 rn->tail = nn; in snmp_mib_node_insert() 268 rn->tail = nn; in snmp_mib_node_insert() 415 else if (n == rn->tail) in snmp_mib_node_delete() 417 rn->tail = n->prev; in snmp_mib_node_delete() 435 rn->tail = NULL; in snmp_mib_node_delete()
|
A D | msg_out.c | 284 trap_msg.outvb.tail = NULL; in snmp_coldstart_trap() 297 trap_msg.outvb.tail = NULL; in snmp_authfail_trap() 422 vb = root->tail; in snmp_varbind_list_sum()
|
A D | mib2.c | 1080 snmp_mib_node_delete(&iflist_root, iflist_root.tail); in snmp_dec_iflist()
|
/lk-master/external/lib/lwip/include/lwip/ |
A D | pbuf.h | 157 void pbuf_cat(struct pbuf *head, struct pbuf *tail); 158 void pbuf_chain(struct pbuf *head, struct pbuf *tail);
|
A D | netbuf.h | 71 struct netbuf *tail);
|
A D | snmp_msg.h | 115 struct snmp_varbind *tail; member
|
A D | snmp_structs.h | 185 struct mib_list_node *tail; member
|
/lk-master/external/lib/lwip/include/arch/ |
A D | sys_arch.h | 21 int tail; member
|
/lk-master/kernel/ |
A D | port.c | 46 uint tail; member 87 buf->head = buf->tail = 0; in make_buf() 101 buf->packet[buf->tail] = packets[ix]; in buf_write() 102 buf->tail = modpow2(++buf->tail, buf->log2); in buf_write()
|
/lk-master/lib/cbuf/include/lib/ |
A D | cbuf.h | 20 uint tail; member
|
/lk-master/.github/workflows/ |
A D | github-ci.yml | 72 TOOLCHAIN_PREFIX=$(make list-toolchain | grep TOOLCHAIN_PREFIX | tail -1 | cut -d ' ' -f 3)
|