Lines Matching refs:modes
605 if (txc->modes & ADJ_STATUS) in process_adjtimex_modes()
608 if (txc->modes & ADJ_NANO) in process_adjtimex_modes()
611 if (txc->modes & ADJ_MICRO) in process_adjtimex_modes()
614 if (txc->modes & ADJ_FREQUENCY) { in process_adjtimex_modes()
622 if (txc->modes & ADJ_MAXERROR) in process_adjtimex_modes()
625 if (txc->modes & ADJ_ESTERROR) in process_adjtimex_modes()
628 if (txc->modes & ADJ_TIMECONST) { in process_adjtimex_modes()
636 if (txc->modes & ADJ_TAI && txc->constant > 0) in process_adjtimex_modes()
639 if (txc->modes & ADJ_OFFSET) in process_adjtimex_modes()
642 if (txc->modes & ADJ_TICK) in process_adjtimex_modes()
645 if (txc->modes & (ADJ_TICK|ADJ_FREQUENCY|ADJ_OFFSET)) in process_adjtimex_modes()
656 if (txc->modes & ADJ_ADJTIME) { in ntp_validate_timex()
658 if (!(txc->modes & ADJ_OFFSET_SINGLESHOT)) in ntp_validate_timex()
660 if (!(txc->modes & ADJ_OFFSET_READONLY) && in ntp_validate_timex()
665 if (txc->modes && !capable(CAP_SYS_TIME)) in ntp_validate_timex()
671 if (txc->modes & ADJ_TICK && in ntp_validate_timex()
677 if ((txc->modes & ADJ_SETOFFSET) && (!capable(CAP_SYS_TIME))) in ntp_validate_timex()
684 if ((txc->modes & ADJ_FREQUENCY) && (BITS_PER_LONG == 64)) { in ntp_validate_timex()
703 if (txc->modes & ADJ_ADJTIME) { in __do_adjtimex()
706 if (!(txc->modes & ADJ_OFFSET_READONLY)) { in __do_adjtimex()
715 if (txc->modes) in __do_adjtimex()