36 if (handle->
name == name)
63 if (nv_gpuobj(handle->
object)->addr == vinst)
78 if (nv_gpuobj(handle->
object)->node &&
79 nv_gpuobj(handle->
object)->node->offset == cinst)
94 if (!nouveau_namedb_lookup(namedb, name)) {
97 list_add(&handle->
node, &namedb->
list);
120 handle = nouveau_namedb_lookup(namedb, name);
131 handle = nouveau_namedb_lookup_class(namedb, oclass);
142 handle = nouveau_namedb_lookup_vinst(namedb, vinst);
153 handle = nouveau_namedb_lookup_cinst(namedb, cinst);
171 int length,
void **pobject)
184 INIT_LIST_HEAD(&namedb->
list);
198 *pobject = nv_object(
object);