38 sclass = nv_parent(parent)->
sclass;
40 if ((sclass->
oclass->handle & 0xffff) == handle) {
49 mask = nv_parent(parent)->engine;
51 int i = ffsll(mask) - 1;
56 if ((oclass->
handle & 0xffff) == handle) {
57 *pengine = nv_object(engine);
76 int size,
void **pobject)
88 while (sclass && sclass->
ofuncs) {
93 nclass->
sclass =
object->sclass;
94 object->sclass = nclass;
95 nclass->
engine = engine ? nv_engine(engine) :
NULL;
100 object->engine = engcls;
109 while ((sclass = parent->
sclass)) {