HomeSort by: relevance | last modified time | path
    Searched defs:tfile (Results 1 - 20 of 20) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_prime.c 82 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
84 return ttm_prime_fd_to_handle(tfile, fd, handle);
92 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
94 return ttm_prime_handle_to_fd(tfile, handle, flags, prime_fd);
vmwgfx_simple_resource.c 156 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
197 usimple->base.tfile = NULL;
208 ret = ttm_base_object_init(tfile, &usimple->base, false,
228 * @tfile: struct ttm_object_file identifying the caller.
237 vmw_simple_resource_lookup(struct ttm_object_file *tfile,
245 base = ttm_base_object_lookup(tfile, handle);
ttm_object.h 103 * @tfile: Pointer to ttm_object_file of the creator.
130 struct ttm_object_file *tfile; member in struct:ttm_base_object
167 * @tfile: Pointer to a struct ttm_object_file.
170 * (different @tfile pointers.)
178 extern int ttm_base_object_init(struct ttm_object_file *tfile,
192 * @tfile: Pointer to a struct ttm_object_file.
199 *tfile, uint32_t key);
208 * This function should only be used when the struct tfile associated with the
229 * @tfile: A struct ttm_object_file representing the application owning the
242 * file corresponding to @tfile is closed, all its reference objects ar
    [all...]
vmwgfx_ioctl.c 256 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
309 ret = vmw_user_resource_lookup_handle(dev_priv, tfile, arg->sid,
ttm_object.c 135 struct ttm_object_file *tfile; member in struct:ttm_ref_object
141 ttm_object_file_ref(struct ttm_object_file *tfile)
143 kref_get(&tfile->refcount);
144 return tfile;
149 struct ttm_object_file *tfile = local
152 kfree(tfile);
158 struct ttm_object_file *tfile = *p_tfile; local
161 kref_put(&tfile->refcount, ttm_object_file_destroy);
165 int ttm_base_object_init(struct ttm_object_file *tfile,
173 struct ttm_object_device *tdev = tfile->tdev
432 struct ttm_object_file *tfile = ref->tfile; local
475 struct ttm_object_file *tfile = *p_tfile; local
501 struct ttm_object_file *tfile = kmalloc(sizeof(*tfile), GFP_KERNEL); local
    [all...]
vmwgfx_context.c 719 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
721 return ttm_ref_object_base_unref(tfile, arg->cid, TTM_REF_USAGE);
732 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
773 ctx->base.tfile = NULL;
784 ret = ttm_base_object_init(tfile, &ctx->base, false, VMW_RES_CONTEXT,
vmwgfx_overlay.c 469 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
481 ret = vmw_user_stream_lookup(dev_priv, tfile, &arg->stream_id, &res);
492 ret = vmw_user_bo_lookup(tfile, arg->handle, &buf, NULL);
vmwgfx_bo.c 597 * @tfile: Pointer to a struct ttm_object_file on which to register the user
607 struct ttm_object_file *tfile,
632 ret = ttm_prime_object_init(tfile,
661 * @tfile: Identifying the caller.
664 struct ttm_object_file *tfile)
674 if (likely(ttm_ref_object_exists(tfile, &vmw_user_bo->prime.base)))
688 * @tfile: Identifying the caller.
695 * A blocking grab will be automatically released when @tfile is closed.
698 struct ttm_object_file *tfile,
731 ret = ttm_ref_object_add(tfile, &user_bo->prime.base
778 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
1096 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
    [all...]
vmwgfx_shader.c 712 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
714 return ttm_ref_object_base_unref(tfile, arg->handle,
725 struct ttm_object_file *tfile,
761 ushader->base.tfile = NULL;
775 ret = ttm_base_object_init(tfile, &ushader->base, false,
851 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
857 ret = vmw_user_bo_lookup(tfile, buffer_handle,
891 num_output_sig, tfile, shader_handle)
    [all...]
vmwgfx_ttm_buffer.c 796 struct ttm_object_file *tfile = local
797 vmw_fpriv((struct drm_file *)filp->private_data)->tfile;
799 return vmw_user_bo_verify_access(bo, tfile);
vmwgfx_fence.c 644 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
682 ret = ttm_base_object_init(tfile, &ufence->base, false,
806 * @tfile: A struct ttm_object_file identifying the caller.
817 vmw_fence_obj_lookup(struct ttm_object_file *tfile, u32 handle)
819 struct ttm_base_object *base = ttm_base_object_lookup(tfile, handle);
846 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
863 base = vmw_fence_obj_lookup(tfile, arg->handle);
888 return ttm_ref_object_base_unref(tfile, arg->handle
901 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
1152 struct ttm_object_file *tfile = vmw_fp->tfile; local
    [all...]
vmwgfx_surface.c 717 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
719 return ttm_ref_object_base_unref(tfile, arg->sid, TTM_REF_USAGE);
742 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
868 user_srf->prime.base.tfile = NULL;
888 ret = vmw_user_bo_alloc(dev_priv, tfile,
901 ret = ttm_prime_object_init(tfile, res->backup_size, &user_srf->prime,
937 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
1023 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
1601 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
1767 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
    [all...]
vmwgfx_kms.c 150 struct ttm_object_file *tfile,
1378 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local
1394 user_obj = ttm_base_object_lookup(tfile, mode_cmd->handles[0]);
1405 ret = vmw_user_lookup_handle(dev_priv, tfile,
vmwgfx_drv.h 104 struct ttm_object_file *tfile; member in struct:vmw_fpriv
733 struct ttm_object_file *tfile,
739 struct ttm_object_file *tfile,
745 struct ttm_object_file *tfile,
754 struct ttm_object_file *tfile,
824 struct ttm_object_file *tfile);
826 struct ttm_object_file *tfile,
832 extern int vmw_user_bo_reference(struct ttm_object_file *tfile,
841 extern int vmw_user_bo_lookup(struct ttm_object_file *tfile,
852 vmw_user_bo_noref_lookup(struct ttm_object_file *tfile, u32 handle)
    [all...]
  /src/usr.bin/last/
want.c 99 char *tfile; local
107 if (asprintf(&tfile, "%s/last.XXXXXX", dir ? dir : _PATH_TMP) == -1)
109 tempfd = mkstemp(tfile);
113 unlink(tfile);
123 err(1, "%s: write", tfile);
  /src/games/fortune/fortune/
fortune.c 452 char *tpath, *offensive, *tfile = strdup(file), *tf; local
456 path = tfile;
467 free(tfile);
480 tf = off_name(tfile);
481 free(tfile);
482 tfile = tf;
503 DPRINTF(1, (stderr, "\ttrying \"%s\"\n", tfile));
504 tf = off_name(tfile);
505 free(tfile);
506 tfile = tf
    [all...]
  /src/usr.sbin/makefs/
cd9660.c 1268 cd9660node *tfile; local
1291 tfile = cd9660_create_file(diskStructure, dir->node->name, dir->parent,
1293 if (tfile == NULL)
1305 TAILQ_INSERT_HEAD(&dir->rr_real_parent->cn_children, tfile,
1308 cd9660_sorted_child_insert(dir->rr_real_parent, tfile);
1315 tfile->rr_relocated = dir;
  /src/external/cddl/osnet/dist/lib/libdtrace/common/
dt_link.c 1713 char tfile[PATH_MAX]; local
1809 snprintf(tfile, sizeof(tfile), "%s.XXXXXX", file);
1810 if ((fd = mkostemp(tfile, O_CLOEXEC)) == -1)
1813 tfile, strerror(errno)));
1862 "failed to write %s: %s", tfile,
1890 len = snprintf(&tmp, 1, fmt, dtp->dt_ld_path, file, tfile,
1895 (void) snprintf(cmd, len, fmt, dtp->dt_ld_path, file, tfile,
1956 if (rename(tfile, file) != 0) {
1958 "failed to rename %s to %s: %s", tfile, file
    [all...]
  /src/external/bsd/pcc/dist/pcc/cc/cc/
cc.c 1191 char *tfile; local
1194 strlist_append(&temp_outputs, tfile = gettmp());
1199 strlist_append(&args, tfile);
1209 strlist_append(&args, tfile);
  /src/external/gpl2/xcvs/dist/src/
client.c 4330 char *tfile = Xasprintf ("%s.CVSBFCTMP", file);
4332 tfile, O_WRONLY | O_CREAT | O_TRUNC | OPEN_BINARY);
4333 fd = CVS_OPEN (tfile, O_RDONLY | OPEN_BINARY);
4336 free (tfile);
4411 char *tfile = Xasprintf ("%s.CVSBFCTMP", file);
4412 if (CVS_UNLINK (tfile) < 0)
4413 error (0, errno, "warning: can't remove temp file %s", tfile);
4414 free (tfile);
4329 char *tfile = Xasprintf ("%s.CVSBFCTMP", file); local
4410 char *tfile = Xasprintf ("%s.CVSBFCTMP", file); local

Completed in 45 milliseconds