Lines Matching refs:max
318 static int wait_till(const char *fmri, const char *state, useconds_t max,
3610 useconds_t max;
3666 /* Otherwise wait for max seconds (from the manifest) */
3667 max = get_timeout_value(dowhat, fmri, DEFAULT_TIMEOUT);
3668 status = wait_till(fmri, state, max, what, !is_maint);
3706 * Wait for "max" usecs for the service described by "fmri" to change
3711 wait_till(const char *fmri, const char *state, useconds_t max,
3716 for (; max > 0; max -= usecs) {
3719 usecs = (usecs > max)?max:usecs;