Home
last modified time | relevance | path

Searched refs:tmpname (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/draid/
H A Ddraid.c185 if (tmpname == NULL) { in write_map()
196 free(tmpname); in write_map()
205 free(tmpname); in write_map()
218 free(tmpname); in write_map()
231 (void) unlink(tmpname); in write_map()
232 free(tmpname); in write_map()
244 (void) unlink(tmpname); in write_map()
245 free(tmpname); in write_map()
252 (void) unlink(tmpname); in write_map()
253 free(tmpname); in write_map()
[all …]
/f-stack/freebsd/tools/
H A Dmakesyscalls.lua344 local tmpname = "sys" .. v["flag"]:lower()
345 local dcltmpname = tmpname .. "dcl"
346 files[tmpname] = io.tmpfile()
348 v["tmp"] = tmpname
1179 local tmpname = tmpspace .. v
1180 files[v] = io.open(tmpname, "w+")
1184 local tmpname = tmpspace .. v
1185 files[v] = io.open(tmpname, "w+")
/f-stack/freebsd/kern/
H A Dkern_mib.c337 char tmpname[MAXHOSTNAMELEN]; in sysctl_hostname() local
346 KASSERT(len <= sizeof(tmpname), in sysctl_hostname()
355 bcopy((char *)pr + pr_offset, tmpname, len); in sysctl_hostname()
358 error = sysctl_handle_string(oidp, tmpname, len, req); in sysctl_hostname()
373 bcopy(tmpname, (char *)pr + pr_offset, len); in sysctl_hostname()
378 bcopy(tmpname, (char *)cpr + pr_offset, len); in sysctl_hostname()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dspa.c6181 char *tmpname = kmem_alloc(MAXPATHLEN, KM_SLEEP); local
6188 spa->spa_bootfs, tmpname) == 0) {
6194 cp = strchr(tmpname, '/');
6196 (void) strlcpy(dsname, tmpname,
6206 kmem_free(tmpname, MAXPATHLEN);