Lines Matching defs:next
456 * struct drm_gpuva *prev = NULL, *next = NULL;
468 * if (op->remap.next) {
469 * next = driver_gpuva_alloc();
470 * if (!next)
477 * drm_gpuva_remap(prev, next, &op->remap);
482 * if (next)
483 * drm_gpuva_link(next);
582 * if (op->remap.next) {
984 * @next: the &drm_gpuva to remap when keeping the end of a mapping
985 * @op: the &drm_gpuva_op_remap to initialize @prev and @next with
988 * @next.
992 struct drm_gpuva *next,
1005 if (op->next) {
1006 drm_gpuva_init_from_op(next, op->next);
1007 drm_gpuva_insert(mgr, next);
1045 struct drm_gpuva_op_map *next,
1054 r->next = next;
1079 struct drm_gpuva *va, *next;
1086 drm_gpuva_for_each_va_range_safe(va, next, mgr, req_addr, req_end) {
1220 struct drm_gpuva *va, *next;
1227 drm_gpuva_for_each_va_range_safe(va, next, mgr, req_addr, req_end) {
1228 struct drm_gpuva_op_map prev = {}, next = {};
1246 next.va.addr = req_end;
1247 next.va.range = end - req_end;
1248 next.gem.obj = obj;
1249 next.gem.offset = offset + (req_end - addr);
1259 next_split ? &next : NULL,
1428 if (__r->next) {
1429 r->next = kmemdup(__r->next, sizeof(*r->next),
1431 if (unlikely(!r->next))
1707 struct drm_gpuva_op *op, *next;
1709 drm_gpuva_for_each_op_safe(op, next, ops) {
1714 kfree(op->remap.next);