Lines Matching refs:tot_len
845 compat_ssize_t tot_len; in compat_rw_copy_check_uvector() local
881 tot_len = 0; in compat_rw_copy_check_uvector()
899 if (len > MAX_RW_COUNT - tot_len) in compat_rw_copy_check_uvector()
900 len = MAX_RW_COUNT - tot_len; in compat_rw_copy_check_uvector()
901 tot_len += len; in compat_rw_copy_check_uvector()
907 ret = tot_len; in compat_rw_copy_check_uvector()
917 size_t tot_len; in do_iter_read() local
925 tot_len = iov_iter_count(iter); in do_iter_read()
926 if (!tot_len) in do_iter_read()
928 ret = rw_verify_area(READ, file, pos, tot_len); in do_iter_read()
954 size_t tot_len; in do_iter_write() local
962 tot_len = iov_iter_count(iter); in do_iter_write()
963 if (!tot_len) in do_iter_write()
965 ret = rw_verify_area(WRITE, file, pos, tot_len); in do_iter_write()