Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/lib/zlib_deflate/
Ddeflate.c567 int best_len = s->prev_length; /* best match length so far */ in longest_match() local
583 register ush scan_end = *(ush*)(scan+best_len-1); in longest_match()
586 register Byte scan_end1 = scan[best_len-1]; in longest_match()
587 register Byte scan_end = scan[best_len]; in longest_match()
617 if (*(ush*)(match+best_len-1) != scan_end || in longest_match()
648 if (match[best_len] != scan_end || in longest_match()
649 match[best_len-1] != scan_end1 || in longest_match()
679 if (len > best_len) { in longest_match()
681 best_len = len; in longest_match()
684 scan_end = *(ush*)(scan+best_len-1); in longest_match()
[all …]
/linux-6.1.9/drivers/mmc/host/
Dmeson-mx-sdhc-mmc.c445 int div, start, len, best_start, best_len; in meson_mx_sdhc_execute_tuning() local
451 best_len = 0; in meson_mx_sdhc_execute_tuning()
476 if (len > best_len) { in meson_mx_sdhc_execute_tuning()
478 best_len = len; in meson_mx_sdhc_execute_tuning()
482 best_start, best_start + best_len); in meson_mx_sdhc_execute_tuning()
490 if (len > best_len) in meson_mx_sdhc_execute_tuning()
493 else if (best_len) in meson_mx_sdhc_execute_tuning()
495 new_phase = best_start + (best_len / 2); in meson_mx_sdhc_execute_tuning()
505 if (!len && !best_len) in meson_mx_sdhc_execute_tuning()