Searched refs:avail (Results 1 – 10 of 10) sorted by relevance
/lk-master/app/lkboot/ |
A D | lkboot.c | 59 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 D | virtio_ring.h | 106 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 D | stdio_usb.c | 44 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 D | usbc.c | 119 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 D | virtio.c | 285 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 D | port.c | 44 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 D | stats.c | 116 LWIP_PLATFORM_DIAG(("avail: %"U32_F"\n\t", (u32_t)mem->avail)); in stats_display_mem()
|
A D | memp.c | 347 MEMP_STATS_AVAIL(avail, i, memp_num[i]); in memp_init()
|
A D | mem.c | 297 MEM_STATS_AVAIL(avail, MEM_SIZE_ALIGNED); in mem_init()
|
/lk-master/external/lib/lwip/include/lwip/ |
A D | stats.h | 94 mem_size_t avail; member
|
Completed in 13 milliseconds