Lines Matching refs:len1
97 static int qemu_fifo_write(QEMUFIFO *f, const uint8_t *buf, int len1)
102 if (len1 > l)
103 len1 = l;
104 len = len1;
116 f->count += len1;
117 return len1;
120 static int qemu_fifo_read(QEMUFIFO *f, uint8_t *buf, int len1)
124 if (len1 > f->count)
125 len1 = f->count;
126 len = len1;
138 f->count -= len1;
139 return len1;