Lines Matching defs:ptr
2065 char *orig, *ptr, *opts;
2091 while ((ptr = strsep(&opts, ",\n")) != NULL) {
2092 if (!*ptr)
2095 token = match_token(ptr, tokens, args);
2392 char *ptr;
2395 ptr = strstr(page, "1");
2396 if (!ptr) {
2562 char *map_entries, *orig, *ptr;
2574 while ((ptr = strsep(&map_entries, "\n")) != NULL) {
2575 if (!*ptr)
2579 if (sscanf(ptr, "%lu %lu\n",
2588 if (sscanf(ptr, "%lu %lu", &start_lba, &end_lba) != 2) {
2593 ptr = strchr(ptr, ' ');
2594 if (!ptr) {
2599 ptr++;
2600 ptr = strchr(ptr, ' ');
2601 if (!ptr) {
2607 ptr++;
2615 while (sscanf(ptr, "%d:%c", &pg_id, &state) == 2) {
2644 ptr = strchr(ptr, ' ');
2645 if (ptr)
2646 ptr++;