Lines Matching refs:tot_len
848 compat_ssize_t tot_len; in compat_rw_copy_check_uvector() local
884 tot_len = 0; in compat_rw_copy_check_uvector()
902 if (len > MAX_RW_COUNT - tot_len) in compat_rw_copy_check_uvector()
903 len = MAX_RW_COUNT - tot_len; in compat_rw_copy_check_uvector()
904 tot_len += len; in compat_rw_copy_check_uvector()
910 ret = tot_len; in compat_rw_copy_check_uvector()
920 size_t tot_len; in do_iter_read() local
928 tot_len = iov_iter_count(iter); in do_iter_read()
929 if (!tot_len) in do_iter_read()
931 ret = rw_verify_area(READ, file, pos, tot_len); in do_iter_read()
957 size_t tot_len; in do_iter_write() local
965 tot_len = iov_iter_count(iter); in do_iter_write()
966 if (!tot_len) in do_iter_write()
968 ret = rw_verify_area(WRITE, file, pos, tot_len); in do_iter_write()