Lines Matching defs:length
15 * @length: Data length in bytes.
22 size_t length;
43 * @length: Buffer size.
48 static int virtsnd_pcm_sg_num(u8 *data, unsigned int length)
54 while (length) {
60 if (pg_length > length)
61 pg_length = length;
72 length -= pg_length;
83 * @length: Buffer size.
91 unsigned int length)
95 while (length) {
100 if (pg_length > length)
101 pg_length = length;
104 sg_phys(&sgs[idx]) + sgs[idx].length != page_to_phys(pg)) {
110 sgs[idx].length += pg_length;
114 length -= pg_length;
228 msg->length += n;
229 if (msg->length == period_bytes) {
318 vss->hw_ptr += msg->length;
325 msg->length = 0;