Lines Matching defs:ntfy
120 struct nouveau_abi16_ntfy *ntfy)
122 nvif_object_fini(&ntfy->object);
123 nvkm_mm_free(&chan->heap, &ntfy->node);
124 list_del(&ntfy->head);
125 kfree(ntfy);
132 struct nouveau_abi16_ntfy *ntfy, *temp;
136 if (chan->chan && chan->ntfy)
140 list_for_each_entry_safe(ntfy, temp, &chan->notifiers, head) {
141 nouveau_abi16_ntfy_fini(chan, ntfy);
144 if (chan->ntfy) {
146 nouveau_bo_unpin(chan->ntfy);
147 drm_gem_object_put_unlocked(&chan->ntfy->bo.base);
334 0, 0, &chan->ntfy);
336 ret = nouveau_bo_pin(chan->ntfy, TTM_PL_FLAG_TT, false);
341 ret = nouveau_vma_new(chan->ntfy, chan->chan->vmm,
347 ret = drm_gem_handle_create(file_priv, &chan->ntfy->bo.base,
433 struct nouveau_abi16_ntfy *ntfy;
503 ntfy = kzalloc(sizeof(*ntfy), GFP_KERNEL);
504 if (!ntfy)
507 list_add(&ntfy->head, &chan->notifiers);
511 NULL, 0, &ntfy->object);
515 nouveau_abi16_ntfy_fini(chan, ntfy);
526 struct nouveau_abi16_ntfy *ntfy;
544 ntfy = kzalloc(sizeof(*ntfy), GFP_KERNEL);
545 if (!ntfy)
548 list_add(&ntfy->head, &chan->notifiers);
551 &ntfy->node);
555 args.start = ntfy->node->offset;
556 args.limit = ntfy->node->offset + ntfy->node->length - 1;
566 args.start += drm->agp.base + chan->ntfy->bo.offset;
567 args.limit += drm->agp.base + chan->ntfy->bo.offset;
571 args.start += chan->ntfy->bo.offset;
572 args.limit += chan->ntfy->bo.offset;
579 &ntfy->object);
585 info->offset = ntfy->node->offset;
588 nouveau_abi16_ntfy_fini(chan, ntfy);
598 struct nouveau_abi16_ntfy *ntfy;
611 ntfy, &chan->notifiers, head) {
612 if (ntfy->object.handle == fini->handle) {
613 nouveau_abi16_ntfy_fini(chan, ntfy);