Lines Matching defs:path
132 return (dgettext(TEXT_DOMAIN, "must be an absolute path"));
717 * Given a name, determine whether or not it's a valid path
719 * to match the device number. If not, treat the path as an
723 zfs_path_to_zhandle(libzfs_handle_t *hdl, char *path, zfs_type_t argtype)
729 if (path[0] != '/' && strncmp(path, "./", strlen("./")) != 0) {
731 * It's not a valid path, assume it's a name of type 'argtype'.
733 return (zfs_open(hdl, path, argtype));
736 if (stat64(path, &statbuf) != 0) {
737 (void) fprintf(stderr, "%s: %s\n", path, strerror(errno));
753 ret = statfs(path, &sfs);
757 (void) fprintf(stderr, "%s: %s\n", path,
768 path);