Lines Matching refs:vmw_resource

41 void vmw_resource_mob_attach(struct vmw_resource *res)  in vmw_resource_mob_attach()
51 struct vmw_resource *this = in vmw_resource_mob_attach()
52 container_of(*new, struct vmw_resource, mob_node); in vmw_resource_mob_attach()
69 void vmw_resource_mob_detach(struct vmw_resource *res) in vmw_resource_mob_detach()
81 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
87 struct vmw_resource *
88 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed()
100 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
114 struct vmw_resource *res = in vmw_resource_release()
115 container_of(kref, struct vmw_resource, kref); in vmw_resource_release()
166 void vmw_resource_unreference(struct vmw_resource **p_res) in vmw_resource_unreference()
168 struct vmw_resource *res = *p_res; in vmw_resource_unreference()
183 int vmw_resource_alloc_id(struct vmw_resource *res) in vmw_resource_alloc_id()
213 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init()
215 void (*res_free) (struct vmw_resource *res), in vmw_resource_init()
260 struct vmw_resource **p_res) in vmw_user_resource_lookup_handle()
263 struct vmw_resource *res; in vmw_user_resource_lookup_handle()
297 struct vmw_resource *res; in vmw_user_lookup_handle()
322 static int vmw_resource_buf_alloc(struct vmw_resource *res, in vmw_resource_buf_alloc()
363 static int vmw_resource_do_validate(struct vmw_resource *res, in vmw_resource_do_validate()
443 void vmw_resource_unreserve(struct vmw_resource *res, in vmw_resource_unreserve()
509 struct vmw_resource *res, in vmw_resource_check_buffer()
570 int vmw_resource_reserve(struct vmw_resource *res, bool interruptible, in vmw_resource_reserve()
626 struct vmw_resource *res, bool interruptible) in vmw_resource_do_evict()
672 int vmw_resource_validate(struct vmw_resource *res, bool intr, in vmw_resource_validate()
676 struct vmw_resource *evict_res; in vmw_resource_validate()
704 (list_first_entry(lru_list, struct vmw_resource, in vmw_resource_validate()
761 struct vmw_resource *res = in vmw_resource_unbind_list()
762 container_of(node, struct vmw_resource, mob_node); in vmw_resource_unbind_list()
786 struct vmw_resource *dx_query_ctx; in vmw_query_readback_all()
871 bool vmw_resource_needs_backup(const struct vmw_resource *res) in vmw_resource_needs_backup()
889 struct vmw_resource *evict_res; in vmw_resource_evict_type()
901 list_first_entry(lru_list, struct vmw_resource, in vmw_resource_evict_type()
957 int vmw_resource_pin(struct vmw_resource *res, bool interruptible) in vmw_resource_pin()
1018 void vmw_resource_unpin(struct vmw_resource *res) in vmw_resource_unpin()
1047 enum vmw_res_type vmw_res_type(const struct vmw_resource *res) in vmw_res_type()
1059 void vmw_resource_dirty_update(struct vmw_resource *res, pgoff_t start, in vmw_resource_dirty_update()
1079 struct vmw_resource *found = NULL; in vmw_resources_clean()
1089 struct vmw_resource *cur_res = in vmw_resources_clean()
1090 container_of(cur, struct vmw_resource, mob_node); in vmw_resources_clean()
1126 found = container_of(cur, struct vmw_resource, mob_node); in vmw_resources_clean()