Lines Matching defs:path
37 * means that there is a @GMT token in path that needs to be
123 * buf - is the path for the command to be processed
137 * Once the new smb node is found, the path is modified by
138 * removing the @GMT token from the path in the buf.
147 char *snapname, *path;
182 path = smb_srm_alloc(sr, MAXPATHLEN);
185 err = smb_node_getmntpath(tnode, path, MAXPATHLEN);
194 smb_vss_map_gmttoken(sr->tid_tree, path, gmttoken, toktime,
226 * - find the path from fsrootvp to node, appending it to the
227 * the snapshot path
234 char *p, *path;
240 path = kmem_alloc(MAXPATHLEN, KM_SLEEP);
241 (void) snprintf(path, MAXPATHLEN, ".zfs/snapshot/%s/", snapname);
242 len = strlen(path);
243 p = path + len;
247 vp = smb_lookuppathvptovp(sr, path, fsrootvp, fsrootvp);
255 kmem_free(path, MAXPATHLEN);
294 smb_vss_find_gmttoken(const char *path)
298 p = path;
345 /* This removes the first @GMT from the path */
347 smb_vss_remove_first_token_from_path(char *path)
352 src = path;
353 dest = path;
374 * of the path provided.
381 smb_string_t path;
383 path.buf = resource_path;
386 &path, smb_string_xdr, &count, xdr_uint32_t);
395 * This takes a path for the root of the dataset and gets the counts of
424 * of the path. If the snapshot cannot be found, a string with a NULL
428 smb_vss_map_gmttoken(smb_tree_t *tree, char *path, char *gmttoken,
437 request.gts_path = path;