Searched refs:tmppath (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/lib/libutil/
H A Dgetlocalbase.c56 char *tmppath; local
63 tmppath = getenv("LOCALBASE");
64 if (tmppath != NULL && tmppath[0] != '\0') {
65 localbase = tmppath;
/freebsd-current/sbin/kldload/
H A Dkldload.c51 char *path, *tmppath, *element; local
82 tmppath = path;
84 while ((element = strsep(&tmppath, ";")) != NULL) {
/freebsd-current/usr.bin/fetch/
H A Dfetch.c436 char *tmppath; local
442 tmppath = NULL;
724 if(tmppath != NULL)
725 free(tmppath);
726 asprintf(&tmppath, "%.*s.fetch.XXXXXX.%s",
728 if (tmppath != NULL) {
729 if (mkstemps(tmppath, strlen(slash) + 1) == -1) {
733 of = fopen(tmppath, "w");
734 chown(tmppath, sb.st_uid, sb.st_gid);
735 chmod(tmppath, s
[all...]
/freebsd-current/contrib/file/src/
H A Dmagic.c91 char *tmppath; local
96 if (vasprintf(&tmppath, fmt, ap) < 0) {
102 if (access(tmppath, R_OK) == -1)
106 *hmagicpath = tmppath;
110 if (asprintf(&newpath, "%s%c%s", *hmagicpath, PATHSEP, tmppath) < 0)
114 free(tmppath);
118 free(tmppath);
/freebsd-current/sys/dev/smartpqi/
H A Dsmartpqi_cam.c142 struct cam_path *tmppath = NULL; local
149 if (xpt_create_path(&tmppath, NULL,
155 xpt_async(AC_LOST_DEVICE, tmppath, NULL);
156 xpt_free_path(tmppath);
1372 struct cam_path *tmppath = NULL; local
1377 if (xpt_create_path(&tmppath, NULL,
1384 xpt_async(AC_INQ_CHANGED, tmppath, NULL);
1385 xpt_free_path(tmppath);
/freebsd-current/contrib/libpcap/
H A Dpcap.c2134 char *scheme, *tmpuserinfo, *tmphost, *tmpport, *tmppath; local
2148 &tmpport, &tmppath, errbuf) == -1) {
2159 if (name && tmppath)
2160 pcap_strlcpy(name, tmppath, PCAP_BUF_SIZE);
2163 free(tmppath);
2194 if (name && tmppath)
2195 pcap_strlcpy(name, tmppath, PCAP_BUF_SIZE);
2198 free(tmppath);
2210 if (name && tmppath)
2211 pcap_strlcpy(name, tmppath, PCAP_BUF_SIZ
[all...]
/freebsd-current/sys/dev/mpt/
H A Dmpt_cam.c2424 struct cam_path *tmppath; local
2443 if (xpt_create_path(&tmppath, NULL, cam_sim_path(sim),
2450 xpt_setup_ccb(&crs.ccb_h, tmppath, 5);
2459 xpt_free_path(tmppath);
2471 struct cam_path *tmppath; local
2499 if (xpt_create_path(&tmppath, NULL, cam_sim_path(sim),
2506 xpt_async(AC_LOST_DEVICE, tmppath, NULL);
2507 xpt_free_path(tmppath);
/freebsd-current/sys/kern/
H A Dvfs_syscalls.c1754 char *tmppath; local
1761 tmppath = uma_zalloc(namei_zone, M_WAITOK);
1762 if ((error = copyinstr(path1, tmppath, MAXPATHLEN, NULL)) != 0)
1764 syspath = tmppath;
1812 uma_zfree(namei_zone, tmppath);

Completed in 115 milliseconds