Lines Matching refs:modes
571 if (txc->modes & ADJ_STATUS) in process_adjtimex_modes()
574 if (txc->modes & ADJ_NANO) in process_adjtimex_modes()
577 if (txc->modes & ADJ_MICRO) in process_adjtimex_modes()
580 if (txc->modes & ADJ_FREQUENCY) { in process_adjtimex_modes()
588 if (txc->modes & ADJ_MAXERROR) in process_adjtimex_modes()
591 if (txc->modes & ADJ_ESTERROR) in process_adjtimex_modes()
594 if (txc->modes & ADJ_TIMECONST) { in process_adjtimex_modes()
602 if (txc->modes & ADJ_TAI && txc->constant > 0) in process_adjtimex_modes()
605 if (txc->modes & ADJ_OFFSET) in process_adjtimex_modes()
608 if (txc->modes & ADJ_TICK) in process_adjtimex_modes()
611 if (txc->modes & (ADJ_TICK|ADJ_FREQUENCY|ADJ_OFFSET)) in process_adjtimex_modes()
622 if (txc->modes & ADJ_ADJTIME) { in ntp_validate_timex()
624 if (!(txc->modes & ADJ_OFFSET_SINGLESHOT)) in ntp_validate_timex()
626 if (!(txc->modes & ADJ_OFFSET_READONLY) && in ntp_validate_timex()
631 if (txc->modes && !capable(CAP_SYS_TIME)) in ntp_validate_timex()
637 if (txc->modes & ADJ_TICK && in ntp_validate_timex()
643 if ((txc->modes & ADJ_SETOFFSET) && (!capable(CAP_SYS_TIME))) in ntp_validate_timex()
650 if ((txc->modes & ADJ_FREQUENCY) && (BITS_PER_LONG == 64)) { in ntp_validate_timex()
669 if (txc->modes & ADJ_ADJTIME) { in __do_adjtimex()
672 if (!(txc->modes & ADJ_OFFSET_READONLY)) { in __do_adjtimex()
681 if (txc->modes) in __do_adjtimex()