Lines Matching defs:total_size
22 unsigned long total_size;
27 total_size = info->screen_size;
29 if (total_size == 0)
30 total_size = info->fix.smem_len;
32 if (p >= total_size)
35 if (count >= total_size)
36 count = total_size;
38 if (count + p > total_size)
39 count = total_size - p;
62 unsigned long total_size;
67 total_size = info->screen_size;
69 if (total_size == 0)
70 total_size = info->fix.smem_len;
72 if (p > total_size)
75 if (count > total_size) {
77 count = total_size;
80 if (count + p > total_size) {
84 count = total_size - p;