Lines Matching refs:tot_len
834 compat_ssize_t tot_len; in compat_rw_copy_check_uvector() local
870 tot_len = 0; in compat_rw_copy_check_uvector()
888 if (len > MAX_RW_COUNT - tot_len) in compat_rw_copy_check_uvector()
889 len = MAX_RW_COUNT - tot_len; in compat_rw_copy_check_uvector()
890 tot_len += len; in compat_rw_copy_check_uvector()
896 ret = tot_len; in compat_rw_copy_check_uvector()
906 size_t tot_len; in do_iter_read() local
914 tot_len = iov_iter_count(iter); in do_iter_read()
915 if (!tot_len) in do_iter_read()
917 ret = rw_verify_area(READ, file, pos, tot_len); in do_iter_read()
943 size_t tot_len; in do_iter_write() local
951 tot_len = iov_iter_count(iter); in do_iter_write()
952 if (!tot_len) in do_iter_write()
954 ret = rw_verify_area(WRITE, file, pos, tot_len); in do_iter_write()