Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ntfs3/
Drun.c36 size_t min_idx, max_idx, mid_idx; in run_lookup() local
71 mid_idx = min_idx + ((max_idx - min_idx) >> 1); in run_lookup()
72 r = run->runs + mid_idx; in run_lookup()
75 max_idx = mid_idx - 1; in run_lookup()
76 if (!mid_idx) in run_lookup()
79 min_idx = mid_idx + 1; in run_lookup()
81 *index = mid_idx; in run_lookup()
Dindex.c723 int min_idx = 0, mid_idx, max_idx = 0; in hdr_find_e() local
765 min_idx = mid_idx + 1; in hdr_find_e()
776 max_idx = mid_idx - 1; in hdr_find_e()
791 mid_idx = (min_idx + max_idx) >> 1; in hdr_find_e()
792 e = Add2Ptr(hdr, offs[mid_idx]); in hdr_find_e()