best 433 arch/ia64/mm/discontig.c u8 best = 0xff; best 439 arch/ia64/mm/discontig.c else if (node_distance(nid, node) < best) { best 440 arch/ia64/mm/discontig.c best = node_distance(nid, node); best 797 arch/powerpc/platforms/cell/iommu.c int i, len, best, naddr, nsize, pna, range_size; best 833 arch/powerpc/platforms/cell/iommu.c for (i = 0, best = -1, best_size = 0; i < len; i += range_size) { best 838 arch/powerpc/platforms/cell/iommu.c best = i; best 843 arch/powerpc/platforms/cell/iommu.c if (best >= 0) { best 844 arch/powerpc/platforms/cell/iommu.c dev_addr = of_read_number(ranges + best, naddr); best 828 arch/powerpc/platforms/cell/spufs/sched.c int best; best 831 arch/powerpc/platforms/cell/spufs/sched.c best = find_first_bit(spu_prio->bitmap, prio); best 832 arch/powerpc/platforms/cell/spufs/sched.c while (best < prio) { best 833 arch/powerpc/platforms/cell/spufs/sched.c struct list_head *rq = &spu_prio->runq[best]; best 842 arch/powerpc/platforms/cell/spufs/sched.c best++; best 68 arch/sh/kernel/unwinder.c struct unwinder *best; best 73 arch/sh/kernel/unwinder.c best = list_entry(unwinder_list.next, struct unwinder, list); best 74 arch/sh/kernel/unwinder.c if (best == curr_unwinder) best 77 arch/sh/kernel/unwinder.c return best; best 69 arch/x86/kvm/cpuid.c struct kvm_cpuid_entry2 *best; best 72 arch/x86/kvm/cpuid.c best = kvm_find_cpuid_entry(vcpu, 1, 0); best 73 arch/x86/kvm/cpuid.c if (!best) best 77 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_XSAVE) && best->function == 0x1) { best 78 arch/x86/kvm/cpuid.c best->ecx &= ~F(OSXSAVE); best 80 arch/x86/kvm/cpuid.c best->ecx |= F(OSXSAVE); best 83 arch/x86/kvm/cpuid.c best->edx &= ~F(APIC); best 85 arch/x86/kvm/cpuid.c best->edx |= F(APIC); best 88 arch/x86/kvm/cpuid.c if (best->ecx & F(TSC_DEADLINE_TIMER)) best 94 arch/x86/kvm/cpuid.c best = kvm_find_cpuid_entry(vcpu, 7, 0); best 95 arch/x86/kvm/cpuid.c if (best) { best 97 arch/x86/kvm/cpuid.c if (boot_cpu_has(X86_FEATURE_PKU) && best->function == 0x7) { best 98 arch/x86/kvm/cpuid.c best->ecx &= ~F(OSPKE); best 100 arch/x86/kvm/cpuid.c best->ecx |= F(OSPKE); best 104 arch/x86/kvm/cpuid.c best = kvm_find_cpuid_entry(vcpu, 0xD, 0); best 105 arch/x86/kvm/cpuid.c if (!best) { best 110 arch/x86/kvm/cpuid.c (best->eax | ((u64)best->edx << 32)) & best 112 arch/x86/kvm/cpuid.c vcpu->arch.guest_xstate_size = best->ebx = best 116 arch/x86/kvm/cpuid.c best = kvm_find_cpuid_entry(vcpu, 0xD, 1); best 117 arch/x86/kvm/cpuid.c if (best && (best->eax & (F(XSAVES) | F(XSAVEC)))) best 118 arch/x86/kvm/cpuid.c best->ebx = xstate_required_size(vcpu->arch.xcr0, true); best 124 arch/x86/kvm/cpuid.c best = kvm_find_cpuid_entry(vcpu, 0x80000008, 0); best 125 arch/x86/kvm/cpuid.c if (best) { best 126 arch/x86/kvm/cpuid.c int vaddr_bits = (best->eax & 0xff00) >> 8; best 132 arch/x86/kvm/cpuid.c best = kvm_find_cpuid_entry(vcpu, KVM_CPUID_FEATURES, 0); best 133 arch/x86/kvm/cpuid.c if (kvm_hlt_in_guest(vcpu->kvm) && best && best 134 arch/x86/kvm/cpuid.c (best->eax & (1 << KVM_FEATURE_PV_UNHALT))) best 135 arch/x86/kvm/cpuid.c best->eax &= ~(1 << KVM_FEATURE_PV_UNHALT); best 138 arch/x86/kvm/cpuid.c best = kvm_find_cpuid_entry(vcpu, 0x1, 0); best 139 arch/x86/kvm/cpuid.c if (best) { best 141 arch/x86/kvm/cpuid.c best->ecx |= F(MWAIT); best 143 arch/x86/kvm/cpuid.c best->ecx &= ~F(MWAIT); best 184 arch/x86/kvm/cpuid.c struct kvm_cpuid_entry2 *best; best 186 arch/x86/kvm/cpuid.c best = kvm_find_cpuid_entry(vcpu, 0x80000000, 0); best 187 arch/x86/kvm/cpuid.c if (!best || best->eax < 0x80000008) best 189 arch/x86/kvm/cpuid.c best = kvm_find_cpuid_entry(vcpu, 0x80000008, 0); best 190 arch/x86/kvm/cpuid.c if (best) best 191 arch/x86/kvm/cpuid.c return best->eax & 0xff; best 966 arch/x86/kvm/cpuid.c struct kvm_cpuid_entry2 *best = NULL; best 975 arch/x86/kvm/cpuid.c best = e; best 979 arch/x86/kvm/cpuid.c return best; best 118 arch/x86/kvm/cpuid.h struct kvm_cpuid_entry2 *best; best 120 arch/x86/kvm/cpuid.h best = kvm_find_cpuid_entry(vcpu, 0, 0); best 121 arch/x86/kvm/cpuid.h return best && best->ebx == X86EMUL_CPUID_VENDOR_AuthenticAMD_ebx; best 126 arch/x86/kvm/cpuid.h struct kvm_cpuid_entry2 *best; best 128 arch/x86/kvm/cpuid.h best = kvm_find_cpuid_entry(vcpu, 0x1, 0); best 129 arch/x86/kvm/cpuid.h if (!best) best 132 arch/x86/kvm/cpuid.h return x86_family(best->eax); best 137 arch/x86/kvm/cpuid.h struct kvm_cpuid_entry2 *best; best 139 arch/x86/kvm/cpuid.h best = kvm_find_cpuid_entry(vcpu, 0x1, 0); best 140 arch/x86/kvm/cpuid.h if (!best) best 143 arch/x86/kvm/cpuid.h return x86_model(best->eax); best 148 arch/x86/kvm/cpuid.h struct kvm_cpuid_entry2 *best; best 150 arch/x86/kvm/cpuid.h best = kvm_find_cpuid_entry(vcpu, 0x1, 0); best 151 arch/x86/kvm/cpuid.h if (!best) best 154 arch/x86/kvm/cpuid.h return x86_stepping(best->eax); best 6997 arch/x86/kvm/vmx/vmx.c struct kvm_cpuid_entry2 *best = NULL; best 7001 arch/x86/kvm/vmx/vmx.c best = kvm_find_cpuid_entry(vcpu, 0x14, i); best 7002 arch/x86/kvm/vmx/vmx.c if (!best) best 7004 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.caps[CPUID_EAX + i*PT_CPUID_REGS_NUM] = best->eax; best 7005 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.caps[CPUID_EBX + i*PT_CPUID_REGS_NUM] = best->ebx; best 7006 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.caps[CPUID_ECX + i*PT_CPUID_REGS_NUM] = best->ecx; best 7007 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.caps[CPUID_EDX + i*PT_CPUID_REGS_NUM] = best->edx; best 260 crypto/algapi.c bool best; best 285 crypto/algapi.c best = true; best 294 crypto/algapi.c best = false; best 323 crypto/algapi.c if (best && crypto_mod_get(alg)) best 59 crypto/api.c int best = -2; best 77 crypto/api.c if (!exact && !(fuzzy && q->cra_priority > best)) best 83 crypto/api.c best = q->cra_priority; best 497 drivers/acpi/hmat/hmat.c static bool hmat_update_best(u8 type, u32 value, u32 *best) best 508 drivers/acpi/hmat/hmat.c if (!*best || *best > value) { best 509 drivers/acpi/hmat/hmat.c *best = value; best 516 drivers/acpi/hmat/hmat.c if (!*best || *best < value) { best 517 drivers/acpi/hmat/hmat.c *best = value; best 547 drivers/acpi/hmat/hmat.c u32 best = 0; best 578 drivers/acpi/hmat/hmat.c best = 0; best 586 drivers/acpi/hmat/hmat.c if (hmat_update_best(loc->hmat_loc->data_type, value, &best)) best 588 drivers/acpi/hmat/hmat.c if (value != best) best 591 drivers/acpi/hmat/hmat.c if (best) best 592 drivers/acpi/hmat/hmat.c hmat_update_target_access(target, loc->hmat_loc->data_type, best); best 99 drivers/base/map.c unsigned long best = ~0UL; best 110 drivers/base/map.c if (p->range - 1 >= best) best 117 drivers/base/map.c best = p->range - 1; best 277 drivers/block/paride/paride.c int best, range; best 290 drivers/block/paride/paride.c best = -1; best 299 drivers/block/paride/paride.c best = pi->mode; best 301 drivers/block/paride/paride.c pi->mode = best; best 302 drivers/block/paride/paride.c return (best > -1); best 72 drivers/clk/actions/owl-factor.c unsigned long parent_rate, try_parent_rate, best = 0, cur_rate; best 104 drivers/clk/actions/owl-factor.c if (cur_rate <= rate && cur_rate > best) { best 106 drivers/clk/actions/owl-factor.c best = cur_rate; best 267 drivers/clk/clk-divider.c unsigned long best, unsigned long flags) best 270 drivers/clk/clk-divider.c return abs(rate - now) < abs(rate - best); best 272 drivers/clk/clk-divider.c return now <= rate && now > best; best 295 drivers/clk/clk-divider.c unsigned long parent_rate, best = 0, now, maxdiv; best 330 drivers/clk/clk-divider.c if (_is_best_div(rate, now, best, flags)) { best 332 drivers/clk/clk-divider.c best = now; best 57 drivers/clk/clk-multiplier.c unsigned long best, unsigned long flags) best 60 drivers/clk/clk-multiplier.c return abs(rate - new) < abs(rate - best); best 62 drivers/clk/clk-multiplier.c return new >= rate && new < best; best 139 drivers/clk/clk-wm831x.c int best = 0; best 144 drivers/clk/clk-wm831x.c abs(wm831x_fll_auto_rates[best] - rate)) best 145 drivers/clk/clk-wm831x.c best = i; best 147 drivers/clk/clk-wm831x.c return wm831x_fll_auto_rates[best]; best 543 drivers/clk/clk.c unsigned long best, unsigned long flags) best 546 drivers/clk/clk.c return abs(now - rate) < abs(best - rate); best 548 drivers/clk/clk.c return now <= rate && now > best; best 557 drivers/clk/clk.c unsigned long best = 0; best 569 drivers/clk/clk.c best = parent_req.rate; best 571 drivers/clk/clk.c best = clk_core_get_rate_nolock(parent); best 573 drivers/clk/clk.c best = clk_core_get_rate_nolock(core); best 596 drivers/clk/clk.c best, flags)) { best 598 drivers/clk/clk.c best = parent_req.rate; best 608 drivers/clk/clk.c req->best_parent_rate = best; best 609 drivers/clk/clk.c req->rate = best; best 68 drivers/clk/meson/clk-dualdiv.c unsigned long best = 0, now = 0; best 80 drivers/clk/meson/clk-dualdiv.c } else if (abs(now - rate) < abs(best - rate)) { best 81 drivers/clk/meson/clk-dualdiv.c best = now; best 122 drivers/clk/meson/clk-pll.c unsigned long best, best 128 drivers/clk/meson/clk-pll.c if (abs(now - rate) < abs(best - rate)) best 132 drivers/clk/meson/clk-pll.c if (now <= rate && best < now) best 221 drivers/clk/meson/clk-pll.c unsigned long best = 0, now = 0; best 232 drivers/clk/meson/clk-pll.c if (meson_clk_pll_is_better(rate, best, now, pll)) { best 233 drivers/clk/meson/clk-pll.c best = now; best 242 drivers/clk/meson/clk-pll.c return best ? 0 : -EINVAL; best 56 drivers/clk/meson/sclk-div.c unsigned long best = 0, best_parent = 0; best 84 drivers/clk/meson/sclk-div.c if (abs(rate - now) < abs(rate - best)) { best 86 drivers/clk/meson/sclk-div.c best = now; best 391 drivers/clk/microchip/clk-core.c unsigned long best = 0, nearest_rate; best 410 drivers/clk/microchip/clk-core.c best = nearest_rate; best 428 drivers/clk/microchip/clk-core.c best, best_delta); best 436 drivers/clk/microchip/clk-core.c return best; best 82 drivers/clk/qcom/clk-regmap-mux-div.c static inline bool is_better_rate(unsigned long req, unsigned long best, best 85 drivers/clk/qcom/clk-regmap-mux-div.c return (req <= new && new < best) || (best < req && best < new); best 47 drivers/clk/qcom/common.c const struct freq_tbl *best = NULL; best 51 drivers/clk/qcom/common.c best = f; best 56 drivers/clk/qcom/common.c return best; best 14 drivers/clk/rockchip/clk-half-divider.c unsigned long best, unsigned long flags) best 17 drivers/clk/rockchip/clk-half-divider.c return abs(rate - now) < abs(rate - best); best 19 drivers/clk/rockchip/clk-half-divider.c return now <= rate && now > best; best 40 drivers/clk/rockchip/clk-half-divider.c unsigned long parent_rate, best = 0, now, maxdiv; best 80 drivers/clk/rockchip/clk-half-divider.c if (_is_best_half_div(rate, now, best, flags)) { best 82 drivers/clk/rockchip/clk-half-divider.c best = now; best 94 drivers/clk/sunxi/clk-factors.c unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; best 117 drivers/clk/sunxi/clk-factors.c best = parent_rate; best 126 drivers/clk/sunxi/clk-factors.c req->best_parent_rate = best; best 118 drivers/clk/sunxi/clk-sun9i-cpus.c unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; best 137 drivers/clk/sunxi/clk-sun9i-cpus.c best = parent_rate; best 146 drivers/clk/sunxi/clk-sun9i-cpus.c req->best_parent_rate = best; best 177 drivers/clk/ti/divider.c unsigned long parent_rate, best = 0, now, maxdiv; best 214 drivers/clk/ti/divider.c if (now <= rate && now > best) { best 216 drivers/clk/ti/divider.c best = now; best 51 drivers/clk/versatile/icst.c unsigned int i = 0, rd, best = (unsigned int)-1; best 90 drivers/clk/versatile/icst.c if ((unsigned)f_diff < best) { best 95 drivers/clk/versatile/icst.c best = f_diff; best 99 drivers/crypto/qat/qat_common/qat_crypto.c unsigned long best = ~0; best 109 drivers/crypto/qat/qat_common/qat_crypto.c if (best > ctr) { best 111 drivers/crypto/qat/qat_common/qat_crypto.c best = ctr; best 131 drivers/crypto/qat/qat_common/qat_crypto.c best = ~0; best 136 drivers/crypto/qat/qat_common/qat_crypto.c if (best > ctr) { best 138 drivers/crypto/qat/qat_common/qat_crypto.c best = ctr; best 188 drivers/crypto/virtio/virtio_crypto_mgr.c unsigned long best = ~0; best 199 drivers/crypto/virtio/virtio_crypto_mgr.c if (best > ctr) { best 201 drivers/crypto/virtio/virtio_crypto_mgr.c best = ctr; best 211 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c unsigned i, soffset, best, tmp; best 222 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c best = sa_manager->size * 2; best 253 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c if (tmp < best) { best 255 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c best = tmp; best 92 drivers/gpu/drm/ast/ast_mode.c const struct ast_vbios_enhtable *best = NULL; best 174 drivers/gpu/drm/ast/ast_mode.c && (!best || loop->refresh_rate > best->refresh_rate)) best 175 drivers/gpu/drm/ast/ast_mode.c best = loop; best 178 drivers/gpu/drm/ast/ast_mode.c if (best || !check_sync) best 182 drivers/gpu/drm/ast/ast_mode.c if (best) best 183 drivers/gpu/drm/ast/ast_mode.c vbios_mode->enh_table = best; best 302 drivers/gpu/drm/drm_mm.c struct drm_mm_node *best = NULL; best 309 drivers/gpu/drm/drm_mm.c best = node; best 316 drivers/gpu/drm/drm_mm.c return best; best 144 drivers/gpu/drm/drm_vma_manager.c struct drm_mm_node *node, *best; best 149 drivers/gpu/drm/drm_vma_manager.c best = NULL; best 156 drivers/gpu/drm/drm_vma_manager.c best = node; best 165 drivers/gpu/drm/drm_vma_manager.c if (best) { best 166 drivers/gpu/drm/drm_vma_manager.c offset = best->start + best->size; best 168 drivers/gpu/drm/drm_vma_manager.c best = NULL; best 171 drivers/gpu/drm/drm_vma_manager.c if (!best) best 174 drivers/gpu/drm/drm_vma_manager.c return container_of(best, struct drm_vma_offset_node, vm_node); best 690 drivers/gpu/drm/i915/display/intel_dpll_mgr.c struct hsw_wrpll_rnp *best) best 695 drivers/gpu/drm/i915/display/intel_dpll_mgr.c if (best->p == 0) { best 696 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->p = p; best 697 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->n2 = n2; best 698 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->r2 = r2; best 717 drivers/gpu/drm/i915/display/intel_dpll_mgr.c b = freq2k * budget * best->p * best->r2; best 719 drivers/gpu/drm/i915/display/intel_dpll_mgr.c diff_best = abs_diff(freq2k * best->p * best->r2, best 720 drivers/gpu/drm/i915/display/intel_dpll_mgr.c LC_FREQ_2K * best->n2); best 726 drivers/gpu/drm/i915/display/intel_dpll_mgr.c if (best->p * best->r2 * diff < p * r2 * diff_best) { best 727 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->p = p; best 728 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->n2 = n2; best 729 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->r2 = r2; best 733 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->p = p; best 734 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->n2 = n2; best 735 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->r2 = r2; best 738 drivers/gpu/drm/i915/display/intel_dpll_mgr.c if (n2 * best->r2 * best->r2 > best->n2 * r2 * r2) { best 739 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->p = p; best 740 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->n2 = n2; best 741 drivers/gpu/drm/i915/display/intel_dpll_mgr.c best->r2 = r2; best 753 drivers/gpu/drm/i915/display/intel_dpll_mgr.c struct hsw_wrpll_rnp best = { 0, 0, 0 }; best 803 drivers/gpu/drm/i915/display/intel_dpll_mgr.c r2, n2, p, &best); best 807 drivers/gpu/drm/i915/display/intel_dpll_mgr.c *n2_out = best.n2; best 808 drivers/gpu/drm/i915/display/intel_dpll_mgr.c *p_out = best.p; best 809 drivers/gpu/drm/i915/display/intel_dpll_mgr.c *r2_out = best.r2; best 180 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c }, *mthd, *best = NULL; best 193 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c best = mthd; best 200 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (!best && (best = mthd)) { best 206 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (!best->score) { best 214 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (!best || !best->score) { best 215 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c for (mthd = mthds, best = mthd; mthd->func; mthd++) { best 216 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (!mthd->skip || best->score < mthd->skip) { best 218 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (mthd->score > best->score) best 219 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c best = mthd; best 227 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (mthd != best) best 231 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (!best->score) { best 236 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c nvkm_debug(subdev, "using image from %s\n", best->func ? best 237 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c best->func->name : source); best 238 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c bios->data = best->data; best 239 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c bios->size = best->size; best 54 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c int i, ret = -EINVAL, best_err = volt->max_uv, best = -1; best 65 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c best = i; best 70 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c if (best == -1) { best 75 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c ret = volt->func->vid_set(volt, volt->vid[best].vid); best 77 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c volt->vid[best].uv, ret); best 258 drivers/gpu/drm/panfrost/panfrost_gpu.c int best = -1; best 268 drivers/gpu/drm/panfrost/panfrost_gpu.c best = i; best 271 drivers/gpu/drm/panfrost/panfrost_gpu.c best = i; best 274 drivers/gpu/drm/panfrost/panfrost_gpu.c if (best >= 0) best 275 drivers/gpu/drm/panfrost/panfrost_gpu.c hw_issues |= model->revs[best].issues; best 252 drivers/gpu/drm/radeon/radeon_sa.c unsigned i, soffset, best, tmp; best 263 drivers/gpu/drm/radeon/radeon_sa.c best = sa_manager->size * 2; best 293 drivers/gpu/drm/radeon/radeon_sa.c if (tmp < best) { best 295 drivers/gpu/drm/radeon/radeon_sa.c best = tmp; best 180 drivers/gpu/drm/radeon/radeon_vm.c struct radeon_fence *best[RADEON_NUM_RINGS] = {}; best 205 drivers/gpu/drm/radeon/radeon_vm.c if (radeon_fence_is_earlier(fence, best[fence->ring])) { best 206 drivers/gpu/drm/radeon/radeon_vm.c best[fence->ring] = fence; best 414 drivers/leds/leds-tca6507.c int best = -1;/* full-on */ best 426 drivers/leds/leds-tca6507.c best = i; best 432 drivers/leds/leds-tca6507.c best = i; best 435 drivers/leds/leds-tca6507.c if (best == -1) { best 442 drivers/leds/leds-tca6507.c if (!tca->bank[best].level_use) best 443 drivers/leds/leds-tca6507.c set_level(tca, best, level); best 445 drivers/leds/leds-tca6507.c tca->bank[best].level_use++; best 446 drivers/leds/leds-tca6507.c led->bank = best; best 447 drivers/leds/leds-tca6507.c set_select(tca, led->num, bank_source[best]); best 448 drivers/leds/leds-tca6507.c led->led_cdev.brightness = TO_BRIGHT(tca->bank[best].level); best 190 drivers/md/dm-queue-length.c struct path_info *pi = NULL, *best = NULL; best 199 drivers/md/dm-queue-length.c if (!best || best 200 drivers/md/dm-queue-length.c (atomic_read(&pi->qlen) < atomic_read(&best->qlen))) best 201 drivers/md/dm-queue-length.c best = pi; best 203 drivers/md/dm-queue-length.c if (!atomic_read(&best->qlen)) best 207 drivers/md/dm-queue-length.c if (!best) best 211 drivers/md/dm-queue-length.c list_move_tail(&best->list, &s->valid_paths); best 213 drivers/md/dm-queue-length.c ret = best->path; best 277 drivers/md/dm-service-time.c struct path_info *pi = NULL, *best = NULL; best 286 drivers/md/dm-service-time.c if (!best || (st_compare_load(pi, best, nr_bytes) < 0)) best 287 drivers/md/dm-service-time.c best = pi; best 289 drivers/md/dm-service-time.c if (!best) best 293 drivers/md/dm-service-time.c list_move_tail(&best->list, &s->valid_paths); best 295 drivers/md/dm-service-time.c ret = best->path; best 850 drivers/media/i2c/ov5640.c unsigned long best = ~0; best 887 drivers/media/i2c/ov5640.c if (abs(rate - _rate) < abs(rate - best)) { best 888 drivers/media/i2c/ov5640.c best = _rate; best 903 drivers/media/i2c/ov5640.c return best; best 1899 drivers/media/i2c/smiapp/smiapp-core.c int best = scaling_goodness( best 1914 drivers/media/i2c/smiapp/smiapp-core.c if (this > best) { best 1917 drivers/media/i2c/smiapp/smiapp-core.c best = this; best 1952 drivers/media/i2c/smiapp/smiapp-core.c int best = INT_MIN; best 2007 drivers/media/i2c/smiapp/smiapp-core.c if (this > best) { best 2010 drivers/media/i2c/smiapp/smiapp-core.c best = this; best 2028 drivers/media/i2c/smiapp/smiapp-core.c if (this > best) { best 2031 drivers/media/i2c/smiapp/smiapp-core.c best = this; best 509 drivers/media/platform/sh_vou.c unsigned int best_err = UINT_MAX, best = 0, img_height_max; best 537 drivers/media/platform/sh_vou.c best = found; best 543 drivers/media/platform/sh_vou.c geo->in_width = best; best 562 drivers/media/platform/sh_vou.c best = found; best 568 drivers/media/platform/sh_vou.c geo->in_height = best; best 578 drivers/media/platform/sh_vou.c unsigned int best_err = UINT_MAX, best = geo->in_width, best 606 drivers/media/platform/sh_vou.c best = found; best 612 drivers/media/platform/sh_vou.c geo->output.width = best; best 614 drivers/media/platform/sh_vou.c if (geo->output.left + best > width_max) best 615 drivers/media/platform/sh_vou.c geo->output.left = width_max - best; best 618 drivers/media/platform/sh_vou.c vou_scale_h_num[idx_h], vou_scale_h_den[idx_h], best); best 636 drivers/media/platform/sh_vou.c best = found; best 642 drivers/media/platform/sh_vou.c geo->output.height = best; best 644 drivers/media/platform/sh_vou.c if (geo->output.top + best > height_max) best 645 drivers/media/platform/sh_vou.c geo->output.top = height_max - best; best 648 drivers/media/platform/sh_vou.c vou_scale_v_num[idx_v], vou_scale_v_den[idx_v], best); best 108 drivers/media/usb/uvc/uvc_v4l2.c u32 best = -1, dist; best 115 drivers/media/usb/uvc/uvc_v4l2.c if (dist > best) best 118 drivers/media/usb/uvc/uvc_v4l2.c best = dist; best 163 drivers/media/v4l2-core/v4l2-common.c const void *best = NULL; best 178 drivers/media/v4l2-core/v4l2-common.c best = array; best 183 drivers/media/v4l2-core/v4l2-common.c return best; best 92 drivers/mmc/host/dw_mmc-zx.c int ret, len = 0, start = 0, end = 0, delay, best = 0; best 101 drivers/mmc/host/dw_mmc-zx.c best = (start + end) >> 1; best 116 drivers/mmc/host/dw_mmc-zx.c best = (start + end) >> 1; best 120 drivers/mmc/host/dw_mmc-zx.c if (best < 0) best 125 drivers/mmc/host/dw_mmc-zx.c return dw_mci_zx_emmc_set_delay(host, best, DELAY_TYPE_CLK); best 225 drivers/mmc/host/sdhci-s3c.c unsigned int best = UINT_MAX; best 241 drivers/mmc/host/sdhci-s3c.c if (delta < best) { best 242 drivers/mmc/host/sdhci-s3c.c best = delta; best 249 drivers/mmc/host/sdhci-s3c.c best_src, clock, best); best 571 drivers/mtd/ftl.c uint32_t best; best 577 drivers/mtd/ftl.c best = 0xffffffff; xfer = 0xffff; best 600 drivers/mtd/ftl.c if (part->XferInfo[i].EraseCount <= best) { best 601 drivers/mtd/ftl.c best = part->XferInfo[i].EraseCount; best 631 drivers/mtd/ftl.c best = 0xffffffff; best 633 drivers/mtd/ftl.c if (part->EUNInfo[i].EraseCount <= best) { best 634 drivers/mtd/ftl.c best = part->EUNInfo[i].EraseCount; best 638 drivers/mtd/ftl.c best = 0; best 640 drivers/mtd/ftl.c if (part->EUNInfo[i].Deleted >= best) { best 641 drivers/mtd/ftl.c best = part->EUNInfo[i].Deleted; best 644 drivers/mtd/ftl.c if (best == 0) { best 1551 drivers/net/bonding/bond_3ad.c static struct aggregator *ad_agg_selection_test(struct aggregator *best, best 1578 drivers/net/bonding/bond_3ad.c if (!best) best 1581 drivers/net/bonding/bond_3ad.c if (!curr->is_individual && best->is_individual) best 1584 drivers/net/bonding/bond_3ad.c if (curr->is_individual && !best->is_individual) best 1585 drivers/net/bonding/bond_3ad.c return best; best 1587 drivers/net/bonding/bond_3ad.c if (__agg_has_partner(curr) && !__agg_has_partner(best)) best 1590 drivers/net/bonding/bond_3ad.c if (!__agg_has_partner(curr) && __agg_has_partner(best)) best 1591 drivers/net/bonding/bond_3ad.c return best; best 1595 drivers/net/bonding/bond_3ad.c if (__agg_active_ports(curr) > __agg_active_ports(best)) best 1598 drivers/net/bonding/bond_3ad.c if (__agg_active_ports(curr) < __agg_active_ports(best)) best 1599 drivers/net/bonding/bond_3ad.c return best; best 1604 drivers/net/bonding/bond_3ad.c if (__get_agg_bandwidth(curr) > __get_agg_bandwidth(best)) best 1617 drivers/net/bonding/bond_3ad.c return best; best 1666 drivers/net/bonding/bond_3ad.c struct aggregator *best, *active, *origin; best 1675 drivers/net/bonding/bond_3ad.c best = (active && agg_device_up(active)) ? active : NULL; best 1683 drivers/net/bonding/bond_3ad.c best = ad_agg_selection_test(best, agg); best 1686 drivers/net/bonding/bond_3ad.c if (best && best 1687 drivers/net/bonding/bond_3ad.c __get_agg_selection_mode(best->lag_ports) == BOND_AD_STABLE) { best 1697 drivers/net/bonding/bond_3ad.c !__agg_has_partner(best)))) { best 1699 drivers/net/bonding/bond_3ad.c best->actor_oper_aggregator_key)) { best 1700 drivers/net/bonding/bond_3ad.c best = NULL; best 1706 drivers/net/bonding/bond_3ad.c if (best && (best == active)) { best 1707 drivers/net/bonding/bond_3ad.c best = NULL; best 1712 drivers/net/bonding/bond_3ad.c if (best) { best 1714 drivers/net/bonding/bond_3ad.c best->slave ? best->slave->dev->name : "NULL", best 1715 drivers/net/bonding/bond_3ad.c best->aggregator_identifier, best->num_of_ports, best 1716 drivers/net/bonding/bond_3ad.c best->actor_oper_aggregator_key, best 1717 drivers/net/bonding/bond_3ad.c best->partner_oper_aggregator_key, best 1718 drivers/net/bonding/bond_3ad.c best->is_individual, best->is_active); best 1720 drivers/net/bonding/bond_3ad.c best->slave ? best->slave->dev->name : "NULL", best 1721 drivers/net/bonding/bond_3ad.c best->lag_ports, best->slave); best 1734 drivers/net/bonding/bond_3ad.c if (best->is_individual) best 1738 drivers/net/bonding/bond_3ad.c best->is_active = 1; best 1740 drivers/net/bonding/bond_3ad.c best->slave ? best->slave->dev->name : "NULL", best 1741 drivers/net/bonding/bond_3ad.c best->aggregator_identifier); best 1743 drivers/net/bonding/bond_3ad.c best->slave ? best->slave->dev->name : "NULL", best 1744 drivers/net/bonding/bond_3ad.c best->aggregator_identifier, best->num_of_ports, best 1745 drivers/net/bonding/bond_3ad.c best->actor_oper_aggregator_key, best 1746 drivers/net/bonding/bond_3ad.c best->partner_oper_aggregator_key, best 1747 drivers/net/bonding/bond_3ad.c best->is_individual, best->is_active); best 1642 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c static void update_best(struct gelic_wl_scan_info **best, best 1649 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c *best = candid; best 1186 drivers/net/wan/ixp4xx_hss.c u32 *best, u32 *best_diff, u32 *reg) best 1197 drivers/net/wan/ixp4xx_hss.c *best = new_rate; best 1204 drivers/net/wan/ixp4xx_hss.c static void find_best_clock(u32 rate, u32 *best, u32 *reg) best 1211 drivers/net/wan/ixp4xx_hss.c check_clock(rate, 0x3FF, 1, 1, best, &diff, reg); best 1220 drivers/net/wan/ixp4xx_hss.c check_clock(rate, a - 1, 1, 1, best, &diff, reg); best 1230 drivers/net/wan/ixp4xx_hss.c !check_clock(rate, a - 1, 1, 1, best, &diff, reg)) best 1232 drivers/net/wan/ixp4xx_hss.c check_clock(rate, a, b, 0xFFF, best, &diff, reg); best 1235 drivers/net/wan/ixp4xx_hss.c if (!check_clock(rate, a, b, c, best, &diff, reg)) best 1237 drivers/net/wan/ixp4xx_hss.c if (!check_clock(rate, a, b, c + 1, best, &diff, reg)) best 3115 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c static void ar9300_comp_hdr_unpack(u8 *best, int *code, int *reference, best 3120 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c value[0] = best[0]; best 3121 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c value[1] = best[1]; best 3122 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c value[2] = best[2]; best 3123 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c value[3] = best[3]; best 1584 drivers/net/wireless/st/cw1200/wsm.c unsigned score, best = -1; best 1600 drivers/net/wireless/st/cw1200/wsm.c if (score < best && (winner < 0 || i != 3)) { best 1601 drivers/net/wireless/st/cw1200/wsm.c best = score; best 199 drivers/pci/controller/vmd.c int i, best = 1; best 218 drivers/pci/controller/vmd.c if (vmd->irqs[i].count < vmd->irqs[best].count) best 219 drivers/pci/controller/vmd.c best = i; best 220 drivers/pci/controller/vmd.c vmd->irqs[best].count++; best 223 drivers/pci/controller/vmd.c return &vmd->irqs[best]; best 146 drivers/power/supply/wm831x_power.c unsigned int i, best; best 149 drivers/power/supply/wm831x_power.c best = 0; best 152 drivers/power/supply/wm831x_power.c wm831x_usb_limits[best] < wm831x_usb_limits[i]) best 153 drivers/power/supply/wm831x_power.c best = i; best 157 drivers/power/supply/wm831x_power.c "Limiting USB current to %umA", wm831x_usb_limits[best]); best 160 drivers/power/supply/wm831x_power.c WM831X_USB_ILIM_MASK, best); best 876 drivers/pwm/core.c unsigned int best = 0; best 931 drivers/pwm/core.c if (match > best) { best 935 drivers/pwm/core.c best = match; best 539 drivers/regulator/max8997-regulator.c u8 new_val, int *best) best 549 drivers/regulator/max8997-regulator.c *best = -1; best 596 drivers/regulator/max8997-regulator.c *best = i; best 601 drivers/regulator/max8997-regulator.c *best = i; best 605 drivers/regulator/max8997-regulator.c if (*best == -1) best 608 drivers/regulator/max8997-regulator.c return side_effect[*best]; best 173 drivers/rtc/rtc-ac100.c unsigned long best = 0; best 206 drivers/rtc/rtc-ac100.c if (req->rate - tmp < req->rate - best) { best 207 drivers/rtc/rtc-ac100.c best = tmp; best 212 drivers/rtc/rtc-ac100.c if (!best) best 216 drivers/rtc/rtc-ac100.c req->best_parent_rate = best; best 217 drivers/rtc/rtc-ac100.c req->rate = best; best 1624 drivers/scsi/fcoe/fcoe_ctlr.c struct fcoe_fcf *best = fip->sel_fcf; best 1642 drivers/scsi/fcoe/fcoe_ctlr.c if (!best || fcf->pri < best->pri || best->flogi_sent) best 1643 drivers/scsi/fcoe/fcoe_ctlr.c best = fcf; best 1644 drivers/scsi/fcoe/fcoe_ctlr.c if (fcf->fabric_name != best->fabric_name || best 1645 drivers/scsi/fcoe/fcoe_ctlr.c fcf->vfid != best->vfid || best 1646 drivers/scsi/fcoe/fcoe_ctlr.c fcf->fc_map != best->fc_map) { best 1652 drivers/scsi/fcoe/fcoe_ctlr.c fip->sel_fcf = best; best 1653 drivers/scsi/fcoe/fcoe_ctlr.c if (best) { best 1654 drivers/scsi/fcoe/fcoe_ctlr.c LIBFCOE_FIP_DBG(fip, "using FCF mac %pM\n", best->fcf_mac); best 1657 drivers/scsi/fcoe/fcoe_ctlr.c fip->ctlr_ka_time = jiffies + best->fka_period; best 1661 drivers/scsi/fcoe/fcoe_ctlr.c return best; best 1038 drivers/tty/serial/msm_serial.c const struct msm_baud_map *entry, *end, *best; best 1058 drivers/tty/serial/msm_serial.c best = table; /* Default to smallest divider */ best 1072 drivers/tty/serial/msm_serial.c best = entry; best 1097 drivers/tty/serial/msm_serial.c return best; best 61 drivers/usb/core/generic.c struct usb_host_config *c, *best; best 66 drivers/usb/core/generic.c best = NULL; best 130 drivers/usb/core/generic.c best = c; best 136 drivers/usb/core/generic.c best = c; best 156 drivers/usb/core/generic.c best = c; best 168 drivers/usb/core/generic.c best = c; best 174 drivers/usb/core/generic.c else if (!best) best 175 drivers/usb/core/generic.c best = c; best 183 drivers/usb/core/generic.c if (best) { best 184 drivers/usb/core/generic.c i = best->desc.bConfigurationValue; best 648 drivers/video/fbdev/core/modedb.c u32 best, diff, tdiff; best 771 drivers/video/fbdev/core/modedb.c best = -1; best 791 drivers/video/fbdev/core/modedb.c best = i; best 795 drivers/video/fbdev/core/modedb.c if (best != -1) { best 796 drivers/video/fbdev/core/modedb.c fb_try_mode(var, info, &db[best], bpp); best 801 drivers/video/fbdev/core/modedb.c best = -1; best 818 drivers/video/fbdev/core/modedb.c best = i; best 822 drivers/video/fbdev/core/modedb.c if (best != -1) { best 823 drivers/video/fbdev/core/modedb.c fb_try_mode(var, info, &db[best], bpp); best 959 drivers/video/fbdev/core/modedb.c struct fb_videomode *mode, *best = NULL; best 973 drivers/video/fbdev/core/modedb.c best = mode; best 974 drivers/video/fbdev/core/modedb.c } else if (diff == d && best && best 975 drivers/video/fbdev/core/modedb.c mode->refresh > best->refresh) best 976 drivers/video/fbdev/core/modedb.c best = mode; best 979 drivers/video/fbdev/core/modedb.c return best; best 997 drivers/video/fbdev/core/modedb.c struct fb_videomode *cmode, *best = NULL; best 1011 drivers/video/fbdev/core/modedb.c best = cmode; best 1016 drivers/video/fbdev/core/modedb.c best = cmode; best 1021 drivers/video/fbdev/core/modedb.c return best; best 1148 drivers/video/fbdev/core/modedb.c const struct fb_videomode *m, *m1 = NULL, *md = NULL, *best = NULL; best 1172 drivers/video/fbdev/core/modedb.c best = md; best 1185 drivers/video/fbdev/core/modedb.c best = m; best 1192 drivers/video/fbdev/core/modedb.c best = md; best 1197 drivers/video/fbdev/core/modedb.c best = m1; best 1199 drivers/video/fbdev/core/modedb.c return best; best 162 drivers/video/fbdev/geode/lxfb_ops.c unsigned int diff, min, best = 0; best 173 drivers/video/fbdev/geode/lxfb_ops.c best = i; best 177 drivers/video/fbdev/geode/lxfb_ops.c lx_set_dotpll(pll_table[best].pllval & 0x00017FFF); best 553 drivers/video/fbdev/tmiofb.c struct fb_videomode *best = NULL; best 560 drivers/video/fbdev/tmiofb.c && (!best || (mode->xres < best->xres best 561 drivers/video/fbdev/tmiofb.c && mode->yres < best->yres))) best 562 drivers/video/fbdev/tmiofb.c best = mode; best 565 drivers/video/fbdev/tmiofb.c return best; best 254 drivers/video/fbdev/vga16fb.c } *ptr, *best, vgaclocks[] = { best 263 drivers/video/fbdev/vga16fb.c best = vgaclocks; best 264 drivers/video/fbdev/vga16fb.c err = pixclock - best->pixclock; best 273 drivers/video/fbdev/vga16fb.c best = ptr; best 276 drivers/video/fbdev/vga16fb.c par->misc |= best->misc; best 277 drivers/video/fbdev/vga16fb.c par->clkdiv = best->seq_clock_mode; best 278 drivers/video/fbdev/vga16fb.c pixclock = (best->pixclock * div) / mul; best 1376 drivers/video/fbdev/via/hw.c struct via_pll_config cur, up, down, best = {0, 1, 0}; best 1399 drivers/video/fbdev/via/hw.c if (f < abs(get_pll_output_frequency(f0, best) - clk)) best 1400 drivers/video/fbdev/via/hw.c best = cur; best 1403 drivers/video/fbdev/via/hw.c return best; best 2000 drivers/video/fbdev/via/hw.c const struct fb_videomode *best; best 2002 drivers/video/fbdev/via/hw.c best = viafb_get_best_mode(hres, vres, long_refresh); best 2003 drivers/video/fbdev/via/hw.c if (!best) best 2006 drivers/video/fbdev/via/hw.c if (abs(best->refresh - long_refresh) > 3) { best 2013 drivers/video/fbdev/via/hw.c return best->refresh; best 343 drivers/video/fbdev/via/viamode.c const struct fb_videomode *best = NULL; best 350 drivers/video/fbdev/via/viamode.c if (!best || abs(modes[i].refresh - refresh) < best 351 drivers/video/fbdev/via/viamode.c abs(best->refresh - refresh)) best 352 drivers/video/fbdev/via/viamode.c best = &modes[i]; best 355 drivers/video/fbdev/via/viamode.c return best; best 35 fs/jffs2/compr.c struct jffs2_compressor *best, uint32_t size, uint32_t bestsize) best 45 fs/jffs2/compr.c if ((best->compr != JFFS2_COMPR_LZO) && (bestsize > size)) best 154 fs/jffs2/compr.c struct jffs2_compressor *this, *best=NULL; best 210 fs/jffs2/compr.c if (((!best_dlen) || jffs2_is_best_compression(this, best, *cdatalen, best_dlen)) best 214 fs/jffs2/compr.c best = this; best 221 fs/jffs2/compr.c output_buf = best->compr_buf; best 222 fs/jffs2/compr.c best->compr_buf = NULL; best 223 fs/jffs2/compr.c best->compr_buf_size = 0; best 224 fs/jffs2/compr.c best->stat_compr_blocks++; best 225 fs/jffs2/compr.c best->stat_compr_orig_size += best_slen; best 226 fs/jffs2/compr.c best->stat_compr_new_size += best_dlen; best 227 fs/jffs2/compr.c ret = best->compr; best 406 fs/ocfs2/suballoc.c u16 curr, best; best 408 fs/ocfs2/suballoc.c best = curr = 0; best 410 fs/ocfs2/suballoc.c if (le32_to_cpu(cl->cl_recs[best].c_total) > best 412 fs/ocfs2/suballoc.c best = curr; best 415 fs/ocfs2/suballoc.c return best; best 1384 fs/ocfs2/suballoc.c u16 curr, best; best 1388 fs/ocfs2/suballoc.c best = curr = 0; best 1391 fs/ocfs2/suballoc.c le32_to_cpu(cl->cl_recs[best].c_free)) best 1392 fs/ocfs2/suballoc.c best = curr; best 1396 fs/ocfs2/suballoc.c BUG_ON(best >= le16_to_cpu(cl->cl_next_free_rec)); best 1397 fs/ocfs2/suballoc.c return best; best 486 fs/xfs/scrub/dir.c __u16 best; best 551 fs/xfs/scrub/dir.c best = be16_to_cpu(*bestp); best 552 fs/xfs/scrub/dir.c if (best == NULLDATAOFF) best 559 fs/xfs/scrub/dir.c xchk_directory_check_freesp(sc, lblk, dbp, best); best 579 fs/xfs/scrub/dir.c __u16 best; best 601 fs/xfs/scrub/dir.c best = be16_to_cpu(*bestp); best 602 fs/xfs/scrub/dir.c if (best == NULLDATAOFF) { best 612 fs/xfs/scrub/dir.c xchk_directory_check_freesp(sc, lblk, dbp, best); best 726 include/linux/cpufreq.h int idx, best = -1; best 734 include/linux/cpufreq.h best = idx; best 737 include/linux/cpufreq.h return best; best 747 include/linux/cpufreq.h int idx, best = -1; best 756 include/linux/cpufreq.h best = idx; best 761 include/linux/cpufreq.h if (best == -1) best 764 include/linux/cpufreq.h return best; best 767 include/linux/cpufreq.h return best; best 789 include/linux/cpufreq.h int idx, best = -1; best 798 include/linux/cpufreq.h best = idx; best 803 include/linux/cpufreq.h if (best == -1) best 806 include/linux/cpufreq.h return best; best 809 include/linux/cpufreq.h return best; best 819 include/linux/cpufreq.h int idx, best = -1; best 827 include/linux/cpufreq.h best = idx; best 830 include/linux/cpufreq.h return best; best 852 include/linux/cpufreq.h int idx, best = -1; best 861 include/linux/cpufreq.h best = idx; best 866 include/linux/cpufreq.h if (best == -1) best 870 include/linux/cpufreq.h if (target_freq - table[best].frequency > freq - target_freq) best 873 include/linux/cpufreq.h return best; best 876 include/linux/cpufreq.h return best; best 886 include/linux/cpufreq.h int idx, best = -1; best 895 include/linux/cpufreq.h best = idx; best 900 include/linux/cpufreq.h if (best == -1) best 904 include/linux/cpufreq.h if (table[best].frequency - target_freq > target_freq - freq) best 907 include/linux/cpufreq.h return best; best 910 include/linux/cpufreq.h return best; best 748 kernel/debug/kdb/kdb_support.c struct debug_alloc_header *best, *bestprev, *prev, *h; best 760 kernel/debug/kdb/kdb_support.c prev = best = bestprev = NULL; best 762 kernel/debug/kdb/kdb_support.c if (h->size >= size && (!best || h->size < best->size)) { best 763 kernel/debug/kdb/kdb_support.c best = h; best 773 kernel/debug/kdb/kdb_support.c if (!best) best 775 kernel/debug/kdb/kdb_support.c rem = best->size - size; best 777 kernel/debug/kdb/kdb_support.c if (best->next == 0 && bestprev == NULL && rem < dah_overhead) best 780 kernel/debug/kdb/kdb_support.c best->size = size; best 781 kernel/debug/kdb/kdb_support.c h_offset = ((char *)best - debug_alloc_pool) + best 782 kernel/debug/kdb/kdb_support.c dah_overhead + best->size; best 785 kernel/debug/kdb/kdb_support.c h->next = best->next; best 787 kernel/debug/kdb/kdb_support.c h_offset = best->next; best 788 kernel/debug/kdb/kdb_support.c best->caller = __builtin_return_address(0); best 789 kernel/debug/kdb/kdb_support.c dah_used += best->size; best 795 kernel/debug/kdb/kdb_support.c p = (char *)best + dah_overhead; best 796 kernel/debug/kdb/kdb_support.c memset(p, POISON_INUSE, best->size - 1); best 797 kernel/debug/kdb/kdb_support.c *((char *)p + best->size - 1) = POISON_END; best 4058 kernel/module.c unsigned int i, best = 0; best 4068 kernel/module.c bestval = kallsyms_symbol_value(&kallsyms->symtab[best]); best 4086 kernel/module.c best = i; best 4093 kernel/module.c if (!best) best 4101 kernel/module.c return kallsyms_symbol_name(kallsyms, best); best 735 kernel/time/clocksource.c struct clocksource *best, *cs; best 738 kernel/time/clocksource.c best = clocksource_find_best(oneshot, skipcur); best 739 kernel/time/clocksource.c if (!best) best 772 kernel/time/clocksource.c best = cs; best 777 kernel/time/clocksource.c if (curr_clocksource != best && !timekeeping_notify(best)) { best 778 kernel/time/clocksource.c pr_info("Switched to clocksource %s\n", best->name); best 779 kernel/time/clocksource.c curr_clocksource = best; best 130 lib/raid6/algos.c const struct raid6_recov_calls *best; best 132 lib/raid6/algos.c for (best = NULL, algo = raid6_recov_algos; *algo; algo++) best 133 lib/raid6/algos.c if (!best || (*algo)->priority > best->priority) best 135 lib/raid6/algos.c best = *algo; best 137 lib/raid6/algos.c if (best) { best 138 lib/raid6/algos.c raid6_2data_recov = best->data2; best 139 lib/raid6/algos.c raid6_datap_recov = best->datap; best 141 lib/raid6/algos.c pr_info("raid6: using %s recovery algorithm\n", best->name); best 145 lib/raid6/algos.c return best; best 154 lib/raid6/algos.c const struct raid6_calls *best; best 156 lib/raid6/algos.c for (bestgenperf = 0, bestxorperf = 0, best = NULL, algo = raid6_algos; *algo; algo++) { best 157 lib/raid6/algos.c if (!best || (*algo)->prefer >= best->prefer) { best 162 lib/raid6/algos.c best = *algo; best 181 lib/raid6/algos.c best = *algo; best 203 lib/raid6/algos.c if (best == *algo) best 211 lib/raid6/algos.c if (best) { best 213 lib/raid6/algos.c best->name, best 215 lib/raid6/algos.c if (best->xor_syndrome) best 218 lib/raid6/algos.c raid6_call = *best; best 222 lib/raid6/algos.c return best; best 1927 net/batman-adv/bat_iv_ogm.c bool best) best 1958 net/batman-adv/bat_iv_ogm.c if (best && nla_put_flag(msg, BATADV_ATTR_FLAG_BEST)) best 1992 net/batman-adv/bat_iv_ogm.c bool best; best 2010 net/batman-adv/bat_iv_ogm.c best = (neigh_node == neigh_node_best); best 2015 net/batman-adv/bat_iv_ogm.c best)) { best 428 net/batman-adv/bat_v.c bool best) best 464 net/batman-adv/bat_v.c if (best && nla_put_flag(msg, BATADV_ATTR_FLAG_BEST)) best 498 net/batman-adv/bat_v.c bool best; best 508 net/batman-adv/bat_v.c best = (neigh_node == neigh_node_best); best 512 net/batman-adv/bat_v.c neigh_node, best)) { best 1241 net/batman-adv/originator.c struct batadv_neigh_node *best = NULL, *neigh; best 1246 net/batman-adv/originator.c if (best && (bao->neigh.cmp(neigh, if_outgoing, best, best 1253 net/batman-adv/originator.c if (best) best 1254 net/batman-adv/originator.c batadv_neigh_node_put(best); best 1256 net/batman-adv/originator.c best = neigh; best 1260 net/batman-adv/originator.c return best; best 2030 net/batman-adv/translation-table.c bool best) best 2065 net/batman-adv/translation-table.c if (best && nla_put_flag(msg, BATADV_ATTR_FLAG_BEST)) best 2098 net/batman-adv/translation-table.c bool best; best 2108 net/batman-adv/translation-table.c best = (orig_entry == best_entry); best 2111 net/batman-adv/translation-table.c orig_entry, best)) { best 3194 net/core/pktgen.c struct pktgen_dev *pkt_dev, *best = NULL; best 3200 net/core/pktgen.c if (best == NULL) best 3201 net/core/pktgen.c best = pkt_dev; best 3202 net/core/pktgen.c else if (ktime_compare(pkt_dev->next_tx, best->next_tx) < 0) best 3203 net/core/pktgen.c best = pkt_dev; best 3207 net/core/pktgen.c return best; best 38 net/dccp/qpolicy.c struct sk_buff *skb, *best = NULL; best 41 net/dccp/qpolicy.c if (best == NULL || skb->priority > best->priority) best 42 net/dccp/qpolicy.c best = skb; best 43 net/dccp/qpolicy.c return best; best 3042 net/netfilter/nf_tables_api.c struct nft_set_estimate est, best; best 3058 net/netfilter/nf_tables_api.c best.size = ~0; best 3059 net/netfilter/nf_tables_api.c best.lookup = ~0; best 3060 net/netfilter/nf_tables_api.c best.space = ~0; best 3072 net/netfilter/nf_tables_api.c if (est.lookup < best.lookup) best 3074 net/netfilter/nf_tables_api.c if (est.lookup == best.lookup && best 3075 net/netfilter/nf_tables_api.c est.space < best.space) best 3080 net/netfilter/nf_tables_api.c if (est.space < best.space) best 3082 net/netfilter/nf_tables_api.c if (est.space == best.space && best 3083 net/netfilter/nf_tables_api.c est.lookup < best.lookup) best 3085 net/netfilter/nf_tables_api.c } else if (est.size < best.size || !bops) { best 3099 net/netfilter/nf_tables_api.c best = est; best 372 net/netfilter/x_tables.c int have_rev, best = -1; best 376 net/netfilter/x_tables.c have_rev = target_revfn(af, name, revision, &best); best 378 net/netfilter/x_tables.c have_rev = match_revfn(af, name, revision, &best); best 382 net/netfilter/x_tables.c if (best == -1) { best 387 net/netfilter/x_tables.c *err = best; best 1251 net/sctp/associola.c struct sctp_transport *best) best 1255 net/sctp/associola.c if (best == NULL || curr == best) best 1259 net/sctp/associola.c score_best = sctp_trans_score(best); best 1268 net/sctp/associola.c return sctp_trans_elect_tie(best, curr); best 1270 net/sctp/associola.c return best; best 1003 net/xfrm/xfrm_state.c struct xfrm_state **best, int *acq_in_progress, best 1023 net/xfrm/xfrm_state.c if (!*best || best 1024 net/xfrm/xfrm_state.c (*best)->km.dying > x->km.dying || best 1025 net/xfrm/xfrm_state.c ((*best)->km.dying == x->km.dying && best 1026 net/xfrm/xfrm_state.c (*best)->curlft.add_time < x->curlft.add_time)) best 1027 net/xfrm/xfrm_state.c *best = x; best 1050 net/xfrm/xfrm_state.c struct xfrm_state *best = NULL; best 1073 net/xfrm/xfrm_state.c &best, &acquire_in_progress, &error); best 1075 net/xfrm/xfrm_state.c if (best || acquire_in_progress) best 1090 net/xfrm/xfrm_state.c &best, &acquire_in_progress, &error); best 1094 net/xfrm/xfrm_state.c x = best; best 556 scripts/kallsyms.c int i, best, bestprofit; best 559 scripts/kallsyms.c best = 0; best 563 scripts/kallsyms.c best = i; best 567 scripts/kallsyms.c return best; best 573 scripts/kallsyms.c int i, best; best 584 scripts/kallsyms.c best = find_best_token(); best 585 scripts/kallsyms.c if (token_profit[best] == 0) best 590 scripts/kallsyms.c best_table[i][0] = best & 0xFF; best 591 scripts/kallsyms.c best_table[i][1] = (best >> 8) & 0xFF; best 351 sound/core/oss/pcm_oss.c int best, int bestdir, best 356 sound/core/oss/pcm_oss.c boundary_sub(best, bestdir, min, mindir, &dmin, &dmindir); best 357 sound/core/oss/pcm_oss.c boundary_sub(max, maxdir, best, bestdir, &dmax, &dmaxdir); best 377 sound/core/oss/pcm_oss.c snd_pcm_hw_param_t var, unsigned int best, best 388 sound/core/oss/pcm_oss.c if (best > INT_MAX) best 389 sound/core/oss/pcm_oss.c best = INT_MAX; best 390 sound/core/oss/pcm_oss.c min = max = best; best 423 sound/core/oss/pcm_oss.c if (boundary_nearer(max, maxdir, best, valdir, min, mindir)) { best 353 sound/core/oss/pcm_plugin.c unsigned int badness, best = -1; best 367 sound/core/oss/pcm_plugin.c if (badness < best) { best 369 sound/core/oss/pcm_plugin.c best = badness; best 146 sound/drivers/opl3/opl3_midi.c } best[END]; best 147 sound/drivers/opl3/opl3_midi.c struct best *bp; best 150 sound/drivers/opl3/opl3_midi.c best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ best 151 sound/drivers/opl3/opl3_midi.c best[i].voice = -1; best 164 sound/drivers/opl3/opl3_midi.c bp = best; best 205 sound/drivers/opl3/opl3_midi.c if (best[i].voice >= 0) { best 209 sound/drivers/opl3/opl3_midi.c best[i].voice); best 211 sound/drivers/opl3/opl3_midi.c return best[i].voice; best 159 sound/isa/sb/emu8000_callback.c } best[END]; best 160 sound/isa/sb/emu8000_callback.c struct best *bp; best 165 sound/isa/sb/emu8000_callback.c best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ best 166 sound/isa/sb/emu8000_callback.c best[i].voice = -1; best 179 sound/isa/sb/emu8000_callback.c bp = best + OFF; best 182 sound/isa/sb/emu8000_callback.c bp = best + RELEASED; best 185 sound/isa/sb/emu8000_callback.c bp = best + OFF; best 188 sound/isa/sb/emu8000_callback.c bp = best + PLAYING; best 197 sound/isa/sb/emu8000_callback.c bp = best + OFF; best 207 sound/isa/sb/emu8000_callback.c if (best[i].voice >= 0) { best 208 sound/isa/sb/emu8000_callback.c vp = &emu->voices[best[i].voice]; best 209 sound/isa/sb/emu8000_callback.c vp->ch = best[i].voice; best 27 sound/pci/emu10k1/emu10k1_callback.c struct best_voice *best, int active_only); best 83 sound/pci/emu10k1/emu10k1_callback.c struct best_voice best[V_END]; best 88 sound/pci/emu10k1/emu10k1_callback.c lookup_voices(emu, hw, best, 1); /* no OFF voices */ best 90 sound/pci/emu10k1/emu10k1_callback.c if (best[i].voice >= 0) { best 92 sound/pci/emu10k1/emu10k1_callback.c vp = &emu->voices[best[i].voice]; best 209 sound/pci/emu10k1/emu10k1_callback.c struct best_voice *best, int active_only) best 216 sound/pci/emu10k1/emu10k1_callback.c best[i].time = (unsigned int)-1; /* XXX MAX_?INT really */ best 217 sound/pci/emu10k1/emu10k1_callback.c best[i].voice = -1; best 233 sound/pci/emu10k1/emu10k1_callback.c bp = best + V_FREE; best 235 sound/pci/emu10k1/emu10k1_callback.c bp = best + V_OFF; best 239 sound/pci/emu10k1/emu10k1_callback.c bp = best + V_RELEASED; best 243 sound/pci/emu10k1/emu10k1_callback.c bp = best + V_OFF; best 249 sound/pci/emu10k1/emu10k1_callback.c bp = best + V_PLAYING; best 254 sound/pci/emu10k1/emu10k1_callback.c if (bp != best + V_OFF && bp != best + V_FREE && best 258 sound/pci/emu10k1/emu10k1_callback.c bp = best + V_OFF; best 278 sound/pci/emu10k1/emu10k1_callback.c struct best_voice best[V_END]; best 283 sound/pci/emu10k1/emu10k1_callback.c lookup_voices(emu, hw, best, 0); best 285 sound/pci/emu10k1/emu10k1_callback.c if (best[i].voice >= 0) { best 286 sound/pci/emu10k1/emu10k1_callback.c vp = &emu->voices[best[i].voice]; best 384 sound/soc/atmel/atmel-classd.c int i, best, best_val, cur_val, ret; best 389 sound/soc/atmel/atmel-classd.c best = 0; best 395 sound/soc/atmel/atmel-classd.c best = i; best 402 sound/soc/atmel/atmel-classd.c sample_rates[best].rate, sample_rates[best].gclk_rate); best 406 sound/soc/atmel/atmel-classd.c ret = clk_set_rate(dd->gclk, sample_rates[best].gclk_rate); best 411 sound/soc/atmel/atmel-classd.c val = (sample_rates[best].dsp_clk << CLASSD_INTPMR_DSP_CLK_FREQ_SHIFT) best 412 sound/soc/atmel/atmel-classd.c | (sample_rates[best].sample_rate << CLASSD_INTPMR_FRAME_SHIFT); best 292 sound/soc/atmel/atmel-i2s.c int i, best; best 304 sound/soc/atmel/atmel-i2s.c best = INT_MAX; best 309 sound/soc/atmel/atmel-i2s.c if (val < best) { best 310 sound/soc/atmel/atmel-i2s.c best = val; best 73 sound/soc/codecs/ak4641.c int i, best = 0; best 79 sound/soc/codecs/ak4641.c abs(deemph_settings[best] - ak4641->playback_fs)) best 80 sound/soc/codecs/ak4641.c best = i; best 83 sound/soc/codecs/ak4641.c best = i; best 86 sound/soc/codecs/ak4641.c dev_dbg(component->dev, "Set deemphasis %d\n", best); best 88 sound/soc/codecs/ak4641.c return snd_soc_component_update_bits(component, AK4641_DAC, 0x3, best); best 905 sound/soc/codecs/cs42l52.c int best = 0; best 910 sound/soc/codecs/cs42l52.c abs(cs42l52->beep_rate - beep_rates[best])) best 911 sound/soc/codecs/cs42l52.c best = i; best 915 sound/soc/codecs/cs42l52.c beep_rates[best], cs42l52->beep_rate); best 917 sound/soc/codecs/cs42l52.c val = (best << CS42L52_BEEP_RATE_SHIFT); best 969 sound/soc/codecs/cs42l56.c int best = 0; best 974 sound/soc/codecs/cs42l56.c abs(cs42l56->beep_rate - beep_freq[best])) best 975 sound/soc/codecs/cs42l56.c best = i; best 979 sound/soc/codecs/cs42l56.c beep_freq[best], cs42l56->beep_rate); best 981 sound/soc/codecs/cs42l56.c val = (best << CS42L56_BEEP_RATE_SHIFT); best 118 sound/soc/codecs/es8328.c int val, i, best; best 125 sound/soc/codecs/es8328.c best = 0; best 128 sound/soc/codecs/es8328.c abs(deemph_settings[best].rate - es8328->playback_fs)) best 129 sound/soc/codecs/es8328.c best = i; best 132 sound/soc/codecs/es8328.c val = deemph_settings[best].val; best 1416 sound/soc/codecs/max98088.c int best, best_val, save, i, sel, fs; best 1428 sound/soc/codecs/max98088.c best = 0; best 1433 sound/soc/codecs/max98088.c best = i; best 1439 sound/soc/codecs/max98088.c pdata->eq_cfg[best].name, best 1440 sound/soc/codecs/max98088.c pdata->eq_cfg[best].rate, fs); best 1463 sound/soc/codecs/max98088.c int best, best_val, save, i, sel, fs; best 1475 sound/soc/codecs/max98088.c best = 0; best 1480 sound/soc/codecs/max98088.c best = i; best 1486 sound/soc/codecs/max98088.c pdata->eq_cfg[best].name, best 1487 sound/soc/codecs/max98088.c pdata->eq_cfg[best].rate, fs); best 1501 sound/soc/codecs/max98095.c int fs, best, best_val, i; best 1518 sound/soc/codecs/max98095.c best = 0; best 1523 sound/soc/codecs/max98095.c best = i; best 1529 sound/soc/codecs/max98095.c pdata->eq_cfg[best].name, best 1530 sound/soc/codecs/max98095.c pdata->eq_cfg[best].rate, fs); best 1532 sound/soc/codecs/max98095.c coef_set = &pdata->eq_cfg[best]; best 1652 sound/soc/codecs/max98095.c int fs, best, best_val, i; best 1669 sound/soc/codecs/max98095.c best = 0; best 1674 sound/soc/codecs/max98095.c best = i; best 1680 sound/soc/codecs/max98095.c pdata->bq_cfg[best].name, best 1681 sound/soc/codecs/max98095.c pdata->bq_cfg[best].rate, fs); best 1683 sound/soc/codecs/max98095.c coef_set = &pdata->bq_cfg[best]; best 91 sound/soc/codecs/wm8731.c int val, i, best; best 97 sound/soc/codecs/wm8731.c best = 1; best 100 sound/soc/codecs/wm8731.c abs(wm8731_deemph[best] - wm8731->playback_fs)) best 101 sound/soc/codecs/wm8731.c best = i; best 104 sound/soc/codecs/wm8731.c val = best << 1; best 106 sound/soc/codecs/wm8731.c best = 0; best 111 sound/soc/codecs/wm8731.c best, wm8731_deemph[best]); best 419 sound/soc/codecs/wm8903.c int val, i, best; best 425 sound/soc/codecs/wm8903.c best = 1; best 428 sound/soc/codecs/wm8903.c abs(wm8903_deemph[best] - wm8903->fs)) best 429 sound/soc/codecs/wm8903.c best = i; best 432 sound/soc/codecs/wm8903.c val = best << WM8903_DEEMPH_SHIFT; best 434 sound/soc/codecs/wm8903.c best = 0; best 439 sound/soc/codecs/wm8903.c best, wm8903_deemph[best]); best 421 sound/soc/codecs/wm8904.c int best, best_val, save, i, cfg; best 429 sound/soc/codecs/wm8904.c best = 0; best 436 sound/soc/codecs/wm8904.c best = i; best 443 sound/soc/codecs/wm8904.c pdata->retune_mobile_cfgs[best].name, best 444 sound/soc/codecs/wm8904.c pdata->retune_mobile_cfgs[best].rate, best 454 sound/soc/codecs/wm8904.c pdata->retune_mobile_cfgs[best].regs[i]); best 493 sound/soc/codecs/wm8904.c int val, i, best; best 499 sound/soc/codecs/wm8904.c best = 1; best 502 sound/soc/codecs/wm8904.c abs(deemph_settings[best] - wm8904->fs)) best 503 sound/soc/codecs/wm8904.c best = i; best 506 sound/soc/codecs/wm8904.c val = best << WM8904_DEEMPH_SHIFT; best 1292 sound/soc/codecs/wm8904.c int ret, i, best, best_val, cur_val; best 1335 sound/soc/codecs/wm8904.c best = 0; best 1342 sound/soc/codecs/wm8904.c best = i; best 1347 sound/soc/codecs/wm8904.c clk_sys_rates[best].ratio); best 1348 sound/soc/codecs/wm8904.c clock1 |= (clk_sys_rates[best].clk_sys_rate best 1352 sound/soc/codecs/wm8904.c best = 0; best 1358 sound/soc/codecs/wm8904.c best = i; best 1363 sound/soc/codecs/wm8904.c sample_rates[best].rate); best 1364 sound/soc/codecs/wm8904.c clock1 |= (sample_rates[best].sample_rate best 1372 sound/soc/codecs/wm8904.c best = 0; best 1380 sound/soc/codecs/wm8904.c best = i; best 1384 sound/soc/codecs/wm8904.c wm8904->bclk = (wm8904->sysclk_rate * 10) / bclk_divs[best].div; best 1386 sound/soc/codecs/wm8904.c bclk_divs[best].div, wm8904->bclk); best 1387 sound/soc/codecs/wm8904.c aif2 |= bclk_divs[best].bclk_div; best 363 sound/soc/codecs/wm8955.c int val, i, best; best 369 sound/soc/codecs/wm8955.c best = 1; best 372 sound/soc/codecs/wm8955.c abs(deemph_settings[best] - wm8955->fs)) best 373 sound/soc/codecs/wm8955.c best = i; best 376 sound/soc/codecs/wm8955.c val = best << WM8955_DEEMPH_SHIFT; best 171 sound/soc/codecs/wm8960.c int val, i, best; best 177 sound/soc/codecs/wm8960.c best = 1; best 180 sound/soc/codecs/wm8960.c abs(deemph_settings[best] - wm8960->lrclk)) best 181 sound/soc/codecs/wm8960.c best = i; best 184 sound/soc/codecs/wm8960.c val = best << 1; best 507 sound/soc/codecs/wm8961.c int i, best, target, fs; best 518 sound/soc/codecs/wm8961.c best = 0; best 521 sound/soc/codecs/wm8961.c abs(wm8961_srate[best].rate - fs)) best 522 sound/soc/codecs/wm8961.c best = i; best 526 sound/soc/codecs/wm8961.c reg |= wm8961_srate[best].val; best 529 sound/soc/codecs/wm8961.c wm8961_srate[best].rate, fs); best 3161 sound/soc/codecs/wm8962.c int best = 0; best 3166 sound/soc/codecs/wm8962.c abs(wm8962->beep_rate - beep_rates[best])) best 3167 sound/soc/codecs/wm8962.c best = i; best 3171 sound/soc/codecs/wm8962.c beep_rates[best], wm8962->beep_rate); best 3173 sound/soc/codecs/wm8962.c reg = WM8962_BEEP_ENA | (best << WM8962_BEEP_RATE_SHIFT); best 730 sound/soc/codecs/wm8978.c int i, best = 0; best 799 sound/soc/codecs/wm8978.c best = i; best 807 sound/soc/codecs/wm8978.c best = wm8978->mclk_idx; best 813 sound/soc/codecs/wm8978.c f_sel * mclk_denominator[best] / mclk_numerator[best] / 256, best 818 sound/soc/codecs/wm8978.c params_width(params), params_rate(params), best); best 821 sound/soc/codecs/wm8978.c snd_soc_component_update_bits(component, WM8978_CLOCKING, 0xe0, best << 5); best 1190 sound/soc/codecs/wm8993.c int ret, i, best, best_val, cur_val; best 1241 sound/soc/codecs/wm8993.c best = 0; best 1248 sound/soc/codecs/wm8993.c best = i; best 1253 sound/soc/codecs/wm8993.c clk_sys_rates[best].ratio); best 1254 sound/soc/codecs/wm8993.c clocking3 |= (clk_sys_rates[best].clk_sys_rate best 1258 sound/soc/codecs/wm8993.c best = 0; best 1264 sound/soc/codecs/wm8993.c best = i; best 1269 sound/soc/codecs/wm8993.c sample_rates[best].rate); best 1270 sound/soc/codecs/wm8993.c clocking3 |= (sample_rates[best].sample_rate best 1274 sound/soc/codecs/wm8993.c best = 0; best 1282 sound/soc/codecs/wm8993.c best = i; best 1286 sound/soc/codecs/wm8993.c wm8993->bclk = (wm8993->sysclk_rate * 10) / bclk_divs[best].div; best 1288 sound/soc/codecs/wm8993.c bclk_divs[best].div, wm8993->bclk); best 1289 sound/soc/codecs/wm8993.c clocking1 |= bclk_divs[best].bclk_div << WM8993_BCLK_DIV_SHIFT; best 1305 sound/soc/codecs/wm8993.c best = 0; best 1313 sound/soc/codecs/wm8993.c best = i; best 1316 sound/soc/codecs/wm8993.c s = &wm8993->pdata.retune_configs[best]; best 109 sound/soc/codecs/wm8994.c int best, i, sysclk, val; best 133 sound/soc/codecs/wm8994.c best = 0; best 138 sound/soc/codecs/wm8994.c abs(rates[best].sysclk - sysclk)) best 139 sound/soc/codecs/wm8994.c best = i; best 140 sound/soc/codecs/wm8994.c else if (rates[best].idle != idle) best 141 sound/soc/codecs/wm8994.c best = i; best 144 sound/soc/codecs/wm8994.c val = rates[best].start << WM8958_MICD_BIAS_STARTTIME_SHIFT best 145 sound/soc/codecs/wm8994.c | rates[best].rate << WM8958_MICD_RATE_SHIFT; best 148 sound/soc/codecs/wm8994.c rates[best].start, rates[best].rate, sysclk, best 396 sound/soc/codecs/wm8994.c int iface, best, best_val, save, i, cfg; best 416 sound/soc/codecs/wm8994.c best = 0; best 423 sound/soc/codecs/wm8994.c best = i; best 431 sound/soc/codecs/wm8994.c pdata->retune_mobile_cfgs[best].name, best 432 sound/soc/codecs/wm8994.c pdata->retune_mobile_cfgs[best].rate, best 443 sound/soc/codecs/wm8994.c pdata->retune_mobile_cfgs[best].regs[i]); best 2790 sound/soc/codecs/wm8994.c int i, cur_val, best_val, bclk_rate, best; best 2884 sound/soc/codecs/wm8994.c best = 0; best 2892 sound/soc/codecs/wm8994.c best = i; best 2896 sound/soc/codecs/wm8994.c dai->id, fs_ratios[best]); best 2897 sound/soc/codecs/wm8994.c rate_val |= best; best 2904 sound/soc/codecs/wm8994.c best = 0; best 2909 sound/soc/codecs/wm8994.c best = i; best 2911 sound/soc/codecs/wm8994.c bclk_rate = wm8994->aifclk[id] * 10 / bclk_divs[best]; best 2913 sound/soc/codecs/wm8994.c bclk_divs[best], bclk_rate); best 2914 sound/soc/codecs/wm8994.c bclk |= best << WM8994_AIF1_BCLK_DIV_SHIFT; best 1556 sound/soc/codecs/wm8995.c int i, rate_val, best, best_val, cur_val; best 1629 sound/soc/codecs/wm8995.c best = 1; best 1637 sound/soc/codecs/wm8995.c best = i; best 1640 sound/soc/codecs/wm8995.c rate_val |= best; best 1643 sound/soc/codecs/wm8995.c dai->id + 1, fs_ratios[best]); best 1651 sound/soc/codecs/wm8995.c best = 0; best 1657 sound/soc/codecs/wm8995.c best = i; best 1659 sound/soc/codecs/wm8995.c bclk |= best << WM8995_AIF1_BCLK_DIV_SHIFT; best 1661 sound/soc/codecs/wm8995.c bclk_rate = wm8995->aifclk[dai->id] * 10 / bclk_divs[best]; best 1663 sound/soc/codecs/wm8995.c bclk_divs[best], bclk_rate); best 338 sound/soc/codecs/wm8996.c int base, best, best_val, save, i, cfg, iface; best 367 sound/soc/codecs/wm8996.c best = 0; best 374 sound/soc/codecs/wm8996.c best = i; best 382 sound/soc/codecs/wm8996.c pdata->retune_mobile_cfgs[best].name, best 383 sound/soc/codecs/wm8996.c pdata->retune_mobile_cfgs[best].rate, best 392 sound/soc/codecs/wm8996.c for (i = 0; i < ARRAY_SIZE(pdata->retune_mobile_cfgs[best].regs); i++) best 394 sound/soc/codecs/wm8996.c pdata->retune_mobile_cfgs[best].regs[i]); best 1534 sound/soc/codecs/wm8996.c int aif, best, cur_val, bclk_rate, bclk_reg, i; best 1555 sound/soc/codecs/wm8996.c best = 0; best 1560 sound/soc/codecs/wm8996.c best = i; best 1562 sound/soc/codecs/wm8996.c bclk_rate = wm8996->sysclk / bclk_divs[best]; best 1564 sound/soc/codecs/wm8996.c bclk_divs[best], bclk_rate); best 1567 sound/soc/codecs/wm8996.c WM8996_AIF1_BCLK_DIV_MASK, best); best 1735 sound/soc/codecs/wm8996.c int bits, i, bclk_rate, best; best 1784 sound/soc/codecs/wm8996.c best = 0; best 1787 sound/soc/codecs/wm8996.c abs(dsp_divs[best] - params_rate(params))) best 1788 sound/soc/codecs/wm8996.c best = i; best 997 sound/soc/codecs/wm9081.c int ret, i, best, best_val, cur_val; best 1054 sound/soc/codecs/wm9081.c best = 0; best 1061 sound/soc/codecs/wm9081.c best = i; best 1066 sound/soc/codecs/wm9081.c clk_sys_rates[best].ratio); best 1067 sound/soc/codecs/wm9081.c clk_ctrl2 |= (clk_sys_rates[best].clk_sys_rate best 1071 sound/soc/codecs/wm9081.c best = 0; best 1077 sound/soc/codecs/wm9081.c best = i; best 1082 sound/soc/codecs/wm9081.c sample_rates[best].rate); best 1083 sound/soc/codecs/wm9081.c clk_ctrl2 |= (sample_rates[best].sample_rate best 1087 sound/soc/codecs/wm9081.c best = 0; best 1095 sound/soc/codecs/wm9081.c best = i; best 1099 sound/soc/codecs/wm9081.c wm9081->bclk = (wm9081->sysclk_rate * 10) / bclk_divs[best].div; best 1101 sound/soc/codecs/wm9081.c bclk_divs[best].div, wm9081->bclk); best 1102 sound/soc/codecs/wm9081.c aif3 |= bclk_divs[best].bclk_div; best 1114 sound/soc/codecs/wm9081.c best = 0; best 1121 sound/soc/codecs/wm9081.c best = i; best 1124 sound/soc/codecs/wm9081.c s = &pdata->retune_configs[best]; best 85 tools/testing/selftests/bpf/test_lpm_map.c struct tlpm_node *best = NULL; best 102 tools/testing/selftests/bpf/test_lpm_map.c if (!best || i > best->n_bits) best 103 tools/testing/selftests/bpf/test_lpm_map.c best = list; best 107 tools/testing/selftests/bpf/test_lpm_map.c return best; best 114 tools/testing/selftests/bpf/test_lpm_map.c struct tlpm_node *best = tlpm_match(list, key, n_bits); best 117 tools/testing/selftests/bpf/test_lpm_map.c if (!best || best->n_bits != n_bits) best 120 tools/testing/selftests/bpf/test_lpm_map.c if (best == list) { best 121 tools/testing/selftests/bpf/test_lpm_map.c node = best->next; best 122 tools/testing/selftests/bpf/test_lpm_map.c free(best); best 127 tools/testing/selftests/bpf/test_lpm_map.c if (node->next == best) { best 128 tools/testing/selftests/bpf/test_lpm_map.c node->next = best->next; best 129 tools/testing/selftests/bpf/test_lpm_map.c free(best); best 334 tools/vm/slabinfo.c struct aliasinfo *best = NULL; best 338 tools/vm/slabinfo.c (!best || strlen(best->name) < strlen(a->name))) { best 339 tools/vm/slabinfo.c best = a; best 341 tools/vm/slabinfo.c return best; best 344 tools/vm/slabinfo.c return best;