Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c907 diskaddr_t max_succeed = 0; in brute_force_get_device_size() local
940 max_succeed = cur_db_off; in brute_force_get_device_size()
956 while (min_fail - max_succeed > 1) { in brute_force_get_device_size()
957 cur_db_off = max_succeed + (min_fail - max_succeed)/2; in brute_force_get_device_size()
963 max_succeed = cur_db_off; in brute_force_get_device_size()
967 return (max_succeed + 1); in brute_force_get_device_size()
/titanic_50/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c2498 diskaddr_t max_succeed = 0; in brute_force_get_device_size() local
2537 max_succeed = cur_db_off; in brute_force_get_device_size()
2556 while (min_fail - max_succeed > 1) { in brute_force_get_device_size()
2557 cur_db_off = max_succeed + (min_fail - max_succeed)/2; in brute_force_get_device_size()
2563 max_succeed = cur_db_off; in brute_force_get_device_size()
2567 return (max_succeed + 1); in brute_force_get_device_size()