Searched refs:mth (Results 1 - 2 of 2) sorted by relevance

/haiku/src/libs/compat/freebsd_network/
H A Ddevice.c306 device_method_t *mth = &driver->methods[i]; local
308 if (strcmp(mth->name, "device_register") == 0)
309 dev->methods.device_register = (void *)mth->method;
310 else if (strcmp(mth->name, "device_probe") == 0)
311 dev->methods.probe = (void *)mth->method;
312 else if (strcmp(mth->name, "device_attach") == 0)
313 dev->methods.attach = (void *)mth->method;
314 else if (strcmp(mth->name, "device_detach") == 0)
315 dev->methods.detach = (void *)mth->method;
316 else if (strcmp(mth
[all...]
/haiku/src/libs/compat/freebsd_iflib/
H A Dkobj.c38 kobj_method_t* mth = &class->methods[i]; local
39 if (mth->id != id)
42 ret = mth;

Completed in 39 milliseconds