Lines Matching defs:prepath
51 * cifs_build_devname - build a devicename from a UNC and optional prepath
53 * @prepath: pointer to prefixpath (or NULL if there isn't one)
57 * concatenate the prepath onto the end of it if there is one.
63 cifs_build_devname(char *nodename, const char *prepath)
87 * +1 for delimiter between UNC and prepath
90 pplen = prepath ? strlen(prepath) : 0;
110 memcpy(pos, prepath, pplen);
143 const char *prepath = NULL;
158 prepath = fullpath + ref->path_consumed;
160 if (*prepath == '/' || *prepath == '\\')
161 prepath++;
164 name = cifs_build_devname(ref->node_name, prepath);