Lines Matching refs:p
157 char *p; in devt_from_devname() local
162 for (p = s; *p; p++) { in devt_from_devname()
163 if (*p == '/') in devt_from_devname()
164 *p = '!'; in devt_from_devname()
175 while (p > s && isdigit(p[-1])) in devt_from_devname()
176 p--; in devt_from_devname()
177 if (p == s || !*p || *p == '0') in devt_from_devname()
181 part = simple_strtoul(p, NULL, 10); in devt_from_devname()
182 *p = '\0'; in devt_from_devname()
188 if (p < s + 2 || !isdigit(p[-2]) || p[-1] != 'p') in devt_from_devname()
190 p[-1] = '\0'; in devt_from_devname()
200 char *p, dummy; in devt_from_devnum() local
208 *devt = new_decode_dev(simple_strtoul(name, &p, 16)); in devt_from_devnum()
209 if (*p) in devt_from_devnum()