Lines Matching refs:ptname
80 static void probe_one(blkid_cache cache, const char *ptname,
101 * Take a quick look at /dev/ptname for the device number. We check
110 sprintf(device, "%s/%s", *dir, ptname);
130 if (!pri && !strncmp(ptname, "md", 2))
255 char ptname0[128], ptname1[128], *ptname = 0;
286 ptname = ptnames[which];
289 &ma, &mi, &sz, ptname) != 4)
293 DBG(DEBUG_DEVNAME, printf("read partition name %s\n", ptname));
296 lens[which] = strlen(ptname);
297 if (isdigit(ptname[lens[which] - 1])) {
300 ptname, (unsigned int) devs[which]));
303 probe_one(cache, ptname, devs[which], 0);
306 } else if (lens[last] && strncmp(ptnames[last], ptname,
318 probe_one(cache, ptname, devs[which], 0);