Home
last modified time | relevance | path

Searched refs:tfile (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/dev/drm2/ttm/
H A Dttm_object.c116 struct ttm_object_file *tfile; member
122 ttm_object_file_ref(struct ttm_object_file *tfile) in ttm_object_file_ref() argument
124 refcount_acquire(&tfile->refcount); in ttm_object_file_ref()
125 return tfile; in ttm_object_file_ref()
128 static void ttm_object_file_destroy(struct ttm_object_file *tfile) in ttm_object_file_destroy() argument
131 free(tfile, M_TTM_OBJ_FILE); in ttm_object_file_destroy()
137 struct ttm_object_file *tfile = *p_tfile; in ttm_object_file_unref() local
140 if (refcount_release(&tfile->refcount)) in ttm_object_file_unref()
141 ttm_object_file_destroy(tfile); in ttm_object_file_unref()
145 int ttm_base_object_init(struct ttm_object_file *tfile, in ttm_base_object_init() argument
[all …]
H A Dttm_object.h125 struct ttm_object_file *tfile; member
146 extern int ttm_base_object_init(struct ttm_object_file *tfile,
169 *tfile, uint32_t key);
201 extern int ttm_ref_object_add(struct ttm_object_file *tfile,
215 extern int ttm_ref_object_base_unref(struct ttm_object_file *tfile,
H A Dttm_lock.c271 struct ttm_object_file *tfile) in ttm_vt_lock() argument
302 ret = ttm_base_object_init(tfile, &lock->base, false, in ttm_vt_lock()
307 lock->vt_holder = tfile; in ttm_vt_lock()
H A Dttm_lock.h166 struct ttm_object_file *tfile);
/freebsd/crypto/openssl/test/
H A Dcms-examples.pl159 my ( $cmsdir, $tfile ) = @_;
163 . " -in $cmsdir/$tfile -out tmp.der" );
169 elsif ( !cmp_files( "$cmsdir/$tfile", "tmp.der" ) ) {
179 my ( $cmsdir, $tfile ) = @_;
184 . " -in $cmsdir/$tfile -out tmp.der" );
196 my ( $cmsdir, $tfile ) = @_;
200 "$cmscmd -data_out -inform DER" . " -in $cmsdir/$tfile -out tmp.txt" );
216 my ( $cmsdir, $tlist, $tfile ) = @_;
227 . " -in $cmsdir/$tfile -out tmp.txt";
249 my ( $cmsdir, $tlist, $tfile ) = @_;
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dctime.c58 static char tfile[BUFSIZ] = { 0 }; variable
281 if ((strlen(tfile) != 0) && (access(tfile, F_OK) == 0)) { in cleanup()
282 (void) unlink(tfile); in cleanup()
322 (void) snprintf(tfile, sizeof (tfile), "%s/%s", penv[0], penv[1]); in main()
327 if (access(tfile, F_OK) == 0) { in main()
328 (void) unlink(tfile); in main()
330 if ((fd = open(tfile, O_WRONLY | O_CREAT | O_TRUNC, ALL_MODE)) == -1) { in main()
331 (void) fprintf(stderr, "open(%s) failed: %d\n", tfile, errno); in main()
342 ret = get_file_time(tfile, timetest_table[i].type, &t1); in main()
345 tfile, timetest_table[i].type, ret); in main()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/ctime/
H A Dctime_001_pos.c86 static char tfile[BUFSIZ] = { 0 }; variable
122 (void) snprintf(tfile, sizeof (tfile), "%s/%s", env_vals[0], in main()
128 if (access(tfile, F_OK) == 0) { in main()
129 unlink(tfile); in main()
131 fd = open(tfile, O_WRONLY | O_CREAT | O_TRUNC, ALL_MODE); in main()
144 ret = get_file_time(tfile, timetest_table[i].type, &t1); in main()
148 tfile, timetest_table[i].type, ret); in main()
157 timetest_table[i].func(tfile); in main()
162 ret = get_file_time(tfile, timetest_table[i].type, &t2); in main()
165 tfile, timetest_table[i].type); in main()
[all …]
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/t/
H A Dtaint.t72 my $tfile = $file;
73 taint($tfile);
74 should_be_tainted($tfile);
76 should_fail TYPE => 'file', SOURCE => $tfile;
77 should_fail TYPE => 'file', SOURCE => $tfile, UNTAINT => 1;
111 Text::Template::_unconditionally_untaint($tfile);
112 should_be_clean($tfile);
/freebsd/contrib/ncurses/progs/
H A Dinfocmp.c1543 free(tfile); \
1554 path *tfile = 0; in main() local
1775 if ((tfile = typeMalloc(path, maxterms)) == 0) in main()
1786 if (tfile == 0 in main()
1841 _nc_SPRINTF(tfile[termcount], in main()
1850 argv[optind], tfile[termcount]); in main()
1852 status = _nc_read_file_entry(tfile[termcount], in main()
1868 tfile[termcount], in main()
1876 tfile[termcount]); in main()
1937 tfile[0]); in main()
/freebsd/contrib/bmake/
H A Dmain.c2215 mkTempFile(const char *pattern, char *tfile, size_t tfile_sz) in mkTempFile() argument
2225 if (tfile == NULL) { in mkTempFile()
2226 tfile = tbuf; in mkTempFile()
2231 snprintf(tfile, tfile_sz, "%s", pattern); in mkTempFile()
2233 snprintf(tfile, tfile_sz, "%s%s", tmpdir, pattern); in mkTempFile()
2235 if ((fd = mkstemp(tfile)) < 0) in mkTempFile()
2236 Punt("Could not create temporary file %s: %s", tfile, in mkTempFile()
2238 if (tfile == tbuf) in mkTempFile()
2239 unlink(tfile); /* we just want the descriptor */ in mkTempFile()
H A Djob.c1626 char tfile[MAXPATHLEN]; in JobWriteShellCommands() local
1629 tfd = Job_TempFile(TMPPAT, tfile, sizeof tfile); in JobWriteShellCommands()
1633 Punt("Could not fdopen %s", tfile); in JobWriteShellCommands()
2816 Job_TempFile(const char *pattern, char *tfile, size_t tfile_sz) in Job_TempFile() argument
2822 fd = mkTempFile(pattern, tfile, tfile_sz); in Job_TempFile()
2823 if (tfile != NULL && !DEBUG(SCRIPT)) in Job_TempFile()
2824 unlink(tfile); in Job_TempFile()
/freebsd/cddl/usr.sbin/dtrace/tests/tools/
H A Dgentest.sh30 atf_set 'descr' 'DTrace test ${CATEGORY}/${tfile}'
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c1717 char tfile[PATH_MAX]; in dtrace_program_link() local
1786 snprintf(tfile, sizeof(tfile), "%s.XXXXXX", file); in dtrace_program_link()
1787 if ((fd = mkostemp(tfile, O_CLOEXEC)) == -1) in dtrace_program_link()
1790 tfile, strerror(errno))); in dtrace_program_link()
1827 "failed to write %s: %s", tfile, in dtrace_program_link()
1836 len = snprintf(&tmp, 1, fmt, dtp->dt_ld_path, file, tfile, in dtrace_program_link()
1841 (void) snprintf(cmd, len, fmt, dtp->dt_ld_path, file, tfile, in dtrace_program_link()
1898 if (rename(tfile, file) != 0) { in dtrace_program_link()
1900 "failed to rename %s to %s: %s", tfile, file, in dtrace_program_link()
1911 (void) unlink(tfile); in dtrace_program_link()
/freebsd/usr.sbin/lpr/lpd/
H A Dprintjob.c116 static char tfile[] = TFILENAME; /* file name for filter output */ variable
1086 strcpy(tfile, TFILENAME); in sendfile()
1087 tfd = mkstemp(tfile); in sendfile()
1117 pp->printer, tfile); in sendfile()
1218 unlink(tfile); in sendfile()
1715 unlink(tfile); in abortpr()
1796 strcpy(tfile, TFILENAME); in openpr()
1797 tfd = mkstemp(tfile); in openpr()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/
H A Dprojectquota.cfg38 export PRJFILE=$TESTDIR/tfile
/freebsd/usr.sbin/makefs/
H A Dcd9660.c1218 cd9660node *tfile; in cd9660_rrip_move_directory() local
1241 tfile = cd9660_create_file(diskStructure, dir->node->name, dir->parent, in cd9660_rrip_move_directory()
1243 if (tfile == NULL) in cd9660_rrip_move_directory()
1255 TAILQ_INSERT_HEAD(&dir->rr_real_parent->cn_children, tfile, in cd9660_rrip_move_directory()
1258 cd9660_sorted_child_insert(dir->rr_real_parent, tfile); in cd9660_rrip_move_directory()
1265 tfile->rr_relocated = dir; in cd9660_rrip_move_directory()
/freebsd/tests/sys/cddl/zfs/tests/acl/cifs/
H A Dcifs_attr_003_pos.ksh576 TESTFILE=$TMPDIR/tfile