HomeSort by: relevance | last modified time | path
    Searched defs:tfile (Results 1 - 17 of 17) 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 in function:vmw_prime_fd_to_handle
84 return ttm_prime_fd_to_handle(tfile, fd, handle);
92 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local in function:vmw_prime_handle_to_fd
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 in function:vmw_simple_resource_create_ioctl
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 in function:vmw_present_ioctl
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 in function:ttm_object_file_destroy
152 kfree(tfile);
158 struct ttm_object_file *tfile = *p_tfile; local in function:ttm_object_file_unref
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; variable in typeref:struct:ttm_object_file *
475 struct ttm_object_file *tfile = *p_tfile; local in function:ttm_object_file_release
501 struct ttm_object_file *tfile = kmalloc(sizeof(*tfile), GFP_KERNEL); local in function:ttm_object_file_init
    [all...]
vmwgfx_overlay.c 469 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local in function:vmw_overlay_ioctl
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_context.c 719 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local in function:vmw_context_destroy_ioctl
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 in function:vmw_context_define
773 ctx->base.tfile = NULL;
784 ret = ttm_base_object_init(tfile, &ctx->base, false, VMW_RES_CONTEXT,
vmwgfx_shader.c 712 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local in function:vmw_shader_destroy_ioctl
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 in function:vmw_shader_define
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 in function:vmw_verify_access
797 vmw_fpriv((struct drm_file *)filp->private_data)->tfile;
799 return vmw_user_bo_verify_access(bo, tfile);
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 in function:vmw_user_bo_synccpu_ioctl
1096 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local in function:vmw_dumb_map_offset
    [all...]
vmwgfx_fence.c 644 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local in function:vmw_user_fence_create
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 in function:vmw_fence_obj_wait_ioctl
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 in function:vmw_fence_obj_signaled_ioctl
1152 struct ttm_object_file *tfile = vmw_fp->tfile; local in function:vmw_fence_event_ioctl
    [all...]
vmwgfx_surface.c 717 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local in function:vmw_surface_destroy_ioctl
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 in function:vmw_surface_define_ioctl
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 in function:vmw_surface_handle_reference
1023 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local in function:vmw_surface_reference_ioctl
1601 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local in function:vmw_gb_surface_define_internal
1767 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local in function:vmw_gb_surface_reference_internal
    [all...]
vmwgfx_kms.c 150 struct ttm_object_file *tfile,
1378 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; local in function:vmw_kms_fb_create
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 in function:wtmp
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 in function:add_file
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 1265 cd9660node *tfile; local in function:cd9660_rrip_move_directory
1288 tfile = cd9660_create_file(diskStructure, dir->node->name, dir->parent,
1290 if (tfile == NULL)
1302 TAILQ_INSERT_HEAD(&dir->rr_real_parent->cn_children, tfile,
1305 cd9660_sorted_child_insert(dir->rr_real_parent, tfile);
1312 tfile->rr_relocated = dir;

Completed in 24 milliseconds