Lines Matching defs:ptr
99 char *ptr;
112 ptr = line + linelen - 1;
113 if (linelen && *ptr == '\n')
114 *ptr = '\0';
117 reg = simple_strtoul(line + 8, &ptr, 0);
127 base = simple_strtoull(line + 5, &ptr, 0);
128 ptr = skip_spaces(ptr);
130 if (strncmp(ptr, "size=", 5))
133 size = simple_strtoull(ptr + 5, &ptr, 0);
136 ptr = skip_spaces(ptr);
138 if (strncmp(ptr, "type=", 5))
140 ptr = skip_spaces(ptr + 5);
142 i = match_string(mtrr_strings, MTRR_NUM_TYPES, ptr);