Lines Matching refs:ret
252 int ret;
254 ret = vc_uniscr_check(vc);
255 if (ret)
256 return ret;
371 ssize_t ret;
390 ret = -EINVAL;
401 ret = 0;
408 ret = -ENXIO;
418 ret = size;
436 ret = vcs_read_buf_uni(vc, con_buf, pos, this_round,
438 if (ret)
456 ret = copy_to_user(buf, con_buf + skip, this_round);
459 if (ret) {
460 read += this_round - ret;
461 ret = -EFAULT;
471 ret = read;
475 return ret;
598 ssize_t ret;
617 ret = -ENXIO;
624 ret = size;
627 ret = -EINVAL;
643 ret = copy_from_user(con_buf, buf, this_round);
646 if (ret) {
647 this_round -= ret;
654 ret = -EFAULT;
667 ret = -ENXIO;
674 ret = size;
701 ret = written;
708 return ret;
715 __poll_t ret = DEFAULT_POLLMASK|EPOLLERR;
721 ret = DEFAULT_POLLMASK|EPOLLPRI;
724 ret = DEFAULT_POLLMASK|EPOLLHUP|EPOLLERR;
727 ret = DEFAULT_POLLMASK;
731 return ret;
757 int ret = 0;
765 ret = -ENXIO;
767 return ret;