__d_path
p = __d_path(path, root, buf, size);
extern char *__d_path(const struct path *, const struct path *, char *, int);
res = __d_path(path, &root, buf, buflen);