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

/freebsd-9.3-release/contrib/file/src/
H A Dmagic.c130 char *tmppath = NULL;
136 if (tmppath && access(tmppath, R_OK) != -1) { \
138 hmagicpath = tmppath; \
141 PATHSEP, tmppath) >= 0) { \
145 free(tmppath); \
147 tmppath = NULL; \
159 if (asprintf(&tmppath,
162 tmppath = NULL;
164 if (asprintf(&tmppath, "
[all...]
/freebsd-9.3-release/sbin/kldload/
H A Dkldload.c58 char *path, *tmppath, *element; local
92 tmppath = path;
94 while ((element = strsep(&tmppath, ";")) != NULL) {
/freebsd-9.3-release/usr.bin/fetch/
H A Dfetch.c412 char *tmppath; local
418 tmppath = NULL;
692 asprintf(&tmppath, "%.*s.fetch.XXXXXX.%s",
694 if (tmppath != NULL) {
695 if (mkstemps(tmppath, strlen(slash) + 1) == -1) {
699 of = fopen(tmppath, "w");
700 chown(tmppath, sb.st_uid, sb.st_gid);
701 chmod(tmppath, sb.st_mode & ALLPERMS);
774 if (utimes(tmppath ? tmppath
[all...]
/freebsd-9.3-release/lib/libproc/
H A Dproc_sym.c336 char tmppath[MAXPATHLEN]; local
351 basename_r(kve->kve_path, tmppath);
352 if (strcmp(tmppath, name) == 0) {
367 basename_r(rdl->rdl_path, tmppath);
368 if (strcmp(tmppath, name) == 0) {
/freebsd-9.3-release/sys/dev/mpt/
H A Dmpt_cam.c2445 struct cam_path *tmppath; local
2461 if (xpt_create_path(&tmppath, NULL, cam_sim_path(sim),
2467 xpt_setup_ccb(&crs.ccb_h, tmppath, 5);
2476 xpt_free_path(tmppath);
2488 struct cam_path *tmppath; local
2516 if (xpt_create_path(&tmppath, NULL, cam_sim_path(sim),
2523 xpt_async(AC_LOST_DEVICE, tmppath, NULL);
2524 xpt_free_path(tmppath);
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_pool.c2230 char *tmppath; local
2234 &tmppath) != 0)
2241 rsz = snprintf(physpath + pos, bytes_left, format, tmppath);
/freebsd-9.3-release/sys/dev/isp/
H A Disp_freebsd.c5564 struct cam_path *tmppath; local
5584 if (xpt_create_path(&tmppath, NULL, cam_sim_path(ISP_SPI_PC(isp, bus)->sim), tgt, CAM_LUN_WILDCARD) != CAM_REQ_CMP) {
5618 xpt_setup_ccb(&cts.ccb_h, tmppath, 1);
5619 xpt_async(AC_TRANSFER_NEG, tmppath, &cts);
5620 xpt_free_path(tmppath);

Completed in 106 milliseconds