1 /* SPDX-License-Identifier: MIT */
12 nvkm_blob_dtor(struct nvkm_blob *blob)
19 #define nvkm_list_find_next(p,h,m,c) ({ \
20 typeof(p) _p = NULL; \
21 list_for_each_entry_continue(p, (h), m) { \
29 #define nvkm_list_find(p,h,m,c) \
30 (p = container_of((h), typeof(*p), m), nvkm_list_find_next(p, (h), m, (c)))
31 #define nvkm_list_foreach(p,h,m,c) \
32 for (p = nvkm_list_find(p, (h), m, (c)); p; p = nvkm_list_find_next(p, (h), m, (c)))