Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ocfs2/
Dreservations.c407 unsigned int best_start, best_len = 0; in ocfs2_resmap_find_free_bits() local
413 found = best_start = best_len = 0; in ocfs2_resmap_find_free_bits()
432 if (found > best_len) { in ocfs2_resmap_find_free_bits()
433 best_len = found; in ocfs2_resmap_find_free_bits()
441 if (best_len == 0) in ocfs2_resmap_find_free_bits()
444 if (best_len >= wanted) in ocfs2_resmap_find_free_bits()
445 best_len = wanted; in ocfs2_resmap_find_free_bits()
447 *rlen = best_len; in ocfs2_resmap_find_free_bits()
450 trace_ocfs2_resmap_find_free_bits_end(best_start, best_len); in ocfs2_resmap_find_free_bits()
464 unsigned int best_start = 0, best_len = 0; in __ocfs2_resv_find_window() local
[all …]
/linux-6.6.21/lib/zlib_deflate/
Ddeflate.c574 int best_len = s->prev_length; /* best match length so far */ in longest_match() local
590 register ush scan_end = *(ush*)(scan+best_len-1); in longest_match()
593 register Byte scan_end1 = scan[best_len-1]; in longest_match()
594 register Byte scan_end = scan[best_len]; in longest_match()
624 if (*(ush*)(match+best_len-1) != scan_end || in longest_match()
655 if (match[best_len] != scan_end || in longest_match()
656 match[best_len-1] != scan_end1 || in longest_match()
686 if (len > best_len) { in longest_match()
688 best_len = len; in longest_match()
691 scan_end = *(ush*)(scan+best_len-1); in longest_match()
[all …]
/linux-6.6.21/drivers/mmc/host/
Dmeson-mx-sdhc-mmc.c429 int div, start, len, best_start, best_len; in meson_mx_sdhc_execute_tuning() local
435 best_len = 0; in meson_mx_sdhc_execute_tuning()
460 if (len > best_len) { in meson_mx_sdhc_execute_tuning()
462 best_len = len; in meson_mx_sdhc_execute_tuning()
466 best_start, best_start + best_len); in meson_mx_sdhc_execute_tuning()
474 if (len > best_len) in meson_mx_sdhc_execute_tuning()
477 else if (best_len) in meson_mx_sdhc_execute_tuning()
479 new_phase = best_start + (best_len / 2); in meson_mx_sdhc_execute_tuning()
489 if (!len && !best_len) in meson_mx_sdhc_execute_tuning()