| /src/sys/ufs/chfs/ |
| chfs_build.c | 72 struct chfs_dirent *fd, *tmpfd; local 74 TAILQ_FOREACH_SAFE(fd, &vc->scan_dirents, fds, tmpfd) { 115 struct chfs_dirent *fd, *tmpfd; local 140 TAILQ_FOREACH_SAFE(fd, &vc->scan_dirents, fds, tmpfd) { 212 struct chfs_dirent *fd, *tmpfd; local 322 TAILQ_FOREACH_SAFE(fd, &unlinked, fds, tmpfd) { 340 TAILQ_FOREACH_SAFE(fd, &vc->scan_dirents, fds, tmpfd) {
|
| chfs_write.c | 469 struct chfs_dirent *fd, *tmpfd; local 481 TAILQ_FOREACH_SAFE(fd, &parent->dents, fds, tmpfd) {
|
| chfs_nodeops.c | 176 struct chfs_dirent *fd, *tmpfd; local 183 TAILQ_FOREACH_SAFE(fd, &parent->dents, fds, tmpfd) {
|
| chfs_scan.c | 216 struct chfs_dirent *fd, *tmpfd; local 229 TAILQ_FOREACH_SAFE(fd, &pvc->scan_dirents, fds, tmpfd) {
|
| chfs_gc.c | 306 struct chfs_dirent *fd, *tmpfd; local 330 TAILQ_FOREACH_SAFE(fd, &ip->dents, fds, tmpfd) {
|
| /src/lib/libossaudio/ |
| oss4_mixer.c | 593 int tmpfd; local 599 if ((tmpfd = open(devname, O_RDONLY)) != -1 || 600 (tmpfd = open(devname, O_WRONLY)) != -1) { 602 close(tmpfd); 604 } while (tmpfd != -1); 614 int tmpfd; local 620 if ((tmpfd = open(devname, O_RDONLY)) != -1) { 622 close(tmpfd); 624 } while (tmpfd != -1);
|
| /src/external/bsd/am-utils/dist/conf/mtab/ |
| mtab_file.c | 251 int tmpfd; local 269 tmpfd = mkstemp(tmpname); 270 fchmod(tmpfd, 0644); 273 tmpfd = open(tmpname, O_RDWR | O_CREAT | O_TRUNC, 0644); 275 if (tmpfd < 0) { 283 if (close(tmpfd) < 0)
|
| mtab_mach3.c | 316 int tmpfd; local 333 tmpfd = mkstemp(tmpname); 334 fchmod(tmpfd, 0644); 337 tmpfd = open(tmpname, O_RDWR | O_CREAT | O_TRUNC, 0644); 339 if (tmpfd < 0) { 347 if (close(tmpfd) < 0)
|
| mtab_linux.c | 346 int tmpfd; local 372 tmpfd = mkstemp(tmpname); 373 fchmod(tmpfd, 0644); 376 tmpfd = open(tmpname, O_RDWR | O_CREAT | O_TRUNC, 0644); 378 if (tmpfd < 0) { 386 if (close(tmpfd) < 0)
|
| /src/usr.bin/mkdep/ |
| mkdep.c | 103 int tmpfd; local 125 if ((tmpfd = mkstemp(tmpfilename)) < 0) 140 (void)dup2(tmpfd, STDOUT_FILENO); 141 (void)close(tmpfd); 160 return tmpfd;
|
| /src/external/bsd/dhcpcd/dist/src/ |
| script.c | 260 int tmpfd; local 263 tmpfd = mkstemp(tmpfile); 264 if (tmpfd == -1) { 269 fp = fdopen(tmpfd, "w+"); 271 close(tmpfd);
|
| /src/usr.sbin/edquota/ |
| edquota.c | 1242 int tmpfd, const char *tmppath) 1259 if (writeprivs(curprivs, tmpfd, name, idtype, 1266 if (readprivs(curprivs, tmpfd, dflag) < 0) 1278 int tmpfd, i; local 1280 tmpfd = mkstemp(tmppath); 1281 fchown(tmpfd, getuid(), getgid()); 1284 editone(fs, idtype, names[i], tmpfd, tmppath); 1287 close(tmpfd);
|
| /src/external/bsd/openldap/dist/clients/tools/ |
| ldapsearch.c | 2000 int tmpfd; local 2007 tmpfd = mkstemp( tmpfname ); 2009 if ( tmpfd < 0 ) { 2014 if (( tmpfp = fdopen( tmpfd, "w")) == NULL ) {
|
| /src/external/gpl3/binutils/dist/binutils/ |
| ar.c | 1253 int tmpfd = -1; 1256 new_name = make_tempname (old_name, &tmpfd); 1264 obfd = bfd_fdopenw (new_name, bfd_get_target (iarch), tmpfd); 1268 close (tmpfd); 1297 tmpfd = dup (tmpfd); 1306 int ret = smart_rename (new_name, old_name, tmpfd, NULL, false); 1251 int tmpfd = -1; local
|
| objcopy.c | 5080 int tmpfd = -1; 5092 tmpname = make_tempname (argv[i], &tmpfd); 5093 if (tmpfd >= 0) 5094 copyfd = dup (tmpfd); 5109 copy_file (argv[i], tmpname, tmpfd, &statbuf, input_target, 5367 int tmpfd = -1; 6204 tmpname = make_tempname (input_filename, &tmpfd); 6205 if (tmpfd >= 0) 6206 copyfd = dup (tmpfd); 6217 copy_file (input_filename, tmpname, tmpfd, &statbuf, input_target 5078 int tmpfd = -1; local 5365 int tmpfd = -1; local [all...] |
| /src/external/gpl3/binutils.old/dist/binutils/ |
| ar.c | 1276 int tmpfd = -1; 1279 new_name = make_tempname (old_name, &tmpfd); 1287 obfd = bfd_fdopenw (new_name, bfd_get_target (iarch), tmpfd); 1291 close (tmpfd); 1320 tmpfd = dup (tmpfd); 1329 int ret = smart_rename (new_name, old_name, tmpfd, NULL, false); 1273 int tmpfd = -1; local
|
| objcopy.c | 5083 int tmpfd = -1; 5095 tmpname = make_tempname (argv[i], &tmpfd); 5096 if (tmpfd >= 0) 5097 copyfd = dup (tmpfd); 5111 copy_file (argv[i], tmpname, tmpfd, &statbuf, input_target, 5369 int tmpfd = -1; 6202 tmpname = make_tempname (input_filename, &tmpfd); 6203 if (tmpfd >= 0) 6204 copyfd = dup (tmpfd); 6215 copy_file (input_filename, tmpname, tmpfd, &statbuf, input_target 5081 int tmpfd = -1; local 5367 int tmpfd = -1; local [all...] |
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_write_disk_posix.c | 4243 copy_xattrs(struct archive_write_disk *a, int tmpfd, int dffd) 4249 xattr_size = flistxattr(tmpfd, NULL, 0, 0); 4263 xattr_size = flistxattr(tmpfd, xattr_names, xattr_size, 0); 4276 s = fgetxattr(tmpfd, xattr_names + xattr_i, NULL, 0, 0, 0); 4291 s = fgetxattr(tmpfd, xattr_names + xattr_i, xattr_val, s, 0, 0); 4314 copy_acls(struct archive_write_disk *a, int tmpfd, int dffd) 4322 acl = acl_get_fd(tmpfd); 4353 int tmpfd; local 4359 tmpfd = __archive_mkstemp(tmpdatafork.s); 4360 if (tmpfd < 0) 4386 int dffd, tmpfd; local [all...] |