Home
last modified time | relevance | path

Searched refs:first_valid (Results 1 – 1 of 1) sorted by relevance

/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c4975 unsigned int first_valid; in cpuid_advance() local
4984 first_valid = CPU_FFS(&ctx->ifc_cpus) - 1; in cpuid_advance()
4991 cpuid = first_valid; in cpuid_advance()
5168 unsigned int first_valid; in get_ctx_core_offset() local
5172 first_valid = CPU_FFS(&ctx->ifc_cpus) - 1; in get_ctx_core_offset()
5189 if (base_cpuid < first_valid || base_cpuid > last_valid) { in get_ctx_core_offset()
5191 base_cpuid += first_valid; in get_ctx_core_offset()
5193 base_cpuid = (base_cpuid - first_valid) % in get_ctx_core_offset()
5194 (last_valid - first_valid + 1); in get_ctx_core_offset()
5229 CPU_SET(get_cpuid_for_queue(ctx, first_valid, i, true), in get_ctx_core_offset()
[all …]