Lines Matching refs:out_count
674 size_t out_count, bool to_user) in fill_readbuf() argument
679 if (!out_count || !port_has_data(port)) in fill_readbuf()
683 out_count = min(out_count, buf->len - buf->offset); in fill_readbuf()
688 ret = copy_to_user(out_buf, buf->buf + buf->offset, out_count); in fill_readbuf()
693 out_count); in fill_readbuf()
696 buf->offset += out_count; in fill_readbuf()
712 return out_count; in fill_readbuf()
1307 ssize_t ret, out_offset, out_count; in debugfs_read() local
1309 out_count = 1024; in debugfs_read()
1310 buf = kmalloc(out_count, GFP_KERNEL); in debugfs_read()
1316 out_offset += snprintf(buf + out_offset, out_count, in debugfs_read()
1318 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read()
1320 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read()
1322 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read()
1324 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read()
1326 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read()
1329 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read()
1332 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read()
1335 out_offset += snprintf(buf + out_offset, out_count - out_offset, in debugfs_read()