Searched defs:max_succeed (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c907 diskaddr_t max_succeed = 0; local
940 max_succeed = cur_db_off;
948 * min_fail and greater than or equal to max_succeed. Now
951 * between max_succeed and min_fail at this time is
956 while (min_fail - max_succeed > 1) {
957 cur_db_off = max_succeed + (min_fail - max_succeed)/2;
963 max_succeed = cur_db_off;
967 return (max_succeed + 1);
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c2498 diskaddr_t max_succeed = 0; local
2537 max_succeed = cur_db_off;
2548 * min_fail and greater than or equal to max_succeed. Now
2551 * between max_succeed and min_fail at this time is
2556 while (min_fail - max_succeed > 1) {
2557 cur_db_off = max_succeed + (min_fail - max_succeed)/2;
2563 max_succeed = cur_db_off;
2567 return (max_succeed + 1);

Completed in 49 milliseconds