Home
last modified time | relevance | path

Searched refs:spaths (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_device_path_os.c155 const char *const *spaths = zpool_default_search_paths(&spath_count); in zfs_strip_path() local
158 if (strncmp(path, spaths[i], strlen(spaths[i])) == 0 && in zfs_strip_path()
159 path[strlen(spaths[i])] == '/') in zfs_strip_path()
160 return (path + strlen(spaths[i]) + 1); in zfs_strip_path()
/freebsd/contrib/tcsh/
H A Dtc.os.c81 char **spaths, **cpaths, **cmds; in dosetpath() local
118 spaths = xmalloc(npaths * sizeof *spaths); in dosetpath()
119 setzero(spaths, npaths * sizeof *spaths); in dosetpath()
130 spaths[i] = xmalloc((Strlen(pathvars[i]) + strlen(val) + 2) * in dosetpath()
131 sizeof **spaths); in dosetpath()
132 (void) strcpy(spaths[i], short2str(pathvars[i])); in dosetpath()
133 (void) strcat(spaths[i], "="); in dosetpath()
134 (void) strcat(spaths[i], val); in dosetpath()
135 cpaths[i] = spaths[i]; in dosetpath()
149 if (spaths) { in dosetpath()
[all …]