Searched refs:tfile (Results 1 - 15 of 15) sorted by relevance

/freebsd-current/sys/dev/drm2/ttm/
H A Dttm_object.c116 struct ttm_object_file *tfile; member in struct:ttm_ref_object
122 ttm_object_file_ref(struct ttm_object_file *tfile) argument
124 refcount_acquire(&tfile->refcount);
125 return tfile;
128 static void ttm_object_file_destroy(struct ttm_object_file *tfile) argument
131 free(tfile, M_TTM_OBJ_FILE);
137 struct ttm_object_file *tfile = *p_tfile; local
140 if (refcount_release(&tfile->refcount))
141 ttm_object_file_destroy(tfile);
145 int ttm_base_object_init(struct ttm_object_file *tfile, argument
223 ttm_base_object_lookup(struct ttm_object_file *tfile, uint32_t key) argument
255 ttm_ref_object_add(struct ttm_object_file *tfile, struct ttm_base_object *base, enum ttm_ref_type ref_type, bool *existed) argument
321 struct ttm_object_file *tfile = ref->tfile; local
339 ttm_ref_object_base_unref(struct ttm_object_file *tfile, unsigned long key, enum ttm_ref_type ref_type) argument
365 struct ttm_object_file *tfile = *p_tfile; local
391 struct ttm_object_file *tfile; local
[all...]
H A Dttm_object.h95 * @tfile: Pointer to ttm_object_file of the creator.
125 struct ttm_object_file *tfile; member in struct:ttm_base_object
135 * @tfile: Pointer to a struct ttm_object_file.
138 * (different @tfile pointers.)
146 extern int ttm_base_object_init(struct ttm_object_file *tfile,
160 * @tfile: Pointer to a struct ttm_object_file.
165 * comparing the @tfile argument and checking the object shareable flag.
169 *tfile, uint32_t key);
185 * @tfile: A struct ttm_object_file representing the application owning the
194 * file corresponding to @tfile i
[all...]
H A Dttm_lock.h158 * @tfile: Pointer to a struct ttm_object_file to register the lock with.
166 struct ttm_object_file *tfile);
H A Dttm_lock.c271 struct ttm_object_file *tfile)
302 ret = ttm_base_object_init(tfile, &lock->base, false,
307 lock->vt_holder = tfile;
269 ttm_vt_lock(struct ttm_lock *lock, bool interruptible, struct ttm_object_file *tfile) argument
/freebsd-current/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)) {
282 (void) unlink(tfile);
322 (void) snprintf(tfile, sizeof (tfile), "%s/%s", penv[0], penv[1]);
327 if (access(tfile, F_OK) == 0) {
328 (void) unlink(tfile);
330 if ((fd = open(tfile, O_WRONLY | O_CREAT | O_TRUNC, ALL_MODE)) == -1) {
331 (void) fprintf(stderr, "open(%s) failed: %d\n", tfile, errn
[all...]
/freebsd-current/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],
128 if (access(tfile, F_OK) == 0) {
129 unlink(tfile);
131 fd = open(tfile, O_WRONLY | O_CREAT | O_TRUNC, ALL_MODE);
144 ret = get_file_time(tfile, timetest_table[i].type, &t1);
148 tfile, timetest_table[i].type, ret);
157 timetest_table[i].func(tfile);
162 ret = get_file_time(tfile, timetest_tabl
[all...]
/freebsd-current/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-current/cddl/usr.sbin/dtrace/tests/tools/
H A Dgentest.sh20 local mod tcase tfile
22 tfile=$1
30 atf_set 'descr' 'DTrace test ${CATEGORY}/${tfile}'
36 "\$(atf_get_srcdir)/../../dtest" "\$(atf_get_srcdir)/${tfile}"
43 local mod tcase tfile tfiles
48 for tfile in ${tfiles}; do
49 case $tfile in
52 tcase=$(echo "$tfile" | tr '.-' '_')
53 gentestcase "$tfile" "$tcase" "$mod"
/freebsd-current/contrib/ncurses/progs/
H A Dinfocmp.c1514 free(tfile); \
1525 path *tfile = 0; local
1746 if ((tfile = typeMalloc(path, maxterms)) == 0)
1747 failed("tfile");
1757 if (tfile == 0
1812 _nc_SPRINTF(tfile[termcount],
1821 argv[optind], tfile[termcount]);
1823 status = _nc_read_file_entry(tfile[termcount],
1839 tfile[termcount],
1847 tfile[termcoun
[all...]
/freebsd-current/contrib/bmake/
H A Dmain.c2169 * If tfile is provided, set it to a copy of the filename created.
2173 mkTempFile(const char *pattern, char *tfile, size_t tfile_sz)
2183 if (tfile == NULL) {
2184 tfile = tbuf;
2189 snprintf(tfile, tfile_sz, "%s", pattern);
2191 snprintf(tfile, tfile_sz, "%s%s", tmpdir, pattern);
2193 if ((fd = mkstemp(tfile)) < 0)
2194 Punt("Could not create temporary file %s: %s", tfile,
2196 if (tfile == tbuf)
2197 unlink(tfile); /* w
2175 mkTempFile(const char *pattern, char *tfile, size_t tfile_sz) argument
[all...]
H A Djob.c1627 * tfile is the name of a file into which all shell commands
1631 char tfile[MAXPATHLEN]; local
1634 tfd = Job_TempFile(TMPPAT, tfile, sizeof tfile);
1638 Punt("Could not fdopen %s", tfile);
2820 Job_TempFile(const char *pattern, char *tfile, size_t tfile_sz) argument
2826 fd = mkTempFile(pattern, tfile, tfile_sz);
2827 if (tfile != NULL && !DEBUG(SCRIPT))
2828 unlink(tfile);
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c1717 char tfile[PATH_MAX]; local
1786 snprintf(tfile, sizeof(tfile), "%s.XXXXXX", file);
1787 if ((fd = mkostemp(tfile, O_CLOEXEC)) == -1)
1790 tfile, strerror(errno)));
1827 "failed to write %s: %s", tfile,
1836 len = snprintf(&tmp, 1, fmt, dtp->dt_ld_path, file, tfile,
1841 (void) snprintf(cmd, len, fmt, dtp->dt_ld_path, file, tfile,
1898 if (rename(tfile, file) != 0) {
1900 "failed to rename %s to %s: %s", tfile, fil
[all...]
/freebsd-current/usr.sbin/lpr/lpd/
H A Dprintjob.c116 static char tfile[] = TFILENAME; /* file name for filter output */ variable
1086 strcpy(tfile, TFILENAME);
1087 tfd = mkstemp(tfile);
1113 statrc = fstat(tfd, &stb); /* to find size of tfile */
1117 pp->printer, tfile);
1218 unlink(tfile);
1715 unlink(tfile);
1796 strcpy(tfile, TFILENAME);
1797 tfd = mkstemp(tfile);
1801 /* tfile/printe
[all...]
/freebsd-current/usr.sbin/makefs/
H A Dcd9660.c1218 cd9660node *tfile; local
1241 tfile = cd9660_create_file(diskStructure, dir->node->name, dir->parent,
1243 if (tfile == NULL)
1255 TAILQ_INSERT_HEAD(&dir->rr_real_parent->cn_children, tfile,
1258 cd9660_sorted_child_insert(dir->rr_real_parent, tfile);
1265 tfile->rr_relocated = dir;
/freebsd-current/tests/sys/cddl/zfs/tests/acl/cifs/
H A Dcifs_attr_003_pos.ksh576 TESTFILE=$TMPDIR/tfile

Completed in 171 milliseconds