Lines Matching refs:UNC
52 * cifs_get_share_name - extracts share name from UNC
53 * @node_name: pointer to UNC string
55 * Extracts sharename form full UNC.
56 * i.e. strips from UNC trailing path that is not part of share
65 char *UNC;
69 UNC = kmalloc(len+2 /*for term null and additional \ if it's missed */,
71 if (!UNC)
76 UNC[0] = '\\';
77 strncpy(UNC+1, node_name, len);
79 UNC[len] = 0;
81 strncpy(UNC, node_name, len);
82 UNC[len] = 0;
86 pSep = memchr(UNC+2, '\\', len-2);
90 kfree(UNC);
96 pSep = memchr(UNC+(pSep-UNC), '\\', len-(pSep-UNC));
99 * now we have share name in UNC */
103 return UNC;
110 * @fullpath: full path in UNC format
235 * @fullpath: full path in UNC format
329 * the double backslashes usually used in the UNC. This function