Lines Matching defs:ivar
162 struct obio_ivar *ivar = device_get_ivars(child);
183 rle = resource_list_find(&ivar->resources, type, *rid);
428 struct obio_ivar *ivar;
430 ivar = malloc(sizeof(struct obio_ivar), M_DEVBUF, M_WAITOK | M_ZERO);
431 if (ivar == NULL) {
432 printf("Failed to allocate ivar\n");
435 resource_list_init(&ivar->resources);
443 device_set_ivars(child, ivar);
455 struct obio_ivar *ivar;
457 ivar = device_get_ivars(child);
458 return (&(ivar->resources));