Lines Matching refs:fibctx
2723 for (ctx = sc->fibctx; ctx; ctx = ctx->next) { in aac_poll()
3268 for (ctx = sc->fibctx; ctx; ctx = ctx->next) { in aac_handle_aif()
3336 struct aac_fib_context *fibctx, *ctx; in aac_open_aif() local
3341 fibctx = malloc(sizeof(struct aac_fib_context), M_AACRAIDBUF, M_NOWAIT|M_ZERO); in aac_open_aif()
3342 if (fibctx == NULL) in aac_open_aif()
3347 if (sc->fibctx == NULL) in aac_open_aif()
3348 sc->fibctx = fibctx; in aac_open_aif()
3350 for (ctx = sc->fibctx; ctx->next; ctx = ctx->next) in aac_open_aif()
3352 ctx->next = fibctx; in aac_open_aif()
3353 fibctx->prev = ctx; in aac_open_aif()
3357 fibctx->unique = (*(u_int32_t *)&fibctx & 0xffffffff); in aac_open_aif()
3358 ctx = sc->fibctx; in aac_open_aif()
3359 while (ctx != fibctx) { in aac_open_aif()
3360 if (ctx->unique == fibctx->unique) { in aac_open_aif()
3361 fibctx->unique++; in aac_open_aif()
3362 ctx = sc->fibctx; in aac_open_aif()
3368 error = copyout(&fibctx->unique, (void *)arg, sizeof(u_int32_t)); in aac_open_aif()
3386 for (ctx = sc->fibctx; ctx; ctx = ctx->next) { in aac_close_aif()
3388 if (ctx == sc->fibctx) in aac_close_aif()
3389 sc->fibctx = NULL; in aac_close_aif()
3431 for (ctx = sc->fibctx; ctx; ctx = ctx->next) { in aac_getnext_aif()