Home
last modified time | relevance | path

Searched refs:avail (Results 1 – 10 of 10) sorted by relevance

/lk-master/app/lkboot/
A Dlkboot.c59 size_t avail; member
69 lkb->avail = 0; in lkboot_create_lkb()
149 if (lkb->avail == 0) { in lkb_read()
157 lkb->avail = ((size_t) hdr.length) + 1; in lkb_read()
159 if (lkb->avail >= len) { in lkb_read()
161 lkb->avail -= len; in lkb_read()
164 if (lkb->read(lkb->cookie, data, lkb->avail)) { in lkb_read()
168 data += lkb->avail; in lkb_read()
169 len -= lkb->avail; in lkb_read()
170 lkb->avail = 0; in lkb_read()
/lk-master/dev/virtio/include/dev/virtio/
A Dvirtio_ring.h106 struct vring_avail *avail; member
137 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
148 vr->avail = p + num*sizeof(struct vring_desc); in vring_init()
149 vr->used = (void *)(((unsigned long)&vr->avail->ring[num] + sizeof(uint16_t) in vring_init()
/lk-master/external/platform/pico/rp2_common/pico_stdio_usb/
A Dstdio_usb.c44 int avail = tud_cdc_write_available(); in stdio_usb_out_chars() local
45 if (n > avail) n = avail; in stdio_usb_out_chars()
/lk-master/platform/stellaris/
A Dusbc.c119 ulong avail = sizeof(buf); in ep0_irq() local
121 if (USBEndpointDataGet(USB0_BASE, USB_EP_0, buf, &avail) < 0 || avail != sizeof(buf)) { in ep0_irq()
122 LTRACEF("short setup packet, size %lu\n", avail); in ep0_irq()
/lk-master/dev/virtio/
A Dvirtio.c285 struct vring_avail *avail = dev->ring[ring_index].avail; in virtio_submit_chain() local
287 avail->ring[avail->idx & dev->ring[ring_index].num_mask] = desc_index; in virtio_submit_chain()
289 avail->idx++; in virtio_submit_chain()
292 hexdump(avail, 16); in virtio_submit_chain()
/lk-master/kernel/
A Dport.c44 uint avail; member
88 buf->avail = pk_count; in make_buf()
93 return buf->avail == valpow2(buf->log2); in buf_is_empty()
97 if (buf->avail < count) in buf_write()
104 buf->avail -= count; in buf_write()
113 ++buf->avail; in buf_read()
/lk-master/external/lib/lwip/core/
A Dstats.c116 LWIP_PLATFORM_DIAG(("avail: %"U32_F"\n\t", (u32_t)mem->avail)); in stats_display_mem()
A Dmemp.c347 MEMP_STATS_AVAIL(avail, i, memp_num[i]); in memp_init()
A Dmem.c297 MEM_STATS_AVAIL(avail, MEM_SIZE_ALIGNED); in mem_init()
/lk-master/external/lib/lwip/include/lwip/
A Dstats.h94 mem_size_t avail; member

Completed in 13 milliseconds