Lines Matching defs:name_buf
396 char *name_buf, *device, *devnode, *devicenode, *ofpath;
399 name_buf = xmalloc (PATH_MAX);
400 name_buf = realpath (devname, name_buf);
401 if (! name_buf)
404 device = get_basename (name_buf);
405 devnode = strip_trailing_digits (name_buf);
411 ret = of_path_of_ide(ofpath, name_buf, device, devnode, devicenode);
414 ret = of_path_of_scsi(ofpath, name_buf, device, devnode, devicenode);
417 ret = of_path_of_vdisk(ofpath, name_buf, device, devnode, devicenode);
431 free (name_buf);
437 free (name_buf);