Lines Matching defs:co
458 struct aac_container *co;
466 co = (struct aac_container *)malloc(sizeof *co, M_AACBUF,
468 if (co == NULL)
478 device_set_ivars(child, co);
481 co->co_disk = child;
482 co->co_found = f;
483 bcopy(&mir->MntTable[0], &co->co_mntobj,
486 TAILQ_INSERT_TAIL(&sc->aac_container_tqh, co, co_link);
664 struct aac_container *co;
684 while ((co = TAILQ_FIRST(&sc->aac_container_tqh)) != NULL) {
685 error = device_delete_child(dev, co->co_disk);
688 TAILQ_REMOVE(&sc->aac_container_tqh, co, co_link);
689 free(co, M_AACBUF);
3211 struct aac_container *co, *co_next;
3249 * co->co_found was already set to 0 in a
3255 TAILQ_FOREACH(co,
3258 if (co->co_mntobj.ObjectId ==
3260 co->co_found = 1;
3290 * the co->co_found field.
3292 co = TAILQ_FIRST(&sc->aac_container_tqh);
3293 while (co != NULL) {
3294 if (co->co_found == 0) {
3298 co->co_disk);
3301 co_next = TAILQ_NEXT(co, co_link);
3303 TAILQ_REMOVE(&sc->aac_container_tqh, co,
3306 free(co, M_AACBUF);
3307 co = co_next;
3309 co->co_found = 0;
3310 co = TAILQ_NEXT(co, co_link);
3631 struct aac_container *co;
3649 TAILQ_FOREACH(co, &sc->aac_container_tqh, co_link) {
3650 if (co->co_mntobj.ObjectId == id)
3654 if (co == NULL) {
3659 disk = device_get_softc(co->co_disk);