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

/freebsd-10-stable/sys/dev/drm2/ttm/
H A Dttm_object.c118 struct ttm_object_file *tfile; member in struct:ttm_ref_object
124 ttm_object_file_ref(struct ttm_object_file *tfile) argument
126 refcount_acquire(&tfile->refcount);
127 return tfile;
130 static void ttm_object_file_destroy(struct ttm_object_file *tfile) argument
133 free(tfile, M_TTM_OBJ_FILE);
139 struct ttm_object_file *tfile = *p_tfile; local
142 if (refcount_release(&tfile->refcount))
143 ttm_object_file_destroy(tfile);
147 int ttm_base_object_init(struct ttm_object_file *tfile, argument
225 ttm_base_object_lookup(struct ttm_object_file *tfile, uint32_t key) argument
257 ttm_ref_object_add(struct ttm_object_file *tfile, struct ttm_base_object *base, enum ttm_ref_type ref_type, bool *existed) argument
323 struct ttm_object_file *tfile = ref->tfile; local
341 ttm_ref_object_base_unref(struct ttm_object_file *tfile, unsigned long key, enum ttm_ref_type ref_type) argument
367 struct ttm_object_file *tfile = *p_tfile; local
393 struct ttm_object_file *tfile; local
[all...]
H A Dttm_object.h96 * @tfile: Pointer to ttm_object_file of the creator.
126 struct ttm_object_file *tfile; member in struct:ttm_base_object
136 * @tfile: Pointer to a struct ttm_object_file.
139 * (different @tfile pointers.)
147 extern int ttm_base_object_init(struct ttm_object_file *tfile,
161 * @tfile: Pointer to a struct ttm_object_file.
166 * comparing the @tfile argument and checking the object shareable flag.
170 *tfile, uint32_t key);
186 * @tfile: A struct ttm_object_file representing the application owning the
195 * file corresponding to @tfile i
[all...]
H A Dttm_lock.h159 * @tfile: Pointer to a struct ttm_object_file to register the lock with.
167 struct ttm_object_file *tfile);
H A Dttm_lock.c273 struct ttm_object_file *tfile)
304 ret = ttm_base_object_init(tfile, &lock->base, false,
309 lock->vt_holder = tfile;
271 ttm_vt_lock(struct ttm_lock *lock, bool interruptible, struct ttm_object_file *tfile) argument
/freebsd-10-stable/cddl/usr.sbin/dtrace/tests/tools/
H A Dgentest.sh21 local mod tcase tfile
23 tfile=$1
31 atf_set 'descr' 'DTrace test ${CATEGORY}/${tfile}'
37 "\$(atf_get_srcdir)/../../dtest" "\$(atf_get_srcdir)/${tfile}"
44 local mod tcase tfile tfiles
49 for tfile in ${tfiles}; do
50 case $tfile in
53 tcase=$(echo "$tfile" | tr '.-' '_')
54 gentestcase "$tfile" "$tcase" "$mod"
/freebsd-10-stable/contrib/ncurses/progs/
H A Dinfocmp.c1263 path *tfile = 0; local
1457 tfile = typeMalloc(path, maxterms);
1461 if (tfile == 0
1503 (void) sprintf(tfile[termcount], "%s/" LEAF_FMT "/%s",
1510 argv[optind], tfile[termcount]);
1512 status = _nc_read_file_entry(tfile[termcount],
1527 tfile[termcount],
1536 tfile[termcount]);
1582 tfile[0]);
1647 free(tfile);
[all...]
/freebsd-10-stable/contrib/bmake/
H A Dmain.c2137 char tfile[MAXPATHLEN]; local
2145 snprintf(tfile, sizeof(tfile), "%s", pattern);
2147 snprintf(tfile, sizeof(tfile), "%s%s", tmpdir, pattern);
2149 if ((fd = mkstemp(tfile)) < 0)
2150 Punt("Could not create temporary file %s: %s", tfile, strerror(errno));
2152 *fnamep = bmake_strdup(tfile);
2154 unlink(tfile); /* we just want the descriptor */
H A Djob.c1635 * tfile is the name of a file into which all shell commands are
1639 char *tfile; local
1651 tfd = mkTempFile(TMPPAT, &tfile);
1653 (void)eunlink(tfile);
1658 Punt("Could not fdopen %s", tfile);
1689 free(tfile);
/freebsd-10-stable/usr.sbin/lpr/lpd/
H A Dprintjob.c128 static char tfile[] = TFILENAME; /* file name for filter output */ variable
1098 strcpy(tfile, TFILENAME);
1099 tfd = mkstemp(tfile);
1125 statrc = fstat(tfd, &stb); /* to find size of tfile */
1129 pp->printer, tfile);
1230 unlink(tfile);
1727 unlink(tfile);
1808 strcpy(tfile, TFILENAME);
1809 tfd = mkstemp(tfile);
1813 /* tfile/printe
[all...]
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c1684 char tfile[PATH_MAX]; local
1720 snprintf(tfile, sizeof(tfile), "%s.tmp", file);
1795 if ((fd = open(tfile, O_RDWR | O_CREAT | O_TRUNC, 0666)) == -1)
1797 "failed to open %s: %s", tfile, strerror(errno)));
1886 len = snprintf(&tmp, 1, fmt, dtp->dt_ld_path, file, tfile,
1918 * correctly the SUNW_dof section present in tfile.
2003 unlink(tfile);
/freebsd-10-stable/usr.bin/make/
H A Djob.c1576 char tfile[PATH_MAX]; local
1636 snprintf(tfile, sizeof(tfile), "%s/%s", tdir, TMPPAT);
1637 if ((tfd = mkstemp(tfile)) == -1)
1640 eunlink(tfile);
1643 Punt("Could not open %s", tfile);
/freebsd-10-stable/usr.sbin/makefs/
H A Dcd9660.c1243 cd9660node *tfile; local
1264 tfile = cd9660_create_file(dir->node->name, dir->parent, dir);
1265 if (tfile == NULL)
1277 TAILQ_INSERT_HEAD(&dir->rr_real_parent->cn_children, tfile,
1280 cd9660_sorted_child_insert(dir->rr_real_parent, tfile);
1287 tfile->rr_relocated = dir;
/freebsd-10-stable/contrib/gcc/
H A Dmips-tdump.c42 /* Macros for mips-tfile.c to encapsulate stabs in ECOFF, and for
217 int tfile = 0; /* no global header file */
1343 if (!tfile)
1424 case 't': tfile++; break; /* this is a tfile (without header),
215 int tfile = 0; /* no global header file */ variable

Completed in 382 milliseconds