Lines Matching defs:total_size
1034 unsigned long total_size;
1039 total_size = info->screen_size;
1041 if (total_size == 0)
1042 total_size = info->fix.smem_len;
1044 if (p >= total_size)
1047 if (count >= total_size)
1048 count = total_size;
1050 if (count + p > total_size)
1051 count = total_size - p;
1097 unsigned long total_size;
1102 total_size = info->screen_size;
1104 if (total_size == 0)
1105 total_size = info->fix.smem_len;
1107 if (p > total_size)
1110 if (count > total_size) {
1112 count = total_size;
1115 if (count + p > total_size) {
1119 count = total_size - p;