/freebsd-10.0-release/sys/dev/drm2/ttm/ |
H A D | ttm_object.c | 118 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 D | ttm_object.h | 96 * @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 D | ttm_lock.h | 159 * @tfile: Pointer to a struct ttm_object_file to register the lock with. 167 struct ttm_object_file *tfile);
|
H A D | ttm_lock.c | 273 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.0-release/contrib/ncurses/progs/ |
H A D | infocmp.c | 1263 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.0-release/contrib/bmake/ |
H A D | main.c | 1926 char tfile[MAXPATHLEN]; local 1934 snprintf(tfile, sizeof(tfile), "%s", pattern); 1936 snprintf(tfile, sizeof(tfile), "%s%s", tmpdir, pattern); 1938 if ((fd = mkstemp(tfile)) < 0) 1939 Punt("Could not create temporary file %s: %s", tfile, strerror(errno)); 1941 *fnamep = bmake_strdup(tfile); 1943 unlink(tfile); /* we just want the descriptor */
|
H A D | job.c | 1592 * tfile is the name of a file into which all shell commands are 1596 char *tfile; local 1608 tfd = mkTempFile(TMPPAT, &tfile); 1610 (void)eunlink(tfile); 1615 Punt("Could not fdopen %s", tfile); 1646 free(tfile);
|
/freebsd-10.0-release/usr.sbin/makefs/ |
H A D | cd9660.c | 1243 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.0-release/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 128 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.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 1596 char tfile[PATH_MAX]; local 1632 snprintf(tfile, sizeof(tfile), "%s.tmp", file); 1707 if ((fd = open(tfile, O_RDWR | O_CREAT | O_TRUNC, 0666)) == -1) 1709 "failed to open %s: %s", tfile, strerror(errno))); 1798 len = snprintf(&tmp, 1, fmt, dtp->dt_ld_path, file, tfile, 1833 * correctly the SUNW_dof section present in tfile. 1969 unlink(tfile);
|
/freebsd-10.0-release/usr.bin/make/ |
H A D | job.c | 1576 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.0-release/contrib/gcc/ |
H A D | mips-tdump.c | 42 /* 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
|