Lines Matching refs:ifc_cpus
163 cpuset_t ifc_cpus; member
4812 MPASS(CPU_ISSET(cpuid, &ctx->ifc_cpus)); in cpuid_advance()
4815 MPASS(!CPU_EMPTY(&ctx->ifc_cpus)); in cpuid_advance()
4817 first_valid = CPU_FFS(&ctx->ifc_cpus) - 1; in cpuid_advance()
4818 last_valid = CPU_FLS(&ctx->ifc_cpus) - 1; in cpuid_advance()
4819 n = n % CPU_COUNT(&ctx->ifc_cpus); in cpuid_advance()
4825 } while (!CPU_ISSET(cpuid, &ctx->ifc_cpus)); in cpuid_advance()
4999 first_valid = CPU_FFS(&ctx->ifc_cpus) - 1; in get_ctx_core_offset()
5000 last_valid = CPU_FLS(&ctx->ifc_cpus) - 1; in get_ctx_core_offset()
5023 if (!CPU_ISSET(base_cpuid, &ctx->ifc_cpus)) { in get_ctx_core_offset()
5031 while (!CPU_ISSET(base_cpuid, &ctx->ifc_cpus)) in get_ctx_core_offset()
5061 CPU_AND(&assigned_cpus, &assigned_cpus, &ctx->ifc_cpus); in get_ctx_core_offset()
5066 if (CPU_CMP(&ctx->ifc_cpus, &op->set) == 0) { in get_ctx_core_offset()
5086 CPU_COPY(&ctx->ifc_cpus, &op->set); in get_ctx_core_offset()
5102 if (CPU_CMP(&ctx->ifc_cpus, &op->set) == 0) { in unref_ctx_core_offset()
5241 if (bus_get_cpus(dev, INTR_CPUS, sizeof(ctx->ifc_cpus), &ctx->ifc_cpus) != 0) { in iflib_device_register()
5243 CPU_COPY(&all_cpus, &ctx->ifc_cpus); in iflib_device_register()
5247 MPASS(CPU_COUNT(&ctx->ifc_cpus) > 0); in iflib_device_register()
6582 queues = imin(CPU_COUNT(&ctx->ifc_cpus), queues); in iflib_msix_init()
6586 CPU_COUNT(&ctx->ifc_cpus), queuemsgs, admincnt); in iflib_msix_init()