Lines Matching defs:tag
244 struct drm_file *tag, bool ref_counted)
265 if (tag == entry->vm_tag) {
269 } else if (tag > entry->vm_tag) {
281 new->vm_tag = tag;
296 * @tag: Tag of file to remove
298 * Add @tag to the list of allowed open-files for this node. If @tag is
313 int drm_vma_node_allow(struct drm_vma_offset_node *node, struct drm_file *tag)
315 return vma_node_allow(node, tag, true);
322 * @tag: Tag of file to remove
324 * Add @tag to the list of allowed open-files for this node.
338 int drm_vma_node_allow_once(struct drm_vma_offset_node *node, struct drm_file *tag)
340 return vma_node_allow(node, tag, false);
347 * @tag: Tag of file to remove
349 * Decrement the ref-count of @tag in the list of allowed open-files on @node.
350 * If the ref-count drops to zero, remove @tag from the list. You must call
351 * this once for every drm_vma_node_allow() on @tag.
355 * If @tag is not on the list, nothing is done.
358 struct drm_file *tag)
368 if (tag == entry->vm_tag) {
374 } else if (tag > entry->vm_tag) {
388 * @tag: Tag of file to remove
390 * Search the list in @node whether @tag is currently on the list of allowed
399 struct drm_file *tag)
409 if (tag == entry->vm_tag)
411 else if (tag > entry->vm_tag)