Lines Matching refs:fibctx
2923 for (ctx = sc->fibctx; ctx; ctx = ctx->next) { in aac_poll()
3372 for (ctx = sc->fibctx; ctx; ctx = ctx->next) { in aac_handle_aif()
3439 struct aac_fib_context *fibctx, *ctx; in aac_open_aif() local
3444 fibctx = malloc(sizeof(struct aac_fib_context), M_AACBUF, M_NOWAIT|M_ZERO); in aac_open_aif()
3445 if (fibctx == NULL) in aac_open_aif()
3450 if (sc->fibctx == NULL) in aac_open_aif()
3451 sc->fibctx = fibctx; in aac_open_aif()
3453 for (ctx = sc->fibctx; ctx->next; ctx = ctx->next) in aac_open_aif()
3455 ctx->next = fibctx; in aac_open_aif()
3456 fibctx->prev = ctx; in aac_open_aif()
3460 fibctx->unique = (*(u_int32_t *)&fibctx & 0xffffffff); in aac_open_aif()
3461 ctx = sc->fibctx; in aac_open_aif()
3462 while (ctx != fibctx) { in aac_open_aif()
3463 if (ctx->unique == fibctx->unique) { in aac_open_aif()
3464 fibctx->unique++; in aac_open_aif()
3465 ctx = sc->fibctx; in aac_open_aif()
3472 error = copyout(&fibctx->unique, (void *)arg, sizeof(u_int32_t)); in aac_open_aif()
3489 for (ctx = sc->fibctx; ctx; ctx = ctx->next) { in aac_close_aif()
3491 if (ctx == sc->fibctx) in aac_close_aif()
3492 sc->fibctx = NULL; in aac_close_aif()
3533 for (ctx = sc->fibctx; ctx; ctx = ctx->next) { in aac_getnext_aif()