Lines Matching refs:vmw_resource
40 void vmw_resource_mob_attach(struct vmw_resource *res) in vmw_resource_mob_attach()
50 struct vmw_resource *this = in vmw_resource_mob_attach()
51 container_of(*new, struct vmw_resource, mob_node); in vmw_resource_mob_attach()
68 void vmw_resource_mob_detach(struct vmw_resource *res) in vmw_resource_mob_detach()
80 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
86 struct vmw_resource *
87 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed()
99 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
113 struct vmw_resource *res = in vmw_resource_release()
114 container_of(kref, struct vmw_resource, kref); in vmw_resource_release()
165 void vmw_resource_unreference(struct vmw_resource **p_res) in vmw_resource_unreference()
167 struct vmw_resource *res = *p_res; in vmw_resource_unreference()
182 int vmw_resource_alloc_id(struct vmw_resource *res) in vmw_resource_alloc_id()
212 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init()
214 void (*res_free) (struct vmw_resource *res), in vmw_resource_init()
259 struct vmw_resource **p_res) in vmw_user_resource_lookup_handle()
262 struct vmw_resource *res; in vmw_user_resource_lookup_handle()
296 struct vmw_resource *
329 struct vmw_resource *res; in vmw_user_lookup_handle()
354 static int vmw_resource_buf_alloc(struct vmw_resource *res, in vmw_resource_buf_alloc()
391 static int vmw_resource_do_validate(struct vmw_resource *res, in vmw_resource_do_validate()
471 void vmw_resource_unreserve(struct vmw_resource *res, in vmw_resource_unreserve()
537 struct vmw_resource *res, in vmw_resource_check_buffer()
595 int vmw_resource_reserve(struct vmw_resource *res, bool interruptible, in vmw_resource_reserve()
651 struct vmw_resource *res, bool interruptible) in vmw_resource_do_evict()
697 int vmw_resource_validate(struct vmw_resource *res, bool intr, in vmw_resource_validate()
701 struct vmw_resource *evict_res; in vmw_resource_validate()
729 (list_first_entry(lru_list, struct vmw_resource, in vmw_resource_validate()
786 struct vmw_resource *res = in vmw_resource_unbind_list()
787 container_of(node, struct vmw_resource, mob_node); in vmw_resource_unbind_list()
811 struct vmw_resource *dx_query_ctx; in vmw_query_readback_all()
897 bool vmw_resource_needs_backup(const struct vmw_resource *res) in vmw_resource_needs_backup()
915 struct vmw_resource *evict_res; in vmw_resource_evict_type()
927 list_first_entry(lru_list, struct vmw_resource, in vmw_resource_evict_type()
983 int vmw_resource_pin(struct vmw_resource *res, bool interruptible) in vmw_resource_pin()
1041 void vmw_resource_unpin(struct vmw_resource *res) in vmw_resource_unpin()
1070 enum vmw_res_type vmw_res_type(const struct vmw_resource *res) in vmw_res_type()
1082 void vmw_resource_dirty_update(struct vmw_resource *res, pgoff_t start, in vmw_resource_dirty_update()
1102 struct vmw_resource *found = NULL; in vmw_resources_clean()
1112 struct vmw_resource *cur_res = in vmw_resources_clean()
1113 container_of(cur, struct vmw_resource, mob_node); in vmw_resources_clean()
1149 found = container_of(cur, struct vmw_resource, mob_node); in vmw_resources_clean()