Lines Matching refs:total_size
13 unsigned long total_size, trailing;
21 total_size = info->screen_size;
23 if (total_size == 0)
24 total_size = info->fix.smem_len;
26 if (p >= total_size)
29 if (count >= total_size)
30 count = total_size;
32 if (count + p > total_size)
33 count = total_size - p;
77 unsigned long total_size, trailing;
85 total_size = info->screen_size;
87 if (total_size == 0)
88 total_size = info->fix.smem_len;
90 if (p > total_size)
93 if (count > total_size) {
95 count = total_size;
98 if (count + p > total_size) {
102 count = total_size - p;